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

123

/PHP_5_3/ext/interbase/
H A Dibase_events.c88 "interbase event", module_number);
H A Dinterbase.c740 le_link = zend_register_list_destructors_ex(_php_ibase_close_link, NULL, LE_LINK, module_number);
741 le_plink = zend_register_list_destructors_ex(php_ibase_commit_link_rsrc, _php_ibase_close_plink, LE_PLINK, module_number);
742 le_trans = zend_register_list_destructors_ex(_php_ibase_free_trans, NULL, LE_TRANS, module_number);
/PHP_5_3/ext/odbc/
H A Dbirdstep.c200 php_birdstep_module.le_link = zend_register_list_destructors_ex(_close_birdstep_link, NULL, "birdstep link", module_number);
201 php_birdstep_module.le_result = zend_register_list_destructors_ex(_free_birdstep_result, NULL, "birdstep result", module_number);
/PHP_5_3/ext/pdo/
H A Dpdo.c371 "PDO persistent database", module_number);
/PHP_5_3/ext/pspell/
H A Dpspell.c252 le_pspell = zend_register_list_destructors_ex(php_pspell_close, NULL, "pspell", module_number);
253 le_pspell_config = zend_register_list_destructors_ex(php_pspell_close_config, NULL, "pspell config", module_number);
/PHP_5_3/ext/session/
H A Dphp_session.h117 int module_number; member in struct:_php_ps_globals
/PHP_5_3/ext/shmop/
H A Dshmop.c139 shm_type = zend_register_list_destructors_ex(rsclean, NULL, "shmop", module_number);
/PHP_5_3/ext/standard/
H A Ddl.c198 int module_number; member in struct:pre_4_1_0_module_entry
237 module_entry->module_number = zend_next_free_module();
251 if (module_entry->request_startup_func(type, module_entry->module_number TSRMLS_CC) == FAILURE) {
H A Duser_filters.c108 le_bucket_brigade = zend_register_list_destructors_ex(NULL, NULL, PHP_STREAM_BRIGADE_RES_NAME, module_number);
110 le_bucket = zend_register_list_destructors_ex(php_bucket_dtor, NULL, PHP_STREAM_BUCKET_RES_NAME, module_number);
/PHP_5_3/ext/sysvmsg/
H A Dsysvmsg.c132 le_sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, "sysvmsg queue", module_number);
/PHP_5_3/ext/sysvsem/
H A Dsysvsem.c175 php_sysvsem_module.le_sem = zend_register_list_destructors_ex(release_sysvsem_sem, NULL, "sysvsem", module_number);
/PHP_5_3/ext/sysvshm/
H A Dsysvshm.c137 php_sysvshm.le_shm = zend_register_list_destructors_ex(php_release_sysvshm, NULL, PHP_SHM_RSRC_NAME, module_number);
/PHP_5_3/main/
H A Dphp_ini.c124 static int php_ini_displayer(zend_ini_entry *ini_entry, int module_number TSRMLS_DC)
126 if (ini_entry->module_number != module_number) {
154 if (ini_entry->module_number == *module_number_available) {
167 int module_number, module_number_available; local
171 module_number = module->module_number;
173 module_number = 0;
175 module_number_available = module_number;
180 zend_hash_apply_with_argument(EG(ini_directives), (apply_func_arg_t) php_ini_displayer, (void *) (zend_intptr_t) module_number TSRMLS_C
[all...]
/PHP_5_3/main/streams/
H A Dstreams.c1576 int php_init_stream_wrappers(int module_number TSRMLS_DC)
1578 le_stream = zend_register_list_destructors_ex(stream_resource_regular_dtor, NULL, "stream", module_number);
1579 le_pstream = zend_register_list_destructors_ex(NULL, stream_resource_persistent_dtor, "persistent stream", module_number);
1582 le_stream_filter = zend_register_list_destructors_ex(NULL, NULL, "stream filter", module_number);
1603 int php_shutdown_stream_wrappers(int module_number TSRMLS_DC)
/PHP_5_3/sapi/cli/
H A Dphp_cli.c570 ic.module_number = 0;
577 oc.module_number = 0;
584 ec.module_number = 0;
/PHP_5_3/Zend/
H A Dzend_API.c1617 if (module->module_startup_func(module->type, module->module_number TSRMLS_CC)==FAILURE) {
1682 zend_printf("%s: Registering module %d\n", module->name, module->module_number);
1731 module->module_number = zend_next_free_module();
2089 static int clean_module_class(const zend_class_entry **ce, int *module_number TSRMLS_DC) /* {{{ */
2091 if ((*ce)->type == ZEND_INTERNAL_CLASS && (*ce)->module->module_number == *module_number) {
2099 static void clean_module_classes(int module_number TSRMLS_DC) /* {{{ */
2101 zend_hash_apply_with_argument(EG(class_table), (apply_func_arg_t) clean_module_class, (void *) &module_number TSRMLS_CC);
2110 zend_clean_module_rsrc_dtors(module->module_number TSRMLS_CC);
2111 clean_module_constants(module->module_number TSRMLS_C
[all...]
H A Dzend_constants.c68 static int clean_module_constant(const zend_constant *c, int *module_number TSRMLS_DC)
70 if (c->module_number == *module_number) {
78 void clean_module_constants(int module_number TSRMLS_DC)
80 zend_hash_apply_with_argument(EG(zend_constants), (apply_func_arg_t) clean_module_constant, (void *) &module_number TSRMLS_CC);
123 c.module_number = 0;
177 ZEND_API void zend_register_long_constant(const char *name, uint name_len, long lval, int flags, int module_number TSRMLS_DC)
186 c.module_number = module_number;
191 ZEND_API void zend_register_double_constant(const char *name, uint name_len, double dval, int flags, int module_number TSRMLS_D
[all...]
H A Dzend_constants.h38 int module_number; member in struct:_zend_constant
41 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name), (lval), (flags), module_number TSRMLS_CC)
42 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name), (dval), (flags), module_number TSRMLS_CC)
43 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name), (str), (flags), module_number TSRMLS_CC)
44 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(name), (str), (len), (flags), module_number TSRMLS_CC)
46 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (lval), (flags), module_number TSRMLS_CC)
47 #define REGISTER_NS_DOUBLE_CONSTANT(ns, name, dval, flags) zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (dval), (flags), module_number TSRMLS_CC)
48 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (str), (flags), module_number TSRMLS_CC)
49 #define REGISTER_NS_STRINGL_CONSTANT(ns, name, str, len, flags) zend_register_stringl_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (str), (len), (flags), module_number TSRMLS_CC)
57 void clean_module_constants(int module_number TSRMLS_D
[all...]
H A Dzend_ini.c37 static int zend_remove_ini_entries(zend_ini_entry *ini_entry, int *module_number TSRMLS_DC) /* {{{ */
39 if (ini_entry->module_number == *module_number) {
175 ZEND_API int zend_register_ini_entries(const zend_ini_entry *ini_entry, int module_number TSRMLS_DC) /* {{{ */
200 zend_unregister_ini_entries(module_number TSRMLS_CC);
203 hashed_ini_entry->module_number = module_number;
222 ZEND_API void zend_unregister_ini_entries(int module_number TSRMLS_DC) /* {{{ */
224 zend_hash_apply_with_argument(registered_zend_ini_directives, (apply_func_arg_t) zend_remove_ini_entries, (void *) &module_number TSRMLS_CC);
H A Dzend_ini.h66 int module_number; member in struct:_zend_ini_entry
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 Dzend_list.c253 static int zend_clean_module_rsrc_dtors_cb(zend_rsrc_list_dtors_entry *ld, int *module_number TSRMLS_DC)
255 if (ld->module_number == *module_number) {
264 void zend_clean_module_rsrc_dtors(int module_number TSRMLS_DC)
266 zend_hash_apply_with_argument(&list_destructors, (apply_func_arg_t) zend_clean_module_rsrc_dtors_cb, (void *) &module_number TSRMLS_CC);
270 ZEND_API int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number) argument
275 printf("Registering destructors %d for module %d\n", list_destructors.nNextFreeElement, module_number);
281 lde.module_number = module_number;
293 ZEND_API int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, char *type_name, int module_number) argument
[all...]
H A Dzend_list.h53 int module_number; member in struct:_zend_rsrc_list_dtors_entry
59 #define register_list_destructors(ld, pld) zend_register_list_destructors((void (*)(void *))ld, (void (*)(void *))pld, module_number);
60 ZEND_API int zend_register_list_destructors(void (*ld)(void *), void (*pld)(void *), int module_number);
61 ZEND_API int zend_register_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 Dzend_modules.h29 #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 in struct:_zend_module_entry
H A Dzend_builtin_functions.c318 zend_builtin_module.module_number = 0;
687 c.module_number = PHP_USER_CONSTANT;
1848 int module_number; local
1860 module_names[module->module_number] = (char *)module->name;
1870 if (val->module_number == PHP_USER_CONSTANT) {
1871 module_number = i;
1872 } else if (val->module_number > i || val->module_number < 0) {
1876 module_number = val->module_number;
[all...]
/PHP_5_3/ext/enchant/
H A Denchant.c289 le_enchant_broker = zend_register_list_destructors_ex(php_enchant_broker_free, NULL, "enchant_broker", module_number);
290 le_enchant_dict = zend_register_list_destructors_ex(php_enchant_dict_free, NULL, "enchant_dict", module_number);

Completed in 87 milliseconds

123