Home
last modified time | relevance | path

Searched refs:func_name (Results 1 – 25 of 34) sorted by relevance

12

/php-src/main/streams/
H A Duserspace.c565 zval func_name; in php_userstreamop_write() local
614 zval func_name; in php_userstreamop_read() local
692 zval func_name; in php_userstreamop_close() local
715 zval func_name; in php_userstreamop_flush() local
739 zval func_name; in php_userstreamop_seek() local
839 zval func_name; in php_userstreamop_stat() local
867 zval func_name; in php_userstreamop_set_option() local
1312 zval func_name; in php_userstreamop_readdir() local
1346 zval func_name; in php_userstreamop_closedir() local
1368 zval func_name; in php_userstreamop_rewinddir() local
[all …]
/php-src/ext/mysqlnd/
H A Dmysqlnd_debug.h35 const char * const func_name, unsigned int func_name_len);
116 #define DBG_ENTER_EX(dbg_obj, func_name) DBG_ENTER_EX2((dbg_obj), (MYSQLND_DEBUG *) NULL, (func_nam… argument
119 #define DBG_ENTER_EX2(dbg_obj1, dbg_obj2, func_name) \ argument
125 …trace = !(dbg_obj1)->m->func_enter((dbg_obj1), __LINE__, __FILE__, func_name, strlen(func_name)); \
128 …race |= !(dbg_obj2)->m->func_enter((dbg_obj2), __LINE__, __FILE__, func_name, strlen(func_name)); \
172 static inline void DBG_ENTER_EX(MYSQLND_DEBUG * dbg_obj, const char * const func_name) {} in DBG_ENTER_EX() argument
187 #define DBG_ENTER(func_name) DBG_ENTER_EX(MYSQLND_G(dbg), (func_name)) argument
199 #define TRACE_ALLOC_ENTER(func_name) DBG_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (func_na… argument
211 static inline void DBG_ENTER(const char * const func_name) {} in DBG_ENTER() argument
222 static inline void TRACE_ALLOC_ENTER(const char * const func_name) {} in TRACE_ALLOC_ENTER() argument
H A Dmysqlnd_debug.c237 if (*p == func_name) { in MYSQLND_METHOD()
251 zend_stack_push(&self->call_stack, &func_name); in MYSQLND_METHOD()
260 0 == zend_hash_str_exists(&self->not_filtered_functions, func_name, strlen(func_name))) in MYSQLND_METHOD()
293 char **func_name; in MYSQLND_METHOD() local
305 func_name = zend_stack_top(&self->call_stack); in MYSQLND_METHOD()
315 if ((*func_name)[0] == '\0') { in MYSQLND_METHOD()
318 1 == zend_hash_str_exists(&self->not_filtered_functions, (*func_name), strlen((*func_name)))) in MYSQLND_METHOD()
330 uint32_t func_name_len = strlen(*func_name); in MYSQLND_METHOD()
556 char func_name[1024]; in MYSQLND_METHOD() local
559 func_name[func_name_len] = '\0'; in MYSQLND_METHOD()
[all …]
/php-src/ext/intl/dateformat/
H A Ddateformat_helpers.cpp33 …const char *func_name, intl_error *err, Calendar*& cal, zend_long& cal_int_type, bool& calendar_ow… in datefmt_process_calendar_arg() argument
52 func_name); in datefmt_process_calendar_arg()
69 func_name); in datefmt_process_calendar_arg()
80 "or an IntlCalendar instance", func_name); in datefmt_process_calendar_arg()
90 spprintf(&msg, 0, "%s: Failure instantiating calendar", func_name); in datefmt_process_calendar_arg()
H A Ddateformat_helpers.h35 …const char *func_name, intl_error *err, Calendar*& cal, zend_long& cal_int_type, bool& calendar_ow…
/php-src/sapi/fuzzer/
H A Dfuzzer-sapi.h22 void fuzzer_call_php_func(const char *func_name, int nargs, char **params);
23 void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args);
H A Dfuzzer-sapi.c294 void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args) { in fuzzer_call_php_func_zval() argument
297 ZVAL_STRING(&func, func_name); in fuzzer_call_php_func_zval()
311 void fuzzer_call_php_func(const char *func_name, int nargs, char **params) { in fuzzer_call_php_func() argument
319 fuzzer_call_php_func_zval(func_name, nargs, args); in fuzzer_call_php_func()
/php-src/sapi/phpdbg/
H A Dphpdbg_bp.c73 efree((char*)bp->func_name); in phpdbg_class_breaks_dtor()
90 if (bp->func_name) { in phpdbg_opline_breaks_dtor()
91 efree((char*)bp->func_name); in phpdbg_opline_breaks_dtor()
439 size_t func_len = strlen(func_name); in phpdbg_set_breakpoint_method()
463 new_break.func_name = estrndup(func_name, func_len); in phpdbg_set_breakpoint_method()
506 } else if (brake->func_name == NULL) { in phpdbg_resolve_op_array_break()
565 brake->func_name ? brake->func_name : "", in phpdbg_resolve_op_array_breaks()
577 if (new_break->func_name == NULL) { in phpdbg_resolve_opline_break()
678 efree((char*)new_break.func_name); in phpdbg_set_breakpoint_method_opline()
725 efree((char*)new_break.func_name); in phpdbg_set_breakpoint_function_opline()
[all …]
H A Dphpdbg_bp.h73 const char *func_name; member
81 phpdbg_breakbase(func_name);
127 PHPDBG_API void phpdbg_set_breakpoint_symbol(const char* func_name, size_t func_name_len);
128 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name);
H A Dphpdbg_list.c190 char *func_name = (char*) str; in phpdbg_list_function_byname() local
194 if (func_name[0] == '.') { in phpdbg_list_function_byname()
197 func_name++; in phpdbg_list_function_byname()
213 func_name = zend_str_tolower_dup(func_name, func_name_len); in phpdbg_list_function_byname()
216 if ((fbc = zend_hash_str_find_ptr(func_table, func_name, func_name_len))) { in phpdbg_list_function_byname()
219 phpdbg_error("Function %s not found", func_name); in phpdbg_list_function_byname()
222 phpdbg_error("Could not list function %s, invalid data source", func_name); in phpdbg_list_function_byname()
225 efree(func_name); in phpdbg_list_function_byname()
H A Dphpdbg_print.c184 const char *func_name = param->str; in PHPDBG_PRINT() local
188 if (func_name[0] == '.') { in PHPDBG_PRINT()
192 func_name++; in PHPDBG_PRINT()
208 zend_str_tolower_copy(ZSTR_VAL(lcname), func_name, ZSTR_LEN(lcname)); in PHPDBG_PRINT()
220 phpdbg_error("The function %s could not be found", func_name); in PHPDBG_PRINT()
223 phpdbg_error("Couldn't fetch function %.*s, invalid data source", (int) func_name_len, func_name); in PHPDBG_PRINT()
/php-src/ext/standard/
H A Duser_filters.c116 zend_string *func_name = ZSTR_INIT_LITERAL("onclose", 0); in userfilter_dtor() local
117 zend_call_method_if_exists(Z_OBJ_P(obj), func_name, &retval, 0, NULL); in userfilter_dtor()
118 zend_string_release(func_name); in userfilter_dtor()
137 zval func_name; in userfilter_filter() local
159 ZVAL_STRINGL(&func_name, "filter", sizeof("filter")-1); in userfilter_filter()
176 &func_name, in userfilter_filter()
180 zval_ptr_dtor(&func_name); in userfilter_filter()
302 zend_string *func_name = ZSTR_INIT_LITERAL("oncreate", 0); in user_filter_factory_create() local
303 zend_call_method_if_exists(Z_OBJ(obj), func_name, &retval, 0, NULL); in user_filter_factory_create()
304 zend_string_release(func_name); in user_filter_factory_create()
/php-src/ext/pdo_mysql/
H A Dphp_pdo_mysql_int.h43 #define PDO_DBG_ENTER(func_name) \ argument
47 …DO_MYSQL_G(dbg)->m->func_enter(PDO_MYSQL_G(dbg), __LINE__, __FILE__, func_name, strlen(func_name));
59 static inline void PDO_DBG_ENTER(char *func_name) {} in PDO_DBG_ENTER() argument
/php-src/win32/
H A Dsignal.c122 zend_string *func_name = zend_get_callable_name(&fci.function_name); in PHP_FUNCTION() local
123 php_error_docref(NULL, E_WARNING, "Unable to attach %s as a CTRL handler", ZSTR_VAL(func_name)); in PHP_FUNCTION()
124 zend_string_release_ex(func_name, 0); in PHP_FUNCTION()
/php-src/ext/pdo_sqlite/
H A Dsqlite_driver.c499 zend_string *func_name; in pdo_sqlite_create_function_internal() local
507 Z_PARAM_STR(func_name) in pdo_sqlite_create_function_internal()
521 …ret = sqlite3_create_function(H->db, ZSTR_VAL(func_name), argc, flags | SQLITE_UTF8, func, php_sql… in pdo_sqlite_create_function_internal()
523 func->funcname = zend_string_copy(func_name); in pdo_sqlite_create_function_internal()
557 zend_string *func_name; in pdo_sqlite_create_aggregate_internal() local
564 Z_PARAM_STR(func_name) in pdo_sqlite_create_aggregate_internal()
578 ret = sqlite3_create_function(H->db, ZSTR_VAL(func_name), argc, SQLITE_UTF8, func, NULL, in pdo_sqlite_create_aggregate_internal()
581 func->funcname = zend_string_copy(func_name); in pdo_sqlite_create_aggregate_internal()
H A Dpdo_sqlite.c351 zend_string *func_name = get_active_function_or_method_name(); in php_sqlite_collation_callback() local
353 ZSTR_VAL(func_name), zend_zval_value_name(&retval)); in php_sqlite_collation_callback()
354 zend_string_release(func_name); in php_sqlite_collation_callback()
/php-src/ext/sqlite3/
H A Dphp_sqlite3_structs.h47 zend_string *func_name; member
H A Dsqlite3.c966 func->func_name = zend_string_copy(sql_func); in PHP_METHOD()
1014 func->func_name = zend_string_copy(sql_func); in PHP_METHOD()
2193 …sqlite3_create_function(intern->db, ZSTR_VAL(func->func_name), func->argc, SQLITE_UTF8, func, NULL… in php_sqlite3_object_free_storage()
2196 zend_string_release(func->func_name); in php_sqlite3_object_free_storage()
/php-src/sapi/embed/
H A DREADME.md73 zend_string *func_name = zend_string_init(ZEND_STRL("mt_rand"), 0);
74 ZVAL_STR(&fci.function_name, func_name);
83 zend_string_release(func_name);
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitLir.h2428 #define SLJIT_FUNC_ADDR(func_name) ((sljit_sw)func_name) argument
2429 #define SLJIT_FUNC_UADDR(func_name) ((sljit_uw)func_name) argument
2436 #define SLJIT_FUNC_ADDR(func_name) (*(sljit_sw*)(void*)func_name) argument
2437 #define SLJIT_FUNC_UADDR(func_name) (*(sljit_uw*)(void*)func_name) argument
/php-src/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp44 static void _breakiter_factory(const char *func_name, in _breakiter_factory() argument
68 func_name); in _breakiter_factory()
/php-src/ext/posix/
H A Dposix.c105 #define PHP_POSIX_RETURN_LONG_FUNC(func_name) \ in ZEND_GET_MODULE() argument
107 RETURN_LONG(func_name());
109 #define PHP_POSIX_SINGLE_ARG_FUNC(func_name) \ argument
114 if (func_name(val) < 0) { \
/php-src/Zend/
H A Dzend_API.c220 zend_string_release(func_name); in zend_wrong_parameters_none_error()
231 ZSTR_VAL(func_name), in zend_wrong_parameters_count_error()
238 zend_string_release(func_name); in zend_wrong_parameters_count_error()
392 zend_string *func_name; in zend_argument_error_variadic() local
399 func_name = get_active_function_or_method_name(); in zend_argument_error_variadic()
404 ZSTR_VAL(func_name), arg_num, in zend_argument_error_variadic()
408 zend_string_release(func_name); in zend_argument_error_variadic()
515 ZSTR_VAL(func_name), arg_num, in zend_null_arg_deprecated()
518 zend_string_release(func_name); in zend_null_arg_deprecated()
1226 ZSTR_VAL(func_name), in zend_parse_va_args()
[all …]
H A Dzend_closures.c595 zend_string *func_name = closure->func.common.function_name; in zend_closure_get_debug_info() local
599 ZSTR_VAL(func_name), ZSTR_LEN(func_name) in zend_closure_get_debug_info()
H A Dzend_generators.c1084 zend_string *func_name = func->common.function_name; in ZEND_METHOD() local
1088 ZSTR_VAL(func_name), ZSTR_LEN(func_name) in ZEND_METHOD()

Completed in 70 milliseconds

12