Home
last modified time | relevance | path

Searched refs:op1 (Results 1 – 25 of 32) sorted by relevance

12

/PHP-5.5/Zend/
H A Dzend_operators.c1078 op1 = &op1_copy; in bitwise_not_function()
1113 longer = op1; in bitwise_or_function()
1117 shorter = op1; in bitwise_or_function()
1153 longer = op1; in bitwise_and_function()
1195 longer = op1; in bitwise_xor_function()
1263 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in add_char_to_string()
1285 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in add_string_to_string()
1343 memcpy(buf, Z_STRVAL_P(op1), Z_STRLEN_P(op1)); in concat_function()
1557 op_free = Z_OBJ_HT_P(op1)->get(op1 TSRMLS_CC); in compare_function()
1874 Z_DVAL_P(op1) = Z_DVAL_P(op1) + 1; in increment_function()
[all …]
H A Dzend_operators.h518 : "r"(&op1->value), in fast_increment_function()
531 : "r"(&op1->value), in fast_increment_function()
539 Z_TYPE_P(op1) = IS_DOUBLE; in fast_increment_function()
541 Z_LVAL_P(op1)++; in fast_increment_function()
561 : "r"(&op1->value), in fast_decrement_function()
574 : "r"(&op1->value), in fast_decrement_function()
584 Z_LVAL_P(op1)--; in fast_decrement_function()
613 "r"(&op1->value), in fast_add_function()
636 "r"(&op1->value), in fast_add_function()
703 "r"(&op1->value), in fast_sub_function()
[all …]
H A Dzend_vm_gen.php296 $op1 = "ANY";
351 $op1_type[$op1],
353 $op1_free[$op1],
355 $op1_get_zval_ptr[$op1],
363 $op1_is_tmp_free[$op1],
365 $op1_free_op[$op1],
577 if ($op1 != "ANY") {
603 foreach($op1t as $op1) {
604 if ($op1 != "ANY") {
607 $op1 = "ANY";
[all …]
H A Dzend_vm_execute.h3056 opline->op1.zv, in ZEND_ADD_SPEC_CONST_CONST_HANDLER()
3071 opline->op1.zv, in ZEND_SUB_SPEC_CONST_CONST_HANDLER()
3086 opline->op1.zv, in ZEND_MUL_SPEC_CONST_CONST_HANDLER()
3101 opline->op1.zv, in ZEND_DIV_SPEC_CONST_CONST_HANDLER()
3116 opline->op1.zv, in ZEND_MOD_SPEC_CONST_CONST_HANDLER()
3131 opline->op1.zv, in ZEND_SL_SPEC_CONST_CONST_HANDLER()
3146 opline->op1.zv, in ZEND_SR_SPEC_CONST_CONST_HANDLER()
3161 opline->op1.zv, in ZEND_CONCAT_SPEC_CONST_CONST_HANDLER()
3176 opline->op1.zv, in ZEND_IS_IDENTICAL_SPEC_CONST_CONST_HANDLER()
3192 opline->op1.zv, in ZEND_IS_NOT_IDENTICAL_SPEC_CONST_CONST_HANDLER()
[all …]
H A Dzend_compile.c583 SET_NODE(opline->op1, op1); in zend_do_binary_op()
596 SET_NODE(opline->op1, op1); in zend_do_unary_op()
645 SET_NODE(opline->op1, op1); in zend_do_binary_assign_op()
1189 SET_NODE(opline->op1, op1); in zend_do_pre_incdec()
1216 SET_NODE(opline->op1, op1); in zend_do_post_incdec()
1415 SET_NODE(opline->op1, op1); in zend_do_add_string()
1434 SET_NODE(opline->op1, op1); in zend_do_add_variable()
1452 SET_NODE(opline->op1, op1); in zend_do_free()
4457 op1 = opline->op1.zv; in do_bind_function()
4559 op1 = opline->op1.zv; in do_bind_class()
[all …]
H A Dzend_ini_parser.y52 static void zend_ini_do_op(char type, zval *result, zval *op1, zval *op2) in zend_ini_do_op() argument
58 i_op1 = atoi(Z_STRVAL_P(op1)); in zend_ini_do_op()
59 free(Z_STRVAL_P(op1)); in zend_ini_do_op()
109 static void zend_ini_add_string(zval *result, zval *op1, zval *op2) in zend_ini_add_string() argument
111 int length = Z_STRLEN_P(op1) + Z_STRLEN_P(op2); in zend_ini_add_string()
113 Z_STRVAL_P(result) = (char *) realloc(Z_STRVAL_P(op1), length+1); in zend_ini_add_string()
114 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in zend_ini_add_string()
H A Dzend_vm_def.h2517 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), opline->op1.…
2918 } else if (EX_T(opline->op1.var).var.ptr_ptr == &EX_T(opline->op1.var).var.ptr) {
3003 …ch_ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), opline->o…
3121 EX_T(opline->op1.var).var.ptr) {
3537 …ce = zend_fetch_class_by_name(Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), opline->op1.…
3892 EX_CV(opline->op1.var) = NULL;
3895 EX_CV(opline->op1.var) = NULL;
4380 if (EX_CV(opline->op1.var)) {
4381 value = EX_CV(opline->op1.var);
4870 …_quick_find(EG(class_table), Z_STRVAL_P(opline->op1.zv), Z_STRLEN_P(opline->op1.zv), Z_HASH_P(opli…
[all …]
H A Dzend_opcode.c585 SET_UNUSED(opline->op1); in zend_resolve_finally_call()
593 opline->op1.opline_num = get_next_op_number(op_array); in zend_resolve_finally_call()
597 SET_UNUSED(opline->op1); in zend_resolve_finally_call()
603 opline->op1.opline_num = op_array->try_catch_array[i].finally_op; in zend_resolve_finally_call()
616 SET_UNUSED(opline->op1); in zend_resolve_finally_call()
618 opline->op1.opline_num = op_array->try_catch_array[i].finally_op; in zend_resolve_finally_call()
629 SET_UNUSED(opline->op1); in zend_resolve_finally_call()
631 opline->op1.opline_num = start_op; in zend_resolve_finally_call()
686 if ((array_offset = opline->op1.opline_num) != -1) { in zend_resolve_finally_calls()
754 opline->op1.zv = &op_array->literals[opline->op1.constant].constant; in pass_two()
[all …]
H A Dzend_compile.h111 znode_op op1; member
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 TSRM…
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_DC);
/PHP-5.5/ext/opcache/Optimizer/
H A Dzend_optimizer_internal.h44 …mset(&opline->result,0,sizeof(opline->result)); memset(&opline->op1,0,sizeof(opline->op1)); memset…
47 …SAME_VAR(op1, op2) ((((op1 ## _type & IS_VAR) && (op2 ## _type & IS_VAR)) || (op1 ## _type == IS_T… argument
49 …eof(znode)); memset(&opline->op1,0,sizeof(znode)); memset(&opline->op2,0,sizeof(znode)); opline->r…
52 …ne SAME_VAR(op1, op2) (((op1.op_type == IS_VAR && op2.op_type == IS_VAR) || (op1.op_type == IS_TM… argument
H A Dblock_pass.c647 VAR_UNSET(opline->op1); in zend_optimize_block()
691 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
819 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
855 VAR_UNSET(opline->op1); in zend_optimize_block()
874 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
895 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
961 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1073 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1107 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
1138 COPY_NODE(opline->op1, src->op1); in zend_optimize_block()
[all …]
H A Dpass3.c77 znode_op tmp = opline->op1;
79 znode tmp = opline->op1;
84 COPY_NODE(opline->op1, opline->op2);
202 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
208 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
215 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
221 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
262 SAME_VAR(op_array->opcodes[target].op1, T)) {
271 SAME_VAR(op_array->opcodes[target].op1, T)) {
284 SAME_VAR(opline->op1, op_array->opcodes[target].op1)) {
H A Dzend_optimizer.c129 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC); in update_op1_const()
131 op_array->literals[opline->op1.constant].cache_slot = op_array->last_cache_slot++; in update_op1_const()
134 …e->op1.constant+1].hash_value = zend_hash_func(Z_STRVAL(op_array->literals[opline->op1.constant+1]… in update_op1_const()
138 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC); in update_op1_const()
140 op_array->literals[opline->op1.constant].cache_slot = op_array->last_cache_slot++; in update_op1_const()
143 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC); in update_op1_const()
148 opline->op1.constant = zend_optimizer_add_literal(op_array, val TSRMLS_CC); in update_op1_const()
H A Dpass1_5.c37 int (*binary_op)(zval *result, zval *op1, zval *op2 TSRMLS_DC) = get_binary_op(opline->opcode);
256 COPY_NODE((opline + 1)->op1, opline->op2);
260 op_array->literals[(opline + 1)->op1.constant].cache_slot = op_array->last_cache_slot++;
298 if (op->op1_type == IS_VAR && op->op1.var == var) {
316 if (use->op1_type == IS_VAR && use->op1.var == var) {
318 use->op1.var = zend_optimizer_lookup_cv(op_array,
H A Dpass2.c115 COPY_NODE(opline->op1, opline->op2);
132 COPY_NODE(opline->op2, (opline + 1)->op1);
/PHP-5.5/Zend/tests/
H A Dbug37046.phpt11 echo "op1 $k\n";
20 op1 0
23 op1 1
/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) in collator_regular_compare_function() argument
59 zval* str1 = collator_convert_object_to_string( op1 TSRMLS_CC ); in collator_regular_compare_function()
148 static int collator_numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) in collator_numeric_compare_function() argument
154 if( Z_TYPE_P(op1) == IS_STRING ) in collator_numeric_compare_function()
156 num1 = collator_convert_string_to_double( op1 ); in collator_numeric_compare_function()
157 op1 = num1; in collator_numeric_compare_function()
166 rc = numeric_compare_function( result, op1, op2 TSRMLS_CC); in collator_numeric_compare_function()
180 static int collator_icu_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) in collator_icu_compare_function() argument
187 str1 = collator_make_printable_zval( op1 ); in collator_icu_compare_function()
H A Dcollator_sort.h23 typedef int (*collator_compare_func_t)( zval *result, zval *op1, zval *op2 TSRMLS_DC );
/PHP-5.5/ext/opcache/
H A DZendAccelerator.h366 # define ZEND_OP1(opline) (opline)->op1
367 # define ZEND_OP1_CONST(opline) (*(opline)->op1.zv)
368 # define ZEND_OP1_LITERAL(opline) (op_array)->literals[(opline)->op1.constant].constant
384 # define ZEND_OP1_TYPE(opline) (opline)->op1.op_type
385 # define ZEND_OP1(opline) (opline)->op1.u
386 # define ZEND_OP1_CONST(opline) (opline)->op1.u.constant
387 # define ZEND_OP1_LITERAL(opline) (opline)->op1.u.constant
H A Dzend_persist.c255 …opline->op1.zv = (zval*)((char*)opline->op1.zv + ((char*)op_array->literals - (char*)orig_literals…
257 zend_persist_zval(&opline->op1.u.constant TSRMLS_CC);
258 zend_protect_zval(&opline->op1.u.constant TSRMLS_CC);
H A Dzend_persist_calc.c161 if (opline->op1.op_type == IS_CONST) {
162 ADD_SIZE(zend_persist_zval_calc(&opline->op1.u.constant TSRMLS_CC));
/PHP-5.5/ext/standard/
H A Dphp_string.h146 PHPAPI int string_natural_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_in…
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);
H A Dphp_array.h122 int (*compare_func)(zval *result, zval *op1, zval *op2 TSRMLS_DC);
/PHP-5.5/ext/pcre/pcrelib/sljit/
H A DsljitNativeTILEGX_64.c753 inst_buf[inst_buf_index].operand_value[1] = op1; in push_4_buffer()
756 inst_buf[inst_buf_index].input_registers = 1L << op1; in push_4_buffer()
773 inst_buf[inst_buf_index].operand_value[1] = op1; in push_3_buffer()
779 inst_buf[inst_buf_index].input_registers = (1L << op0) | (1L << op1); in push_3_buffer()
783 inst_buf[inst_buf_index].input_registers = 1L << op1; in push_3_buffer()
784 inst_buf[inst_buf_index].output_registers = (1L << op0) | (1L << op1); in push_3_buffer()
800 inst_buf[inst_buf_index].input_registers = (1L << op1) | (1L << op2); in push_3_buffer()
812 inst_buf[inst_buf_index].input_registers = 1L << op1; in push_3_buffer()
834 inst_buf[inst_buf_index].operand_value[1] = op1; in push_2_buffer()
846 inst_buf[inst_buf_index].input_registers = (1L << op0) | (1L << op1); in push_2_buffer()
[all …]
/PHP-5.5/
H A D.gdbinit570 usage: printzn &opline->op1
574 printf "op1 => "
575 printzn &execute_data->opline.op1

Completed in 208 milliseconds

12