Lines Matching refs:zval

100 typedef int (ZEND_FASTCALL *incdec_t)(zval *);
138 zval *__container_to_free = (free_op); \
143 zval *__zv = (result); \
171 #define ZEND_VM_STACK_PAGE_SIZE (ZEND_VM_STACK_PAGE_SLOTS * sizeof(zval))
174 (((size) + ZEND_VM_STACK_HEADER_SLOTS * sizeof(zval) \
181 page->end = (zval*)((char*)page + size); in zend_vm_stack_new_page()
224 EXPECTED(size < EG(vm_stack_page_size) - (ZEND_VM_STACK_HEADER_SLOTS * sizeof(zval))) ? in zend_vm_stack_extend()
233 ZEND_API zval* zend_get_compiled_variable_value(const zend_execute_data *execute_data, uint32_t var) in zend_get_compiled_variable_value()
238 static zend_always_inline zval *_get_zval_ptr_tmp(uint32_t var, zend_free_op *should_free EXECUTE_D… in _get_zval_ptr_tmp()
240 zval *ret = EX_VAR(var); in _get_zval_ptr_tmp()
248 static zend_always_inline zval *_get_zval_ptr_var(uint32_t var, zend_free_op *should_free EXECUTE_D… in _get_zval_ptr_var()
250 zval *ret = EX_VAR(var); in _get_zval_ptr_var()
256 static zend_always_inline zval *_get_zval_ptr_var_deref(uint32_t var, zend_free_op *should_free EXE… in _get_zval_ptr_var_deref()
258 zval *ret = EX_VAR(var); in _get_zval_ptr_var_deref()
273 static zend_never_inline ZEND_COLD zval *_get_zval_cv_lookup(zval *ptr, uint32_t var, int type EXEC… in _get_zval_cv_lookup()
293 static zend_never_inline ZEND_COLD zval *_get_zval_cv_lookup_BP_VAR_R(zval *ptr, uint32_t var EXECU… in _get_zval_cv_lookup_BP_VAR_R()
299 static zend_never_inline ZEND_COLD zval *_get_zval_cv_lookup_BP_VAR_UNSET(zval *ptr, uint32_t var E… in _get_zval_cv_lookup_BP_VAR_UNSET()
305 static zend_never_inline ZEND_COLD zval *_get_zval_cv_lookup_BP_VAR_RW(zval *ptr, uint32_t var EXEC… in _get_zval_cv_lookup_BP_VAR_RW()
312 static zend_always_inline zval *_get_zval_ptr_cv(uint32_t var, int type EXECUTE_DATA_DC) in _get_zval_ptr_cv()
314 zval *ret = EX_VAR(var); in _get_zval_ptr_cv()
326 static zend_always_inline zval *_get_zval_ptr_cv_deref(uint32_t var, int type EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref()
328 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref()
342 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_R(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_BP_VAR_R()
344 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_BP_VAR_R()
352 static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_R(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref_BP_VAR_R()
354 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref_BP_VAR_R()
363 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_UNSET(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_BP_VAR_UNSET()
365 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_BP_VAR_UNSET()
373 static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_UNSET(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref_BP_VAR_UNSET()
375 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref_BP_VAR_UNSET()
384 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_IS(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_BP_VAR_IS()
386 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_BP_VAR_IS()
391 static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_IS(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref_BP_VAR_IS()
393 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref_BP_VAR_IS()
399 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_RW(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_BP_VAR_RW()
401 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_BP_VAR_RW()
409 static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_RW(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref_BP_VAR_RW()
411 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref_BP_VAR_RW()
420 static zend_always_inline zval *_get_zval_ptr_cv_BP_VAR_W(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_BP_VAR_W()
422 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_BP_VAR_W()
430 static zend_always_inline zval *_get_zval_ptr_cv_deref_BP_VAR_W(uint32_t var EXECUTE_DATA_DC) in _get_zval_ptr_cv_deref_BP_VAR_W()
432 zval *ret = EX_VAR(var); in _get_zval_ptr_cv_deref_BP_VAR_W()
442 static zend_always_inline zval *_get_zval_ptr(int op_type, znode_op node, zend_free_op *should_free… in _get_zval_ptr()
463 static zend_always_inline zval *_get_op_data_zval_ptr_r(int op_type, znode_op node, zend_free_op *s… in _get_op_data_zval_ptr_r()
484 static zend_always_inline zval *_get_zval_ptr_deref(int op_type, znode_op node, zend_free_op *shoul… in _get_zval_ptr_deref()
505 static zend_always_inline zval *_get_op_data_zval_ptr_deref_r(int op_type, znode_op node, zend_free… in _get_op_data_zval_ptr_deref_r()
526 static zend_always_inline zval *_get_zval_ptr_undef(int op_type, znode_op node, zend_free_op *shoul… in _get_zval_ptr_undef()
547 static zend_always_inline zval *_get_zval_ptr_ptr_var(uint32_t var, zend_free_op *should_free EXECU… in _get_zval_ptr_ptr_var()
549 zval *ret = EX_VAR(var); in _get_zval_ptr_ptr_var()
560 static inline zval *_get_zval_ptr_ptr(int op_type, znode_op node, zend_free_op *should_free, int ty… in _get_zval_ptr_ptr()
571 static inline zval *_get_obj_zval_ptr(int op_type, znode_op op, zend_free_op *should_free, int type… in _get_obj_zval_ptr()
580 static inline zval *_get_obj_zval_ptr_undef(int op_type, znode_op op, zend_free_op *should_free, in… in _get_obj_zval_ptr_undef()
589 static inline zval *_get_obj_zval_ptr_ptr(int op_type, znode_op node, zend_free_op *should_free, in… in _get_obj_zval_ptr_ptr()
598 static inline void zend_assign_to_variable_reference(zval *variable_ptr, zval *value_ptr) in zend_assign_to_variable_reference()
624 …er_inline ZEND_COLD int zend_wrong_assign_to_variable_reference(zval *variable_ptr, zval *value_pt… in zend_wrong_assign_to_variable_reference()
639 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_property_assignment(zval *property… in zend_wrong_property_assignment()
651 static zend_never_inline ZEND_COLD int ZEND_FASTCALL make_real_object(zval *object, zval *property … in make_real_object()
695 static zend_never_inline ZEND_COLD int ZEND_FASTCALL make_real_object_rw(zval *object, zval *proper… in make_real_object_rw()
716 const zend_class_entry *ce, zval *value, in zend_verify_type_error_common()
789 int arg_num, const zend_class_entry *ce, zval *value) in zend_verify_arg_error()
816 static int is_null_constant(zend_class_entry *scope, zval *default_value) in is_null_constant()
819 zval constant; in is_null_constant()
833 static zend_bool zend_verify_weak_scalar_type_hint(zend_uchar type_hint, zval *arg) in zend_verify_weak_scalar_type_hint()
880 static zend_bool zend_verify_scalar_type_hint(zend_uchar type_hint, zval *arg, zend_bool strict) in zend_verify_scalar_type_hint()
896 zval *arg, zend_class_entry **ce, void **cache_slot, in zend_check_type()
897 zval *default_value, zend_class_entry *scope, in zend_check_type()
944 …inline int zend_verify_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval *default_valu… in zend_verify_arg_type()
970 zval *p = ZEND_CALL_ARG(call, 1); in zend_verify_internal_arg_types()
1011 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_return_error()
1027 const zend_function *zf, const zend_class_entry *ce, zval *value) in zend_verify_internal_return_error()
1059 static int zend_verify_internal_return_type(zend_function *zf, zval *ret) in zend_verify_internal_return_type()
1082 static zend_always_inline void zend_verify_return_type(zend_function *zf, zval *ret, void **cache_s… in zend_verify_return_type()
1124 static zend_never_inline void zend_assign_to_object_dim(zval *object, zval *dim, zval *value OPLINE… in zend_assign_to_object_dim()
1141 …zend_never_inline void zend_binary_assign_op_obj_dim(zval *object, zval *property, zval *value, zv… in zend_binary_assign_op_obj_dim()
1143 zval *z; in zend_binary_assign_op_obj_dim()
1144 zval rv, res; in zend_binary_assign_op_obj_dim()
1150 zval rv2; in zend_binary_assign_op_obj_dim()
1151 zval *value = Z_OBJ_HT_P(z)->get(z, &rv2); in zend_binary_assign_op_obj_dim()
1175 static zend_never_inline zend_long zend_check_string_offset(zval *dim, int type EXECUTE_DATA_DC) in zend_check_string_offset()
1341 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_property_read(zval *property) in zend_wrong_property_read()
1349 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_property_unset(zval *property) in zend_wrong_property_unset()
1357 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_wrong_property_check(zval *property) in zend_wrong_property_check()
1373 static zend_never_inline void zend_assign_to_string_offset(zval *str, zval *dim, zval *value OPLINE… in zend_assign_to_string_offset()
1437 static zend_never_inline void zend_post_incdec_overloaded_property(zval *object, zval *property, vo… in zend_post_incdec_overloaded_property()
1440 zval rv, obj; in zend_post_incdec_overloaded_property()
1441 zval *z; in zend_post_incdec_overloaded_property()
1442 zval z_copy; in zend_post_incdec_overloaded_property()
1454 zval rv2; in zend_post_incdec_overloaded_property()
1455 zval *value = Z_OBJ_HT_P(z)->get(z, &rv2); in zend_post_incdec_overloaded_property()
1479 static zend_never_inline void zend_pre_incdec_overloaded_property(zval *object, zval *property, voi… in zend_pre_incdec_overloaded_property()
1481 zval rv; in zend_pre_incdec_overloaded_property()
1484 zval *z, obj; in zend_pre_incdec_overloaded_property()
1485 zval z_copy; in zend_pre_incdec_overloaded_property()
1499 zval rv2; in zend_pre_incdec_overloaded_property()
1500 zval *value = Z_OBJ_HT_P(z)->get(z, &rv2); in zend_pre_incdec_overloaded_property()
1528 …er_inline void zend_assign_op_overloaded_property(zval *object, zval *property, void **cache_slot,… in zend_assign_op_overloaded_property()
1530 zval *z; in zend_assign_op_overloaded_property()
1531 zval rv, obj, res; in zend_assign_op_overloaded_property()
1545 zval rv2; in zend_assign_op_overloaded_property()
1546 zval *value = Z_OBJ_HT_P(z)->get(z, &rv2); in zend_assign_op_overloaded_property()
1625 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_invalid_method_call(zval *object, zval *… in zend_invalid_method_call()
1663 static zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset(const zval *dim) in zend_use_resource_as_offset()
1683 static zend_always_inline zval *zend_fetch_dimension_address_inner(HashTable *ht, const zval *dim, … in zend_fetch_dimension_address_inner()
1685 zval *retval = NULL; in zend_fetch_dimension_address_inner()
1794 static zend_never_inline zval* ZEND_FASTCALL zend_fetch_dimension_address_inner_W(HashTable *ht, co… in zend_fetch_dimension_address_inner_W()
1799 static zend_never_inline zval* ZEND_FASTCALL zend_fetch_dimension_address_inner_W_CONST(HashTable *… in zend_fetch_dimension_address_inner_W_CONST()
1804 static zend_never_inline zval* ZEND_FASTCALL zend_fetch_dimension_address_inner_RW(HashTable *ht, c… in zend_fetch_dimension_address_inner_RW()
1809 static zend_never_inline zval* ZEND_FASTCALL zend_fetch_dimension_address_inner_RW_CONST(HashTable … in zend_fetch_dimension_address_inner_RW_CONST()
1814 static zend_always_inline void zend_fetch_dimension_address(zval *result, zval *container, zval *di… in zend_fetch_dimension_address()
1816 zval *retval; in zend_fetch_dimension_address()
1920 …_never_inline void ZEND_FASTCALL zend_fetch_dimension_address_W(zval *container_ptr, zval *dim, in… in zend_fetch_dimension_address_W()
1922 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_W()
1926 …never_inline void ZEND_FASTCALL zend_fetch_dimension_address_RW(zval *container_ptr, zval *dim, in… in zend_fetch_dimension_address_RW()
1928 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_RW()
1932 …er_inline void ZEND_FASTCALL zend_fetch_dimension_address_UNSET(zval *container_ptr, zval *dim, in… in zend_fetch_dimension_address_UNSET()
1934 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_UNSET()
1938 … zend_always_inline void zend_fetch_dimension_address_read(zval *result, zval *container, zval *di… in zend_fetch_dimension_address_read()
1940 zval *retval; in zend_fetch_dimension_address_read()
2048 …ver_inline void ZEND_FASTCALL zend_fetch_dimension_address_read_R(zval *container, zval *dim, int … in zend_fetch_dimension_address_read_R()
2050 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_read_R()
2054 static zend_never_inline void zend_fetch_dimension_address_read_R_slow(zval *container, zval *dim O… in zend_fetch_dimension_address_read_R_slow()
2056 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_read_R_slow()
2060 …er_inline void ZEND_FASTCALL zend_fetch_dimension_address_read_IS(zval *container, zval *dim, int … in zend_fetch_dimension_address_read_IS()
2062 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_read_IS()
2066 …ver_inline void ZEND_FASTCALL zend_fetch_dimension_address_LIST_r(zval *container, zval *dim, int … in zend_fetch_dimension_address_LIST_r()
2068 zval *result = EX_VAR(opline->result.var); in zend_fetch_dimension_address_LIST_r()
2072 ZEND_API void zend_fetch_dimension_const(zval *result, zval *container, zval *dim, int type) in zend_fetch_dimension_const()
2077 static zend_never_inline zval* ZEND_FASTCALL zend_find_array_dim_slow(HashTable *ht, zval *offset E… in zend_find_array_dim_slow()
2106 static zend_never_inline int ZEND_FASTCALL zend_isset_dim_slow(zval *container, zval *offset EXECUT… in zend_isset_dim_slow()
2151 static zend_never_inline int ZEND_FASTCALL zend_isempty_dim_slow(zval *container, zval *offset EXEC… in zend_isempty_dim_slow()
2196 …ways_inline void zend_fetch_property_address(zval *result, zval *container, uint32_t container_op_… in zend_fetch_property_address()
2219 zval *retval; in zend_fetch_property_address()
2242 zval *ptr = Z_OBJ_HT_P(container)->get_property_ptr_ptr(container, prop_ptr, type, cache_slot); in zend_fetch_property_address()
2269 zval *result = EX_VAR(opline->result.var); in zend_fetch_this_var()
2311 static int zend_check_symbol(zval *pz) in zend_check_symbol()
2337 ZEND_API void execute_internal(zend_execute_data *execute_data, zval *return_value) in execute_internal()
2357 zval *cv = EX_VAR_NUM(0); in i_free_compiled_variables()
2418 zval *src; in zend_copy_extra_args()
2438 delta *= sizeof(zval); in zend_copy_extra_args()
2441 ZVAL_COPY_VALUE((zval*)(((char*)src) + delta), src); in zend_copy_extra_args()
2463 zval *var = EX_VAR_NUM(first); in zend_init_cvs()
2472 static zend_always_inline void i_init_func_execute_data(zend_op_array *op_array, zval *return_value… in i_init_func_execute_data()
2521 static zend_always_inline zend_function* ZEND_FASTCALL init_func_run_time_cache_i(zval *zv) /* {{{ … in init_func_run_time_cache_i()
2543 static zend_never_inline zend_function* init_func_run_time_cache_ex(zval *zv) /* {{{ */ in init_func_run_time_cache_ex()
2551 zval *zv = zend_hash_find(EG(function_table), name); in zend_fetch_function()
2566 zval *zv = zend_hash_str_find(EG(function_table), name, len); in zend_fetch_function_str()
2579 …de_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval *return_value) /* {… in i_init_code_execute_data()
2599 ZEND_API void zend_init_func_execute_data(zend_execute_data *ex, zend_op_array *op_array, zval *ret… in zend_init_func_execute_data()
2623 …de_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval *return_value) /* {… in zend_init_code_execute_data()
2634 ZEND_API void zend_init_execute_data(zend_execute_data *execute_data, zend_op_array *op_array, zval in zend_init_execute_data()
2656 int used_stack = (EG(vm_stack_top) - (zval*)call) + additional_args; in zend_vm_stack_copy_call_frame()
2659 new_call = zend_vm_stack_extend(used_stack * sizeof(zval)); in zend_vm_stack_copy_call_frame()
2664 zval *src = ZEND_CALL_ARG(call, 1); in zend_vm_stack_copy_call_frame()
2665 zval *dst = ZEND_CALL_ARG(new_call, 1); in zend_vm_stack_copy_call_frame()
2675 EG(vm_stack)->prev->top = (zval*)call; in zend_vm_stack_copy_call_frame()
2866 zval *var = EX_VAR(var_num); in cleanup_live_vars()
2925 zval *func; in zend_init_dynamic_call_string()
3000 static zend_never_inline zend_execute_data *zend_init_dynamic_call_object(zval *function, uint32_t … in zend_init_dynamic_call_object()
3043 zval *obj; in zend_init_dynamic_call_array()
3044 zval *method; in zend_init_dynamic_call_array()
3124 static zend_never_inline zend_op_array* ZEND_FASTCALL zend_include_or_eval(zval *inc_filename, int … in zend_include_or_eval()
3127 zval tmp_inc_filename; in zend_include_or_eval()
3211 ZEND_API int ZEND_FASTCALL zend_do_fcall_overloaded(zend_execute_data *call, zval *ret) /* {{{ */ in zend_do_fcall_overloaded()
3248 static zend_never_inline zend_bool ZEND_FASTCALL zend_fe_reset_iterator(zval *array_ptr, int by_ref… in zend_fe_reset_iterator()
3292 const zval *key, uint32_t flags, int check_defined_only OPLINE_DC EXECUTE_DATA_DC) /* {{{ */ in _zend_quick_get_constant()
3294 zval *zv; in _zend_quick_get_constant()
3295 const zval *orig_key = key; in _zend_quick_get_constant()
3354 const zval *access_key; in _zend_quick_get_constant()
3397 const zval *key, uint32_t flags OPLINE_DC EXECUTE_DATA_DC) /* {{{ */ in zend_quick_get_constant()
3403 const zval *key OPLINE_DC EXECUTE_DATA_DC) /* {{{ */ in zend_quick_check_constant()
3568 ZEND_API zval *zend_get_zval_ptr(const zend_op *opline, int op_type, const znode_op *node, const ze… in zend_get_zval_ptr()
3570 zval *ret; in zend_get_zval_ptr()
3594 ZEND_API void ZEND_FASTCALL zend_check_internal_arg_type(zend_function *zf, uint32_t arg_num, zval in zend_check_internal_arg_type()
3601 ZEND_API int ZEND_FASTCALL zend_check_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval in zend_check_arg_type()