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

12

/PHP_5_5/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.c775 active_function->common.function_name);
795 active_function->common.function_name);
818 active_function->common.function_name,
1972 name_len = strlen(fptr->common.function_name);
1973 zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1));
2066 internal_function->function_name = (char*)ptr->fname;
2219 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor->common.function_name);
2226 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_name);
2233 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name);
2239 zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __call->common.function_name);
2629 zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC) argument
[all...]
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_object_handlers.c889 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
999 call_user_call->function_name = estrndup(method_name, method_len);
1107 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
1142 callstatic_user_call->function_name = estrndup(method_name, method_len);
1172 if (!memcmp(lc_class_name, lc_function_name, function_name_strlen) && memcmp(ce->constructor->common.function_name, "__", sizeof("__") - 1)) {
1199 zend_error_noreturn(E_ERROR, "Cannot call non static method %s::%s() without object", ZEND_FN_SCOPE_NAME(fbc), fbc->common.function_name);
1316 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1318 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name);
1328 zend_error_noreturn(E_ERROR, "Call to protected %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1330 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)
1789 char *eval_code, *function_name, *function_args, *function_code; local
1834 function_name
2064 const char *function_name; local
2232 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);
473 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", func->common.scope->name, func->common.function_name, scope->name);
478 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_compile.c874 void zend_do_abstract_method(const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC) /* {{{ */ argument
887 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);
897 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);
901 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);
1527 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
1530 char *name = function_name->u.constant.value.str.val;
1531 int name_len = function_name->u.constant.value.str.len;
1541 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);
1550 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));
1560 op_array.function_name
1768 znode function_name; local
1934 zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC) argument
2043 zend_do_begin_dynamic_function_call(znode *function_name, int ns_call TSRMLS_DC) argument
2500 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_vm_def.h1918 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name);
1926 fbc->common.function_name);
1935 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common.function_name);
1939 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common.function_name);
2029 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);
2035 efree((char*)fbc->common.function_name);
2415 zval *function_name; variable
2423 function_name = GET_OP2_ZVAL_PTR(BP_VAR_R);
2426 UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2433 function_name_strval = Z_STRVAL_P(function_name);
2496 zval *function_name; variable
2619 zval *function_name; variable
[all...]
H A Dzend_compile.h264 const char *function_name; member in struct:_zend_op_array
321 const char * function_name; member in struct:_zend_internal_function
341 const char *function_name; member in struct:_zend_function::__anon2
501 void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode TSRMLS_DC);
504 int zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC);
507 void zend_do_begin_dynamic_function_call(znode *function_name, int prefix_len TSRMLS_DC);
511 void zend_do_end_function_call(znode *function_name, znode *result, const znode *argument_list, int is_method, int is_dynamic_fcall TSRMLS_DC);
631 void zend_do_abstract_method(const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC);
H A Dzend_execute_API.c376 const char *function_name = ((zend_op_array *) EG(current_execute_data)->function_state.function)->function_name; local
378 if (function_name) {
379 return function_name;
386 return ((zend_internal_function *) EG(current_execute_data)->function_state.function)->function_name;
683 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
698 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC);
711 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
718 fci.function_name = function_name;
[all...]
/PHP_5_5/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_5/ext/opcache/
H A Dzend_persist.c352 if (op_array->function_name) {
354 if ((new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name))) {
355 op_array->function_name = new_name;
357 zend_accel_store(op_array->function_name, strlen(op_array->function_name) + 1);
H A Dzend_persist_calc.c174 if (op_array->function_name) {
175 ADD_DUP_SIZE(op_array->function_name, strlen(op_array->function_name) + 1);
H A Dzend_accelerator_util_funcs.c206 zend_hash_update(function_table, function->common.function_name, strlen(function->common.function_name) + 1, function, sizeof(zend_function), NULL);
481 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
490 zend_error(E_ERROR, ACCELERATOR_PRODUCT_NAME " class loading error, class %s, function %s", ce->name, new_entry->function_name);
882 function1->common.function_name,
886 zend_error(E_ERROR, "Cannot redeclare %s()", function1->common.function_name);
/PHP_5_5/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_5/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 if (strncmp(alfi->func_ptr->common.function_name, "__lambda_func", sizeof("__lambda_func") - 1)) {
748 add_next_index_string(return_value, alfi->func_ptr->common.function_name, 1);
764 add_next_index_string(return_value, EG(autoload_func)->common.function_name, 1);
/PHP_5_5/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.c712 ZEND_ARG_INFO(0, function_name)
718 ZEND_ARG_INFO(0, function_name)
736 ZEND_ARG_INFO(0, function_name)
742 ZEND_ARG_INFO(0, function_name)
747 ZEND_ARG_INFO(0, function_name)
833 ZEND_ARG_INFO(0, function_name)
839 ZEND_ARG_INFO(0, function_name)
4767 /* {{{ proto mixed call_user_func(mixed function_name [, mixed parmeter] [, mixed ...])
4791 /* {{{ proto mixed call_user_func_array(string function_name, array parameters)
4897 /* {{{ proto mixed forward_static_call(mixed function_name [, mixe
4983 char *function_name; local
5154 register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC) argument
5165 remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC) argument
5717 char *function_name = NULL; local
[all...]
/PHP_5_5/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_5/ext/libxml/
H A Dlibxml.c280 zval_ptr_dtor(&fci->function_name);
609 fci->function_name);
616 fci->function_name);
627 fci->function_name);
1098 Z_ADDREF_P(fci.function_name);
/PHP_5_5/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;
923 fci.function_name = &fname;
1374 add_next_index_string(return_value, f->common.function_name,
1390 zval *function_name, *function_copy; local
1491 zval function_name, **params, *soap_obj, *retval; local
3414 find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) argument
3443 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval ***parameters, int *version, soapHeader **headers TSRMLS_DC) argument
3742 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node TSRMLS_DC) argument
3848 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4210 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
4505 get_function(sdlPtr sdl, const char *function_name) argument
[all...]
/PHP_5_5/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 78 milliseconds

12