Searched refs:op1 (Results 1 - 25 of 36) sorted by relevance

12

/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
62 zval* str1_p = collator_convert_object_to_string( op1, &str1 );
145 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2) argument
152 if( Z_TYPE_P(op1) == IS_STRING )
154 num1_p = collator_convert_string_to_double( op1, &num1 );
155 op1 = num1_p;
164 rc = numeric_compare_function( result, op1, op2);
178 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2) argument
186 str1_p = collator_make_printable_zval( op1, &str1);
/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.c87 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func);
94 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func);
H A Dzend_optimizer_internal.h40 memset(&(opline)->op1, 0, sizeof((opline)->op1)); \
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.c83 opline->op1.var += sizeof(zval);
138 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
140 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->cache_size;
144 zend_string_hash_val(Z_STR(op_array->literals[opline->op1.constant+1]));
147 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
156 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
492 ZEND_PASS_TWO_UNDO_CONSTANT(op_array, opline->op1);
537 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline->op1);
589 opline->op1.num = zend_vm_calc_used_stack(opline->extended_value, func);
H A Dcompact_literals.c152 opline->op1,
160 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
166 opline->op1,
173 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
176 LITERAL_INFO(opline->op1.constant, LITERAL_CONST, 1, 1, 2);
187 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
192 opline->op1,
208 LITERAL_INFO(opline->op1.constant, LITERAL_VALUE, 1, 0, 1);
219 opline->op1.constant,
235 LITERAL_INFO(opline->op1
[all...]
H A Dblock_pass.c634 VAR_SOURCE(opline->op1) &&
635 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN &&
636 ZEND_OP1_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST &&
642 zend_op *src = VAR_SOURCE(opline->op1);
644 VAR_UNSET(opline->op1);
668 VAR_SOURCE(opline->op1) &&
669 VAR_SOURCE(opline->op1)->opcode == ZEND_CAST &&
670 VAR_SOURCE(opline->op1)->extended_value == IS_STRING) {
671 zend_op *src = VAR_SOURCE(opline->op1);
672 COPY_NODE(opline->op1, sr
[all...]
H A Dpass1_5.c300 Z_STR(op_array->literals[opline->op1.constant + 1]))) == NULL ||
410 opline->op1.constant = send1_opline->op1.constant;
411 opline->op2.constant = send2_opline->op1.constant;
665 if (op->op1_type == IS_VAR && op->op1.var == var) {
683 if (use->op1_type == IS_VAR && use->op1.var == var) {
685 use->op1.var = zend_optimizer_lookup_cv(op_array,
H A Dpass2.c146 COPY_NODE(opline->op1, opline->op2);
163 COPY_NODE(opline->op2, (opline + 1)->op1);
H A Dpass3.c107 znode_op tmp = opline->op1;
111 COPY_NODE(opline->op1, opline->op2);
220 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
226 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
233 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
239 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c461 static void shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2) { argument
471 FETCH_GMP_ZVAL(gmpnum_op, op1, temp);
480 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \
489 gmp_zval_unary_op(result, op1, op); \
492 static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ argument
502 shift_operator_helper(mpz_pow_ui, result, op1, op2);
509 shift_operator_helper(mpz_mul_2exp, result, op1, op2);
512 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2);
529 static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ argument
534 if (result == op1) {
549 gmp_compare(zval *result, zval *op1, zval *op2) argument
[all...]
/PHP_TRUNK/Zend/
H A Dzend_vm_gen.php143 "ANY" => "get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, \\1)",
144 "TMP" => "_get_zval_ptr_tmp(opline->op1.var, execute_data, &free_op1)",
145 "VAR" => "_get_zval_ptr_var(opline->op1.var, execute_data, &free_op1)",
146 "CONST" => "EX_CONSTANT(opline->op1)",
148 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op1.var)",
149 "TMPVAR" => "_get_zval_ptr_var(opline->op1.var, execute_data, &free_op1)",
163 "ANY" => "get_zval_ptr_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, \\1)",
165 "VAR" => "_get_zval_ptr_ptr_var(opline->op1.var, execute_data, &free_op1)",
168 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op1.var)",
183 "ANY" => "get_zval_ptr_deref(opline->op1_type, opline->op1, execute_dat
434 $op1 = "ANY"; variable
770 $op1 = "TMPVAR"; variable
773 $op1 = "ANY"; variable
1275 $op1 = array_flip(explode("|",$m[3])); variable
1304 $op1 = array_flip(explode("|",$m[2])); variable
1321 $op1 = array_flip(explode("|",$m[2])); variable
[all...]
H A Dzend_ini_parser.y51 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
58 i_op1 = atoi(Z_STRVAL_P(op1));
59 zend_string_free(Z_STR_P(op1));
103 static void zend_ini_add_string(zval *result, zval *op1, zval *op2)
105 int op1_len = (int)Z_STRLEN_P(op1);
108 ZVAL_NEW_STR(result, zend_string_extend(Z_STR_P(op1), length, 1));
H A Dzend_operators.c243 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, op, op_func) \
245 if (UNEXPECTED(Z_TYPE_P(op1) != IS_LONG)) { \
246 if (Z_ISREF_P(op1)) { \
247 op1 = Z_REFVAL_P(op1); \
248 if (Z_TYPE_P(op1) == IS_LONG) { \
249 op1_lval = Z_LVAL_P(op1); \
254 op1_lval = _zval_get_long_func(op1); \
256 op1_lval = Z_LVAL_P(op1); \
815 ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zva 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
1214 boolean_not_function(zval *result, zval *op1) argument
1239 bitwise_not_function(zval *result, zval *op1) 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
2129 increment_function(zval *op1) argument
2201 decrement_function(zval *op1) argument
[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);
54 ZEND_API int ZEND_FASTCALL boolean_not_function(zval *result, zval *op1);
55 ZEND_API int ZEND_FASTCALL bitwise_not_function(zval *result, zval *op1);
56 ZEND_API int ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zva
436 fast_long_increment_function(zval *op1) argument
501 fast_long_decrement_function(zval *op1) argument
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_opcode.c575 fast_call_var = op_array->opcodes[op_array->try_catch_array[i].finally_end].op1.var;
584 SET_UNUSED(opline->op1);
592 opline->op1.opline_num = get_next_op_number(op_array);
598 SET_UNUSED(opline->op1);
604 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
619 SET_UNUSED(opline->op1);
621 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
632 SET_UNUSED(opline->op1);
634 opline->op1.opline_num = start_op;
671 int array_offset = opline->op1
[all...]
H A Dzend_ast.c214 zval op1, op2; local
219 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) {
222 zval_dtor(&op1);
226 ret = op(result, &op1, &op2);
227 zval_dtor(&op1);
233 if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) {
236 zval_dtor(&op1);
239 /* op1 > op2 is the same as op2 < op1 */
242 ret = op(result, &op2, &op1);
[all...]
H A Dzend_ast.h261 static zend_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
262 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1);
264 static zend_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
265 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1);
H A Dzend_compile.c601 void zend_do_free(znode *op1) /* {{{ */ argument
603 if (op1->op_type==IS_TMP_VAR) {
607 SET_NODE(opline->op1, op1);
609 } else if (op1->op_type==IS_VAR) {
616 && opline->result.var == op1->u.op.var) {
625 SET_NODE(opline->op1, op1);
634 opline->op1.var == op1
1003 zval *op1, *op2; local
1044 zval *op1, *op2; local
1081 zval *op1, *op2; local
1897 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1921 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
2005 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
5600 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5618 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) argument
[all...]
H A Dzend_vm_def.h32 zval *op1, *op2, *result; variable
34 op1 = GET_OP1_ZVAL_PTR_UNDEF(BP_VAR_R);
36 if (EXPECTED(Z_TYPE_INFO_P(op1) == IS_LONG)) {
39 fast_long_add_function(result, op1, op2);
43 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
46 } else if (EXPECTED(Z_TYPE_INFO_P(op1) == IS_DOUBLE)) {
49 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
53 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
59 if (OP1_TYPE == IS_CV && UNEXPECTED(Z_TYPE_INFO_P(op1) == IS_UNDEF)) {
60 op1
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
4853 zval *op1, *op2, *result; variable
[all...]
H A Dzend_vm_execute.h459 if (UNEXPECTED(EG(exception) != NULL) && (EX(opline)->op1.num & ZEND_CALL_CTOR)) {
460 if (!(EX(opline)->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
542 ZEND_VM_SET_OPCODE(OP_JMP_ADDR(opline, opline->op1));
891 if (UNEXPECTED(EG(exception) != NULL) && (opline->op1.num & ZEND_CALL_CTOR)) {
892 if (!(opline->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
929 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1094 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1191 uint32_t arg_num = opline->op1.num;
1213 uint32_t arg_num = opline->op1.num;
1341 ((orig_zce = zend_hash_find(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op1)))) !
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
5856 zval *op1, *op2, *result; local
8310 zval *op1, *op2, *result; local
8354 zval *op1, *op2, *result; local
8398 zval *op1, *op2, *result; local
8460 zval *op1, *op2, *result; local
8584 zval *op1, *op2, *result; local
8653 zval *op1, *op2, *result; local
8722 zval *op1, *op2, *result; local
8773 zval *op1, *op2, *result; local
9162 zval *op1, *op2; local
9549 zval *op1, *op2, *result; local
10074 zval *op1, *op2, *result; local
10118 zval *op1, *op2, *result; local
10162 zval *op1, *op2, *result; local
10224 zval *op1, *op2, *result; local
10308 zval *op1, *op2, *result; local
10377 zval *op1, *op2, *result; local
10446 zval *op1, *op2, *result; local
10497 zval *op1, *op2, *result; local
10888 zval *op1, *op2; local
11226 zval *op1, *op2, *result; local
30025 zval *op1, *op2, *result; local
30069 zval *op1, *op2, *result; local
30113 zval *op1, *op2, *result; local
30175 zval *op1, *op2, *result; local
30299 zval *op1, *op2, *result; local
30368 zval *op1, *op2, *result; local
30437 zval *op1, *op2, *result; local
30488 zval *op1, *op2, *result; local
32079 zval *op1, *op2; local
32229 zval *op1, *op2, *result; local
35274 zval *op1, *op2, *result; local
35318 zval *op1, *op2, *result; local
35362 zval *op1, *op2, *result; local
35424 zval *op1, *op2, *result; local
35548 zval *op1, *op2, *result; local
35617 zval *op1, *op2, *result; local
35686 zval *op1, *op2, *result; local
35737 zval *op1, *op2, *result; local
37165 zval *op1, *op2; local
37315 zval *op1, *op2, *result; local
37980 zval *op1, *op2, *result; local
38024 zval *op1, *op2, *result; local
38068 zval *op1, *op2, *result; local
38130 zval *op1, *op2, *result; local
38214 zval *op1, *op2, *result; local
38283 zval *op1, *op2, *result; local
38352 zval *op1, *op2, *result; local
38403 zval *op1, *op2, *result; local
39746 zval *op1, *op2; local
39897 zval *op1, *op2, *result; local
41021 zval *op1, *op2, *result; local
41065 zval *op1, *op2, *result; local
41109 zval *op1, *op2, *result; local
41171 zval *op1, *op2, *result; local
41255 zval *op1, *op2, *result; local
41324 zval *op1, *op2, *result; local
41393 zval *op1, *op2, *result; local
41444 zval *op1, *op2, *result; local
41899 zval *op1, *op2; local
42050 zval *op1, *op2, *result; local
43317 zval *op1, *op2, *result; local
43361 zval *op1, *op2, *result; local
43405 zval *op1, *op2, *result; local
43467 zval *op1, *op2, *result; local
43551 zval *op1, *op2, *result; local
43620 zval *op1, *op2, *result; local
43689 zval *op1, *op2, *result; local
43740 zval *op1, *op2, *result; local
43969 zval *op1, *op2; local
44120 zval *op1, *op2, *result; local
44374 zval *op1, *op2, *result; local
44418 zval *op1, *op2, *result; local
44462 zval *op1, *op2, *result; local
44524 zval *op1, *op2, *result; local
44608 zval *op1, *op2, *result; local
44677 zval *op1, *op2, *result; local
44746 zval *op1, *op2, *result; local
44797 zval *op1, *op2, *result; local
45027 zval *op1, *op2; local
45179 zval *op1, *op2, *result; local
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h338 # define ZEND_OP1(opline) (opline)->op1
339 # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv)
340 # define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.c123 asprintf(&decode[1], "J%ld", OP_JMP_ADDR(op, op->op1) - ops->opcodes);
130 asprintf(&decode[1], "%" PRIu32, op->op1.num);
134 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);

Completed in 91 milliseconds

12