Searched refs:op2 (Results 1 - 25 of 38) 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 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 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 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...]
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 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 Dpass1_5.c366 if (send1_opline->op2.num == 2) {
411 opline->op2.constant = send2_opline->op1.constant;
672 } else if (op->op2_type == IS_VAR && op->op2.var == var) {
688 } else if (use->op2_type == IS_VAR && use->op2.var == var) {
690 use->op2.var = zend_optimizer_lookup_cv(op_array,
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);
/PHP_TRUNK/Zend/
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_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 zend_is_identical(zval *op1, zval *op2) argument
1919 is_identical_function(zval *result, zval *op1, zval *op2) argument
1926 is_not_identical_function(zval *result, zval *op1, zval *op2) argument
1933 is_equal_function(zval *result, zval *op1, zval *op2) argument
1943 is_not_equal_function(zval *result, zval *op1, zval *op2) argument
1953 is_smaller_function(zval *result, zval *op1, zval *op2) argument
1963 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
2181 zval op2; local
2249 zval op2; local
[all...]
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);
566 fast_long_add_function(zval *result, zval *op1, zval *op2) argument
660 fast_add_function(zval *result, zval *op1, zval *op2) argument
682 fast_long_sub_function(zval *result, zval *op1, zval *op2) argument
778 fast_div_function(zval *result, zval *op1, zval *op2) argument
783 fast_equal_check_function(zval *op1, zval *op2) argument
817 fast_equal_check_long(zval *op1, zval *op2) argument
827 fast_equal_check_string(zval *op1, zval *op2) argument
847 fast_is_identical_function(zval *op1, zval *op2) argument
857 fast_is_not_identical_function(zval *op1, zval *op2) argument
[all...]
H A Dzend_compile.c605 SET_UNUSED(opline->op2);
623 SET_UNUSED(opline->op2);
636 SET_UNUSED(opline->op2);
885 label = RT_CONSTANT(op_array, opline->op2);
887 label = CT_CONSTANT_EX(op_array, opline->op2.constant);
925 SET_UNUSED(opline->op2);
948 SET_UNUSED(opline->op2);
1000 zval *op1, *op2; local
1004 op2 = CT_CONSTANT_EX(op_array, opline->op2
1041 zval *op1, *op2; local
1078 zval *op1, *op2; local
1847 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1871 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1955 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
5545 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5563 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) argument
5648 zval *op2 = &right_node.u.constant; local
7061 zval *op2 = zend_ast_get_zval(ast->child[1]); local
[all...]
H A Dzend_opcode.c526 op_array->opcodes[op_num - 2].op2.opline_num = fast_call;
547 op_array->opcodes[fast_call].op2.opline_num = finally_op_num - 2;
585 SET_UNUSED(opline->op2);
591 opline->op2.opline_num = op_array->try_catch_array[i].catch_op;
599 SET_UNUSED(opline->op2);
620 SET_UNUSED(opline->op2);
633 SET_UNUSED(opline->op2);
661 op_array->opcodes[op_num].op2.opline_num = finally_op_num;
665 op_array->opcodes[op_num].op2.opline_num = catch_op_num;
670 int nest_levels = 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
306 zval *op1, *op2, *result; variable
375 zval *op1, *op2, *result; variable
444 zval *op1, *op2, *result; variable
495 zval *op1, *op2, *result; variable
2734 zval *op1, *op2; variable
4848 zval *op1, *op2, *result; variable
[all...]
H A Dzend_vm_execute.h1340 if ((zce = zend_hash_find(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)))) == NULL ||
1355 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)));
1377 ce = zend_hash_find_ptr(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op2)));
1433 if (CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)))) {
1434 trait = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)));
1436 trait = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(opline->op2)),
1437 EX_CONSTANT(opline->op2) + 1,
1446 CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op2)), trait);
1537 ZEND_CALL_NUM_ARGS(call) = opline->op2.num;
1734 ZEND_VM_SET_OPCODE(&EX(func)->op_array.opcodes[opline->op2
4443 zval *op1, *op2, *result; local
4487 zval *op1, *op2, *result; local
4531 zval *op1, *op2, *result; local
4593 zval *op1, *op2, *result; local
4717 zval *op1, *op2, *result; local
4786 zval *op1, *op2, *result; local
4855 zval *op1, *op2, *result; local
4906 zval *op1, *op2, *result; local
5520 zval *op1, *op2; local
5855 zval *op1, *op2, *result; local
8305 zval *op1, *op2, *result; local
8349 zval *op1, *op2, *result; local
8393 zval *op1, *op2, *result; local
8455 zval *op1, *op2, *result; local
8579 zval *op1, *op2, *result; local
8648 zval *op1, *op2, *result; local
8717 zval *op1, *op2, *result; local
8768 zval *op1, *op2, *result; local
9157 zval *op1, *op2; local
9543 zval *op1, *op2, *result; local
10068 zval *op1, *op2, *result; local
10112 zval *op1, *op2, *result; local
10156 zval *op1, *op2, *result; local
10218 zval *op1, *op2, *result; local
10302 zval *op1, *op2, *result; local
10371 zval *op1, *op2, *result; local
10440 zval *op1, *op2, *result; local
10491 zval *op1, *op2, *result; local
10882 zval *op1, *op2; local
11219 zval *op1, *op2, *result; local
30003 zval *op1, *op2, *result; local
30047 zval *op1, *op2, *result; local
30091 zval *op1, *op2, *result; local
30153 zval *op1, *op2, *result; local
30277 zval *op1, *op2, *result; local
30346 zval *op1, *op2, *result; local
30415 zval *op1, *op2, *result; local
30466 zval *op1, *op2, *result; local
32057 zval *op1, *op2; local
32206 zval *op1, *op2, *result; local
35247 zval *op1, *op2, *result; local
35291 zval *op1, *op2, *result; local
35335 zval *op1, *op2, *result; local
35397 zval *op1, *op2, *result; local
35521 zval *op1, *op2, *result; local
35590 zval *op1, *op2, *result; local
35659 zval *op1, *op2, *result; local
35710 zval *op1, *op2, *result; local
37138 zval *op1, *op2; local
37287 zval *op1, *op2, *result; local
37952 zval *op1, *op2, *result; local
37996 zval *op1, *op2, *result; local
38040 zval *op1, *op2, *result; local
38102 zval *op1, *op2, *result; local
38186 zval *op1, *op2, *result; local
38255 zval *op1, *op2, *result; local
38324 zval *op1, *op2, *result; local
38375 zval *op1, *op2, *result; local
39718 zval *op1, *op2; local
39868 zval *op1, *op2, *result; local
40992 zval *op1, *op2, *result; local
41036 zval *op1, *op2, *result; local
41080 zval *op1, *op2, *result; local
41142 zval *op1, *op2, *result; local
41226 zval *op1, *op2, *result; local
41295 zval *op1, *op2, *result; local
41364 zval *op1, *op2, *result; local
41415 zval *op1, *op2, *result; local
41870 zval *op1, *op2; local
42020 zval *op1, *op2, *result; local
43287 zval *op1, *op2, *result; local
43331 zval *op1, *op2, *result; local
43375 zval *op1, *op2, *result; local
43437 zval *op1, *op2, *result; local
43521 zval *op1, *op2, *result; local
43590 zval *op1, *op2, *result; local
43659 zval *op1, *op2, *result; local
43710 zval *op1, *op2, *result; local
43939 zval *op1, *op2; local
44089 zval *op1, *op2, *result; local
44343 zval *op1, *op2, *result; local
44387 zval *op1, *op2, *result; local
44431 zval *op1, *op2, *result; local
44493 zval *op1, *op2, *result; local
44577 zval *op1, *op2, *result; local
44646 zval *op1, *op2, *result; local
44715 zval *op1, *op2, *result; local
44766 zval *op1, *op2, *result; local
44996 zval *op1, *op2; local
45147 zval *op1, *op2, *result; local
[all...]
/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);
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h342 # define ZEND_OP2(opline) (opline)->op2
343 # define ZEND_OP2_CONST(opline) (*(opline)->op2.zv)
344 # define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant]

Completed in 123 milliseconds

12