Lines Matching refs:zval
39 static void zend_optimizer_zval_dtor_wrapper(zval *zvalue) in zend_optimizer_zval_dtor_wrapper()
44 void zend_optimizer_collect_constant(zend_optimizer_ctx *ctx, zval *name, zval* value) in zend_optimizer_collect_constant()
46 zval val; in zend_optimizer_collect_constant()
75 int zend_optimizer_eval_binary_op(zval *result, zend_uchar opcode, zval *op1, zval *op2) /* {{{ */ in zend_optimizer_eval_binary_op()
130 int zend_optimizer_eval_unary_op(zval *result, zend_uchar opcode, zval *op1) /* {{{ */ in zend_optimizer_eval_unary_op()
150 int zend_optimizer_eval_cast(zval *result, uint32_t type, zval *op1) /* {{{ */ in zend_optimizer_eval_cast()
182 int zend_optimizer_eval_strlen(zval *result, zval *op1) /* {{{ */ in zend_optimizer_eval_strlen()
192 int zend_optimizer_get_collected_constant(HashTable *constants, zval *name, zval* value) in zend_optimizer_get_collected_constant()
194 zval *val; in zend_optimizer_get_collected_constant()
203 int zend_optimizer_add_literal(zend_op_array *op_array, zval *zv) in zend_optimizer_add_literal()
207 op_array->literals = (zval*)erealloc(op_array->literals, op_array->last_literal * sizeof(zval)); in zend_optimizer_add_literal()
214 zval zv; in zend_optimizer_add_literal_string()
227 static inline void drop_leading_backslash(zval *val) { in drop_leading_backslash()
256 zval *val) in zend_optimizer_update_op1_const()
381 zval *val) in zend_optimizer_update_op2_const()
383 zval tmp; in zend_optimizer_update_op2_const()
702 zval *val) in zend_optimizer_replace_by_const()
749 zval v; in zend_optimizer_replace_by_const()
803 zval v; in zend_optimizer_replace_by_const()
904 zval *zv; in zend_optimizer_migrate_jump()
950 zval *zv; in zend_optimizer_shift_jump()
963 zval *op1 = CRT_CONSTANT_EX(op_array, opline, opline->op1, rt_constants); in get_class_entry_from_op1()
1012 zval *function_name = GET_OP(op2) + 1; in zend_optimizer_get_called_func()
1243 zval *literals = emalloc(sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()
1244 memcpy(literals, op_array->literals, sizeof(zval) * op_array->last_literal); in zend_revert_pass_two()
1261 sizeof(zval) * op_array->last_literal); in zend_redo_pass_two()
1263 op_array->literals, sizeof(zval) * op_array->last_literal); in zend_redo_pass_two()
1265 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in zend_redo_pass_two()
1338 sizeof(zval) * op_array->last_literal); in zend_redo_pass_two_ex()
1340 op_array->literals, sizeof(zval) * op_array->last_literal); in zend_redo_pass_two_ex()
1342 …op_array->literals = (zval*)(((char*)op_array->opcodes) + ZEND_MM_ALIGNED_SIZE_EX(sizeof(zend_op) … in zend_redo_pass_two_ex()