Searched refs:function_name (Results 1 - 25 of 57) sorted by relevance

123

/PHP_TRUNK/Zend/
H A Dzend_dtrace.d31 probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* scope);
32 probe function__return(char* function_name, char* request_file, int lineno, char* classname, char* scope);
H A Dzend_object_handlers.h175 ZEND_API int zend_check_private(union _zend_function *fbc, zend_class_entry *ce, zend_string *function_name);
185 EG(trampoline).common.function_name = NULL; \
H A Dzend_interfaces.h41 ZEND_API zval* zend_call_method(zval *object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval, int param_count, zval* arg1, zval* arg2);
43 #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \
44 zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, NULL)
46 #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \
47 zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, NULL)
49 #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \
50 zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)
[all...]
H A Dzend_opcode.c69 op_array->function_name = NULL;
110 ZEND_ASSERT(function->common.function_name);
111 zend_string_release(function->common.function_name);
120 ZEND_ASSERT(function->common.function_name);
125 ZEND_ASSERT(function->common.function_name);
126 zend_string_release(function->common.function_name);
351 if (op_array->run_time_cache && !op_array->function_name) {
380 if (op_array->function_name) {
381 zend_string_release(op_array->function_name);
H A Dzend_builtin_functions.c185 ZEND_ARG_INFO(0, function_name)
1237 size_t len = ZSTR_LEN(mptr->common.function_name);
1241 ZVAL_STR_COPY(&method_name, mptr->common.function_name);
1245 zend_binary_strcasecmp(ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(mptr->common.function_name), len) == 0) {
1249 !same_name(key, mptr->common.function_name)) {
1253 ZVAL_STR_COPY(&method_name, mptr->common.function_name);
1308 zend_string_release(func->common.function_name);
1496 /* {{{ proto bool function_exists(string function_name)
1926 zend_string *function_name; local
1979 function_name
2259 const char *function_name; local
2444 const char *function_name; local
[all...]
H A Dzend_inheritance.c70 if (EXPECTED(new_function->common.function_name)) {
71 zend_string_addref(new_function->common.function_name);
145 ZSTR_VAL(ce->parent->name), ZSTR_VAL(ce->parent->constructor->common.function_name),
146 ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name));
404 smart_str_append(&str, fptr->common.function_name);
522 ZSTR_VAL(child->common.function_name),
527 zend_error_noreturn(E_COMPILE_ERROR, "Cannot override final method %s::%s()", ZEND_FN_SCOPE_NAME(parent), ZSTR_VAL(child->common.function_name));
535 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make non static method %s::%s() static in class %s", ZEND_FN_SCOPE_NAME(parent), ZSTR_VAL(child->common.function_name), ZEND_FN_SCOPE_NAME(child));
537 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make static method %s::%s() non static in class %s", ZEND_FN_SCOPE_NAME(parent), ZSTR_VAL(child->common.function_name), ZEND_FN_SCOPE_NAME(child));
543 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make non abstract method %s::%s() abstract in class %s", ZEND_FN_SCOPE_NAME(parent), ZSTR_VAL(child->common.function_name), ZEND_FN_SCOPE_NAM
[all...]
H A Dzend_API.c207 ZSTR_VAL(active_function->common.function_name),
799 ZSTR_VAL(active_function->common.function_name), msg);
881 ZSTR_VAL(active_function->common.function_name),
2068 name_len = ZSTR_LEN(fptr->common.function_name);
2069 zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1));
2166 internal_function->function_name = zend_new_interned_string(zend_string_init(ptr->fname, fname_len, 1));
2348 zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_name));
2355 zend_error(error_type, "Destructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(dtor->common.function_name));
2362 zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_name));
2368 zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__call->common.function_name));
2779 zend_disable_function(char *function_name, size_t function_name_length) argument
[all...]
H A Dzend_closures.c64 zend_string_release(func->internal_function.function_name);
101 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", ZSTR_VAL(closure->func.common.scope->name), ZSTR_VAL(closure->func.common.function_name), ZSTR_VAL(Z_OBJCE_P(newthis)->name));
244 invoke->internal_function.function_name = zend_string_init(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1, 0);
547 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name), ZSTR_VAL(scope->name));
552 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name), ZSTR_VAL(Z_OBJCE_P(this_ptr)->name));
H A Dzend_execute_API.c454 zend_string *function_name = func->common.function_name; local
456 if (function_name) {
457 return ZSTR_VAL(function_name);
464 return ZSTR_VAL(func->common.function_name);
665 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[]) /* {{{ */ argument
667 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL);
671 int call_user_function_ex(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[], int no_separation, zend_array *symbol_table) /* {{{ */ argument
678 ZVAL_COPY_VALUE(&fci.function_name, function_name);
[all...]
H A Dzend_interfaces.c34 ZEND_API zval* zend_call_method(zval *object, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t function_name_len, zval *retval_ptr, int param_count, zval* arg1, zval* arg2) argument
53 ZVAL_STRINGL(&fci.function_name, function_name, function_name_len);
65 zval_ptr_dtor(&fci.function_name);
79 if ((fcic.function_handler = zend_hash_find_ptr(function_table, Z_STR(fci.function_name))) == NULL) {
81 zend_error_noreturn(E_CORE_ERROR, "Couldn't find implementation for method %s%s%s", obj_ce ? ZSTR_VAL(obj_ce->name) : "", obj_ce ? "::" : "", function_name);
105 zval_ptr_dtor(&fci.function_name);
113 zend_error_noreturn(E_CORE_ERROR, "Couldn't execute method %s%s%s", obj_ce ? ZSTR_VAL(obj_ce->name) : "", obj_ce ? "::" : "", function_name);
H A Dzend_object_handlers.c952 static inline zend_function *zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) /* {{{ */ argument
976 if ((func = zend_hash_find(&ce->function_table, function_name))) {
991 ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name) /* {{{ */ argument
993 return zend_check_private_int(fbc, ce, function_name) != NULL;
1033 if (EXPECTED(EG(trampoline).common.function_name == NULL)) {
1059 func->function_name = zend_string_init(ZSTR_VAL(method_name), strlen(ZSTR_VAL(method_name)), 0);
1061 func->function_name = zend_string_copy(method_name);
1165 ZEND_API zend_function *zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key) /* {{{ */ argument
1175 lc_function_name = zend_string_tolower(function_name);
1178 if (ZSTR_LEN(function_name)
[all...]
H A Dzend_vm_def.h2931 zval *function_name; variable
2942 function_name = GET_OP2_ZVAL_PTR_UNDEF(BP_VAR_R);
2945 UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2947 if ((OP2_TYPE & (IS_VAR|IS_CV)) && Z_ISREF_P(function_name)) {
2948 function_name = Z_REFVAL_P(function_name);
2949 if (EXPECTED(Z_TYPE_P(function_name) == IS_STRING)) {
2953 if (OP2_TYPE == IS_CV && UNEXPECTED(Z_TYPE_P(function_name) == IS_UNDEF)) {
2954 GET_OP2_UNDEF_CV(function_name, BP_VAR_R);
2989 zend_throw_error(zend_ce_error, "Call to a member function %s() on %s", Z_STRVAL_P(function_name), zend_get_type_by_cons
3053 zval *function_name; variable
3187 zval *function_name, *func; variable
3215 zval *function_name, *func; variable
3422 zval *function_name; variable
3438 ZVAL_DEREF(function_name); variable
[all...]
H A Dzend_vm_execute.h676 ZSTR_VAL(fbc->common.function_name));
748 zend_throw_error(zend_ce_error, "Cannot call abstract method %s::%s()", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name));
755 ZSTR_VAL(fbc->common.function_name));
870 object->handlers->call_method(fbc->common.function_name, object, call, EX_VAR(opline->result.var));
881 zend_string_release(fbc->common.function_name);
891 zend_string_release(fbc->common.function_name);
1059 ZSTR_VAL(EX(call)->func->common.function_name)
1161 ZSTR_VAL(EX(call)->func->common.function_name));
1739 ZVAL_STR(ZEND_CALL_ARG(call, 1), fbc->common.function_name);
1894 zval *function_name, *fun local
1922 zval *function_name, *func; local
2375 zval *function_name, *func; local
2629 zval *function_name, *func; local
5542 zval *function_name; local
5662 zval *function_name; local
5796 zval *function_name; local
7694 zval *function_name; local
9333 zval *function_name; local
9453 zval *function_name; local
9587 zval *function_name; local
11168 zval *function_name; local
11289 zval *function_name; local
11423 zval *function_name; local
17674 zval *function_name; local
19314 zval *function_name; local
20936 zval *function_name; local
22513 zval *function_name; local
23906 zval *function_name; local
26296 zval *function_name; local
27787 zval *function_name; local
32126 zval *function_name; local
37262 zval *function_name; local
39868 zval *function_name; local
42150 zval *function_name; local
44347 zval *function_name; local
45511 zval *function_name; local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_functions.h71 #define SPL_ME(class_name, function_name, arg_info, flags) \
72 PHP_ME( spl_ ## class_name, function_name, arg_info, flags)
74 #define SPL_ABSTRACT_ME(class_name, function_name, arg_info) \
75 ZEND_ABSTRACT_ME( spl_ ## class_name, function_name, arg_info)
77 #define SPL_METHOD(class_name, function_name) \
78 PHP_METHOD(spl_ ## class_name, function_name)
80 #define SPL_MA(class_name, function_name, alias_class, alias_function, arg_info, flags) \
81 PHP_MALIAS(spl_ ## alias_class, function_name, alias_function, arg_info, flags)
H A Dspl_engine.h38 zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 1, arg1, NULL);
49 zend_call_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_name), NULL, 2, arg1, arg2);
66 ZVAL_STR(&fci.function_name, func->common.function_name);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_func_calls.c61 zval *function_name = &op_array->literals[opline->op2.constant + 1]; local
63 Z_STR_P(function_name))) != NULL) {
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h263 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry);
264 PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php_trace.c80 long function_name; local
92 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) {
96 function_name = l;
98 if (function_name == 0) {
112 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) {
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_handlers.c241 zend_string_release(f->function_name);
253 ((zend_internal_function*)EX(func))->function_name,
280 f.function_name = zend_string_copy(name);
402 f.function_name = obj->ce->name; \
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c171 if (op_array->function_name) {
172 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name);
174 op_array->function_name = new_name;
192 if (op_array->function_name) {
193 zend_string *old_name = op_array->function_name;
197 op_array->function_name = new_name;
199 ADD_INTERNED_STRING(op_array->function_name, 0);
200 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c464 } else if (op_array->function_name) {
487 if (op_array->function_name == NULL) {
491 } else if (!op_array->function_name || !(oplines_table = zend_hash_find_ptr(func_table, op_array->function_name))) {
532 if (op_array->function_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN(op_array->filename) && !memcmp(ZSTR_VAL(op_array->filename), new_break->class_name, new_break->class_len)) {
891 if (ops->function_name) {
892 fname = ZSTR_VAL(ops->function_name);
893 flen = ZSTR_LEN(ops->function_name);
908 size_t lcname_len = ZSTR_LEN(ops->function_name);
909 char *lcname = zend_str_tolower_dup(ZSTR_VAL(ops->function_name), lcname_le
[all...]
H A Dphpdbg_info.c205 if (ops->function_name) {
207 phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
209 phpdbg_notice("variableinfo", "function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
295 if (ops->function_name) {
297 phpdbg_notice("literalinfo", "method=\"%s::%s\" num=\"%d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name, ops->function_name, count);
299 phpdbg_notice("literalinfo", "function=\"%s\" num=\"%d\"", "Literal Constants in %s() (%d)", ops->function_name, count);
433 phpdbg_write("function", "name=\"%s\"", "|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_name) : "{main}");
H A Dphpdbg_print.c70 ZSTR_VAL(method->common.function_name),
78 method->common.function_name ? ZSTR_VAL(method->common.function_name) : "{main}",
105 phpdbg_writeln("printoplineinfo", "type=\"Internal\" method=\"%s::%s\"", "\tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->common.function_name));
107 phpdbg_writeln("printoplineinfo", "type=\"Internal\" function=\"%s\"", "\tInternal %s()", ZSTR_VAL(method->common.function_name));
136 if (ops->function_name) {
138 phpdbg_notice("printinfo", "method=\"%s::%s\" num=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last);
140 phpdbg_notice("printinfo", "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last);
203 ZSTR_VAL(fbc->common.function_name),
252 ZSTR_VAL(fbc->common.function_name),
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c285 copy_fptr->internal_function.function_name = zend_string_copy(fptr->internal_function.function_name);
299 zend_string_release(fptr->internal_function.function_name);
585 size_t len = ZSTR_LEN(mptr->common.function_name);
591 || zend_binary_strcasecmp(ZSTR_VAL(key), ZSTR_LEN(key), ZSTR_VAL(mptr->common.function_name), len) == 0)
596 && memcmp(ZSTR_VAL(mptr->common.function_name), ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0
821 lc_name_len = ZSTR_LEN(fptr->common.function_name);
823 zend_str_tolower_copy(ZSTR_VAL(lc_name), ZSTR_VAL(fptr->common.function_name), lc_name_len);
877 string_printf(str, "%s ] {\n", ZSTR_VAL(fptr->common.function_name));
1284 ZVAL_STR_COPY(&name, function->common.function_name);
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c39 zval function_name; member in struct:_soapHeader
59 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name);
62 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers);
63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version);
64 static xmlDocPtr serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers);
330 ZEND_ARG_INFO(0, function_name)
335 ZEND_ARG_INFO(0, function_name)
664 fe.function_name = NULL;
957 ZVAL_STRINGL(&fci.function_name, "gettraceasstring", sizeof("gettraceasstring")-1);
967 zval_ptr_dtor(&fci.function_name);
1408 zval *function_name, function_copy; local
1520 zval function_name, *params, *soap_obj, retval; local
3417 find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) argument
3445 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers) argument
3743 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node) argument
3844 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version) argument
4203 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval *arguments, int arg_count, int version, HashTable *soap_headers) argument
4496 get_function(sdlPtr sdl, const char *function_name) argument
[all...]

Completed in 74 milliseconds

123