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

123

/PHP_5_6/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_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_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_builtin_functions.c182 ZEND_ARG_INFO(0, function_name)
1089 uint len = strlen(mptr->common.function_name);
1094 ZVAL_STRINGL(method_name, mptr->common.function_name, len, 1);
1098 zend_binary_strcasecmp(key, key_len-1, mptr->common.function_name, len) == 0) {
1103 !same_name(key, mptr->common.function_name, len))) {
1109 ZVAL_STRINGL(method_name, mptr->common.function_name, len, 1);
1164 efree((char*)((zend_internal_function*)func)->function_name);
1357 /* {{{ proto bool function_exists(string function_name)
1799 char *eval_code, *function_name, *function_args, *function_code; local
1844 function_name
2074 const char *function_name; local
2242 const char *function_name; local
[all...]
H A Dzend_closures.c68 efree((char*)func->internal_function.function_name);
158 invoke->internal_function.function_name = estrndup(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1);
467 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", func->common.scope->name, func->common.function_name, scope->name);
472 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.h1910 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common.function_name);
1916 fbc->common.function_name);
1928 zend_error(E_STRICT, "Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common.function_name);
1935 zend_error_noreturn(E_ERROR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common.function_name);
2028 Z_OBJ_HT_P(EX(object))->call_method(fbc->common.function_name, num_args, EX_T(opline->result.var).var.ptr, &EX_T(opline->result.var).var.ptr, EX(object), RETURN_VALUE_USED(opline) TSRMLS_CC);
2034 efree((char*)fbc->common.function_name);
2414 zval *function_name; variable
2422 function_name = GET_OP2_ZVAL_PTR(BP_VAR_R);
2425 UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2432 function_name_strval = Z_STRVAL_P(function_name);
2497 zval *function_name; variable
2622 zval *function_name; variable
[all...]
H A Dzend_compile.h270 const char *function_name; member in struct:_zend_op_array
327 const char * function_name; member in struct:_zend_internal_function
347 const char *function_name; member in struct:_zend_function::__anon2
516 void zend_do_begin_function_declaration(znode *function_token, znode *function_name, int is_method, int return_reference, znode *fn_flags_znode TSRMLS_DC);
519 int zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC);
522 void zend_do_begin_dynamic_function_call(znode *function_name, int prefix_len TSRMLS_DC);
526 void zend_do_end_function_call(znode *function_name, znode *result, int is_method, int is_dynamic_fcall TSRMLS_DC);
647 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;
578 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
593 ex_retval = call_user_function_ex(function_table, object_pp, function_name, &local_retval_ptr, param_count, params_array, 1, NULL TSRMLS_CC);
606 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
613 fci.function_name = function_name;
[all...]
H A Dzend_compile.c882 void zend_do_abstract_method(const znode *function_name, znode *modifiers, const znode *body TSRMLS_DC) /* {{{ */ argument
895 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot be declared private", method_type, CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant));
905 zend_error_noreturn(E_COMPILE_ERROR, "%s function %s::%s() cannot contain body", method_type, CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant));
909 zend_error_noreturn(E_COMPILE_ERROR, "Non-abstract method %s::%s() must contain body", CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant));
1535 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
1538 char *name = Z_STRVAL(function_name->u.constant);
1539 int name_len = Z_STRLEN(function_name->u.constant);
1549 zend_error_noreturn(E_COMPILE_ERROR, "Access type for interface method %s::%s() must be omitted", CG(active_class_entry)->name, Z_STRVAL(function_name->u.constant));
1558 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));
1568 op_array.function_name
1796 znode function_name; local
1970 zend_do_begin_function_call(znode *function_name, zend_bool check_namespace TSRMLS_DC) argument
2076 zend_do_begin_dynamic_function_call(znode *function_name, int ns_call TSRMLS_DC) argument
2555 zend_do_end_function_call(znode *function_name, znode *result, int is_method, int is_dynamic_fcall TSRMLS_DC) argument
[all...]
H A Dzend_object_handlers.c924 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
1031 call_user_call->function_name = estrndup(method_name, method_len);
1139 ZVAL_STRING(method_name_ptr, func->function_name, 0); /* no dup - it's a copy */
1171 callstatic_user_call->function_name = estrndup(method_name, method_len);
1201 if (!memcmp(lc_class_name, lc_function_name, function_name_strlen) && memcmp(ce->constructor->common.function_name, "__", sizeof("__") - 1)) {
1228 zend_error_noreturn(E_ERROR, "Cannot call non static method %s::%s() without object", ZEND_FN_SCOPE_NAME(fbc), fbc->common.function_name);
1345 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1347 zend_error_noreturn(E_ERROR, "Call to private %s::%s() from invalid context", constructor->common.scope->name, constructor->common.function_name);
1357 zend_error_noreturn(E_ERROR, "Call to protected %s::%s() from context '%s'", constructor->common.scope->name, constructor->common.function_name, EG(scope)->name);
1359 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_API.c775 active_function->common.function_name);
795 active_function->common.function_name);
818 active_function->common.function_name,
1971 name_len = strlen(fptr->common.function_name);
1972 zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1));
2069 internal_function->function_name = (char*)ptr->fname;
2230 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, ctor->common.function_name);
2237 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name, dtor->common.function_name);
2244 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name, clone->common.function_name);
2250 zend_error(error_type, "Method %s::%s() cannot be static", scope->name, __call->common.function_name);
2643 zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC) argument
[all...]
/PHP_5_6/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_6/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_6/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.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);
63 ZVAL_STRING(&z_name, func->common.function_name, 0);
67 fci.function_name = &z_name;
/PHP_5_6/ext/opcache/Optimizer/
H A Doptimize_func_calls.c28 zval *function_name = &op_array->literals[opline->op2.constant + 1].constant; local
30 Z_STRVAL_P(function_name), Z_STRLEN_P(function_name) + 1,
31 Z_HASH_P(function_name), (void **)&func) == SUCCESS)) {
/PHP_5_6/ext/libxml/
H A Dlibxml.c280 zval_ptr_dtor(&fci->function_name);
610 fci->function_name);
617 fci->function_name);
628 fci->function_name);
1099 Z_ADDREF_P(fci.function_name);
/PHP_5_6/ext/opcache/
H A Dzend_persist_calc.c203 if (op_array->function_name) {
204 ADD_DUP_SIZE(op_array->function_name, strlen(op_array->function_name) + 1);
/PHP_5_6/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);
331 ZEND_ARG_INFO(0, function_name)
336 ZEND_ARG_INFO(0, function_name)
636 fe.function_name = NULL;
925 fci.function_name = &fname;
1376 add_next_index_string(return_value, f->common.function_name,
1392 zval *function_name, *function_copy; local
1493 zval function_name, **params, *soap_obj, *retval; local
3413 find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) argument
3442 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval ***parameters, int *version, soapHeader **headers TSRMLS_DC) argument
3741 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node TSRMLS_DC) argument
3847 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4209 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
4504 get_function(sdlPtr sdl, const char *function_name) argument
[all...]
/PHP_5_6/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...]
/PHP_5_6/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
859 lc_name_len = strlen(fptr->common.function_name);
860 lc_name = zend_str_tolower_dup(fptr->common.function_name, lc_name_len);
914 string_printf(str, "%s ] {\n", fptr->common.function_name);
1285 ZVAL_STRING(name, function->common.function_name,
[all...]
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_info.c222 if (ops->function_name) {
224 phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
226 phpdbg_notice("variableinfo", "function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
319 if (ops->function_name) {
321 phpdbg_notice("literalinfo", "method=\"%s::%s\" num=\"%d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name, ops->function_name, count);
323 phpdbg_notice("literalinfo", "function=\"%s\" num=\"%d\"", "Literal Constants in %s() (%d)", ops->function_name, count);
474 phpdbg_write("function", "name=\"%s\"", "|-------- %s", op_array->function_name ? op_array->function_name : "{main}");
H A Dphpdbg_print.c70 method->common.function_name,
74 method->common.function_name ? op_array->line_start : 0,
75 method->common.function_name ? op_array->line_end : 0,
76 method->common.function_name ? method->common.function_name : "{main}",
101 phpdbg_writeln("printoplineinfo", "type=\"Internal\" method=\"%s::%s\"", "Internal %s::%s()", method->common.scope->name, method->common.function_name);
103 phpdbg_writeln("printoplineinfo", "type=\"Internal\" function=\"%s\"", "\tInternal %s()", method->common.function_name);
133 if (ops->function_name) {
135 phpdbg_notice("printinfo", "method=\"%s::%s\" num=\"%d\"", "Stack in %s::%s() (%d ops)", ops->scope->name, ops->function_name, ops->last);
137 phpdbg_notice("printinfo", "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ops->function_name, op
[all...]
H A Dphpdbg_bp.c501 } else if (op_array->function_name) {
526 if (op_array->function_name == NULL) {
530 } else if (zend_hash_find(func_table, op_array->function_name?op_array->function_name:"", op_array->function_name?strlen(op_array->function_name):0, (void **)&oplines_table) == FAILURE) {
572 if (execute_data->op_array->function_name == NULL && execute_data->op_array->scope == NULL && !memcmp(execute_data->op_array->filename, new_break->class_name, new_break->class_len)) {
948 fname = ops->function_name;
968 char *lcname = zend_str_tolower_dup(ops->function_name, strlen(ops->function_name));
1626 char *function_name = NULL; local
[all...]
/PHP_5_6/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);

Completed in 72 milliseconds

123