Searched defs:op1 (Results 1 - 9 of 9) sorted by relevance

/PHP_5_5/ext/intl/collator/
H A Dcollator_sort.c53 static int collator_regular_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
59 zval* str1 = collator_convert_object_to_string( op1 TSRMLS_CC );
148 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
154 if( Z_TYPE_P(op1) == IS_STRING )
156 num1 = collator_convert_string_to_double( op1 );
157 op1 = num1;
166 rc = numeric_compare_function( result, op1, op2 TSRMLS_CC);
180 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
187 str1 = collator_make_printable_zval( op1 );
/PHP_5_5/Zend/
H A Dzend_operators.c810 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
816 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) {
818 long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2);
821 if ((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK)
822 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
824 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
832 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
836 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
840 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
846 if ((result == op1)
872 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
919 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
960 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1025 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1051 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1102 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1142 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1184 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1225 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1238 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1252 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1271 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1289 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1346 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1381 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1387 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1394 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1426 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1457 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1642 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1684 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1694 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1704 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1714 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1724 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1849 increment_function(zval *op1) argument
1900 decrement_function(zval *op1) argument
[all...]
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 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
51 ZEND_API int mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
52 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
53 ZEND_API int boolean_not_function(zval *result, zval *op1 TSRMLS_DC);
54 ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC);
55 ZEND_API int bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
56 ZEND_API int bitwise_and_function(zval *result, zval *op1, zva
506 fast_increment_function(zval *op1) argument
549 fast_decrement_function(zval *op1) argument
592 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
678 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
767 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
795 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
856 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
879 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
898 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
917 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
936 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
H A Dzend_compile.c576 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ argument
583 SET_NODE(opline->op1, op1);
589 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */
596 SET_NODE(opline->op1, op1);
602 #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; }
607 SET_NODE(data_op->op1, value);
612 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, cons argument
1170 zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1197 zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1394 zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) argument
1427 zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) argument
4424 zval *op1, *op2; local
4526 zval *op1, *op2; local
4566 zval *op1, *op2; local
[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_ptr_cv_\\1(execute_data, opline->op1.var TSRMLS_CC)",
157 "ANY" => "get_obj_zval_ptr(opline->op1_type, &opline->op1, execute_data, &free_op1, \\1)",
158 "TMP" => "_get_zval_ptr_tmp(opline->op1
296 $op1 = "ANY"; variable
607 $op1 = "ANY"; variable
1072 $op1 = array_flip(explode("|",$m[3])); variable
1101 $op1 = array_flip(explode("|",$m[2])); variable
1118 $op1 = array_flip(explode("|",$m[2])); variable
[all...]
H A Dzend_compile.h111 znode_op op1; member in struct:_zend_op
451 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
452 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC);
453 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
487 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
488 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
495 void zend_do_free(znode *op1 TSRMLS_DC);
497 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC);
498 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
598 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_D
[all...]
H A Dzend_vm_def.h330 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
337 zval *value = get_zval_ptr((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
442 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
468 value = get_zval_ptr((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
1043 retval = zend_std_get_static_property(ce, Z_STRVAL_P(varname), Z_STRLEN_P(varname), 0, ((OP1_TYPE == IS_CONST) ? opline->op1.literal : NULL) TSRMLS_CC);
1094 PZVAL_LOCK(*EX_T(opline->op1.var).var.ptr_ptr);
1174 PZVAL_LOCK(EX_T(opline->op1.var).var.ptr);
1616 zend_assign_to_object(RETURN_VALUE_USED(opline)?&EX_T(opline->result.var).var.ptr:NULL, object_ptr, property_name, (opline+1)->op1_type, &(opline+1)->op1, execute_data, ZEND_ASSIGN_OBJ, ((OP2_TYPE == IS_CONST) ? opline->op2.literal : NULL) TSRMLS_CC);
1648 zend_assign_to_object(RETURN_VALUE_USED(opline)?&EX_T(opline->result.var).var.ptr:NULL, object_ptr, property_name, (opline+1)->op1_type, &(opline+1)->op1, execute_data, ZEND_ASSIGN_DIM, ((OP2_TYPE == IS_CONST) ? opline->op2.literal : NULL) TSRMLS_CC);
1663 value = get_zval_ptr((opline+1)->op1_type, &(opline+1)->op1, execute_dat
[all...]
H A Dzend_vm_execute.h660 printf("Jumping to %d\n", opline->op1.opline_num);
662 ZEND_VM_SET_OPCODE(opline->op1.jmp_addr);
703 zend_uint arg_num = opline->op1.num;
722 zend_error(E_WARNING, "Missing argument %u for %s%s%s(), called in %s on line %d and defined", opline->op1.num, class_name, space, get_active_function_name(TSRMLS_C), ptr->op_array->filename, ptr->opline->lineno);
724 zend_error(E_WARNING, "Missing argument %u for %s%s%s()", opline->op1.num, class_name, space, get_active_function_name(TSRMLS_C));
748 if (UNEXPECTED((EX_T(opline->op1.var).class_entry->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_IMPLICIT_ABSTRACT_CLASS|ZEND_ACC_EXPLICIT_ABSTRACT_CLASS)) != 0)) {
749 if (EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_INTERFACE) {
750 zend_error_noreturn(E_ERROR, "Cannot instantiate interface %s", EX_T(opline->op1.var).class_entry->name);
751 } else if ((EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) {
752 zend_error_noreturn(E_ERROR, "Cannot instantiate trait %s", EX_T(opline->op1
14106 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
14218 zend_binary_assign_op_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
16615 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
16727 zend_binary_assign_op_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
18704 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
18816 zend_binary_assign_op_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
20900 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
21012 zend_binary_assign_op_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22332 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
22444 zend_binary_assign_op_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24282 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
24393 zend_binary_assign_op_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25696 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
25807 zend_binary_assign_op_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
27014 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
27125 zend_binary_assign_op_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28333 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
28444 zend_binary_assign_op_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28759 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
28870 zend_binary_assign_op_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31565 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
31676 zend_binary_assign_op_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
33839 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
33950 zend_binary_assign_op_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
35790 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
35901 zend_binary_assign_op_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
37847 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
37958 zend_binary_assign_op_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
39131 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
39242 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_5_5/ext/standard/
H A Dstring.c5014 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) /* {{{ */ argument
5019 if (Z_TYPE_P(op1) != IS_STRING) {
5020 zend_make_printable_zval(op1, &op1_copy, &use_copy1);
5027 op1 = &op1_copy;
5033 ZVAL_LONG(result, strnatcmp_ex(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2), case_insensitive));
5036 zval_dtor(op1);
5045 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
5047 return string_natural_compare_function_ex(result, op1, op2, 1 TSRMLS_CC);
5051 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zva argument
[all...]

Completed in 48 milliseconds