Home
last modified time | relevance | path

Searched refs:module_number (Results 1 – 25 of 67) sorted by relevance

123

/PHP-7.2/Zend/
H A Dzend_constants.h37 int module_number; member
40 …_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (flags), module_number)
41 …, bval, flags) zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), module_number)
42 …, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
44 …, str, flags) zend_register_string_constant((name), sizeof(name)-1, (str), (flags), module_number)
62 void clean_module_constants(int module_number);
71 …ter_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number);
72 … void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number);
73 …ter_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number);
74 …ster_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number);
[all …]
H A Dzend_constants.c75 int module_number = *(int *)arg; in clean_module_constant() local
77 if (c->module_number == module_number) { in clean_module_constant()
85 void clean_module_constants(int module_number) in clean_module_constants() argument
148 c.module_number = module_number; in zend_register_null_constant()
159 c.module_number = module_number; in zend_register_bool_constant()
170 c.module_number = module_number; in zend_register_long_constant()
182 c.module_number = module_number; in zend_register_double_constant()
194 c.module_number = module_number; in zend_register_stringl_constant()
201 zend_register_stringl_constant(name, name_len, strval, strlen(strval), flags, module_number); in zend_register_string_constant()
468 printf("Registering constant for module %d\n", c->module_number); in zend_register_constant()
[all …]
H A Dzend_modules.h29 #define INIT_FUNC_ARGS int type, int module_number
30 #define INIT_FUNC_ARGS_PASSTHRU type, module_number
31 #define SHUTDOWN_FUNC_ARGS int type, int module_number
32 #define SHUTDOWN_FUNC_ARGS_PASSTHRU type, module_number
100 int module_number; member
H A Dzend_list.c261 int module_number = *(int *)arg; in zend_clean_module_rsrc_dtors_cb() local
262 if (ld->module_number == module_number) { in zend_clean_module_rsrc_dtors_cb()
271 void zend_clean_module_rsrc_dtors(int module_number) in zend_clean_module_rsrc_dtors() argument
273 …h_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module_number); in zend_clean_module_rsrc_dtors()
277 …destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, const char *type_name, int module_number) in zend_register_list_destructors_ex() argument
285 lde->module_number = module_number; in zend_register_list_destructors_ex()
H A Dzend_list.h39 int module_number; member
44 …estructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, const char *type_name, int module_number);
49 void zend_clean_module_rsrc_dtors(int module_number);
H A Dzend_ini.h60 int module_number; member
74 ZEND_API int zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number);
75 ZEND_API void zend_unregister_ini_entries(int module_number);
149 #define REGISTER_INI_ENTRIES() zend_register_ini_entries(ini_entries, module_number)
150 #define UNREGISTER_INI_ENTRIES() zend_unregister_ini_entries(module_number)
H A Dzend_ini.c40 int module_number = *(int *)arg; in zend_remove_ini_entries() local
41 if (ini_entry->module_number == module_number) { in zend_remove_ini_entries()
212 ZEND_API int zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number) /* {… in zend_register_ini_entries() argument
246 p->module_number = module_number; in zend_register_ini_entries()
252 zend_unregister_ini_entries(module_number); in zend_register_ini_entries()
273 ZEND_API void zend_unregister_ini_entries(int module_number) /* {{{ */ in zend_unregister_ini_entries() argument
275 …ly_with_argument(registered_zend_ini_directives, zend_remove_ini_entries, (void *) &module_number); in zend_unregister_ini_entries()
H A Dzend_builtin_functions.c328 zend_builtin_module.module_number = 0; in zend_startup_builtin_functions()
858 c.module_number = PHP_USER_CONSTANT; in ZEND_FUNCTION()
2070 int module_number; in ZEND_FUNCTION() local
2081 module_names[module->module_number] = (char *)module->name; in ZEND_FUNCTION()
2092 if (val->module_number == PHP_USER_CONSTANT) { in ZEND_FUNCTION()
2093 module_number = i; in ZEND_FUNCTION()
2094 } else if (val->module_number > i || val->module_number < 0) { in ZEND_FUNCTION()
2098 module_number = val->module_number; in ZEND_FUNCTION()
2101 if (Z_TYPE(modules[module_number]) == IS_UNDEF) { in ZEND_FUNCTION()
2102 array_init(&modules[module_number]); in ZEND_FUNCTION()
[all …]
H A Dzend_API.c2023 zend_printf("%s: Registering module %d\n", module->name, module->module_number); in zend_register_module_ex()
2077 module->module_number = zend_next_free_module(); in zend_register_internal_module()
2536 int module_number = *(int *)arg; in clean_module_class() local
2537 if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module->module_number == module_number) { in clean_module_class()
2545 static void clean_module_classes(int module_number) /* {{{ */ in clean_module_classes() argument
2555 zend_clean_module_rsrc_dtors(module->module_number); in module_destructor()
2556 clean_module_constants(module->module_number); in module_destructor()
2557 clean_module_classes(module->module_number); in module_destructor()
2564 module->module_shutdown_func(module->type, module->module_number); in module_destructor()
2618 module->request_shutdown_func(module->type, module->module_number); in module_registry_cleanup()
[all …]
/PHP-7.2/main/
H A Dphp_ini.c124 int module_number = *(int *)arg; in php_ini_displayer() local
126 if (ini_entry->module_number != module_number) { in php_ini_displayer()
156 if (ini_entry->module_number == *(int *)module_number_available) { in php_ini_available()
169 int module_number, module_number_available; in display_ini_entries() local
172 module_number = module->module_number; in display_ini_entries()
174 module_number = 0; in display_ini_entries()
176 module_number_available = module_number; in display_ini_entries()
181 zend_hash_apply_with_argument(EG(ini_directives), php_ini_displayer, (void *)&module_number); in display_ini_entries()
H A Dphp_streams.h558 int php_init_stream_wrappers(int module_number);
559 int php_shutdown_stream_wrappers(int module_number);
/PHP-7.2/ext/standard/
H A Ddl.c220 module_entry->module_number = zend_next_free_module(); in php_load_extension()
234 if (module_entry->request_startup_func(type, module_entry->module_number) == FAILURE) { in php_load_extension()
H A Duser_filters.c99 …rigade = zend_register_list_destructors_ex(NULL, NULL, PHP_STREAM_BRIGADE_RES_NAME, module_number); in PHP_MINIT_FUNCTION()
101 …end_register_list_destructors_ex(php_bucket_dtor, NULL, PHP_STREAM_BUCKET_RES_NAME, module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/pdo/
H A Dpdo.c346 "PDO persistent database", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/shmop/
H A Dshmop.c129 shm_type = zend_register_list_destructors_ex(rsclean, NULL, "shmop", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/sysvsem/
H A Dsysvsem.c176 …le.le_sem = zend_register_list_destructors_ex(release_sysvsem_sem, NULL, "sysvsem", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/sapi/cli/
H A Dphp_cli.c597 ic.module_number = 0; in cli_register_file_handles()
602 oc.module_number = 0; in cli_register_file_handles()
607 ec.module_number = 0; in cli_register_file_handles()
/PHP-7.2/ext/odbc/
H A Dbirdstep.c199 … = zend_register_list_destructors_ex(_close_birdstep_link, NULL, "birdstep link", module_number); in PHP_MINIT_FUNCTION()
200 …= zend_register_list_destructors_ex(_free_birdstep_result, NULL, "birdstep result", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/enchant/
H A Denchant.c286 … zend_register_list_destructors_ex(php_enchant_broker_free, NULL, "enchant_broker", module_number); in PHP_MINIT_FUNCTION()
287 …ct = zend_register_list_destructors_ex(php_enchant_dict_free, NULL, "enchant_dict", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/interbase/
H A Dibase_events.c88 "interbase event", module_number); in php_ibase_events_minit()
/PHP-7.2/ext/pspell/
H A Dpspell.c256 le_pspell = zend_register_list_destructors_ex(php_pspell_close, NULL, "pspell", module_number); in PHP_MINIT_FUNCTION()
257 …= zend_register_list_destructors_ex(php_pspell_close_config, NULL, "pspell config", module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/main/streams/
H A Dstreams.c1628 int php_init_stream_wrappers(int module_number) in php_init_stream_wrappers() argument
1630 …m = zend_register_list_destructors_ex(stream_resource_regular_dtor, NULL, "stream", module_number); in php_init_stream_wrappers()
1631 …ter_list_destructors_ex(NULL, stream_resource_persistent_dtor, "persistent stream", module_number); in php_init_stream_wrappers()
1634 le_stream_filter = zend_register_list_destructors_ex(NULL, NULL, "stream filter", module_number); in php_init_stream_wrappers()
1652 int php_shutdown_stream_wrappers(int module_number) in php_shutdown_stream_wrappers() argument
/PHP-7.2/ext/session/
H A Dphp_session.h167 int module_number; member
/PHP-7.2/ext/sysvshm/
H A Dsysvshm.c141 …m = zend_register_list_destructors_ex(php_release_sysvshm, NULL, PHP_SHM_RSRC_NAME, module_number); in PHP_MINIT_FUNCTION()
/PHP-7.2/ext/sysvmsg/
H A Dsysvmsg.c132 …sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, "sysvmsg queue", module_number); in PHP_MINIT_FUNCTION()

Completed in 83 milliseconds

123