Searched refs:op1 (Results 1 - 25 of 35) 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 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...]
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 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 Dpass2.c146 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.c83 opline->op1.var += sizeof(zval);
137 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
139 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->cache_size;
143 zend_string_hash_val(Z_STR(op_array->literals[opline->op1.constant+1]));
146 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
155 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
491 ZEND_PASS_TWO_UNDO_CONSTANT(op_array, opline->op1);
532 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline->op1);
580 opline->op1.num = zend_vm_calc_used_stack(opline->extended_value, 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 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;
667 if (op->op1_type == IS_VAR && op->op1.var == var) {
685 if (use->op1_type == IS_VAR && use->op1.var == var) {
687 use->op1.var = zend_optimizer_lookup_cv(op_array,
H A Dblock_pass.c627 VAR_SOURCE(opline->op1) &&
628 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN &&
629 ZEND_OP1_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST &&
635 zend_op *src = VAR_SOURCE(opline->op1);
637 VAR_UNSET(opline->op1);
661 VAR_SOURCE(opline->op1) &&
662 VAR_SOURCE(opline->op1)->opcode == ZEND_CAST &&
663 VAR_SOURCE(opline->op1)->extended_value == IS_STRING) {
664 zend_op *src = VAR_SOURCE(opline->op1);
665 COPY_NODE(opline->op1, sr
[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);
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
434 fast_long_increment_function(zval *op1) argument
499 fast_long_decrement_function(zval *op1) argument
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) \
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 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
2142 increment_function(zval *op1) argument
2214 decrement_function(zval *op1) argument
[all...]
H A Dzend_ast.h262 static zend_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
263 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1);
265 static zend_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
266 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1);
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_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_opcode.c569 fast_call_var = op_array->opcodes[op_array->try_catch_array[i].finally_end].op1.var;
578 SET_UNUSED(opline->op1);
586 opline->op1.opline_num = get_next_op_number(op_array);
592 SET_UNUSED(opline->op1);
598 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
613 SET_UNUSED(opline->op1);
615 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
626 SET_UNUSED(opline->op1);
628 opline->op1.opline_num = start_op;
683 if ((array_offset = opline->op1
[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
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.h459 if (UNEXPECTED(EG(exception) != NULL) && (EX(opline)->op1.num & ZEND_CALL_CTOR)) {
460 if (!(EX(opline)->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
537 ZEND_VM_SET_OPCODE(OP_JMP_ADDR(opline, opline->op1));
886 if (UNEXPECTED(EG(exception) != NULL) && (opline->op1.num & ZEND_CALL_CTOR)) {
887 if (!(opline->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
919 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1084 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1181 uint32_t arg_num = opline->op1.num;
1201 uint32_t arg_num = opline->op1.num;
1329 ((orig_zce = zend_hash_find(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op1)))) !
4212 zval *op1, *op2, *result; local
4256 zval *op1, *op2, *result; local
4300 zval *op1, *op2, *result; local
4362 zval *op1, *op2, *result; local
4477 zval *op1, *op2, *result; local
4545 zval *op1, *op2, *result; local
4613 zval *op1, *op2, *result; local
4655 zval *op1, *op2, *result; local
5255 zval *op1, *op2; local
5590 zval *op1, *op2, *result; local
7999 zval *op1, *op2, *result; local
8043 zval *op1, *op2, *result; local
8087 zval *op1, *op2, *result; local
8149 zval *op1, *op2, *result; local
8264 zval *op1, *op2, *result; local
8332 zval *op1, *op2, *result; local
8400 zval *op1, *op2, *result; local
8442 zval *op1, *op2, *result; local
8822 zval *op1, *op2; local
9208 zval *op1, *op2, *result; local
9727 zval *op1, *op2, *result; local
9771 zval *op1, *op2, *result; local
9815 zval *op1, *op2, *result; local
9877 zval *op1, *op2, *result; local
9961 zval *op1, *op2, *result; local
10029 zval *op1, *op2, *result; local
10097 zval *op1, *op2, *result; local
10139 zval *op1, *op2, *result; local
10521 zval *op1, *op2; local
10858 zval *op1, *op2, *result; local
29452 zval *op1, *op2, *result; local
29496 zval *op1, *op2, *result; local
29540 zval *op1, *op2, *result; local
29602 zval *op1, *op2, *result; local
29717 zval *op1, *op2, *result; local
29785 zval *op1, *op2, *result; local
29853 zval *op1, *op2, *result; local
29895 zval *op1, *op2, *result; local
31460 zval *op1, *op2; local
31599 zval *op1, *op2, *result; local
34568 zval *op1, *op2, *result; local
34612 zval *op1, *op2, *result; local
34656 zval *op1, *op2, *result; local
34718 zval *op1, *op2, *result; local
34833 zval *op1, *op2, *result; local
34901 zval *op1, *op2, *result; local
34969 zval *op1, *op2, *result; local
35011 zval *op1, *op2, *result; local
36418 zval *op1, *op2; local
36557 zval *op1, *op2, *result; local
37216 zval *op1, *op2, *result; local
37260 zval *op1, *op2, *result; local
37304 zval *op1, *op2, *result; local
37366 zval *op1, *op2, *result; local
37450 zval *op1, *op2, *result; local
37518 zval *op1, *op2, *result; local
37586 zval *op1, *op2, *result; local
37628 zval *op1, *op2, *result; local
38950 zval *op1, *op2; local
39090 zval *op1, *op2, *result; local
40207 zval *op1, *op2, *result; local
40251 zval *op1, *op2, *result; local
40295 zval *op1, *op2, *result; local
40357 zval *op1, *op2, *result; local
40441 zval *op1, *op2, *result; local
40509 zval *op1, *op2, *result; local
40577 zval *op1, *op2, *result; local
40619 zval *op1, *op2, *result; local
41060 zval *op1, *op2; local
41200 zval *op1, *op2, *result; local
42438 zval *op1, *op2, *result; local
42482 zval *op1, *op2, *result; local
42526 zval *op1, *op2, *result; local
42588 zval *op1, *op2, *result; local
42672 zval *op1, *op2, *result; local
42740 zval *op1, *op2, *result; local
42808 zval *op1, *op2, *result; local
42850 zval *op1, *op2, *result; local
43070 zval *op1, *op2; local
43210 zval *op1, *op2, *result; local
43458 zval *op1, *op2, *result; local
43502 zval *op1, *op2, *result; local
43546 zval *op1, *op2, *result; local
43608 zval *op1, *op2, *result; local
43692 zval *op1, *op2, *result; local
43760 zval *op1, *op2, *result; local
43828 zval *op1, *op2, *result; local
43870 zval *op1, *op2, *result; local
44091 zval *op1, *op2; local
44232 zval *op1, *op2, *result; local
[all...]
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
1798 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1822 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1906 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
5462 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5480 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) argument
[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/ext/opcache/
H A DZendAccelerator.h328 # define ZEND_OP1(opline) (opline)->op1
329 # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv)
330 # 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);
127 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
136 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
144 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);

Completed in 62 milliseconds

12