/PHP-5.5/Zend/ |
H A D | zend_operators.h | 614 "r"(&op2->value), in fast_add_function() 637 "r"(&op2->value), in fast_add_function() 704 "r"(&op2->value), in fast_sub_function() 731 "r"(&op2->value), in fast_sub_function() 800 if (UNEXPECTED(Z_LVAL_P(op2) == 0)) { in fast_div_function() 819 if (UNEXPECTED(Z_DVAL_P(op2) == 0)) { in fast_div_function() 831 if (UNEXPECTED(Z_DVAL_P(op2) == 0)) { in fast_div_function() 841 if (UNEXPECTED(Z_LVAL_P(op2) == 0)) { in fast_div_function() 860 if (UNEXPECTED(Z_LVAL_P(op2) == 0)) { in fast_mod_function() 921 return Z_LVAL_P(op1) < Z_LVAL_P(op2); in fast_is_smaller_function() [all …]
|
H A D | zend_operators.c | 1114 shorter = op2; in bitwise_or_function() 1116 longer = op2; in bitwise_or_function() 1154 shorter = op2; in bitwise_and_function() 1156 longer = op2; in bitwise_and_function() 1196 shorter = op2; in bitwise_xor_function() 1198 longer = op2; in bitwise_xor_function() 1352 zval_dtor(op2); in concat_function() 1387 zval_dtor(op2); in string_compare_function_ex() 1431 zval_dtor(op2); in string_locale_compare_function() 1445 op2_copy = *op2; in numeric_compare_function() [all …]
|
H A D | zend_vm_gen.php | 300 $op2 = "ANY"; 352 $op2_type[$op2], 354 $op2_free[$op2], 356 $op2_get_zval_ptr[$op2], 364 $op2_is_tmp_free[$op2], 366 $op2_free_op[$op2], 368 $op2_free_op_if_var[$op2], 581 if ($op2 != "ANY") { 612 if ($op2 != "ANY") { 615 $op2 = "ANY"; [all …]
|
H A D | zend_vm_execute.h | 3354 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in zend_fetch_var_address_helper_SPEC_CONST_CONST() 3911 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_UNSET_VAR_SPEC_CONST_CONST_HANDLER() 3987 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_ISSET_ISEMPTY_VAR_SPEC_CONST_CONST_HANDLER() 5227 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in zend_fetch_var_address_helper_SPEC_CONST_VAR() 5664 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_UNSET_VAR_SPEC_CONST_VAR_HANDLER() 5740 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_ISSET_ISEMPTY_VAR_SPEC_CONST_VAR_HANDLER() 5972 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in zend_fetch_var_address_helper_SPEC_CONST_UNUSED() 6372 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_UNSET_VAR_SPEC_CONST_UNUSED_HANDLER() 6448 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in ZEND_ISSET_ISEMPTY_VAR_SPEC_CONST_UNUSED_HANDLER() 8717 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… in zend_fetch_var_address_helper_SPEC_TMP_CONST() [all …]
|
H A D | zend_compile.c | 584 SET_NODE(opline->op2, op2); in zend_do_binary_op() 646 SET_NODE(opline->op2, op2); in zend_do_binary_assign_op() 1422 SET_NODE(opline->op2, op2); in zend_do_add_string() 1441 SET_NODE(opline->op2, op2); in zend_do_add_variable() 4451 zval *op1, *op2; in do_bind_function() local 4455 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_function() 4458 op2 = opline->op2.zv; in do_bind_function() 4557 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_class() 4560 op2 = opline->op2.zv; in do_bind_class() 4597 op2 = &CONSTANT_EX(op_array, opline->op2.constant); in do_bind_inherited_class() [all …]
|
H A D | zend_vm_def.h | 1037 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… 2779 func_name = opline->op2.literal + 1; 3028 if (EX_CV(opline->op2.var)) { 3031 …EX_CV(opline->op2.var) = (zval**)EX_CV_NUM(execute_data, EX(op_array)->last_var + opline->op2.var); 3500 … char *actual = (char *)zend_memrchr(Z_STRVAL_P(opline->op2.zv), '\\', Z_STRLEN_P(opline->op2.zv)); 3919 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… 4410 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv), opline->op2.… 4724 ZEND_VM_JMP(opline->op2.jmp_addr); 4759 ZEND_VM_JMP(opline->op2.jmp_addr); 4869 …quick_find(EG(class_table), Z_STRVAL_P(opline->op2.zv), Z_STRLEN_P(opline->op2.zv)+1, Z_HASH_P(opl… [all …]
|
H A D | zend_ini_parser.y | 52 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument 60 if (op2) { in zend_ini_do_op() 61 i_op2 = atoi(Z_STRVAL_P(op2)); in zend_ini_do_op() 62 free(Z_STRVAL_P(op2)); in zend_ini_do_op() 109 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument 111 int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in zend_ini_add_string() 114 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in zend_ini_add_string()
|
H A D | zend_opcode.c | 586 SET_UNUSED(opline->op2); in zend_resolve_finally_call() 598 SET_UNUSED(opline->op2); in zend_resolve_finally_call() 617 SET_UNUSED(opline->op2); in zend_resolve_finally_call() 630 SET_UNUSED(opline->op2); in zend_resolve_finally_call() 662 op_array->opcodes[op_num].op2.opline_num = catch_op_num; in zend_resolve_finally_ret() 699 zend_uint num = opline->op2.constant; in zend_resolve_finally_calls() 700 opline->op2.zv = &op_array->literals[opline->op2.constant].constant; in zend_resolve_finally_calls() 702 opline->op2.constant = num; in zend_resolve_finally_calls() 757 opline->op2.zv = &op_array->literals[opline->op2.constant].constant; in pass_two() 761 if (Z_TYPE_P(opline->op2.zv) != IS_LONG) { in pass_two() [all …]
|
/PHP-5.5/ext/opcache/Optimizer/ |
H A D | zend_optimizer_internal.h | 44 …)); memset(&opline->op1,0,sizeof(opline->op1)); memset(&opline->op2,0,sizeof(opline->op2)); opline… 47 …(op1, op2) ((((op1 ## _type & IS_VAR) && (op2 ## _type & IS_VAR)) || (op1 ## _type == IS_TMP_VAR &… argument 49 …op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->result.op_type=opline->op1.op_… 52 …AR(op1, op2) (((op1.op_type == IS_VAR && op2.op_type == IS_VAR) || (op1.op_type == IS_TMP_VAR && … argument
|
H A D | zend_optimizer.c | 162 opline->op2.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC); in update_op2_const() 179 op_array->literals[opline->op2.constant].cache_slot = op_array->last_cache_slot++; in update_op2_const() 182 …e->op2.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals[opline->op2.constant+1]… in update_op2_const() 188 …e->op2.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals[opline->op2.constant+1]… in update_op2_const() 204 op_array->literals[opline->op2.constant].cache_slot = op_array->last_cache_slot; in update_op2_const() 219 op_array->literals[opline->op2.constant].cache_slot = op_array->last_cache_slot; in update_op2_const() 262 op_array->literals[opline->op2.constant].constant = *val; in update_op2_const()
|
H A D | pass2.c | 98 SET_UNUSED(opline->op2); 115 COPY_NODE(opline->op1, opline->op2); 132 COPY_NODE(opline->op2, (opline + 1)->op1);
|
H A D | pass1_5.c | 37 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode); 256 COPY_NODE((opline + 1)->op1, opline->op2); 305 } else if (op->op2_type == IS_VAR && op->op2.var == var) { 322 } else if (use->op2_type == IS_VAR && use->op2.var == var) { 324 use->op2.var = zend_optimizer_lookup_cv(op_array,
|
H A D | block_pass.c | 656 VAR_SOURCE(opline->op2) && in zend_optimize_block() 661 VAR_UNSET(opline->op2); in zend_optimize_block() 678 VAR_SOURCE(opline->op2) && in zend_optimize_block() 797 SET_UNUSED(opline->op2); in zend_optimize_block() 803 SET_UNUSED(opline->op2); in zend_optimize_block() 1038 SET_UNUSED(opline->op2); in zend_optimize_block() 1091 SET_UNUSED(opline->op2); in zend_optimize_block() 1123 SET_UNUSED(opline->op2); in zend_optimize_block() 1621 SET_UNUSED(last_op->op2); in zend_jmp_optimization() 1740 SET_UNUSED(last_op->op2); in zend_jmp_optimization() [all …]
|
H A D | pass3.c | 84 COPY_NODE(opline->op1, opline->op2); 85 COPY_NODE(opline->op2, tmp); 254 SET_UNUSED(opline->op2);
|
/PHP-5.5/Zend/tests/ |
H A D | bug37046.phpt | 14 echo "op2 $k\n"; 21 op2 0 22 op2 1
|
/PHP-5.5/ext/intl/collator/ |
H A D | collator_sort.c | 53 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) in collator_regular_compare_function() 60 zval* str2 = collator_convert_object_to_string( op2 TSRMLS_CC ); in collator_regular_compare_function() 148 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) in collator_numeric_compare_function() 160 if( Z_TYPE_P(op2) == IS_STRING ) in collator_numeric_compare_function() 162 num2 = collator_convert_string_to_double( op2 ); in collator_numeric_compare_function() 163 op2 = num2; in collator_numeric_compare_function() 166 rc = numeric_compare_function( result, op1, op2 TSRMLS_CC); in collator_numeric_compare_function() 180 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) in collator_icu_compare_function() 188 str2 = collator_make_printable_zval( op2 ); in collator_icu_compare_function()
|
H A D | collator_sort.h | 23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
|
/PHP-5.5/ext/mbstring/oniguruma/ |
H A D | regsyntax.c | 245 onig_set_syntax_op2(OnigSyntaxType* syntax, unsigned int op2) in onig_set_syntax_op2() argument 247 syntax->op2 = op2; in onig_set_syntax_op2() 271 return syntax->op2; in onig_get_syntax_op2()
|
H A D | onigposix.h | 118 unsigned int op2; member
|
/PHP-5.5/ext/opcache/ |
H A D | ZendAccelerator.h | 370 # define ZEND_OP2(opline) (opline)->op2 371 # define ZEND_OP2_CONST(opline) (*(opline)->op2.zv) 372 # define ZEND_OP2_LITERAL(opline) (op_array)->literals[(opline)->op2.constant].constant 388 # define ZEND_OP2_TYPE(opline) (opline)->op2.op_type 389 # define ZEND_OP2(opline) (opline)->op2.u 390 # define ZEND_OP2_CONST(opline) (opline)->op2.u.constant 391 # define ZEND_OP2_LITERAL(opline) (opline)->op2.u.constant
|
H A D | zend_persist.c | 263 …opline->op2.zv = (zval*)((char*)opline->op2.zv + ((char*)op_array->literals - (char*)orig_literals… 265 zend_persist_zval(&opline->op2.u.constant TSRMLS_CC); 266 zend_protect_zval(&opline->op2.u.constant TSRMLS_CC);
|
H A D | zend_persist_calc.c | 164 if (opline->op2.op_type == IS_CONST) { 165 ADD_SIZE(zend_persist_zval_calc(&opline->op2.u.constant TSRMLS_CC));
|
/PHP-5.5/ext/standard/ |
H A D | php_string.h | 146 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_in… 147 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC); 148 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
|
H A D | php_array.h | 122 int (*compare_func)(zval *result, zval *op1, zval *op2 TSRMLS_DC);
|
/PHP-5.5/ext/com_dotnet/tests/ |
H A D | variants.phpt | 27 foreach ($values as $op2) { 31 echo "$op: " . call_user_func('variant_' . $op, $v, $op2) . "\n"; 34 echo "\tvariant_$op($v, $op2)\n";
|