Searched refs:op2 (Results 1 - 25 of 37) sorted by relevance

12

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Donigposix.h118 unsigned int op2; member in struct:__anon224
H A Dregsyntax.c245 onig_set_syntax_op2(OnigSyntaxType* syntax, unsigned int op2) argument
247 syntax->op2 = op2;
271 return syntax->op2;
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 );
H A Dcollator_sort.c53 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2) argument
63 zval* str2_p = collator_convert_object_to_string( op2, &str2 );
145 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) argument
158 if( Z_TYPE_P(op2) == IS_STRING )
160 num2_p = collator_convert_string_to_double( op2, &num2 );
161 op2 = num2_p;
164 rc = numeric_compare_function( result, op1, op2);
178 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2) argument
187 str2_p = collator_make_printable_zval( op2, &str2 );
/PHP_TRUNK/ext/standard/
H A Dphp_array.h129 int (*compare_func)(zval *result, zval *op1, zval *op2);
H A Dphp_string.h144 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive);
145 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2);
146 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c139 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 1);
142 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 2);
145 LITERAL_INFO(opline->op2.constant, LITERAL_FUNC, 1, 1, 3);
153 opline->op2.constant,
167 opline->op2.constant,
181 LITERAL_INFO(opline->op2.constant, LITERAL_CONST, 1, 1, 5);
183 LITERAL_INFO(opline->op2.constant, LITERAL_CONST, 1, 1, 3);
193 opline->op2.constant,
212 LITERAL_INFO(opline->op2.constant, LITERAL_CLASS, 1, 1, 2);
218 opline->op2,
[all...]
H A Doptimize_func_calls.c34 Z_TYPE(op_array->literals[(opline)->op2.constant]) == IS_STRING)
61 zval *function_name = &op_array->literals[opline->op2.constant + 1];
88 Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall->op2.constant]);
90 fcall->op2.constant = fcall->op2.constant + 1;
95 Z_CACHE_SLOT(op_array->literals[fcall->op2.constant + 1]) = Z_CACHE_SLOT(op_array->literals[fcall->op2.constant]);
96 literal_dtor(&op_array->literals[fcall->op2.constant]);
97 literal_dtor(&op_array->literals[fcall->op2
[all...]
H A Dpass2.c53 /* break missing *intentionally* - the assign_op's may only optimize op2 */
77 /* break missing *intentionally - the assign_op's may only optimize op2 */
99 /* break missing *intentionally - the assign_op's may only optimize op2 */
129 SET_UNUSED(opline->op2);
146 COPY_NODE(opline->op1, opline->op2);
163 COPY_NODE(opline->op2, (opline + 1)->op1);
234 /* MAKE_NOP() already set op1 and op2 to IS_UNUSED */
H A Dzend_optimizer_internal.h41 memset(&(opline)->op2, 0, sizeof((opline)->op2)); \
47 #define SAME_VAR(op1, op2) ((((op1 ## _type & IS_VAR) && (op2 ## _type & IS_VAR)) || (op1 ## _type == IS_TMP_VAR && op2 ## _type == IS_TMP_VAR)) && op1.var == op2.var)
H A Dpass1_5.c366 if (send1_opline->op2.num == 2) {
411 opline->op2.constant = send2_opline->op1.constant;
674 } else if (op->op2_type == IS_VAR && op->op2.var == var) {
690 } else if (use->op2_type == IS_VAR && use->op2.var == var) {
692 use->op2.var = zend_optimizer_lookup_cv(op_array,
H A Dblock_pass.c653 VAR_SOURCE(opline->op2) &&
654 VAR_SOURCE(opline->op2)->opcode == ZEND_QM_ASSIGN &&
655 ZEND_OP1_TYPE(VAR_SOURCE(opline->op2)) == IS_CONST) {
656 zend_op *src = VAR_SOURCE(opline->op2);
658 VAR_UNSET(opline->op2);
774 COPY_NODE(opline->op1, opline->op2);
775 SET_UNUSED(opline->op2);
787 SET_UNUSED(opline->op2);
1004 SET_UNUSED(opline->op2);
1047 VAR_SOURCE(opline->op2)
[all...]
H A Dzend_optimizer.c86 opline->op2.var += sizeof(zval);
168 opline->op2.constant = zend_optimizer_add_literal(op_array, val);
170 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = op_array->cache_size;
180 opline->op2.constant = zend_optimizer_add_literal(op_array, val);
198 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = op_array->cache_size;
202 zend_string_hash_val(Z_STR(op_array->literals[opline->op2.constant+1]));
206 Z_CACHE_SLOT(op_array->literals[opline->op2.constant]) = op_array->cache_size;
210 zend_string_hash_val(Z_STR(op_array->literals[opline->op2.constant+1]));
216 zend_string_hash_val(Z_STR(op_array->literals[opline->op2.constant+1]));
232 Z_CACHE_SLOT(op_array->literals[opline->op2
[all...]
/PHP_TRUNK/Zend/
H A Dzend_operators.h47 ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2);
48 ZEND_API int ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2);
49 ZEND_API int ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2);
50 ZEND_API int ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2);
51 ZEND_API int ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2);
52 ZEND_API int ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2);
53 ZEND_API int ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2);
56 ZEND_API int ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2);
57 ZEND_API int ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2);
58 ZEND_API int ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2);
564 fast_long_add_function(zval *result, zval *op1, zval *op2) argument
658 fast_add_function(zval *result, zval *op1, zval *op2) argument
680 fast_long_sub_function(zval *result, zval *op1, zval *op2) argument
776 fast_div_function(zval *result, zval *op1, zval *op2) argument
781 fast_equal_check_function(zval *op1, zval *op2) argument
815 fast_equal_check_long(zval *op1, zval *op2) argument
825 fast_equal_check_string(zval *op1, zval *op2) argument
845 fast_is_identical_function(zval *result, zval *op1, zval *op2) argument
854 fast_is_not_identical_function(zval *result, zval *op1, zval *op2) argument
[all...]
H A Dzend_operators.c243 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, op, op_func) \
260 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { \
261 if (Z_ISREF_P(op2)) { \
262 op2 = Z_REFVAL_P(op2); \
263 if (Z_TYPE_P(op2) == IS_LONG) { \
264 op2_lval = Z_LVAL_P(op2); \
269 op2_lval = _zval_get_long_func(op2); \
271 op2_lval = Z_LVAL_P(op2); \
815 ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ argument
879 sub_function(zval *result, zval *op1, zval *op2) argument
932 mul_function(zval *result, zval *op1, zval *op2) argument
979 pow_function(zval *result, zval *op1, zval *op2) argument
1067 div_function(zval *result, zval *op1, zval *op2) argument
1132 mod_function(zval *result, zval *op1, zval *op2) argument
1164 boolean_xor_function(zval *result, zval *op1, zval *op2) argument
1271 bitwise_or_function(zval *result, zval *op1, zval *op2) argument
1329 bitwise_and_function(zval *result, zval *op1, zval *op2) argument
1387 bitwise_xor_function(zval *result, zval *op1, zval *op2) argument
1445 shift_left_function(zval *result, zval *op1, zval *op2) argument
1476 shift_right_function(zval *result, zval *op1, zval *op2) argument
1507 concat_function(zval *result, zval *op1, zval *op2) argument
1587 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive) argument
1604 string_compare_function(zval *result, zval *op1, zval *op2) argument
1626 string_case_compare_function(zval *result, zval *op1, zval *op2) argument
1649 string_locale_compare_function(zval *result, zval *op1, zval *op2) argument
1663 numeric_compare_function(zval *result, zval *op1, zval *op2) argument
1688 compare_function(zval *result, zval *op1, zval *op2) argument
1888 is_identical_function(zval *result, zval *op1, zval *op2) argument
1936 is_not_identical_function(zval *result, zval *op1, zval *op2) argument
1946 is_equal_function(zval *result, zval *op1, zval *op2) argument
1956 is_not_equal_function(zval *result, zval *op1, zval *op2) argument
1966 is_smaller_function(zval *result, zval *op1, zval *op2) argument
1976 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
2194 zval op2; local
2262 zval op2; local
[all...]
H A Dzend_object_handlers.h108 typedef int (*zend_object_compare_zvals_t)(zval *resul, zval *op1, zval *op2);
122 typedef int (*zend_object_do_operation_t)(zend_uchar opcode, zval *result, zval *op1, zval *op2);
H A Dzend_vm_gen.php153 "ANY" => "get_zval_ptr(opline->op2_type, opline->op2, execute_data, &free_op2, \\1)",
154 "TMP" => "_get_zval_ptr_tmp(opline->op2.var, execute_data, &free_op2)",
155 "VAR" => "_get_zval_ptr_var(opline->op2.var, execute_data, &free_op2)",
156 "CONST" => "EX_CONSTANT(opline->op2)",
158 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op2.var)",
159 "TMPVAR" => "_get_zval_ptr_var(opline->op2.var, execute_data, &free_op2)",
173 "ANY" => "get_zval_ptr_ptr(opline->op2_type, opline->op2, execute_data, &free_op2, \\1)",
175 "VAR" => "_get_zval_ptr_ptr_var(opline->op2.var, execute_data, &free_op2)",
178 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op2.var)",
193 "ANY" => "get_zval_ptr_deref(opline->op2_type, opline->op2, execute_dat
438 $op2 = "ANY"; variable
782 $op2 = "TMPVAR"; variable
785 $op2 = "ANY"; variable
1276 $op2 = array_flip(explode("|",$m[4])); variable
1305 $op2 = array_flip(explode("|",$m[3])); variable
1322 $op2 = array_flip(explode("|",$m[3])); variable
[all...]
H A Dzend_ini_parser.y51 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
60 if (op2) {
61 i_op2 = atoi(Z_STRVAL_P(op2));
62 zend_string_free(Z_STR_P(op2));
103 static void zend_ini_add_string(zval *result, zval *op1, zval *op2)
106 int length = op1_len + (int)Z_STRLEN_P(op2);
109 memcpy(Z_STRVAL_P(result)+op1_len, Z_STRVAL_P(op2), Z_STRLEN_P(op2));
H A Dzend_ast.c214 zval op1, op2; local
221 } else if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) {
226 ret = op(result, &op1, &op2);
228 zval_dtor(&op2);
235 } else if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) {
239 /* op1 > op2 is the same as op2 < op1 */
242 ret = op(result, &op2, &op1);
244 zval_dtor(&op2);
285 if (UNEXPECTED(zend_ast_evaluate(&op2, as
[all...]
H A Dzend_opcode.c520 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
541 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
579 SET_UNUSED(opline->op2);
585 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
593 SET_UNUSED(opline->op2);
614 SET_UNUSED(opline->op2);
627 SET_UNUSED(opline->op2);
655 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
659 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
682 nest_levels = Z_LVAL(op_array->literals[opline->op2
[all...]
H A Dzend_vm_def.h32 zval *op1, *op2, *result; variable
35 op2 = GET_OP2_ZVAL_PTR_UNDEF(BP_VAR_R);
37 if (EXPECTED(Z_TYPE_INFO_P(op2) == IS_LONG)) {
39 fast_long_add_function(result, op1, op2);
41 } else if (EXPECTED(Z_TYPE_INFO_P(op2) == IS_DOUBLE)) {
43 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
47 if (EXPECTED(Z_TYPE_INFO_P(op2) == IS_DOUBLE)) {
49 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
51 } else if (EXPECTED(Z_TYPE_INFO_P(op2) == IS_LONG)) {
53 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
76 zval *op1, *op2, *result; variable
120 zval *op1, *op2, *result; variable
182 zval *op1, *op2, *result; variable
297 zval *op1, *op2, *result; variable
365 zval *op1, *op2, *result; variable
433 zval *op1, *op2, *result; variable
475 zval *op1, *op2, *result; variable
2684 zval *op1, *op2; variable
4752 zval *op1, *op2, *result; variable
[all...]
H A Dzend_vm_execute.h1328 if ((zce = zend_hash_find(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)))) == NULL ||
1343 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)));
1365 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)));
1421 if (CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) {
1422 trait = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)));
1424 trait = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)),
1425 EX_CONSTANT(opline->op2) + 1,
1434 CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), trait);
1525 ZEND_CALL_NUM_ARGS(call) = opline->op2.num;
1726 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2
4254 zval *op1, *op2, *result; local
4298 zval *op1, *op2, *result; local
4342 zval *op1, *op2, *result; local
4404 zval *op1, *op2, *result; local
4519 zval *op1, *op2, *result; local
4587 zval *op1, *op2, *result; local
4655 zval *op1, *op2, *result; local
4697 zval *op1, *op2, *result; local
5297 zval *op1, *op2; local
5632 zval *op1, *op2, *result; local
8041 zval *op1, *op2, *result; local
8085 zval *op1, *op2, *result; local
8129 zval *op1, *op2, *result; local
8191 zval *op1, *op2, *result; local
8306 zval *op1, *op2, *result; local
8374 zval *op1, *op2, *result; local
8442 zval *op1, *op2, *result; local
8484 zval *op1, *op2, *result; local
8864 zval *op1, *op2; local
9250 zval *op1, *op2, *result; local
9769 zval *op1, *op2, *result; local
9813 zval *op1, *op2, *result; local
9857 zval *op1, *op2, *result; local
9919 zval *op1, *op2, *result; local
10003 zval *op1, *op2, *result; local
10071 zval *op1, *op2, *result; local
10139 zval *op1, *op2, *result; local
10181 zval *op1, *op2, *result; local
10563 zval *op1, *op2; local
10900 zval *op1, *op2, *result; local
29494 zval *op1, *op2, *result; local
29538 zval *op1, *op2, *result; local
29582 zval *op1, *op2, *result; local
29644 zval *op1, *op2, *result; local
29759 zval *op1, *op2, *result; local
29827 zval *op1, *op2, *result; local
29895 zval *op1, *op2, *result; local
29937 zval *op1, *op2, *result; local
31502 zval *op1, *op2; local
31641 zval *op1, *op2, *result; local
34610 zval *op1, *op2, *result; local
34654 zval *op1, *op2, *result; local
34698 zval *op1, *op2, *result; local
34760 zval *op1, *op2, *result; local
34875 zval *op1, *op2, *result; local
34943 zval *op1, *op2, *result; local
35011 zval *op1, *op2, *result; local
35053 zval *op1, *op2, *result; local
36460 zval *op1, *op2; local
36599 zval *op1, *op2, *result; local
37258 zval *op1, *op2, *result; local
37302 zval *op1, *op2, *result; local
37346 zval *op1, *op2, *result; local
37408 zval *op1, *op2, *result; local
37492 zval *op1, *op2, *result; local
37560 zval *op1, *op2, *result; local
37628 zval *op1, *op2, *result; local
37670 zval *op1, *op2, *result; local
38992 zval *op1, *op2; local
39132 zval *op1, *op2, *result; local
40249 zval *op1, *op2, *result; local
40293 zval *op1, *op2, *result; local
40337 zval *op1, *op2, *result; local
40399 zval *op1, *op2, *result; local
40483 zval *op1, *op2, *result; local
40551 zval *op1, *op2, *result; local
40619 zval *op1, *op2, *result; local
40661 zval *op1, *op2, *result; local
41102 zval *op1, *op2; local
41242 zval *op1, *op2, *result; local
42480 zval *op1, *op2, *result; local
42524 zval *op1, *op2, *result; local
42568 zval *op1, *op2, *result; local
42630 zval *op1, *op2, *result; local
42714 zval *op1, *op2, *result; local
42782 zval *op1, *op2, *result; local
42850 zval *op1, *op2, *result; local
42892 zval *op1, *op2, *result; local
43112 zval *op1, *op2; local
43252 zval *op1, *op2, *result; local
43500 zval *op1, *op2, *result; local
43544 zval *op1, *op2, *result; local
43588 zval *op1, *op2, *result; local
43650 zval *op1, *op2, *result; local
43734 zval *op1, *op2, *result; local
43802 zval *op1, *op2, *result; local
43870 zval *op1, *op2, *result; local
43912 zval *op1, *op2, *result; local
44133 zval *op1, *op2; local
44274 zval *op1, *op2, *result; local
[all...]
H A Dzend_compile.c609 SET_UNUSED(opline->op2);
627 SET_UNUSED(opline->op2);
640 SET_UNUSED(opline->op2);
889 label = RT_CONSTANT(op_array, opline->op2);
891 label = CT_CONSTANT_EX(op_array, opline->op2.constant);
929 SET_UNUSED(opline->op2);
952 SET_UNUSED(opline->op2);
1004 zval *op1, *op2; local
1008 op2 = CT_CONSTANT_EX(op_array, opline->op2
1045 zval *op1, *op2; local
1082 zval *op1, *op2; local
1799 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1823 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1907 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
5521 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5539 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) argument
5624 zval *op2 = &right_node.u.constant; local
7061 zval *op2 = zend_ast_get_zval(ast->child[1]); local
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h332 # define ZEND_OP2(opline) (opline)->op2
333 # define ZEND_OP2_CONST(opline) (*(opline)->op2.zv)
334 # define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.c128 asprintf(&decode[2], "J%u or J%" PRIu32, op->op2.opline_num, op->extended_value);
137 asprintf(&decode[2], "J%ld", OP_JMP_ADDR(op, op->op2) - ops->opcodes);
145 decode[2] = phpdbg_decode_op(ops, &op->op2, op->op2_type, vars);

Completed in 76 milliseconds

12