/PHP-5.3/Zend/ |
H A D | zend_constants.h | 38 int module_number; member 41 …flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC) 42 …ags) zend_register_double_constant((name), sizeof(name), (dval), (flags), module_number TSRMLS_CC) 43 …lags) zend_register_string_constant((name), sizeof(name), (str), (flags), module_number TSRMLS_CC) 44 …end_register_stringl_constant((name), sizeof(name), (str), (len), (flags), module_number TSRMLS_CC) 46 …t(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (lval), (flags), module_number TSRMLS_CC) 57 void clean_module_constants(int module_number TSRMLS_DC); 65 …_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC); 66 …ble_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_DC); 67 …ng_constant(const char *name, uint name_len, char *strval, int flags, int module_number TSRMLS_DC); [all …]
|
H A D | zend_list.c | 253 static int zend_clean_module_rsrc_dtors_cb(zend_rsrc_list_dtors_entry *ld, int *module_number TSRML… in zend_clean_module_rsrc_dtors_cb() 255 if (ld->module_number == *module_number) { in zend_clean_module_rsrc_dtors_cb() 264 void zend_clean_module_rsrc_dtors(int module_number TSRMLS_DC) in zend_clean_module_rsrc_dtors() 266 …estructors, (apply_func_arg_t) zend_clean_module_rsrc_dtors_cb, (void *) &module_number TSRMLS_CC); in zend_clean_module_rsrc_dtors() 270 …_API int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number) in zend_register_list_destructors() argument 275 …tf("Registering destructors %d for module %d\n", list_destructors.nNextFreeElement, module_number); in zend_register_list_destructors() 281 lde.module_number = module_number; in zend_register_list_destructors() 293 …_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, char *type_name, int module_number) in zend_register_list_destructors_ex() argument 298 …tf("Registering destructors %d for module %d\n", list_destructors.nNextFreeElement, module_number); in zend_register_list_destructors_ex() 305 lde.module_number = module_number; in zend_register_list_destructors_ex()
|
H A D | zend_constants.c | 68 static int clean_module_constant(const zend_constant *c, int *module_number TSRMLS_DC) in clean_module_constant() 70 if (c->module_number == *module_number) { in clean_module_constant() 78 void clean_module_constants(int module_number TSRMLS_DC) in clean_module_constants() 80 …t(EG(zend_constants), (apply_func_arg_t) clean_module_constant, (void *) &module_number TSRMLS_CC); in clean_module_constants() 123 c.module_number = 0; in zend_register_standard_constants() 177 …r_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC) in zend_register_long_constant() 186 c.module_number = module_number; in zend_register_long_constant() 200 c.module_number = module_number; in zend_register_double_constant() 215 c.module_number = module_number; in zend_register_stringl_constant() 222 …zend_register_stringl_constant(name, name_len, strval, strlen(strval), flags, module_number TSRMLS… in zend_register_string_constant() [all …]
|
H A D | zend_modules.h | 29 #define INIT_FUNC_ARGS int type, int module_number TSRMLS_DC 30 #define INIT_FUNC_ARGS_PASSTHRU type, module_number TSRMLS_CC 31 #define SHUTDOWN_FUNC_ARGS int type, int module_number TSRMLS_DC 32 #define SHUTDOWN_FUNC_ARGS_PASSTHRU type, module_number TSRMLS_CC 100 int module_number; member
|
H A D | zend_list.h | 53 int module_number; member 59 …d, pld) zend_register_list_destructors((void (*)(void *))ld, (void (*)(void *))pld, module_number); 60 …API int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number); 61 …list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, char *type_name, int module_number); 66 void zend_clean_module_rsrc_dtors(int module_number TSRMLS_DC);
|
H A D | zend_ini.c | 37 static int zend_remove_ini_entries(zend_ini_entry *ini_entry, int *module_number TSRMLS_DC) /* {{{ … in zend_remove_ini_entries() 39 if (ini_entry->module_number == *module_number) { in zend_remove_ini_entries() 175 ZEND_API int zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC… in zend_register_ini_entries() 200 zend_unregister_ini_entries(module_number TSRMLS_CC); in zend_register_ini_entries() 203 hashed_ini_entry->module_number = module_number; in zend_register_ini_entries() 222 ZEND_API void zend_unregister_ini_entries(int module_number TSRMLS_DC) /* {{{ */ in zend_unregister_ini_entries() 224 …end_ini_directives, (apply_func_arg_t) zend_remove_ini_entries, (void *) &module_number TSRMLS_CC); in zend_unregister_ini_entries()
|
H A D | zend_ini.h | 66 int module_number; member 96 ZEND_API int zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC… 97 ZEND_API void zend_unregister_ini_entries(int module_number TSRMLS_DC); 169 #define REGISTER_INI_ENTRIES() zend_register_ini_entries(ini_entries, module_number TSRMLS_CC) 170 #define UNREGISTER_INI_ENTRIES() zend_unregister_ini_entries(module_number TSRMLS_CC)
|
H A D | zend_builtin_functions.c | 318 zend_builtin_module.module_number = 0; in zend_startup_builtin_functions() 687 c.module_number = PHP_USER_CONSTANT; in ZEND_FUNCTION() 1848 int module_number; in ZEND_FUNCTION() local 1870 if (val->module_number == PHP_USER_CONSTANT) { in ZEND_FUNCTION() 1871 module_number = i; in ZEND_FUNCTION() 1872 } else if (val->module_number > i || val->module_number < 0) { in ZEND_FUNCTION() 1876 module_number = val->module_number; in ZEND_FUNCTION() 1879 if (!modules[module_number]) { in ZEND_FUNCTION() 1880 MAKE_STD_ZVAL(modules[module_number]); in ZEND_FUNCTION() 1881 array_init(modules[module_number]); in ZEND_FUNCTION() [all …]
|
H A D | zend_API.c | 1617 if (module->module_startup_func(module->type, module->module_number TSRMLS_CC)==FAILURE) { in zend_startup_module_ex() 1682 zend_printf("%s: Registering module %d\n", module->name, module->module_number); in zend_register_module_ex() 1731 module->module_number = zend_next_free_module(); in zend_register_internal_module() 2091 if ((*ce)->type == ZEND_INTERNAL_CLASS && (*ce)->module->module_number == *module_number) { in clean_module_class() 2099 static void clean_module_classes(int module_number TSRMLS_DC) /* {{{ */ in clean_module_classes() 2110 zend_clean_module_rsrc_dtors(module->module_number TSRMLS_CC); in module_destructor() 2111 clean_module_constants(module->module_number TSRMLS_CC); in module_destructor() 2112 clean_module_classes(module->module_number TSRMLS_CC); in module_destructor() 2119 module->module_shutdown_func(module->type, module->module_number TSRMLS_CC); in module_destructor() 2157 if (module->request_startup_func(module->type, module->module_number TSRMLS_CC)==FAILURE) { in module_registry_request_startup() [all …]
|
/PHP-5.3/main/ |
H A D | php_ini.c | 124 static int php_ini_displayer(zend_ini_entry *ini_entry, int module_number TSRMLS_DC) in php_ini_displayer() 126 if (ini_entry->module_number != module_number) { in php_ini_displayer() 154 if (ini_entry->module_number == *module_number_available) { in php_ini_available() 167 int module_number, module_number_available; in display_ini_entries() local 171 module_number = module->module_number; in display_ini_entries() 173 module_number = 0; in display_ini_entries() 175 module_number_available = module_number; in display_ini_entries() 180 …rectives), (apply_func_arg_t) php_ini_displayer, (void *) (zend_intptr_t) module_number TSRMLS_CC); in display_ini_entries()
|
H A D | php_streams.h | 532 int php_init_stream_wrappers(int module_number TSRMLS_DC); 533 int php_shutdown_stream_wrappers(int module_number TSRMLS_DC);
|
/PHP-5.3/ext/standard/ |
H A D | dl.c | 198 int module_number; in php_load_extension() member 237 module_entry->module_number = zend_next_free_module(); in php_load_extension() 251 if (module_entry->request_startup_func(type, module_entry->module_number TSRMLS_CC) == FAILURE) { in php_load_extension()
|
H A D | user_filters.c | 108 …rigade = zend_register_list_destructors_ex(NULL, NULL, PHP_STREAM_BRIGADE_RES_NAME, module_number); in PHP_MINIT_FUNCTION() 110 …end_register_list_destructors_ex(php_bucket_dtor, NULL, PHP_STREAM_BUCKET_RES_NAME, module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/session/ |
H A D | php_session.h | 117 int module_number; member
|
/PHP-5.3/ext/shmop/ |
H A D | shmop.c | 139 shm_type = zend_register_list_destructors_ex(rsclean, NULL, "shmop", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/pdo/ |
H A D | pdo.c | 371 "PDO persistent database", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/sysvsem/ |
H A D | sysvsem.c | 175 …le.le_sem = zend_register_list_destructors_ex(release_sysvsem_sem, NULL, "sysvsem", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/odbc/ |
H A D | birdstep.c | 200 … = zend_register_list_destructors_ex(_close_birdstep_link, NULL, "birdstep link", module_number); in PHP_MINIT_FUNCTION() 201 …= zend_register_list_destructors_ex(_free_birdstep_result, NULL, "birdstep result", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/sapi/cli/ |
H A D | php_cli.c | 570 ic.module_number = 0; in cli_register_file_handles() 577 oc.module_number = 0; in cli_register_file_handles() 584 ec.module_number = 0; in cli_register_file_handles()
|
/PHP-5.3/ext/sysvshm/ |
H A D | sysvshm.c | 137 …m = zend_register_list_destructors_ex(php_release_sysvshm, NULL, PHP_SHM_RSRC_NAME, module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/interbase/ |
H A D | ibase_events.c | 88 "interbase event", module_number); in php_ibase_events_minit()
|
/PHP-5.3/ext/pspell/ |
H A D | pspell.c | 252 le_pspell = zend_register_list_destructors_ex(php_pspell_close, NULL, "pspell", module_number); in PHP_MINIT_FUNCTION() 253 …= zend_register_list_destructors_ex(php_pspell_close_config, NULL, "pspell config", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/ext/enchant/ |
H A D | enchant.c | 289 … zend_register_list_destructors_ex(php_enchant_broker_free, NULL, "enchant_broker", module_number); in PHP_MINIT_FUNCTION() 290 …ct = zend_register_list_destructors_ex(php_enchant_dict_free, NULL, "enchant_dict", module_number); in PHP_MINIT_FUNCTION()
|
/PHP-5.3/main/streams/ |
H A D | streams.c | 1576 int php_init_stream_wrappers(int module_number TSRMLS_DC) in php_init_stream_wrappers() 1578 …m = zend_register_list_destructors_ex(stream_resource_regular_dtor, NULL, "stream", module_number); in php_init_stream_wrappers() 1579 …ter_list_destructors_ex(NULL, stream_resource_persistent_dtor, "persistent stream", module_number); in php_init_stream_wrappers() 1582 le_stream_filter = zend_register_list_destructors_ex(NULL, NULL, "stream filter", module_number); in php_init_stream_wrappers() 1603 int php_shutdown_stream_wrappers(int module_number TSRMLS_DC) in php_shutdown_stream_wrappers()
|
/PHP-5.3/ext/sysvmsg/ |
H A D | sysvmsg.c | 132 …sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, "sysvmsg queue", module_number); in PHP_MINIT_FUNCTION()
|