Searched defs:module_number (Results 1 - 16 of 16) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_constants.h37 int module_number; member in struct:_zend_constant
40 #define REGISTER_NULL_CONSTANT(name, flags) zend_register_null_constant((name), sizeof(name)-1, (flags), module_number)
41 #define REGISTER_BOOL_CONSTANT(name, bval, flags) zend_register_bool_constant((name), sizeof(name)-1, (bval), (flags), module_number)
42 #define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
43 #define REGISTER_DOUBLE_CONSTANT(name, dval, flags) zend_register_double_constant((name), sizeof(name)-1, (dval), (flags), module_number)
44 #define REGISTER_STRING_CONSTANT(name, str, flags) zend_register_string_constant((name), sizeof(name)-1, (str), (flags), module_number)
45 #define REGISTER_STRINGL_CONSTANT(name, str, len, flags) zend_register_stringl_constant((name), sizeof(name)-1, (str), (len), (flags), module_number)
47 #define REGISTER_NS_NULL_CONSTANT(ns, name, flags) zend_register_null_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (flags), module_number)
48 #define REGISTER_NS_BOOL_CONSTANT(ns, name, bval, flags) zend_register_bool_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (bval), (flags), module_number)
49 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name))-1, (lval), (flags), module_number)
[all...]
H A Dzend_ini.c40 int module_number = *(int *)arg; local
41 if (ini_entry->module_number == module_number) {
212 ZEND_API int zend_register_ini_entries(const zend_ini_entry_def *ini_entry, int module_number) /* {{{ */ argument
246 p->module_number = module_number;
252 zend_unregister_ini_entries(module_number);
273 ZEND_API void zend_unregister_ini_entries(int module_number) /* {{{ */ argument
275 zend_hash_apply_with_argument(registered_zend_ini_directives, zend_remove_ini_entries, (void *) &module_number);
H A Dzend_ini.h60 int module_number; member in struct:_zend_ini_entry
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_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 in struct:_zend_module_entry
H A Dzend_list.h39 int module_number; member in struct:_zend_rsrc_list_dtors_entry
44 ZEND_API int zend_register_list_destructors_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_list.c259 int module_number = *(int *)arg; local
260 if (ld->module_number == module_number) {
269 void zend_clean_module_rsrc_dtors(int module_number) argument
271 zend_hash_apply_with_argument(&list_destructors, zend_clean_module_rsrc_dtors_cb, (void *) &module_number);
275 ZEND_API int zend_register_list_destructors_ex(rsrc_dtor_func_t ld, rsrc_dtor_func_t pld, const char *type_name, int module_number) argument
283 lde->module_number = module_number;
H A Dzend.c760 int module_number = 0; local
H A Dzend_constants.c88 int module_number = *(int *)arg; local
90 if (c->module_number == module_number) {
98 void clean_module_constants(int module_number) argument
100 zend_hash_apply_with_argument(EG(zend_constants), clean_module_constant, (void *) &module_number);
164 ZEND_API void zend_register_null_constant(const char *name, size_t name_len, int flags, int module_number) argument
171 c.module_number = module_number;
175 ZEND_API void zend_register_bool_constant(const char *name, size_t name_len, zend_bool bval, int flags, int module_number) argument
182 c.module_number
186 zend_register_long_constant(const char *name, size_t name_len, zend_long lval, int flags, int module_number) argument
198 zend_register_double_constant(const char *name, size_t name_len, double dval, int flags, int module_number) argument
210 zend_register_stringl_constant(const char *name, size_t name_len, char *strval, size_t strlen, int flags, int module_number) argument
222 zend_register_string_constant(const char *name, size_t name_len, char *strval, int flags, int module_number) argument
[all...]
H A Dzend_API.c1860 if (module->module_startup_func(module->type, module->module_number)==FAILURE) {
2010 zend_printf("%s: Registering module %d\n", module->name, module->module_number);
2061 module->module_number = zend_next_free_module();
2487 int module_number = *(int *)arg; local
2488 if (ce->type == ZEND_INTERNAL_CLASS && ce->info.internal.module->module_number == module_number) {
2496 static void clean_module_classes(int module_number) /* {{{ */ argument
2498 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number);
2506 zend_clean_module_rsrc_dtors(module->module_number);
2507 clean_module_constants(module->module_number);
[all...]
H A Dzend_builtin_functions.c359 zend_builtin_module.module_number = 0;
858 c.module_number = PHP_USER_CONSTANT;
2145 int module_number; local
2156 module_names[module->module_number] = (char *)module->name;
2167 if (val->module_number == PHP_USER_CONSTANT) {
2168 module_number = i;
2169 } else if (val->module_number > i || val->module_number < 0) {
2173 module_number = val->module_number;
[all...]
/PHP_TRUNK/ext/session/
H A Dphp_session.h169 int module_number; member in struct:_php_ps_globals
H A Dsession.c1450 int module_number = PS(module_number); local
2616 PS(module_number) = module_number; /* if we really need this var we need to init it in zts mode as well! */
/PHP_TRUNK/main/streams/
H A Dstreams.c1636 int php_init_stream_wrappers(int module_number) argument
1638 le_stream = zend_register_list_destructors_ex(stream_resource_regular_dtor, NULL, "stream", module_number);
1639 le_pstream = zend_register_list_destructors_ex(NULL, stream_resource_persistent_dtor, "persistent stream", module_number);
1642 le_stream_filter = zend_register_list_destructors_ex(NULL, NULL, "stream filter", module_number);
1660 int php_shutdown_stream_wrappers(int module_number) argument
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c5262 int module_number = va_arg(args, int); local
5266 if (module_number != 0 && ini_entry->module_number != module_number) {
5328 extnumber = module->module_number;
/PHP_TRUNK/main/
H A Dmain.c1996 int retval = SUCCESS, module_number=0; /* for REGISTER_INI_ENTRIES() */ local
2169 if (php_init_stream_wrappers(module_number) == FAILURE) {
2320 int module_number=0; /* for UNREGISTER_INI_ENTRIES() */ local
2346 php_shutdown_stream_wrappers(module_number);
H A Dphp_ini.c124 int module_number = *(int *)arg; local
126 if (ini_entry->module_number != module_number) {
156 if (ini_entry->module_number == *(int *)module_number_available) {
169 int module_number, module_number_available; local
172 module_number = module->module_number;
174 module_number = 0;
176 module_number_available = module_number;
181 zend_hash_apply_with_argument(EG(ini_directives), php_ini_displayer, (void *)&module_number);
[all...]

Completed in 40 milliseconds