Searched refs:op1 (Results 1 - 25 of 34) 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 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 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...]
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);
130 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
132 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->cache_size;
136 zend_string_hash_val(Z_STR(op_array->literals[opline->op1.constant+1]));
139 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
148 opline->op1.constant = zend_optimizer_add_literal(op_array, val);
484 ZEND_PASS_TWO_UNDO_CONSTANT(op_array, opline->op1);
525 ZEND_PASS_TWO_UPDATE_CONSTANT(op_array, opline->op1);
573 opline->op1.num = zend_vm_calc_used_stack(opline->extended_value, func);
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;
660 if (op->op1_type == IS_VAR && op->op1.var == var) {
678 if (use->op1_type == IS_VAR && use->op1.var == var) {
680 use->op1.var = zend_optimizer_lookup_cv(op_array,
/PHP_TRUNK/Zend/
H A Dzend_ast.c213 zval op1, op2; local
219 zend_ast_evaluate(&op1, ast->child[0], scope);
221 op(result, &op1, &op2);
222 zval_dtor(&op1);
229 /* op1 > op2 is the same as op2 < op1 */
232 zend_ast_evaluate(&op1, ast->child[0], scope);
234 op(result, &op2, &op1);
235 zval_dtor(&op1);
242 zend_ast_evaluate(&op1, as
[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_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
1138 mod_function(zval *result, zval *op1, zval *op2) argument
1165 boolean_xor_function(zval *result, zval *op1, zval *op2) argument
1215 boolean_not_function(zval *result, zval *op1) argument
1240 bitwise_not_function(zval *result, zval *op1) argument
1272 bitwise_or_function(zval *result, zval *op1, zval *op2) argument
1330 bitwise_and_function(zval *result, zval *op1, zval *op2) argument
1388 bitwise_xor_function(zval *result, zval *op1, zval *op2) argument
1446 shift_left_function(zval *result, zval *op1, zval *op2) argument
1473 shift_right_function(zval *result, zval *op1, zval *op2) argument
1500 concat_function(zval *result, zval *op1, zval *op2) argument
1578 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive) argument
1595 string_compare_function(zval *result, zval *op1, zval *op2) argument
1617 string_case_compare_function(zval *result, zval *op1, zval *op2) argument
1640 string_locale_compare_function(zval *result, zval *op1, zval *op2) argument
1654 numeric_compare_function(zval *result, zval *op1, zval *op2) argument
1679 compare_function(zval *result, zval *op1, zval *op2) argument
1879 is_identical_function(zval *result, zval *op1, zval *op2) argument
1927 is_not_identical_function(zval *result, zval *op1, zval *op2) argument
1937 is_equal_function(zval *result, zval *op1, zval *op2) argument
1947 is_not_equal_function(zval *result, zval *op1, zval *op2) argument
1957 is_smaller_function(zval *result, zval *op1, zval *op2) argument
1967 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2) argument
2133 increment_function(zval *op1) argument
2205 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
829 fast_equal_check_function(zval *op1, zval *op2) argument
863 fast_equal_check_long(zval *op1, zval *op2) argument
873 fast_equal_check_string(zval *op1, zval *op2) argument
893 fast_is_identical_function(zval *result, zval *op1, zval *op2) argument
902 fast_is_not_identical_function(zval *result, zval *op1, zval *op2) argument
[all...]
H A Dzend_opcode.c566 fast_call_var = op_array->opcodes[op_array->try_catch_array[i].finally_end].op1.var;
575 SET_UNUSED(opline->op1);
583 opline->op1.opline_num = get_next_op_number(op_array);
589 SET_UNUSED(opline->op1);
595 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
610 SET_UNUSED(opline->op1);
612 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
623 SET_UNUSED(opline->op1);
625 opline->op1.opline_num = start_op;
680 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_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_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_P(op1) == IS_UNDEF)) {
60 op1
76 zval *op1, *op2, *result; variable
120 zval *op1, *op2, *result; variable
182 zval *op1, *op2, *result; variable
298 zval *op1, *op2, *result; variable
366 zval *op1, *op2, *result; variable
434 zval *op1, *op2, *result; variable
476 zval *op1, *op2, *result; variable
2578 zval *op1, *op2; variable
4593 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));
897 if (UNEXPECTED(EG(exception) != NULL) && (opline->op1.num & ZEND_CALL_CTOR)) {
898 if (!(opline->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
931 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1096 args = get_zval_ptr(opline->op1_type, opline->op1, execute_data, &free_op1, BP_VAR_R);
1216 uint32_t arg_num = opline->op1.num;
1235 uint32_t arg_num = opline->op1.num;
1365 ((orig_zce = zend_hash_find(EG(class_table), Z_STR_P(EX_CONSTANT(opline->op1)))) !
3915 zval *op1, *op2, *result; local
3959 zval *op1, *op2, *result; local
4003 zval *op1, *op2, *result; local
4065 zval *op1, *op2, *result; local
4181 zval *op1, *op2, *result; local
4249 zval *op1, *op2, *result; local
4317 zval *op1, *op2, *result; local
4359 zval *op1, *op2, *result; local
4929 zval *op1, *op2; local
5157 zval *op1, *op2, *result; local
7508 zval *op1, *op2, *result; local
7552 zval *op1, *op2, *result; local
7596 zval *op1, *op2, *result; local
7658 zval *op1, *op2, *result; local
7774 zval *op1, *op2, *result; local
7842 zval *op1, *op2, *result; local
7910 zval *op1, *op2, *result; local
7952 zval *op1, *op2, *result; local
8313 zval *op1, *op2; local
8592 zval *op1, *op2, *result; local
9086 zval *op1, *op2, *result; local
9130 zval *op1, *op2, *result; local
9174 zval *op1, *op2, *result; local
9236 zval *op1, *op2, *result; local
9321 zval *op1, *op2, *result; local
9389 zval *op1, *op2, *result; local
9457 zval *op1, *op2, *result; local
9499 zval *op1, *op2, *result; local
9862 zval *op1, *op2; local
10091 zval *op1, *op2, *result; local
27546 zval *op1, *op2, *result; local
27590 zval *op1, *op2, *result; local
27634 zval *op1, *op2, *result; local
27696 zval *op1, *op2, *result; local
27812 zval *op1, *op2, *result; local
27880 zval *op1, *op2, *result; local
27948 zval *op1, *op2, *result; local
27990 zval *op1, *op2, *result; local
29475 zval *op1, *op2; local
29603 zval *op1, *op2, *result; local
32503 zval *op1, *op2, *result; local
32547 zval *op1, *op2, *result; local
32591 zval *op1, *op2, *result; local
32653 zval *op1, *op2, *result; local
32769 zval *op1, *op2, *result; local
32837 zval *op1, *op2, *result; local
32905 zval *op1, *op2, *result; local
32947 zval *op1, *op2, *result; local
34285 zval *op1, *op2; local
34413 zval *op1, *op2, *result; local
35037 zval *op1, *op2, *result; local
35081 zval *op1, *op2, *result; local
35125 zval *op1, *op2, *result; local
35187 zval *op1, *op2, *result; local
35272 zval *op1, *op2, *result; local
35340 zval *op1, *op2, *result; local
35408 zval *op1, *op2, *result; local
35450 zval *op1, *op2, *result; local
36700 zval *op1, *op2; local
36829 zval *op1, *op2, *result; local
37872 zval *op1, *op2, *result; local
37916 zval *op1, *op2, *result; local
37960 zval *op1, *op2, *result; local
38022 zval *op1, *op2, *result; local
38107 zval *op1, *op2, *result; local
38175 zval *op1, *op2, *result; local
38243 zval *op1, *op2, *result; local
38285 zval *op1, *op2, *result; local
38708 zval *op1, *op2; local
38837 zval *op1, *op2, *result; local
40039 zval *op1, *op2, *result; local
40083 zval *op1, *op2, *result; local
40127 zval *op1, *op2, *result; local
40189 zval *op1, *op2, *result; local
40274 zval *op1, *op2, *result; local
40342 zval *op1, *op2, *result; local
40410 zval *op1, *op2, *result; local
40452 zval *op1, *op2, *result; local
40665 zval *op1, *op2; local
40794 zval *op1, *op2, *result; local
41028 zval *op1, *op2, *result; local
41072 zval *op1, *op2, *result; local
41116 zval *op1, *op2, *result; local
41178 zval *op1, *op2, *result; local
41263 zval *op1, *op2, *result; local
41331 zval *op1, *op2, *result; local
41399 zval *op1, *op2, *result; local
41441 zval *op1, *op2, *result; local
41655 zval *op1, *op2; local
41785 zval *op1, *op2, *result; local
[all...]
H A Dzend_compile.c526 void zend_do_free(znode *op1) /* {{{ */ argument
528 if (op1->op_type==IS_TMP_VAR) {
532 SET_NODE(opline->op1, op1);
534 } else if (op1->op_type==IS_VAR) {
541 && opline->result.var == op1->u.op.var) {
550 SET_NODE(opline->op1, op1);
559 opline->op1.var == op1
942 zval *op1, *op2; local
983 zval *op1, *op2; local
1020 zval *op1, *op2; local
1776 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1800 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
1884 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2) argument
5411 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2) argument
5429 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2) argument
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h327 # define ZEND_OP1(opline) (opline)->op1
328 # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv)
329 # define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.c89 asprintf(&decode[1], "J%ld", OP_JMP_ADDR(op, op->op1) - ops->opcodes);
93 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
105 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
113 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
/PHP_TRUNK/ext/gmp/
H A Dgmp.c458 static void shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2) { argument
468 FETCH_GMP_ZVAL(gmpnum_op, op1, temp);
477 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \
486 gmp_zval_unary_op(result, op1, op); \
489 static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ argument
499 shift_operator_helper(mpz_pow_ui, result, op1, op2);
506 shift_operator_helper(mpz_mul_2exp, result, op1, op2);
509 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2);
526 static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2) /* {{{ */ argument
531 if (result == op1) {
546 gmp_compare(zval *result, zval *op1, zval *op2) argument
[all...]

Completed in 128 milliseconds

12