Lines Matching refs:call
194 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
196 call->func = func; in zend_vm_init_call_frame()
197 Z_PTR(call->This) = object_or_called_scope; in zend_vm_init_call_frame()
198 ZEND_CALL_INFO(call) = call_info; in zend_vm_init_call_frame()
199 ZEND_CALL_NUM_ARGS(call) = num_args; in zend_vm_init_call_frame()
204 zend_execute_data *call = (zend_execute_data*)EG(vm_stack_top); in zend_vm_stack_push_call_frame_ex() local
208 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in zend_vm_stack_push_call_frame_ex()
209 call = (zend_execute_data*)zend_vm_stack_extend(used_stack); in zend_vm_stack_push_call_frame_ex()
211 …zend_vm_init_call_frame(call, call_info | ZEND_CALL_ALLOCATED, func, num_args, object_or_called_sc… in zend_vm_stack_push_call_frame_ex()
212 return call; in zend_vm_stack_push_call_frame_ex()
214 EG(vm_stack_top) = (zval*)((char*)call + used_stack); in zend_vm_stack_push_call_frame_ex()
215 zend_vm_init_call_frame(call, call_info, func, num_args, object_or_called_scope); in zend_vm_stack_push_call_frame_ex()
216 return call; in zend_vm_stack_push_call_frame_ex()
238 …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
241 uint32_t count = ZEND_CALL_NUM_ARGS(call) - call->func->op_array.num_args; in zend_vm_stack_free_extra_args_ex()
242 zval *p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T); in zend_vm_stack_free_extra_args_ex()
250 static zend_always_inline void zend_vm_stack_free_extra_args(zend_execute_data *call) in zend_vm_stack_free_extra_args() argument
252 zend_vm_stack_free_extra_args_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_extra_args()
255 static zend_always_inline void zend_vm_stack_free_args(zend_execute_data *call) in zend_vm_stack_free_args() argument
257 uint32_t num_args = ZEND_CALL_NUM_ARGS(call); in zend_vm_stack_free_args()
260 zval *p = ZEND_CALL_ARG(call, 1); in zend_vm_stack_free_args()
269 …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
277 ZEND_ASSERT(call == (zend_execute_data*)ZEND_VM_STACK_ELEMENTS(EG(vm_stack))); in zend_vm_stack_free_call_frame_ex()
283 EG(vm_stack_top) = (zval*)call; in zend_vm_stack_free_call_frame_ex()
289 static zend_always_inline void zend_vm_stack_free_call_frame(zend_execute_data *call) in zend_vm_stack_free_call_frame() argument
291 zend_vm_stack_free_call_frame_ex(ZEND_CALL_INFO(call), call); in zend_vm_stack_free_call_frame()
295 zend_execute_data *call, uint32_t passed_args, uint32_t additional_args);
298 zend_execute_data **call, uint32_t passed_args, uint32_t additional_args) in zend_vm_stack_extend_call_frame() argument
303 *call = zend_vm_stack_copy_call_frame(*call, passed_args, additional_args); in zend_vm_stack_extend_call_frame()
352 ZEND_API void zend_unfinished_calls_gc(zend_execute_data *execute_data, zend_execute_data *call, ui…
358 ZEND_API int ZEND_FASTCALL zend_handle_undef_args(zend_execute_data *call);