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

12

/PHP_5_4/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_API.c746 active_function->common.function_name);
766 active_function->common.function_name);
789 active_function->common.function_name,
1909 name_len = strlen(fptr->common.function_name);
1910 zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1));
2003 internal_function->function_name = (char*)ptr->fname;
2156 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor->common.function_name);
2163 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_name);
2170 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name);
2176 zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __call->common.function_name);
2566 zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC) argument
[all...]
H A Dzend_API.h46 zval *function_name; member in struct:_zend_fcall_info
286 ZEND_API int zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC);
446 ZEND_API int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC);
447 ZEND_API int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC);
H A Dzend_interfaces.c34 ZEND_API zval* zend_call_method(zval **object_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, int function_name_len, zval **retval_ptr_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC) argument
50 fci.function_name = &z_fname;
60 ZVAL_STRINGL(&z_fname, function_name, function_name_len, 0);
76 if (zend_hash_find(function_table, function_name, function_name_len+1, (void **) &fcic.function_handler) == FAILURE) {
78 zend_error(E_CORE_ERROR, "Couldn't find implementation for method %s%s%s", obj_ce ? obj_ce->name : "", obj_ce ? "::" : "", function_name);
105 zend_error(E_CORE_ERROR, "Couldn't execute method %s%s%s", obj_ce ? obj_ce->name : "", obj_ce ? "::" : "", function_name);
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, int function_name_len, zval **retval_ptr_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC);
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 TSRMLS_CC)
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 TSRMLS_CC)
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.c73 op_array->function_name = NULL;
385 if (op_array->function_name) {
386 efree((char*)op_array->function_name);
H A Dzend_object_handlers.c886 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
996 call_user_call->function_name = estrndup(method_name, method_len);
1104 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
1139 callstatic_user_call->function_name = estrndup(method_name, method_len);
1169 if (!memcmp(lc_class_name, lc_function_name, function_name_strlen) && memcmp(ce->constructor->common.function_name, "__", sizeof("__") - 1)) {
1196 zend_error_noreturn(E_ERROR, "Cannot call non static method %s::%s() without object", ZEND_FN_SCOPE_NAME(fbc), fbc->common.function_name);
1313 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1315 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name);
1325 zend_error_noreturn(E_ERROR, "Call to protected %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1327 zend_error_noreturn(E_ERROR, "Call to protected %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name);
[all...]
H A Dzend_builtin_functions.c182 ZEND_ARG_INFO(0, function_name)
1079 uint len = strlen(mptr->common.function_name);
1084 ZVAL_STRINGL(method_name, mptr->common.function_name, len, 1);
1088 zend_binary_strcasecmp(key, key_len-1, mptr->common.function_name, len) == 0) {
1093 !same_name(key, mptr->common.function_name, len))) {
1099 ZVAL_STRINGL(method_name, mptr->common.function_name, len, 1);
1154 efree((char*)((zend_internal_function*)func)->function_name);
1347 /* {{{ proto bool function_exists(string function_name)
1804 char *eval_code, *function_name, *function_args, *function_code; local
1849 function_name
2079 const char *function_name; local
2247 const char *function_name; local
[all...]
H A Dzend_closures.c74 efree((char*)func->internal_function.function_name);
164 invoke->internal_function.function_name = estrndup(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1);
474 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", func->common.scope->name, func->common.function_name, scope->name);
479 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", func->common.scope->name, func->common.function_name, Z_OBJCE_P(this_ptr)->name);
H A Dzend_vm_def.h2150 zval *function_name; variable
2158 function_name = GET_OP2_ZVAL_PTR(BP_VAR_R);
2161 UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2165 function_name_strval = Z_STRVAL_P(function_name);
2166 function_name_strlen = Z_STRLEN_P(function_name);
2222 zval *function_name; variable
2270 function_name = GET_OP2_ZVAL_PTR(BP_VAR_R);
2272 if (UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2275 function_name_strval = Z_STRVAL_P(function_name);
2276 function_name_strlen = Z_STRLEN_P(function_name);
2340 zval *function_name; variable
[all...]
H A Dzend_vm_execute.h582 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name);
590 fbc->common.function_name);
599 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common.function_name);
603 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common.function_name);
697 Z_OBJ_HT_P(EX(object))->call_method(fbc->common.function_name, opline->extended_value, EX_T(opline->result.var).var.ptr, &EX_T(opline->result.var).var.ptr, EX(object), RETURN_VALUE_USED(opline) TSRMLS_CC);
703 efree((char*)fbc->common.function_name);
891 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", EG(scope)->name, EX(op_array)->function_name);
1196 zval *function_name; local
1200 function_name = (zval*)(opline->op2.literal+1);
1203 } else if (UNEXPECTED(zend_hash_quick_find(EG(function_table), Z_STRVAL_P(function_name), Z_STRLEN_
1502 zval *function_name; local
1672 zval *function_name; local
1875 zval *function_name; local
3421 zval *function_name; local
4229 zval *function_name; local
4905 zval *function_name; local
5468 zval *function_name; local
6150 zval *function_name; local
7949 zval *function_name; local
8620 zval *function_name; local
9294 zval *function_name; local
10393 zval *function_name; local
13462 zval *function_name; local
13533 zval *function_name; local
15639 zval *function_name; local
15711 zval *function_name; local
17780 zval *function_name; local
17852 zval *function_name; local
19136 zval *function_name; local
20908 zval *function_name; local
20979 zval *function_name; local
22377 zval *function_name; local
23629 zval *function_name; local
24788 zval *function_name; local
26214 zval *function_name; local
29285 zval *function_name; local
31237 zval *function_name; local
33246 zval *function_name; local
36101 zval *function_name; local
[all...]
H A Dzend_compile.c871 void zend_do_abstract_method(const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC) /* {{{ */ argument
884 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val);
894 zend_error(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, function_name->u.constant.value.str.val);
898 zend_error(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", CG(active_class_entry)->name, function_name->u.constant.value.str.val);
1524 void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode TSRMLS_DC) /* {{{ */ argument
1527 char *name = function_name->u.constant.value.str.val;
1528 int name_len = function_name->u.constant.value.str.len;
1538 zend_error(E_COMPILE_ERROR, "Access type for interface method %s::%s() must be omitted", CG(active_class_entry)->name, function_name->u.constant.value.str.val);
1547 zend_error(E_STRICT, "Static function %s%s%s() should not be abstract", is_method ? CG(active_class_entry)->name : "", is_method ? "::" : "", Z_STRVAL(function_name->u.constant));
1557 op_array.function_name
1758 znode function_name; local
1924 zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC) argument
2025 zend_do_begin_dynamic_function_call(znode *function_name, int ns_call TSRMLS_DC) argument
2426 zend_do_end_function_call(znode *function_name, znode *result, const znode *argument_list, int is_method, int is_dynamic_fcall TSRMLS_DC) argument
[all...]
H A Dzend_compile.h258 const char *function_name; member in struct:_zend_op_array
311 const char * function_name; member in struct:_zend_internal_function
331 const char *function_name; member in struct:_zend_function::__anon2
480 void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode TSRMLS_DC);
483 int zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC);
486 void zend_do_begin_dynamic_function_call(znode *function_name, int prefix_len TSRMLS_DC);
490 void zend_do_end_function_call(znode *function_name, znode *result, const znode *argument_list, int is_method, int is_dynamic_fcall TSRMLS_DC);
606 void zend_do_abstract_method(const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC);
H A Dzend_execute_API.c377 const char *function_name = ((zend_op_array *) EG(current_execute_data)->function_state.function)->function_name; local
379 if (function_name) {
380 return function_name;
387 return ((zend_internal_function *) EG(current_execute_data)->function_state.function)->function_name;
706 int call_user_function(HashTable *function_table, zval **object_pp, zval *function_name, zval *retval_ptr, zend_uint param_count, zval *params[] TSRMLS_DC) /* {{{ */ argument
721 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC);
734 int call_user_function_ex(HashTable *function_table, zval **object_pp, zval *function_name, zval **retval_ptr_ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC) /* {{{ */ argument
741 fci.function_name = function_name;
[all...]
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_php_trace.c84 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, common.function_name))) {
/PHP_5_4/ext/reflection/
H A Dphp_reflection.c263 copy_fptr->internal_function.function_name = estrdup(fptr->internal_function.function_name);
278 efree((char*)fptr->internal_function.function_name);
610 uint len = strlen(mptr->common.function_name);
616 || zend_binary_strcasecmp(key, key_len-1, mptr->common.function_name, len) == 0)
621 && memcmp(mptr->common.function_name, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0
851 lc_name_len = strlen(fptr->common.function_name);
852 lc_name = zend_str_tolower_dup(fptr->common.function_name, lc_name_len);
906 string_printf(str, "%s ] {\n", fptr->common.function_name);
1274 ZVAL_STRING(name, function->common.function_name,
[all...]
/PHP_5_4/ext/spl/
H A Dspl_engine.h37 zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), NULL, 1, arg1, NULL TSRMLS_CC);
47 zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), NULL, 2, arg1, arg2 TSRMLS_CC);
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 Dphp_spl.c744 add_next_index_string(tmp, alfi->func_ptr->common.function_name, 1);
747 add_next_index_string(return_value, alfi->func_ptr->common.function_name, 1);
755 add_next_index_string(return_value, EG(autoload_func)->common.function_name, 1);
/PHP_5_4/ext/standard/
H A Dbasic_functions.h260 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC);
261 PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC);
H A Dbasic_functions.c704 ZEND_ARG_INFO(0, function_name)
710 ZEND_ARG_INFO(0, function_name)
728 ZEND_ARG_INFO(0, function_name)
734 ZEND_ARG_INFO(0, function_name)
739 ZEND_ARG_INFO(0, function_name)
825 ZEND_ARG_INFO(0, function_name)
831 ZEND_ARG_INFO(0, function_name)
4715 /* {{{ proto mixed call_user_func(mixed function_name [, mixed parmeter] [, mixed ...])
4739 /* {{{ proto mixed call_user_func_array(string function_name, array parameters)
4845 /* {{{ proto mixed forward_static_call(mixed function_name [, mixe
4931 char *function_name; local
5064 char *function_name = NULL; local
5102 register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) argument
5113 remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC) argument
5665 char *function_name = NULL; local
[all...]
/PHP_5_4/ext/com_dotnet/
H A Dcom_handlers.c249 efree((char*)f->function_name);
258 ((zend_internal_function*)EG(current_execute_data)->function_state.function)->function_name,
287 f.function_name = estrndup(name, len);
412 f.function_name = (char *) obj->ce->name; \
/PHP_5_4/ext/libxml/
H A Dlibxml.c279 zval_ptr_dtor(&fci->function_name);
608 fci->function_name);
615 fci->function_name);
626 fci->function_name);
1092 Z_ADDREF_P(fci.function_name);
/PHP_5_4/ext/soap/
H A Dsoap.c39 zval function_name; member in struct:_soapHeader
58 static sdlFunctionPtr get_function(sdlPtr sdl, const char *function_name);
61 static sdlFunctionPtr deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters[], int *version, soapHeader **headers TSRMLS_DC);
62 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
63 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 TSRMLS_DC);
329 ZEND_ARG_INFO(0, function_name)
334 ZEND_ARG_INFO(0, function_name)
634 fe.function_name = NULL;
917 fci.function_name = &fname;
1368 add_next_index_string(return_value, f->common.function_name,
1384 zval *function_name, *function_copy; local
1485 zval function_name, **params, *soap_obj, *retval; local
3393 find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) argument
3422 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval ***parameters, int *version, soapHeader **headers TSRMLS_DC) argument
3721 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node TSRMLS_DC) argument
3827 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4189 serialize_function_call(zval *this_ptr, sdlFunctionPtr function, char *function_name, char *uri, zval **arguments, int arg_count, int version, HashTable *soap_headers TSRMLS_DC) argument
4484 get_function(sdlPtr sdl, const char *function_name) argument
[all...]
/PHP_5_4/sapi/milter/
H A Dphp_milter.c114 zval function_name, retval; local
149 INIT_ZVAL(function_name);
151 ZVAL_STRING(&function_name, "milter_init", 0);
156 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 0, NULL TSRMLS_CC);
180 zval function_name, retval, *param[1]; local
215 INIT_ZVAL(function_name);
220 ZVAL_STRING(&function_name, "milter_connect", 0);
227 status = call_user_function(CG(function_table), NULL, &function_name, &retval, 1, param TSRMLS_CC);
244 zval function_name, retval, *param[1]; local
249 INIT_ZVAL(function_name);
279 zval function_name, retval, *param[1]; local
319 zval function_name, retval, *param[1]; local
360 zval function_name, retval, *param[2]; local
400 zval function_name, retval; local
429 zval function_name, retval, *param[1]; local
465 zval function_name, retval; local
494 zval function_name, retval; local
524 zval function_name, retval; local
[all...]

Completed in 93 milliseconds

12