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_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, 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_inheritance.c112 ce->parent->name->val, ce->parent->constructor->common.function_name->val,
113 ce->name->val, ce->constructor->common.function_name->val
364 smart_str_append(&str, fptr->common.function_name);
489 child->common.function_name->val,
494 zend_error_noreturn(E_COMPILE_ERROR, "Cannot override final method %s::%s()", ZEND_FN_SCOPE_NAME(parent), child->common.function_name->val);
502 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make non static method %s::%s() static in class %s", ZEND_FN_SCOPE_NAME(parent), child->common.function_name->val, ZEND_FN_SCOPE_NAME(child));
504 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make static method %s::%s() non static in class %s", ZEND_FN_SCOPE_NAME(parent), child->common.function_name->val, ZEND_FN_SCOPE_NAME(child));
510 zend_error_noreturn(E_COMPILE_ERROR, "Cannot make non abstract method %s::%s() abstract in class %s", ZEND_FN_SCOPE_NAME(parent), child->common.function_name->val, ZEND_FN_SCOPE_NAME(child));
519 zend_error_noreturn(E_COMPILE_ERROR, "Access level to %s::%s() must be %s (as in class %s)%s", ZEND_FN_SCOPE_NAME(child), child->common.function_name->val, zend_visibility_string(parent_flags), ZEND_FN_SCOPE_NAME(parent), (parent_flags&ZEND_ACC_PUBLIC) ? "" : " or weaker");
538 zend_error_noreturn(E_COMPILE_ERROR, "Declaration of %s::%s() must be compatible with %s", ZEND_FN_SCOPE_NAME(child), child->common.function_name
[all...]
H A Dzend_opcode.c66 op_array->function_name = NULL;
107 ZEND_ASSERT(function->common.function_name);
108 zend_string_release(function->common.function_name);
118 ZEND_ASSERT(function->common.function_name);
124 ZEND_ASSERT(function->common.function_name);
125 zend_string_release(function->common.function_name);
327 if (op_array->run_time_cache && !op_array->function_name) {
356 if (op_array->function_name) {
357 zend_string_release(op_array->function_name);
H A Dzend_closures.c64 zend_string_release(func->internal_function.function_name);
97 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", closure->func.common.scope->name->val, closure->func.common.function_name->val, Z_OBJCE_P(newthis)->name->val);
190 invoke->internal_function.function_name = zend_string_init(ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1, 0);
501 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", func->common.scope->name->val, func->common.function_name->val, scope->name->val);
506 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", func->common.scope->name->val, func->common.function_name->val, Z_OBJCE_P(this_ptr)->name->val);
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, int function_name_len, zval *retval_ptr, int param_count, zval* arg1, zval* arg2 TSRMLS_DC) 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(E_CORE_ERROR, "Couldn't find implementation for method %s%s%s", obj_ce ? obj_ce->name->val : "", obj_ce ? "::" : "", function_name);
102 zval_ptr_dtor(&fci.function_name);
110 zend_error(E_CORE_ERROR, "Couldn't execute method %s%s%s", obj_ce ? obj_ce->name->val : "", obj_ce ? "::" : "", function_name);
H A Dzend_builtin_functions.c183 ZEND_ARG_INFO(0, function_name)
1105 uint len = mptr->common.function_name->len;
1109 ZVAL_STR_COPY(&method_name, mptr->common.function_name);
1113 zend_binary_strcasecmp(key->val, key->len, mptr->common.function_name->val, len) == 0) {
1118 !same_name(key->val, mptr->common.function_name->val, len))) {
1122 ZVAL_STR_COPY(&method_name, mptr->common.function_name);
1180 zend_string_release(func->common.function_name);
1369 /* {{{ proto bool function_exists(string function_name)
1787 zend_string *function_name; local
1834 function_name
2110 const char *function_name; local
2296 const char *function_name; local
[all...]
H A Dzend_object_handlers.c895 ZVAL_STR(&method_name, func->function_name); /* no dup - it's a copy */
922 static inline zend_function *zend_check_private_int(zend_function *fbc, zend_class_entry *ce, zend_string *function_name TSRMLS_DC) /* {{{ */
946 if ((func = zend_hash_find(&ce->function_table, function_name))) {
961 ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_name TSRMLS_DC) /* {{{ */
963 return zend_check_private_int(fbc, ce, function_name TSRMLS_CC) != NULL;
1009 call_user_call->function_name = zend_string_init(method_name->val, strlen(method_name->val), 0);
1011 call_user_call->function_name = zend_string_copy(method_name);
1113 ZVAL_STR(&method_name, func->function_name); /* no dup - it's a copy */
1148 callstatic_user_call->function_name = zend_string_init(method_name->val, strlen(method_name->val), 0);
1150 callstatic_user_call->function_name
1159 zend_std_get_static_method(zend_class_entry *ce, zend_string *function_name, const zval *key TSRMLS_DC) argument
[all...]
H A Dzend_execute_API.c428 zend_string *function_name = func->common.function_name; local
430 if (function_name) {
431 return function_name->val;
438 return func->common.function_name->val;
633 int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[] TSRMLS_DC) /* {{{ */ argument
635 return call_user_function_ex(function_table, object, function_name, retval_ptr, param_count, params, 1, NULL TSRMLS_CC);
639 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 TSRMLS_DC) /* {{{ */ argument
646 ZVAL_COPY_VALUE(&fci.function_name, function_name);
[all...]
H A Dzend_API.c287 active_function->common.function_name->val,
871 active_function->common.function_name->val);
891 active_function->common.function_name->val);
914 active_function->common.function_name->val,
2077 name_len = fptr->common.function_name->len;
2078 zend_str_tolower_copy(lcname, fptr->common.function_name->val, MIN(name_len, sizeof(lcname)-1));
2175 internal_function->function_name = zend_new_interned_string(zend_string_init(ptr->fname, fname_len, 1) TSRMLS_CC);
2340 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name->val, ctor->common.function_name->val);
2347 zend_error(error_type, "Destructor %s::%s() cannot be static", scope->name->val, dtor->common.function_name->val);
2354 zend_error(error_type, "Constructor %s::%s() cannot be static", scope->name->val, clone->common.function_name
2762 zend_disable_function(char *function_name, uint function_name_length TSRMLS_DC) argument
[all...]
H A Dzend_vm_def.h2095 zval *function_name; variable
2104 function_name = GET_OP2_ZVAL_PTR(BP_VAR_R);
2107 UNEXPECTED(Z_TYPE_P(function_name) != IS_STRING)) {
2124 zend_error(E_RECOVERABLE_ERROR, "Call to a member function %s() on %s", Z_STRVAL_P(function_name), zend_get_type_by_const(Z_TYPE_P(object)));
2165 EXPECTED((fbc = CACHED_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), called_scope)) == NULL)) {
2173 fbc = obj->handlers->get_method(&obj, Z_STR_P(function_name), ((OP2_TYPE == IS_CONST) ? (opline->op2.zv + 1) : NULL) TSRMLS_CC);
2175 zend_error_noreturn(E_ERROR, "Call to undefined method %s::%s()", obj->ce->name->val, Z_STRVAL_P(function_name));
2181 CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(function_name), called_scope, fbc);
2204 zval *function_name; variable
2240 function_name
2329 zval *function_name, *func; variable
2358 ZVAL_DEREF(function_name); variable
2475 zval *function_name = GET_OP2_ZVAL_PTR_DEREF(BP_VAR_R); variable
2490 Z_ADDREF_P(function_name); variable
[all...]
H A Dzend_vm_execute.h500 zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name->val, fbc->common.function_name->val);
506 fbc->common.function_name->val);
624 object->handlers->call_method(fbc->common.function_name, object, call, EX_VAR(opline->result.var) TSRMLS_CC);
635 zend_string_release(fbc->common.function_name);
814 EX(call)->func->common.function_name->val
924 EX(call)->func->common.function_name->val);
1449 zval *function_name, *func; local
1452 function_name = (zval*)(opline->op2.zv+1);
1455 } else if (UNEXPECTED((func = zend_hash_find(EG(function_table), Z_STR_P(function_name))) == NULL)) {
1476 function_name_ptr = function_name
1785 zval *function_name, *func; local
1971 zval *function_name, *func; local
2195 zval *function_name, *func; local
4098 zval *function_name; local
4223 zval *function_name = opline->op2.zv; local
5413 zval *function_name; local
5538 zval *function_name = _get_zval_ptr_tmp(opline->op2.var, execute_data, &free_op2 TSRMLS_CC); local
6606 zval *function_name; local
6731 zval *function_name = _get_zval_ptr_var_deref(opline->op2.var, execute_data, &free_op2 TSRMLS_CC); local
7541 zval *function_name; local
8522 zval *function_name; local
8647 zval *function_name = _get_zval_ptr_cv_deref_BP_VAR_R(execute_data, opline->op2.var TSRMLS_CC); local
10919 zval *function_name; local
12118 zval *function_name; local
13284 zval *function_name; local
15064 zval *function_name; local
18691 zval *function_name; local
18799 zval *function_name; local
20950 zval *function_name; local
21059 zval *function_name; local
23146 zval *function_name; local
23255 zval *function_name; local
24729 zval *function_name; local
26532 zval *function_name; local
26640 zval *function_name; local
28116 zval *function_name; local
29484 zval *function_name; local
30759 zval *function_name; local
32518 zval *function_name; local
35804 zval *function_name; local
37895 zval *function_name; local
39962 zval *function_name; local
43073 zval *function_name; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_php_trace.c86 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, 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/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, func->common.function_name->val, func->common.function_name->len, NULL, 1, arg1, NULL TSRMLS_CC);
49 zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 2, arg1, arg2 TSRMLS_CC);
66 ZVAL_STR(&fci.function_name, func->common.function_name);
/PHP_TRUNK/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_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c384 } else if (op_array->function_name) {
409 if (op_array->function_name == NULL) {
413 } 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) {
455 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)) {
826 fname = ops->function_name;
846 char *lcname = zend_str_tolower_dup(ops->function_name, strlen(ops->function_name));
1483 char *function_name = NULL; local
[all...]
H A Dphpdbg_info.c126 if (ops->function_name) {
129 "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
132 "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
213 if (ops->function_name) {
216 "Literal Constants in %s::%s() (%d)", ops->scope->name, ops->function_name, count);
219 "Literal Constants in %s() (%d)", ops->function_name, count);
363 op_array->function_name ? op_array->function_name : "{main}",
H A Dphpdbg_print.c69 method->common.function_name,
73 method->common.function_name ? op_array->line_start : 0,
74 method->common.function_name ? op_array->line_end : 0,
75 method->common.function_name ? method->common.function_name : "{main}",
100 phpdbg_writeln("\tInternal %s::%s()", method->common.scope->name, method->common.function_name);
102 phpdbg_writeln("\tInternal %s()", method->common.function_name);
132 if (ops->function_name) {
134 phpdbg_notice("Stack in %s::%s()", ops->scope->name, ops->function_name);
136 phpdbg_notice("Stack in %s()", ops->function_name);
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist_calc.c159 if (op_array->function_name) {
160 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name);
162 op_array->function_name = new_name;
180 if (op_array->function_name) {
181 zend_string *old_name = op_array->function_name;
185 op_array->function_name = new_name;
187 ADD_INTERNED_STRING(op_array->function_name, 0);
188 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name);
/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 TSRMLS_DC);
63 static xmlDocPtr serialize_response_call(sdlFunctionPtr function, char *function_name,char *uri,zval *ret, soapHeader *headers, int version TSRMLS_DC);
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 TSRMLS_DC);
330 ZEND_ARG_INFO(0, function_name)
335 ZEND_ARG_INFO(0, function_name)
656 fe.function_name = NULL;
948 ZVAL_STRINGL(&fci.function_name, "gettraceasstring", sizeof("gettraceasstring")-1);
958 zval_ptr_dtor(&fci.function_name);
1394 zval *function_name, function_copy; local
1486 zval function_name, *params, *soap_obj, retval; local
3409 find_function(sdlPtr sdl, xmlNodePtr func, zval* function_name) argument
3437 deserialize_function_call(sdlPtr sdl, xmlDocPtr request, char* actor, zval *function_name, int *num_params, zval **parameters, int *version, soapHeader **headers TSRMLS_DC) argument
3735 serialize_response_call2(xmlNodePtr body, sdlFunctionPtr function, char *function_name, char *uri, zval *ret, int version, int main, xmlNodePtr *node TSRMLS_DC) argument
3837 serialize_response_call(sdlFunctionPtr function, char *function_name, char *uri, zval *ret, soapHeader* headers, int version TSRMLS_DC) argument
4194 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
4485 get_function(sdlPtr sdl, const char *function_name) argument
[all...]
/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);
401 f.function_name = obj->ce->name; \
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c273 copy_fptr->internal_function.function_name = zend_string_copy(fptr->internal_function.function_name);
288 zend_string_release(fptr->internal_function.function_name);
606 uint len = mptr->common.function_name->len;
612 || zend_binary_strcasecmp(key->val, key->len, mptr->common.function_name->val, len) == 0)
617 && memcmp(mptr->common.function_name->val, ZEND_INVOKE_FUNC_NAME, sizeof(ZEND_INVOKE_FUNC_NAME)-1) == 0
836 lc_name_len = fptr->common.function_name->len;
838 zend_str_tolower_copy(lc_name->val, fptr->common.function_name->val, lc_name_len);
892 string_printf(str, "%s ] {\n", fptr->common.function_name->val);
1257 ZVAL_STR_COPY(&name, function->common.function_name);
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.h258 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, php_shutdown_function_entry *shutdown_function_entry TSRMLS_DC);
259 PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len TSRMLS_DC);

Completed in 70 milliseconds

123