Lines Matching refs:call

167 static zend_always_inline void zend_vm_init_call_frame(zend_execute_data *call, uint32_t call_info,…  in zend_vm_init_call_frame()  argument
169 call->func = func; in zend_vm_init_call_frame()
171 Z_OBJ(call->This) = object; in zend_vm_init_call_frame()
172 ZEND_SET_CALL_INFO(call, 1, call_info); in zend_vm_init_call_frame()
174 Z_CE(call->This) = called_scope; in zend_vm_init_call_frame()
175 ZEND_SET_CALL_INFO(call, 0, call_info); in zend_vm_init_call_frame()
177 ZEND_CALL_NUM_ARGS(call) = num_args; in zend_vm_init_call_frame()
182 zend_execute_data *call = (zend_execute_data*)EG(vm_stack_top); in zend_vm_stack_push_call_frame_ex() local
186 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex()
187 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_vm_stack_push_call_frame_ex()
189 …zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, called_scope, objec… in zend_vm_stack_push_call_frame_ex()
190 return call; in zend_vm_stack_push_call_frame_ex()
192 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in zend_vm_stack_push_call_frame_ex()
193 zend_vm_init_call_frame(call, call_info, func, num_args, called_scope, object); in zend_vm_stack_push_call_frame_ex()
194 return call; in zend_vm_stack_push_call_frame_ex()
216 …nd_always_inline void zend_vm_stack_free_extra_args_ex(uint32_t call_info, zend_execute_data *call) in zend_vm_stack_free_extra_args_ex() argument
219 zval *end = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex()
220 zval *p = end + (ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args); in zend_vm_stack_free_extra_args_ex()
236 static zend_always_inline void zend_vm_stack_free_extra_args(zend_execute_data *call) in zend_vm_stack_free_extra_args() argument
238 zend_vm_stack_free_extra_args_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_extra_args()
241 static zend_always_inline void zend_vm_stack_free_args(zend_execute_data *call) in zend_vm_stack_free_args() argument
243 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_vm_stack_free_args()
246 zval *end = ZEND_CALL_ARG(call, 1); in zend_vm_stack_free_args()
262 …nd_always_inline void zend_vm_stack_free_call_frame_ex(uint32_t call_info, zend_execute_data *call) in zend_vm_stack_free_call_frame_ex() argument
270 ZEND_ASSERT(call == (zend_execute_data*)ZEND_VM_STACK_ELEMENTS(EG(vm_stack))); in zend_vm_stack_free_call_frame_ex()
276 EG(vm_stack_top) = (zval*)call; in zend_vm_stack_free_call_frame_ex()
282 static zend_always_inline void zend_vm_stack_free_call_frame(zend_execute_data *call) in zend_vm_stack_free_call_frame() argument
284 zend_vm_stack_free_call_frame_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_call_frame()
327 ZEND_API int ZEND_FASTCALL zend_do_fcall_overloaded(zend_execute_data *call, zval *ret);