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

12

/PHP_TRUNK/Zend/
H A Dzend_ast.c213 zval op1, op2; local
219 zend_ast_evaluate(&op1, ast->child[0], scope TSRMLS_CC);
221 op(result, &op1, &op2 TSRMLS_CC);
222 zval_dtor(&op1);
229 /* op1 > op2 is the same as op2 < op1 */
232 zend_ast_evaluate(&op1, ast->child[0], scope TSRMLS_CC);
234 op(result, &op2, &op1 TSRMLS_CC);
235 zval_dtor(&op1);
242 zend_ast_evaluate(&op1, as
[all...]
H A Dzend_ast.h256 static zend_always_inline zend_ast *zend_ast_create_binary_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
257 return zend_ast_create_ex(ZEND_AST_BINARY_OP, opcode, op0, op1);
259 static zend_always_inline zend_ast *zend_ast_create_assign_op(uint32_t opcode, zend_ast *op0, zend_ast *op1) { argument
260 return zend_ast_create_ex(ZEND_AST_ASSIGN_OP, opcode, op0, op1);
H A Dzend_opcode.c541 SET_UNUSED(opline->op1);
549 opline->op1.opline_num = get_next_op_number(op_array);
553 SET_UNUSED(opline->op1);
559 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
572 SET_UNUSED(opline->op1);
574 opline->op1.opline_num = op_array->try_catch_array[i].finally_op;
585 SET_UNUSED(opline->op1);
587 opline->op1.opline_num = start_op;
642 if ((array_offset = opline->op1.opline_num) != -1) {
662 zend_resolve_finally_call(op_array, i, opline->op1
[all...]
H A Dzend_vm_gen.php121 "ANY" => "get_zval_ptr(opline->op1_type, &opline->op1, execute_data, &free_op1, \\1)",
122 "TMP" => "_get_zval_ptr_tmp(opline->op1.var, execute_data, &free_op1 TSRMLS_CC)",
123 "VAR" => "_get_zval_ptr_var(opline->op1.var, execute_data, &free_op1 TSRMLS_CC)",
124 "CONST" => "opline->op1.zv",
126 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op1.var TSRMLS_CC)",
139 "ANY" => "get_zval_ptr_ptr(opline->op1_type, &opline->op1, execute_data, &free_op1, \\1)",
141 "VAR" => "_get_zval_ptr_ptr_var(opline->op1.var, execute_data, &free_op1 TSRMLS_CC)",
144 "CV" => "_get_zval_ptr_cv_\\1(execute_data, opline->op1.var TSRMLS_CC)",
157 "ANY" => "get_zval_ptr_deref(opline->op1_type, &opline->op1, execute_data, &free_op1, \\1)",
158 "TMP" => "_get_zval_ptr_tmp(opline->op1
332 $op1 = "ANY"; variable
654 $op1 = "ANY"; variable
1108 $op1 = array_flip(explode("|",$m[3])); variable
1137 $op1 = array_flip(explode("|",$m[2])); variable
1154 $op1 = array_flip(explode("|",$m[2])); variable
[all...]
H A Dzend_object_handlers.h106 typedef int (*zend_object_compare_zvals_t)(zval *resul, zval *op1, zval *op2 TSRMLS_DC);
120 typedef int (*zend_object_do_operation_t)(zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC);
H A Dzend_operators.h47 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
48 ZEND_API int sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
49 ZEND_API int mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
50 ZEND_API int pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
51 ZEND_API int div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
52 ZEND_API int mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
53 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
54 ZEND_API int boolean_not_function(zval *result, zval *op1 TSRMLS_DC);
55 ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC);
56 ZEND_API int bitwise_or_function(zval *result, zval *op1, zva
363 fast_increment_function(zval *op1) argument
405 fast_decrement_function(zval *op1) argument
447 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
528 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
611 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
636 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
687 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
707 fast_equal_check_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
741 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
783 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
825 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
848 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
871 fast_is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
880 fast_is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
H A Dzend_compile.c451 memset(&opline->op1, 0, sizeof(opline->op1)); \
487 void zend_do_free(znode *op1 TSRMLS_DC) /* {{{ */
489 if (op1->op_type==IS_TMP_VAR) {
493 SET_NODE(opline->op1, op1);
495 } else if (op1->op_type==IS_VAR) {
502 && opline->result.var == op1->u.op.var) {
511 SET_NODE(opline->op1, op1);
886 zval *op1, *op2; local
926 zval *op1, *op2; local
963 zval *op1, *op2; local
1681 zend_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2 TSRMLS_DC) argument
1705 zend_emit_op_tmp(znode *result, zend_uchar opcode, znode *op1, znode *op2 TSRMLS_DC) argument
1789 zend_delayed_emit_op(znode *result, zend_uchar opcode, znode *op1, znode *op2 TSRMLS_DC) argument
5001 zend_ct_eval_binary_op(zval *result, uint32_t opcode, zval *op1, zval *op2 TSRMLS_DC) argument
5019 zend_ct_eval_greater(zval *result, zend_ast_kind kind, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
H A Dzend_operators.c877 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
883 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) {
885 zend_long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2);
888 if ((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK)
889 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
891 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
899 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
903 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
907 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
911 if ((result == op1)
941 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
994 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1041 pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1129 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1200 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1232 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1300 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1345 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1390 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1435 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1467 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1500 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1513 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1526 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1592 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1609 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1631 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1654 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1668 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1693 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1897 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1945 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1955 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1965 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1975 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1985 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
2113 increment_function(zval *op1) argument
2193 decrement_function(zval *op1) argument
[all...]
H A Dzend_ini_parser.y53 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2)
60 i_op1 = atoi(Z_STRVAL_P(op1));
61 zend_string_free(Z_STR_P(op1));
105 static void zend_ini_add_string(zval *result, zval *op1, zval *op2)
107 int op1_len = (int)Z_STRLEN_P(op1);
110 ZVAL_NEW_STR(result, zend_string_realloc(Z_STR_P(op1), length, 1));
H A Dzend_vm_def.h329 ZEND_VM_HELPER_EX(zend_binary_assign_op_obj_helper, VAR|UNUSED|CV, CONST|TMP|VAR|UNUSED|CV, int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC)) argument
346 value = get_zval_ptr_deref((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
423 ZEND_VM_HELPER_EX(zend_binary_assign_op_dim_helper, VAR|UNUSED|CV, CONST|TMP|VAR|UNUSED|CV, int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC)) argument
447 value = get_zval_ptr_deref((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
479 ZEND_VM_HELPER_EX(zend_binary_assign_op_helper, VAR|UNUSED|CV, CONST|TMP|VAR|UNUSED|CV, int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC)) argument
1524 zend_assign_to_object(RETURN_VALUE_USED(opline)?EX_VAR(opline->result.var):NULL, object, OP1_TYPE, property_name, (opline+1)->op1_type, &(opline+1)->op1, execute_data, ZEND_ASSIGN_OBJ, ((OP2_TYPE == IS_CONST) ? (EX(run_time_cache) + Z_CACHE_SLOT_P(property_name)) : NULL) TSRMLS_CC);
1550 zend_assign_to_object(RETURN_VALUE_USED(opline)?EX_VAR(opline->result.var):NULL, object_ptr, OP1_TYPE, property_name, (opline+1)->op1_type, &(opline+1)->op1, execute_data, ZEND_ASSIGN_DIM, ((OP2_TYPE == IS_CONST) ? (EX(run_time_cache) + Z_CACHE_SLOT_P(property_name)) : NULL) TSRMLS_CC);
1563 value = get_zval_ptr_deref((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
1569 value = get_zval_ptr_deref((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
1665 UNEXPECTED(Z_TYPE_P(EX_VAR(opline->op1
[all...]
H A Dzend_vm_execute.h406 if (UNEXPECTED(EG(exception) != NULL) && (EX(opline)->op1.num & ZEND_CALL_CTOR)) {
407 if (!(EX(opline)->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
485 ZEND_VM_SET_OPCODE(opline->op1.jmp_addr);
650 if (UNEXPECTED(EG(exception) != NULL) && (opline->op1.num & ZEND_CALL_CTOR)) {
651 if (!(opline->op1.num & ZEND_CALL_CTOR_RESULT_UNUSED)) {
694 args = get_zval_ptr(opline->op1_type, &opline->op1, execute_data, &free_op1, BP_VAR_R);
859 args = get_zval_ptr_deref(opline->op1_type, &opline->op1, execute_data, &free_op1, BP_VAR_R);
972 uint32_t arg_num = opline->op1.num;
991 uint32_t arg_num = opline->op1.num;
1122 ((orig_zce = zend_hash_find(EG(class_table), Z_STR_P(opline->op1
17592 zend_binary_assign_op_obj_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
17685 zend_binary_assign_op_dim_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
17740 zend_binary_assign_op_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
20027 zend_binary_assign_op_obj_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
20121 zend_binary_assign_op_dim_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
20177 zend_binary_assign_op_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22009 zend_binary_assign_op_obj_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22103 zend_binary_assign_op_dim_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22159 zend_binary_assign_op_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24115 zend_binary_assign_op_obj_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24208 zend_binary_assign_op_dim_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24263 zend_binary_assign_op_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25552 zend_binary_assign_op_obj_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25645 zend_binary_assign_op_dim_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25700 zend_binary_assign_op_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
27392 zend_binary_assign_op_obj_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
27484 zend_binary_assign_op_dim_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
27539 zend_binary_assign_op_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28749 zend_binary_assign_op_obj_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28842 zend_binary_assign_op_dim_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28898 zend_binary_assign_op_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
30024 zend_binary_assign_op_obj_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
30117 zend_binary_assign_op_dim_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
30173 zend_binary_assign_op_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31299 zend_binary_assign_op_obj_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31391 zend_binary_assign_op_dim_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31446 zend_binary_assign_op_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31791 zend_binary_assign_op_obj_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31883 zend_binary_assign_op_dim_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31938 zend_binary_assign_op_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
34711 zend_binary_assign_op_obj_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
34803 zend_binary_assign_op_dim_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
34858 zend_binary_assign_op_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
36976 zend_binary_assign_op_obj_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
37069 zend_binary_assign_op_dim_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
37125 zend_binary_assign_op_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
38830 zend_binary_assign_op_obj_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
38923 zend_binary_assign_op_dim_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
38979 zend_binary_assign_op_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
40806 zend_binary_assign_op_obj_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
40898 zend_binary_assign_op_dim_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
40953 zend_binary_assign_op_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
42098 zend_binary_assign_op_obj_helper_SPEC_CV_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
42190 zend_binary_assign_op_dim_helper_SPEC_CV_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
42245 zend_binary_assign_op_helper_SPEC_CV_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
H A Dcollator_sort.c53 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
62 zval* str1_p = collator_convert_object_to_string( op1, &str1 TSRMLS_CC );
145 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) 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 TSRMLS_CC);
178 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) 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 TSRMLS_DC);
H A Dphp_string.h146 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC);
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);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dpass2.c145 COPY_NODE(opline->op1, opline->op2);
162 COPY_NODE(opline->op2, (opline + 1)->op1);
233 /* MAKE_NOP() already set op1 and op2 to IS_UNUSED */
H A Dzend_optimizer_internal.h35 #define MAKE_NOP(opline) { (opline)->opcode = ZEND_NOP; memset(&(opline)->result, 0, sizeof((opline)->result)); memset(&(opline)->op1, 0, sizeof((opline)->op1)); memset(&(opline)->op2, 0, sizeof((opline)->op2));(opline)->result_type=(opline)->op1_type=(opline)->op2_type=IS_UNUSED; (opline)->handler = zend_opcode_handlers[ZEND_NOP]; }
38 #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 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 Dpass1_5.c71 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
293 Z_STR(op_array->literals[opline->op1.constant + 1]))) == NULL ||
568 if (op->op1_type == IS_VAR && op->op1.var == var) {
586 if (use->op1_type == IS_VAR && use->op1.var == var) {
588 use->op1.var = zend_optimizer_lookup_cv(op_array,
H A Dblock_pass.c615 VAR_SOURCE(opline->op1) &&
616 VAR_SOURCE(opline->op1)->opcode == ZEND_QM_ASSIGN &&
617 ZEND_OP1_TYPE(VAR_SOURCE(opline->op1)) == IS_CONST &&
623 zend_op *src = VAR_SOURCE(opline->op1);
625 VAR_UNSET(opline->op1);
648 VAR_SOURCE(opline->op1) &&
649 VAR_SOURCE(opline->op1)->opcode == ZEND_PRINT &&
652 LITERAL_LONG(opline->op1, 1);
665 VAR_SOURCE(opline->op1) &&
666 VAR_SOURCE(opline->op1)
[all...]
H A Dcompact_literals.c154 opline->op1,
162 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
168 opline->op1,
175 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
178 LITERAL_INFO(opline->op1.constant, LITERAL_CONST, 1, 1, 2);
189 LITERAL_INFO(opline->op1.constant, LITERAL_CLASS, 1, 1, 2);
194 opline->op1,
210 LITERAL_INFO(opline->op1.constant, LITERAL_VALUE, 1, 0, 1);
221 opline->op1.constant,
237 LITERAL_INFO(opline->op1
[all...]
H A Dzend_optimizer.c83 opline->op1.var += sizeof(zval);
130 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC);
132 Z_CACHE_SLOT(op_array->literals[opline->op1.constant]) = op_array->last_cache_slot++;
135 zend_string_hash_val(Z_STR(op_array->literals[opline->op1.constant+1]));
138 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC);
143 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC);
423 opline->op1.constant = opline->op1.zv - op_array->literals;
461 opline->op1.zv = &op_array->literals[opline->op1
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h323 # define ZEND_OP1(opline) (opline)->op1
324 # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv)
325 # 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->op1.jmp_addr - ops->opcodes);
93 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
105 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
113 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_CC);
/PHP_TRUNK/ext/gmp/
H A Dgmp.c452 static void shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2 TSRMLS_DC) { argument
462 FETCH_GMP_ZVAL(gmpnum_op, op1, temp);
471 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \
480 gmp_zval_unary_op(result, op1, op TSRMLS_CC); \
483 static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
493 shift_operator_helper(mpz_pow_ui, result, op1, op2 TSRMLS_CC);
500 shift_operator_helper(mpz_mul_2exp, result, op1, op2 TSRMLS_CC);
503 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2 TSRMLS_CC);
520 static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
525 if (result == op1) {
540 gmp_compare(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]

Completed in 68 milliseconds

12