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;
226 ZEND_API void zend_generator_create_zval(zend_execute_data *call, zend_op_array *op_array, zval *return_value) /* {{{ */ argument
263 execute_data = zend_create_generator_execute_data(call, op_array, return_value);
268 if (Z_OBJ(call->This)) {
269 Z_ADDREF(call->This);
325 * So we have to link generator call fram
[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);
149 zend_execute_data *call = (zend_execute_data*)zend_vm_stack_alloc(used_stack); local
151 call->func = func;
152 Z_OBJ(call->This) = object;
153 ZEND_SET_CALL_INFO(call, call_info);
154 ZEND_CALL_NUM_ARGS(call) = num_args;
155 call->called_scope = called_scope;
156 call->prev_execute_data = prev;
157 return call;
178 static zend_always_inline void zend_vm_stack_free_extra_args(zend_execute_data *call) argument
190 zend_vm_stack_free_args(zend_execute_data *call) argument
205 zend_vm_stack_free_call_frame(zend_execute_data *call) argument
[all...]
H A Dzend_builtin_functions.c2169 static void debug_backtrace_get_args(zend_execute_data *call, zval *arg_array) /* {{{ */ argument
2171 uint32_t num_args = ZEND_CALL_NUM_ARGS(call);
2176 zval *p = ZEND_CALL_ARG(call, 1);
2180 if (call->func->type == ZEND_USER_FUNCTION) {
2181 uint32_t first_extra_arg = call->func->op_array.num_args;
2183 if (ZEND_CALL_NUM_ARGS(call) > first_extra_arg) {
2191 p = ZEND_CALL_VAR_NUM(call, call->func->op_array.last_var + call->func->op_array.T);
2223 zend_execute_data *call, *pt local
2412 zend_execute_data *call, *ptr, *skip; local
[all...]
H A Dzend_compile.h235 /* function flag for internal user call handlers __call, __callstatic */
402 ZEND_CALL_NESTED_FUNCTION, /* stackless VM call to function */
403 ZEND_CALL_NESTED_CODE, /* stackless VM call to include/require/eval */
404 ZEND_CALL_TOP_FUNCTION, /* direct VM call to function from external C code */
405 ZEND_CALL_TOP_CODE /* direct VM call to "main" code from external C code */
410 zend_execute_data *call; /* current call */ member in struct:_zend_execute_data
433 #define ZEND_CALL_INFO(call) \
434 (Z_TYPE_INFO((call)->This) >> 24)
436 #define ZEND_CALL_KIND(call) \
[all...]
H A Dzend_execute_API.c249 /* Moved after symbol table cleaners, because some of the cleaners can call
658 zend_execute_data *call, dummy_execute_data; local
701 dummy_execute_data.call = NULL;
739 call = zend_vm_stack_push_call_frame(ZEND_CALL_TOP_FUNCTION,
754 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", func->common.scope->name->val, func->common.function_name->val);
790 ZEND_CALL_NUM_ARGS(call) = i;
791 zend_vm_stack_free_args(call);
793 zend_vm_stack_free_call_frame(call);
818 param = ZEND_CALL_ARG(call, i+1);
823 param = ZEND_CALL_ARG(call,
[all...]
H A Dzend_execute.c1696 could call dtors, which could use cached hash */
1748 EX(call) = NULL;
1819 EX(call) = NULL;
1845 EX(call) = NULL;
1921 ZEND_API zend_execute_data *zend_create_generator_execute_data(zend_execute_data *call, zend_op_array *op_array, zval *return_value) /* {{{ */ argument
1933 uint32_t num_args = ZEND_CALL_NUM_ARGS(call);
1948 call->called_scope,
1949 Z_OBJ(call->This),
1955 zval *arg_src = ZEND_CALL_ARG(call, 1);
1979 static zend_always_inline zend_bool zend_is_by_ref_func_arg_fetch(const zend_op *opline, zend_execute_data *call) /* {{{ */ argument
1986 zend_vm_stack_copy_call_frame(zend_execute_data *call, uint32_t passed_args, uint32_t additional_args) argument
2020 zend_vm_stack_extend_call_frame(zend_execute_data **call, uint32_t passed_args, uint32_t additional_args) argument
[all...]
H A Dzend_vm_def.h1266 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
1365 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
1600 if (zend_is_by_ref_func_arg_fetch(opline, EX(call))) {
2443 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2444 fbc, opline->extended_value, called_scope, obj, EX(call));
2524 zend_error_noreturn(E_ERROR, "Cannot call constructor");
2527 zend_error_noreturn(E_ERROR, "Cannot call private %s::__construct()", ce->name->val);
2549 /* An internal function assumes $this is present and won't check that. So PHP would crash by allowing the call. */
2566 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2567 fbc, opline->extended_value, ce, object, EX(call));
2595 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2720 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2773 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2805 EX(call) = zend_vm_stack_push_call_frame(ZEND_CALL_NESTED_FUNCTION, variable
2829 EX(call) = zend_vm_stack_push_call_frame_ex( variable
2841 zend_execute_data *call = EX(call); variable
2846 EX(call) = call->prev_execute_data; variable
2868 zend_vm_stack_free_args(call); variable
2869 zend_vm_stack_free_call_frame(call); variable
2889 zend_execute_data *call = EX(call); variable
2894 EX(call) = call->prev_execute_data; variable
2916 zend_execute_data *call = EX(call); variable
2921 EX(call) = call->prev_execute_data; variable
2931 zend_vm_stack_free_args(call); variable
2934 zend_vm_stack_free_call_frame(call); variable
2980 zend_vm_stack_free_args(call); variable
2981 zend_vm_stack_free_call_frame(call); variable
2999 zend_vm_stack_free_args(call); variable
3000 zend_vm_stack_free_call_frame(call); variable
3020 zend_execute_data *call = EX(call); variable
3026 EX(call) = call->prev_execute_data; variable
3050 zend_vm_stack_free_args(call); variable
3053 zend_vm_stack_free_call_frame(call); variable
3070 zend_execute_ex(call); variable
3104 zend_vm_stack_free_args(call); variable
3105 zend_vm_stack_free_call_frame(call); variable
3134 zend_vm_stack_free_args(call); variable
3135 zend_vm_stack_free_call_frame(call); variable
3161 zend_vm_stack_free_args(call); variable
3163 zend_vm_stack_free_call_frame(call); variable
4155 EX(call) = zend_vm_stack_push_call_frame( variable
4651 zend_execute_data *call; variable
4674 zend_execute_ex(call); variable
6170 zend_execute_data *call = EX(call); variable
6199 ZEND_CALL_NUM_ARGS(call) = 0; variable
6212 ZEND_CALL_NUM_ARGS(call) = opline->op2.num; variable
6270 EX(call) = call->prev_execute_data; variable
6271 zend_vm_stack_free_call_frame(call); variable
[all...]
H A Dzend_vm_execute.h492 zend_execute_data *call = EX(call); local
493 zend_function *fbc = call->func;
497 EX(call) = call->prev_execute_data;
501 call->called_scope = EX(called_scope);
502 Z_OBJ(call->This) = Z_OBJ(EX(This));
504 call->prev_execute_data = execute_data;
505 EG(current_execute_data) = call;
511 fbc->internal_function.handler(call, re
540 zend_execute_data *call = EX(call); local
567 zend_execute_data *call = EX(call); local
671 zend_execute_data *call = EX(call); local
1421 zend_execute_data *call = EX(call); local
3173 zend_execute_data *call; local
24733 zend_execute_data *call; local
34145 zend_execute_data *call; local
[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:__anon137::__anon138
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::__anon155
/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...]

Completed in 57 milliseconds