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

/PHP_5_6/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_6/Zend/
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
510 fast_increment_function(zval *op1) argument
553 fast_decrement_function(zval *op1) argument
596 fast_add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
682 fast_sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
771 fast_mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
799 fast_div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
860 fast_mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
883 fast_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
902 fast_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
921 fast_is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
940 fast_is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
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)
874 sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
923 mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
966 pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1050 div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1117 mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1149 boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1215 bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1262 bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1309 bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1356 shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1376 shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1397 add_char_to_string(zval *result, const zval *op1, const zval *op2) argument
1410 add_string_to_string(zval *result, const zval *op1, const zval *op2) argument
1422 concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1483 string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) argument
1518 string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1524 string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1531 string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1563 numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1594 compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1783 is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1825 is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1835 is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1845 is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1855 is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1865 is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
1988 increment_function(zval *op1) argument
2053 decrement_function(zval *op1) argument
[all...]
H A Dzend_ast.c45 ZEND_API zend_ast* zend_ast_create_binary(uint kind, zend_ast *op0, zend_ast *op1) argument
51 (&ast->u.child)[1] = op1;
55 ZEND_API zend_ast* zend_ast_create_ternary(uint kind, zend_ast *op0, zend_ast *op1, zend_ast *op2) argument
61 (&ast->u.child)[1] = op1;
107 zval op1, op2; local
111 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
113 add_function(result, &op1, &op2 TSRMLS_CC);
114 zval_dtor(&op1);
118 zend_ast_evaluate(&op1, (&ast->u.child)[0], scope TSRMLS_CC);
120 sub_function(result, &op1,
[all...]
H A Dzend_compile.h113 znode_op op1; member in struct:_zend_op
466 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
467 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC);
468 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
502 void zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
503 void zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC);
510 void zend_do_free(znode *op1 TSRMLS_DC);
512 void zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC);
513 void zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC);
614 void zend_do_include_or_eval(int type, znode *result, const znode *op1 TSRMLS_D
[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)",
147 $op1_get_zval_ptr_ptr_fast["VAR"] = "_get_zval_ptr_ptr_var_fast(opline->op1.var, execute_data, &free_op1 TSRMLS_CC)";
161 "ANY" => "get_obj_zval_ptr(opline->op1_type, &opline->op1, execute_dat
308 $op1 = "ANY"; variable
634 $op1 = "ANY"; variable
1099 $op1 = array_flip(explode("|",$m[3])); variable
1128 $op1 = array_flip(explode("|",$m[2])); variable
1145 $op1 = array_flip(explode("|",$m[2])); variable
[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);
438 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
464 value = get_zval_ptr((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
1039 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);
1088 PZVAL_LOCK(*EX_T(opline->op1.var).var.ptr_ptr);
1607 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);
1639 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);
1654 value = get_zval_ptr((opline+1)->op1_type, &(opline+1)->op1, execute_data, &free_op_data1, BP_VAR_R);
1713 if (zend_assign_to_string_offset(&EX_T(opline->op1
[all...]
H A Dzend_vm_execute.h668 printf("Jumping to %d\n", opline->op1.opline_num);
670 ZEND_VM_SET_OPCODE(opline->op1.jmp_addr);
716 args = get_zval_ptr(opline->op1_type, &opline->op1, execute_data, &free_op1, BP_VAR_R);
859 zend_uint arg_num = opline->op1.num;
878 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);
880 zend_error(E_WARNING, "Missing argument %u for %s%s%s()", opline->op1.num, class_name, space, get_active_function_name(TSRMLS_C));
900 zend_uint arg_num = opline->op1.num;
935 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)) {
936 if (EX_T(opline->op1.var).class_entry->ce_flags & ZEND_ACC_INTERFACE) {
937 zend_error_noreturn(E_ERROR, "Cannot instantiate interface %s", EX_T(opline->op1
14500 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
14608 zend_binary_assign_op_helper_SPEC_VAR_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
17003 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
17111 zend_binary_assign_op_helper_SPEC_VAR_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
19093 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
19201 zend_binary_assign_op_helper_SPEC_VAR_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
21288 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
21396 zend_binary_assign_op_helper_SPEC_VAR_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
22716 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
22824 zend_binary_assign_op_helper_SPEC_VAR_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
24667 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
24774 zend_binary_assign_op_helper_SPEC_UNUSED_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
26072 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
26179 zend_binary_assign_op_helper_SPEC_UNUSED_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
27386 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
27493 zend_binary_assign_op_helper_SPEC_UNUSED_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
28701 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
28808 zend_binary_assign_op_helper_SPEC_UNUSED_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
29130 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
29237 zend_binary_assign_op_helper_SPEC_UNUSED_CV(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
31957 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
32064 zend_binary_assign_op_helper_SPEC_CV_CONST(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
34229 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
34336 zend_binary_assign_op_helper_SPEC_CV_TMP(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
36180 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
36287 zend_binary_assign_op_helper_SPEC_CV_VAR(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
38235 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
38342 zend_binary_assign_op_helper_SPEC_CV_UNUSED(int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC), ZEND_OPCODE_HANDLER_ARGS) argument
39514 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
39621 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.c584 void zend_do_binary_op(zend_uchar op, znode *result, const znode *op1, const znode *op2 TSRMLS_DC) /* {{{ */ argument
591 SET_NODE(opline->op1, op1);
597 void zend_do_unary_op(zend_uchar op, znode *result, const znode *op1 TSRMLS_DC) /* {{{ */
604 SET_NODE(opline->op1, op1);
610 #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; }
615 SET_NODE(data_op->op1, value);
620 void zend_do_binary_assign_op(zend_uchar op, znode *result, const znode *op1, cons argument
1178 zend_do_pre_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1205 zend_do_post_incdec(znode *result, const znode *op1, zend_uchar op TSRMLS_DC) argument
1402 zend_do_add_string(znode *result, const znode *op1, znode *op2 TSRMLS_DC) argument
1435 zend_do_add_variable(znode *result, const znode *op1, const znode *op2 TSRMLS_DC) argument
4569 zval *op1, *op2; local
4671 zval *op1, *op2; local
4711 zval *op1, *op2; local
[all...]
/PHP_5_6/ext/gmp/
H A Dgmp.c496 static void shift_operator_helper(gmp_binary_ui_op_t op, zval *return_value, zval *op1, zval *op2 TSRMLS_DC) { argument
512 FETCH_GMP_ZVAL(gmpnum_op, op1, temp);
521 result, op1, op2, op, (gmp_binary_ui_op_t) uop, \
530 gmp_zval_unary_op(result, op1, op TSRMLS_CC); \
533 static int gmp_do_operation_ex(zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
543 shift_operator_helper(mpz_pow_ui, result, op1, op2 TSRMLS_CC);
550 shift_operator_helper(mpz_mul_2exp, result, op1, op2 TSRMLS_CC);
553 shift_operator_helper(mpz_fdiv_q_2exp, result, op1, op2 TSRMLS_CC);
570 static int gmp_do_operation(zend_uchar opcode, zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
575 if (result == op1) {
590 gmp_compare(zval *result, zval *op1, zval *op2 TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/standard/
H A Dstring.c5019 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensitive TSRMLS_DC) /* {{{ */ argument
5024 if (Z_TYPE_P(op1) != IS_STRING) {
5025 zend_make_printable_zval(op1, &op1_copy, &use_copy1);
5032 op1 = &op1_copy;
5038 ZVAL_LONG(result, strnatcmp_ex(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2), case_insensitive));
5041 zval_dtor(op1);
5050 PHPAPI int string_natural_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ argument
5052 return string_natural_compare_function_ex(result, op1, op2, 1 TSRMLS_CC);
5056 PHPAPI int string_natural_compare_function(zval *result, zval *op1, zva argument
[all...]

Completed in 50 milliseconds