Searched defs:call (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/Zend/
H A Dmicro_bench.php119 function call($n) { function
334 $x->call(N);
H A Dzend_generators.c76 while (execute_data->call) {
77 if (Z_OBJ(execute_data->call->This)) {
78 OBJ_RELEASE(Z_OBJ(execute_data->call->This));
80 execute_data->call = execute_data->call->prev_execute_data;
229 ZEND_API void zend_generator_create_zval(zend_execute_data *call, zend_op_array *op_array, zval *return_value) /* {{{ */ argument
266 execute_data = zend_create_generator_execute_data(call, op_array, return_value);
271 if (Z_OBJ(call->This)) {
272 Z_ADDREF(call->This);
328 * So we have to link generator call fram
[all...]
H A Dzend_compile.h229 /* function flag for internal user call handlers __call, __callstatic */
399 ZEND_CALL_NESTED_FUNCTION, /* stackless VM call to function */
400 ZEND_CALL_NESTED_CODE, /* stackless VM call to include/require/eval */
401 ZEND_CALL_TOP_FUNCTION, /* direct VM call to function from external C code */
402 ZEND_CALL_TOP_CODE /* direct VM call to "main" code from external C code */
407 zend_execute_data *call; /* current call */ member in struct:_zend_execute_data
430 #define ZEND_CALL_INFO(call) \
431 (Z_TYPE_INFO((call)->This) >> 24)
433 #define ZEND_CALL_KIND(call) \
[all...]
H A Dzend_execute.c1800 could call dtors, which could use cached hash */
1863 EX(call) = NULL;
1935 EX(call) = NULL;
1962 EX(call) = NULL;
2039 ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data *call, zend_op_array *op_array, zval *return_value) /* {{{ */ argument
2051 uint32_t num_args = ZEND_CALL_NUM_ARGS(call);
2066 call->called_scope,
2067 Z_OBJ(call->This),
2073 zval *arg_src = ZEND_CALL_ARG(call, 1);
2097 static zend_always_inline zend_bool zend_is_by_ref_func_arg_fetch(const zend_op *opline, zend_execute_data *call) /* {{{ */ argument
2104 zend_vm_stack_copy_call_frame(zend_execute_data *call, uint32_t passed_args, uint32_t additional_args) argument
2138 zend_vm_stack_extend_call_frame(zend_execute_data **call, uint32_t passed_args, uint32_t additional_args) argument
[all...]
H A Dzend_execute.h39 ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data *call, zend_op_array *op_array, zval *return_value);
150 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_alloc(used_stack); local
152 call->func = func;
153 Z_OBJ(call->This) = object;
154 ZEND_SET_CALL_INFO(call, call_info);
155 ZEND_CALL_NUM_ARGS(call) = num_args;
156 call->called_scope = called_scope;
157 call->prev_execute_data = prev;
158 return call;
179 static zend_always_inline void zend_vm_stack_free_extra_args(zend_execute_data *call) argument
191 zend_vm_stack_free_args(zend_execute_data *call) argument
206 zend_vm_stack_free_call_frame(zend_execute_data *call) argument
[all...]
H A Dzend_execute_API.c248 /* Moved after symbol table cleaners, because some of the cleaners can call
681 zend_execute_data *call, dummy_execute_data; local
724 dummy_execute_data.call = NULL;
762 call = zend_vm_stack_push_call_frame(ZEND_CALL_TOP_FUNCTION,
777 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", func->common.scope->name->val, func->common.function_name->val);
813 ZEND_CALL_NUM_ARGS(call) = i;
814 zend_vm_stack_free_args(call);
816 zend_vm_stack_free_call_frame(call);
841 param = ZEND_CALL_ARG(call, i+1);
846 param = ZEND_CALL_ARG(call,
[all...]
H A Dzend_builtin_functions.c2185 static void debug_backtrace_get_args(zend_execute_data *call, zval *arg_array) /* {{{ */ argument
2187 uint32_t num_args = ZEND_CALL_NUM_ARGS(call);
2192 zval *p = ZEND_CALL_ARG(call, 1);
2196 if (call->func->type == ZEND_USER_FUNCTION) {
2197 uint32_t first_extra_arg = call->func->op_array.num_args;
2199 if (ZEND_CALL_NUM_ARGS(call) > first_extra_arg) {
2207 p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T);
2239 zend_execute_data *call, *pt local
2428 zend_execute_data *call, *ptr, *skip; local
[all...]
H A Dzend_vm_def.h1601 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
1704 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
1957 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
2827 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2828 fbc, opline->extended_value, called_scope, obj, EX(call));
2913 zend_error(E_EXCEPTION | E_ERROR, "Cannot call constructor");
2917 zend_error(E_EXCEPTION | E_ERROR, "Cannot call private %s::__construct()", ce->name->val);
2940 /* An internal function assumes $this is present and won't check that. So PHP would crash by allowing the call. */
2958 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2959 fbc, opline->extended_value, ce, object, EX(call));
2988 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
3129 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
3189 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
3222 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
3247 EX(call) = zend_vm_stack_push_call_frame_ex( variable
3259 zend_execute_data *call = EX(call); variable
3264 EX(call) = call->prev_execute_data; variable
3286 zend_vm_stack_free_args(call); variable
3287 zend_vm_stack_free_call_frame(call); variable
3308 zend_execute_data *call = EX(call); variable
3313 EX(call) = call->prev_execute_data; variable
3333 zend_execute_data *call = EX(call); variable
3338 EX(call) = call->prev_execute_data; variable
3346 zend_vm_stack_free_args(call); variable
3349 zend_vm_stack_free_call_frame(call); variable
3395 zend_vm_stack_free_args(call); variable
3396 zend_vm_stack_free_call_frame(call); variable
3416 zend_vm_stack_free_args(call); variable
3417 zend_vm_stack_free_call_frame(call); variable
3438 zend_execute_data *call = EX(call); variable
3444 EX(call) = call->prev_execute_data; variable
3469 zend_vm_stack_free_args(call); variable
3472 zend_vm_stack_free_call_frame(call); variable
3489 zend_execute_ex(call); variable
3521 zend_vm_stack_free_args(call); variable
3522 zend_vm_stack_free_call_frame(call); variable
3555 zend_vm_stack_free_args(call); variable
3556 zend_vm_stack_free_call_frame(call); variable
3594 zend_vm_stack_free_args(call); variable
3596 zend_vm_stack_free_call_frame(call); variable
4704 EX(call) = zend_vm_stack_push_call_frame( variable
5212 zend_execute_data *call; variable
5235 zend_execute_ex(call); variable
6739 zend_execute_data *call = EX(call); variable
6768 ZEND_CALL_NUM_ARGS(call) = 0; variable
6781 ZEND_CALL_NUM_ARGS(call) = opline->op2.num; variable
6844 EX(call) = call->prev_execute_data; variable
6845 zend_vm_stack_free_call_frame(call); variable
[all...]
H A Dzend_vm_execute.h544 zend_execute_data *call = EX(call); local
545 zend_function *fbc = call->func;
549 EX(call) = call->prev_execute_data;
551 call->called_scope = EX(called_scope);
552 Z_OBJ(call->This) = Z_OBJ(EX(This));
554 call->prev_execute_data = execute_data;
555 EG(current_execute_data) = call;
561 fbc->internal_function.handler(call, re
593 zend_execute_data *call = EX(call); local
618 zend_execute_data *call = EX(call); local
723 zend_execute_data *call = EX(call); local
1477 zend_execute_data *call = EX(call); local
3375 zend_execute_data *call; local
27060 zend_execute_data *call; local
37828 zend_execute_data *call; local
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c45 int call = 0; local
64 call_stack[call].func = func;
74 call_stack[call].opline = opline;
75 call++;
81 call--;
82 if (call_stack[call].func && call_stack[call].opline) {
83 zend_op *fcall = call_stack[call].opline;
87 fcall->op1.num = zend_vm_calc_used_stack(fcall->extended_value, call_stack[call].func);
91 opline->opcode = zend_get_call_op(ZEND_INIT_FCALL, call_stack[call]
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregparse.c1342 NCALL(node)->group_num = gnum; /* call by number if gnum != 0 */
2308 } call; member in union:__anon38::__anon39
3538 tok->u.call.name = prev;
3539 tok->u.call.name_end = name_end;
3540 tok->u.call.gnum = gnum;
5330 int gnum = tok->u.call.gnum;
5337 *np = node_new_call(tok->u.call.name, tok->u.call.name_end, gnum);
H A Dregparse.h77 #define NCALL(node) (&((node)->u.call))
150 #define SET_CALL_RECURSION(node) (node)->u.call.state |= NST_RECURSION
193 /* for multiple call reference */
265 CallNode call; member in union:_Node::__anon56

Completed in 56 milliseconds