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

/PHP_5_4/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 );
147 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
153 if( Z_TYPE_P(op1) == IS_STRING )
155 num1 = collator_convert_string_to_double( op1 );
156 op1 = num1;
165 rc = numeric_compare_function( result, op1, op2 TSRMLS_CC);
179 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
186 str1 = collator_make_printable_zval( op1 );
/PHP_5_4/Zend/
H A Dzend_compile.h108 znode_op op1; member in struct:_zend_op
430 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
431 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC);
432 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
466 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
467 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
474 void zend_do_free(znode *op1 TSRMLS_DC);
476 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC);
477 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
573 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_D
[all...]
H A Dzend_operators.c755 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
761 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) {
763 long lval = Z_LVAL_P(op1) + Z_LVAL_P(op2);
766 if ((Z_LVAL_P(op1) & LONG_SIGN_MASK) == (Z_LVAL_P(op2) & LONG_SIGN_MASK)
767 && (Z_LVAL_P(op1) & LONG_SIGN_MASK) != (lval & LONG_SIGN_MASK)) {
769 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2));
777 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2));
781 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2)));
785 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2));
791 if ((result == op1)
817 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
864 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
905 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
970 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
996 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1047 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1087 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1129 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1170 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1183 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1197 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1216 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1234 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1291 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1326 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1332 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1339 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1371 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1402 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1587 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1629 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1639 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1649 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1659 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1669 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1794 increment_function(zval *op1) argument
1845 decrement_function(zval *op1) argument
[all...]
H A Dzend_operators.h43 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
44 ZEND_API int sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
45 ZEND_API int mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
46 ZEND_API int div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
47 ZEND_API int mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
48 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
49 ZEND_API int boolean_not_function(zval *result, zval *op1 TSRMLS_DC);
50 ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC);
51 ZEND_API int bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC);
52 ZEND_API int bitwise_and_function(zval *result, zval *op1, zva
477 fast_increment_function(zval *op1) argument
514 fast_decrement_function(zval *op1) argument
551 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
631 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
714 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
742 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
803 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
826 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
845 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
864 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
883 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[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, EX_Ts(), &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, EX_Ts(), &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);
1388 PZVAL_LOCK(*EX_T(opline->op1.var).var.ptr_ptr);
1389 EX_T(opline->op1.var).var.ptr = *EX_T(opline->op1
[all...]
H A Dzend_vm_execute.h434 printf("Jumping to %d\n", opline->op1.opline_num);
436 ZEND_VM_SET_OPCODE(opline->op1.jmp_addr);
762 zend_uint arg_num = opline->op1.num;
781 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);
783 zend_error(E_WARNING, "Missing argument %u for %s%s%s()", opline->op1.num, class_name, space, get_active_function_name(TSRMLS_C));
807 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)) {
808 if (EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_INTERFACE) {
809 zend_error_noreturn(E_ERROR, "Cannot instantiate interface %s", EX_T(opline->op1.var).class_entry->name);
810 } else if ((EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) {
811 zend_error_noreturn(E_ERROR, "Cannot instantiate trait %s", EX_T(opline->op1
12254 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
12366 zend_binary_assign_op_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
14593 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
14705 zend_binary_assign_op_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
16515 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
16627 zend_binary_assign_op_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
18543 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
18655 zend_binary_assign_op_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
19811 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
19923 zend_binary_assign_op_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
21591 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
21702 zend_binary_assign_op_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22843 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
22954 zend_binary_assign_op_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24002 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
24113 zend_binary_assign_op_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25161 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
25272 zend_binary_assign_op_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
25430 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
25541 zend_binary_assign_op_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28085 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
28196 zend_binary_assign_op_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
30199 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
30310 zend_binary_assign_op_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31990 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
32101 zend_binary_assign_op_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
33886 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
33997 zend_binary_assign_op_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
35013 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
35124 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...]
H A Dzend_compile.c573 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ argument
580 SET_NODE(opline->op1, op1);
586 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */
593 SET_NODE(opline->op1, op1);
599 #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; }
604 SET_NODE(data_op->op1, value);
609 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, cons argument
1167 zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1194 zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1391 zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) argument
1424 zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) argument
4239 zval *op1, *op2; local
4345 zval *op1, *op2; local
4385 zval *op1, *op2; local
[all...]
H A Dzend_vm_gen.php121 "ANY" => "get_zval_ptr(opline->op1_type, &opline->op1, EX_Ts(), &free_op1, \\1)",
122 "TMP" => "_get_zval_ptr_tmp(opline->op1.var, EX_Ts(), &free_op1 TSRMLS_CC)",
123 "VAR" => "_get_zval_ptr_var(opline->op1.var, EX_Ts(), &free_op1 TSRMLS_CC)",
124 "CONST" => "opline->op1.zv",
126 "CV" => "_get_zval_ptr_cv_\\1(EX_CVs(), opline->op1.var TSRMLS_CC)",
139 "ANY" => "get_zval_ptr_ptr(opline->op1_type, &opline->op1, EX_Ts(), &free_op1, \\1)",
141 "VAR" => "_get_zval_ptr_ptr_var(opline->op1.var, EX_Ts(), &free_op1 TSRMLS_CC)",
144 "CV" => "_get_zval_ptr_ptr_cv_\\1(EX_CVs(), opline->op1.var TSRMLS_CC)",
157 "ANY" => "get_obj_zval_ptr(opline->op1_type, &opline->op1, EX_Ts(), &free_op1, \\1)",
158 "TMP" => "_get_zval_ptr_tmp(opline->op1
296 $op1 = "ANY"; variable
592 $op1 = "ANY"; variable
1093 $op1 = array_flip(explode("|",$m[3])); variable
1122 $op1 = array_flip(explode("|",$m[2])); variable
1139 $op1 = array_flip(explode("|",$m[2])); variable
[all...]
/PHP_5_4/ext/standard/
H A Dstring.c5063 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) /* {{{ */ argument
5068 if (Z_TYPE_P(op1) != IS_STRING) {
5069 zend_make_printable_zval(op1, &op1_copy, &use_copy1);
5076 op1 = &op1_copy;
5082 ZVAL_LONG(result, strnatcmp_ex(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2), case_insensitive));
5085 zval_dtor(op1);
5094 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
5096 return string_natural_compare_function_ex(result, op1, op2, 1 TSRMLS_CC);
5100 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zva argument
[all...]

Completed in 46 milliseconds