Home
last modified time | relevance | path

Searched refs:rivet_interp (Results 1 – 6 of 6) sorted by relevance

/dports/www/mod_rivet/rivet-3.2.0/src/mod_rivet_ng/
H A Dmod_rivet_cache.c104 ct = rivet_interp->cache_free; in RivetCache_Cleanup()
105 while (ct < rivet_interp->cache_size) { in RivetCache_Cleanup()
113 rivet_interp->objCacheList[ct] = NULL; in RivetCache_Cleanup()
118 apr_pool_destroy(rivet_interp->pool); in RivetCache_Cleanup()
126 rivet_interp->cache_free = rivet_interp->cache_size = 0; in RivetCache_Cleanup()
130 rivet_interp->objCacheList = apr_pcalloc (rivet_interp->pool, in RivetCache_Cleanup()
132 rivet_interp->cache_free = rivet_interp->cache_size; in RivetCache_Cleanup()
234 if (rivet_interp->cache_size) { in RivetCache_StoreScript()
236 if (rivet_interp->cache_free) { in RivetCache_StoreScript()
247 rivet_interp->objCacheList[--rivet_interp->cache_free] = in RivetCache_StoreScript()
[all …]
H A Dworker_prefork_common.c150 rivet_thread_interp* rivet_interp; in Rivet_VirtualHostsInterps() local
160 rivet_interp = root_interp; in Rivet_VirtualHostsInterps()
164 Tcl_RegisterChannel(rivet_interp->interp,*rivet_interp->channel); in Rivet_VirtualHostsInterps()
174 Tcl_RegisterChannel(rivet_interp->interp,*rivet_interp->channel); in Rivet_VirtualHostsInterps()
178 rivet_interp->channel = private->channel; in Rivet_VirtualHostsInterps()
183 rivet_interp = Rivet_DuplicateVHostInterp(private->pool,root_interp); in Rivet_VirtualHostsInterps()
189 rivet_interp->scripts = Rivet_RunningScripts (private->pool,rivet_interp->scripts,myrsc); in Rivet_VirtualHostsInterps()
193 RIVET_POKE_INTERP(private,myrsc,rivet_interp); in Rivet_VirtualHostsInterps()
197 if ((rivet_interp->flags & RIVET_INTERP_INITIALIZED) == 0) in Rivet_VirtualHostsInterps()
199 Rivet_PerInterpInit(rivet_interp, private, s, private->pool); in Rivet_VirtualHostsInterps()
[all …]
H A Dmod_rivet_cache.h26 EXTERN void RivetCache_Cleanup (rivet_thread_private* private,rivet_thread_interp* rivet_interp);
32 EXTERN Tcl_HashEntry* RivetCache_EntryLookup (rivet_thread_interp* rivet_interp,char* hashKey);
33 EXTERN Tcl_HashEntry* RivetCache_CreateEntry (rivet_thread_interp* rivet_interp,char* hashKey,int* …
35 EXTERN int RivetCache_StoreScript(rivet_thread_interp* rivet_interp, Tcl_HashEntry* entry, Tcl_Obj*…
H A DrivetCore.c209 rivet_thread_interp* rivet_interp; in TCL_CMD_HEADER() local
307 if (rivet_interp->cache_free > 0) in TCL_CMD_HEADER()
318 rivet_interp->flags |= RIVET_CACHE_FULL; in TCL_CMD_HEADER()
1875 rivet_thread_interp* rivet_interp; in TCL_CMD_HEADER() local
1898 interp = rivet_interp->interp; in TCL_CMD_HEADER()
1923 if (rivet_interp->cache_free > 0) in TCL_CMD_HEADER()
1940 rivet_interp->flags |= RIVET_CACHE_FULL; in TCL_CMD_HEADER()
1947 Tcl_SetObjResult(rivet_interp->interp, script); in TCL_CMD_HEADER()
2062 rivet_thread_interp* rivet_interp; in TCL_CMD_HEADER() local
2068 interp = rivet_interp->interp; in TCL_CMD_HEADER()
[all …]
H A Dmod_rivet_common.c202 void Rivet_ReleasePerDirScripts(rivet_thread_interp* rivet_interp) in Rivet_ReleasePerDirScripts() argument
204 apr_hash_t* ht = rivet_interp->per_dir_scripts; in Rivet_ReleasePerDirScripts()
207 apr_pool_t* p = rivet_interp->pool; in Rivet_ReleasePerDirScripts()
H A Dmod_rivet_common.h41 EXTERN void Rivet_ReleasePerDirScripts(rivet_thread_interp* rivet_interp);