Home
last modified time | relevance | path

Searched refs:module_globals (Results 1 – 25 of 211) sorted by relevance

123456789

/dports/www/mod_rivet/rivet-3.2.0/src/mod_rivet_ng/
H A Drivet_worker_mpm.c50 extern DLLIMPORT mod_rivet_globals* module_globals;
145 module_globals->mpm->server_shutdown = 1; in WorkerBridge_Shutdown()
196 module_globals->mpm->server_shutdown = 1;
303 if (module_globals->mpm->server_shutdown) in request_processor()
413 module_globals->num_load_samples = nruns;
536 module_globals->mpm->max_threads = 0; in WorkerBridge_ChildInit()
567 …if (apr_queue_create(&module_globals->mpm->queue, MOD_RIVET_QUEUE_SIZE, module_globals->pool) != A… in WorkerBridge_ChildInit()
594module_globals->mpm->workers = apr_pcalloc(pool,module_globals->mpm->max_threads * sizeof(void *)); in WorkerBridge_ChildInit()
789 if (!module_globals->single_thread_exit) in WorkerBridge_ExitHandler()
824 module_globals->mpm->exit_command = 1;
[all …]
H A Drivet_prefork_mpm.c35 extern DLLIMPORT mod_rivet_globals* module_globals;
83 Rivet_InitCore (module_globals->server_interp->interp,private); in PreforkBridge_ChildInit()
88 module_globals->server_interp->cache_size = rsc->default_cache_size; in PreforkBridge_ChildInit()
89 if (module_globals->server_interp->cache_size < 0) { in PreforkBridge_ChildInit()
92 module_globals->server_interp->cache_free = module_globals->server_interp->cache_size; in PreforkBridge_ChildInit()
97 RivetCache_Create(module_globals->pool,module_globals->server_interp); in PreforkBridge_ChildInit()
162 module_globals->server_interp->channel = private->channel; in MPM_MasterInterp()
181 return module_globals->server_interp; in MPM_MasterInterp()
232 module_globals->single_thread_exit = 0; in PreforkBridge_ServerInit()
238 if (module_globals->server_interp->cache_size) { in PreforkBridge_ServerInit()
[all …]
H A Drivet_lazy_mpm.c37 extern DLLIMPORT mod_rivet_globals* module_globals;
200 (module_globals->mpm->vhosts[idx].threads_count)++; in request_processor()
248 (module_globals->mpm->vhosts[idx].threads_count)--; in request_processor()
315 module_globals->mpm->vhosts = in LazyBridge_ChildInit()
317 ap_assert(module_globals->mpm->vhosts != NULL); in LazyBridge_ChildInit()
336 module_globals->mpm->vhosts[idx].array = array; in LazyBridge_ChildInit()
339 module_globals->mpm->server_shutdown = 0; in LazyBridge_ChildInit()
371 if (module_globals->mpm->server_shutdown == 1) { in LazyBridge_Request()
442 module_globals->mpm->server_shutdown = 1; in LazyBridge_Finalize()
507 if (!module_globals->single_thread_exit) in LazyBridge_ExitHandler()
[all …]
H A Dmod_rivet.c70 DLLEXPORT mod_rivet_globals* module_globals = NULL; variable
124 if (module_globals->mpm_bridge != NULL) in Rivet_SeekMPMBridge()
292 if (module_globals->rivet_server_init_script != NULL) { in Rivet_RunServerInit()
302 module_globals->rivet_server_init_script, in Rivet_RunServerInit()
366 module_globals->rivet_mpm_bridge = Rivet_SeekMPMBridge(pPool); in Rivet_ServerInit()
367 module_globals->server = server; in Rivet_ServerInit()
460 if (module_globals == NULL) in Rivet_ChildInit()
462 module_globals = Rivet_CreateModuleGlobals(pChild); in Rivet_ChildInit()
464 module_globals->server = server; in Rivet_ChildInit()
498 module_globals->vhosts_count = idx; in Rivet_ChildInit()
[all …]
H A Dworker_prefork_common.c38 extern DLLIMPORT mod_rivet_globals* module_globals;
95 server_rec* root_server = module_globals->server; in Rivet_VirtualHostsInterps()
103 root_interp = MPM_MasterInterp(module_globals->server); in Rivet_VirtualHostsInterps()
137 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, module_globals->server, in Rivet_VirtualHostsInterps()
168 if (module_globals->separate_virtual_interps) in Rivet_VirtualHostsInterps()
171 if (module_globals->separate_channels) in Rivet_VirtualHostsInterps()
211 apr_thread_mutex_lock(module_globals->pool_mutex); in Rivet_VirtualHostsInterps()
213 apr_thread_mutex_unlock(module_globals->pool_mutex); in Rivet_VirtualHostsInterps()
289 ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, module_globals->server, in Rivet_ProcessorCleanup()
314 if ((i > 0) && module_globals->separate_channels) in Rivet_ProcessorCleanup()
[all …]
/dports/lang/python310/Python-3.10.1/Lib/
H A Dlinecache.py26 def getline(filename, lineno, module_globals=None): argument
30 lines = getlines(filename, module_globals)
36 def getlines(filename, module_globals=None): argument
46 return updatecache(filename, module_globals)
80 def updatecache(filename, module_globals=None): argument
99 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__name__' in module_globals:
169 name = module_globals['__name__']
170 if (loader := module_globals.get('__loader__')) is None:
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/
H A Dlinecache.py26 def getline(filename, lineno, module_globals=None): argument
30 lines = getlines(filename, module_globals)
36 def getlines(filename, module_globals=None): argument
46 return updatecache(filename, module_globals)
80 def updatecache(filename, module_globals=None): argument
99 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__name__' in module_globals:
169 name = module_globals['__name__']
170 if (loader := module_globals.get('__loader__')) is None:
[all …]
/dports/devel/ipython5/ipython-5.10.0/IPython/utils/
H A Dulinecache.py18 def getlines(filename, module_globals=None): argument
19 return linecache.getlines(filename, module_globals=module_globals)
22 def getlines(filename, module_globals=None): argument
26 lines = linecache.getlines(filename, module_globals=module_globals)
40 def getline(filename, lineno, module_globals=None): argument
41 lines = getlines(filename, module_globals)
/dports/databases/py-gdbm/Python-3.8.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/lang/python37/Python-3.7.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/lang/python-tools/Python-3.8.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/lang/python39/Python-3.9.9/Lib/
H A Dlinecache.py26 def getline(filename, lineno, module_globals=None): argument
30 lines = getlines(filename, module_globals)
36 def getlines(filename, module_globals=None): argument
46 return updatecache(filename, module_globals)
80 def updatecache(filename, module_globals=None): argument
99 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/databases/py-sqlite3/Python-3.8.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/lang/python38/Python-3.8.12/Lib/
H A Dlinecache.py15 def getline(filename, lineno, module_globals=None): argument
16 lines = getlines(filename, module_globals)
37 def getlines(filename, module_globals=None): argument
47 return updatecache(filename, module_globals)
82 def updatecache(filename, module_globals=None): argument
101 if lazycache(filename, module_globals):
147 def lazycache(filename, module_globals): argument
168 if module_globals and '__loader__' in module_globals:
169 name = module_globals.get('__name__')
170 loader = module_globals['__loader__']
/dports/lang/python-legacy/Python-2.7.18/Lib/
H A Dlinecache.py13 def getline(filename, lineno, module_globals=None): argument
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None): argument
41 return updatecache(filename, module_globals)
72 def updatecache(filename, module_globals=None): argument
89 if module_globals and '__loader__' in module_globals:
90 name = module_globals.get('__name__')
91 loader = module_globals['__loader__']
/dports/lang/python27/Python-2.7.18/Lib/
H A Dlinecache.py13 def getline(filename, lineno, module_globals=None): argument
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None): argument
41 return updatecache(filename, module_globals)
72 def updatecache(filename, module_globals=None): argument
89 if module_globals and '__loader__' in module_globals:
90 name = module_globals.get('__name__')
91 loader = module_globals['__loader__']
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/
H A Dlinecache.py13 def getline(filename, lineno, module_globals=None): argument
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None): argument
40 return updatecache(filename, module_globals)
68 def updatecache(filename, module_globals=None): argument
85 if module_globals and '__loader__' in module_globals:
86 name = module_globals.get('__name__')
87 loader = module_globals['__loader__']
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dlinecache.py13 def getline(filename, lineno, module_globals=None): argument
14 lines = getlines(filename, module_globals)
33 def getlines(filename, module_globals=None): argument
40 return updatecache(filename, module_globals)
68 def updatecache(filename, module_globals=None): argument
85 if module_globals and '__loader__' in module_globals:
86 name = module_globals.get('__name__')
87 loader = module_globals['__loader__']
/dports/devel/py-linecache2/linecache2-1.0.0/linecache2/
H A D__init__.py16 def getline(filename, lineno, module_globals=None): argument
17 lines = getlines(filename, module_globals)
38 def getlines(filename, module_globals=None): argument
45 return updatecache(filename, module_globals)
48 return updatecache(filename, module_globals)
80 def updatecache(filename, module_globals=None): argument
99 if lazycache(filename, module_globals):
145 def lazycache(filename, module_globals): argument
166 if module_globals and '__loader__' in module_globals:
167 name = module_globals.get('__name__')
[all …]
/dports/devel/py-jedi/jedi-0.18.0/jedi/third_party/typeshed/stdlib/2and3/
H A Dlinecache.pyi6 def getline(filename: Text, lineno: int, module_globals: Optional[_ModuleGlobals] = ...) -> str: ...
8 def getlines(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
10 def updatecache(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
12 def lazycache(filename: Text, module_globals: _ModuleGlobals) -> bool: ...
/dports/devel/py-mypy/mypy-0.910/mypy/typeshed/stdlib/
H A Dlinecache.pyi6 def getline(filename: Text, lineno: int, module_globals: Optional[_ModuleGlobals] = ...) -> str: ...
8 def getlines(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
10 def updatecache(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
13 def lazycache(filename: Text, module_globals: _ModuleGlobals) -> bool: ...
/dports/devel/pytype/pytype-2021.9.9/pytype/typeshed/stdlib/
H A Dlinecache.pyi11 def getline(filename: str, lineno: int, module_globals: _ModuleGlobals | None = ...) -> str: ...
13 def getlines(filename: str, module_globals: _ModuleGlobals | None = ...) -> List[str]: ...
15 def updatecache(filename: str, module_globals: _ModuleGlobals | None = ...) -> List[str]: ...
16 def lazycache(filename: str, module_globals: _ModuleGlobals) -> bool: ...
/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/
H A Dtest_servicenow.py22 module_globals = {
35 module_globals["sys.modules"] = {"servicenow_rest": MagicMock()}
36 module_globals["sys.modules"][
39 return {servicenow: module_globals}
/dports/sysutils/py-salt/salt-3004.1/tests/support/pytest/
H A Dloader.py74 module_globals = {dunder: {} for dunder in self.salt_module_dunders}
105 self._patch_module_globals(module, globals_to_mock, module_globals.copy())
151 def _patch_module_globals(self, module, mocks, module_globals):
185 module_globals[key] = mocks[key]
188 log.trace("Patching globals for %s; globals: %s", module, module_globals)
189 patcher = patch.multiple(module, **module_globals)

123456789