Searched refs:pool (Results 1 - 25 of 789) sorted by relevance

1234567891011>>

/macosx-10.10/apr-32/apr/apr/misc/netware/
H A Dcharset.c25 APR_DECLARE(const char*) apr_os_default_encoding (apr_pool_t *pool) argument
27 return apr_pstrdup(pool, "CP1252");
31 APR_DECLARE(const char*) apr_os_locale_encoding (apr_pool_t *pool) argument
33 return apr_os_default_encoding(pool);
/macosx-10.10/apr-32/apr/apr/include/arch/os2/
H A Dapr_arch_thread_cond.h24 apr_pool_t *pool; member in struct:apr_thread_cond_t
H A Dapr_arch_thread_mutex.h24 apr_pool_t *pool; member in struct:apr_thread_mutex_t
/macosx-10.10/ntp-92/lib/isc/
H A Dtaskpool.c47 isc_taskpool_t *pool; local
51 pool = isc_mem_get(mctx, sizeof(*pool));
52 if (pool == NULL)
54 pool->mctx = mctx;
55 pool->ntasks = ntasks;
56 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
57 if (pool->tasks == NULL) {
58 isc_mem_put(mctx, pool, sizeof(*pool));
75 isc_taskpool_gettask(isc_taskpool_t *pool, unsigned int hash, isc_task_t **targetp) argument
84 isc_taskpool_t *pool = *poolp; local
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/
H A Dtaskpool.c49 isc_taskpool_t *pool; local
52 pool = isc_mem_get(mctx, sizeof(*pool));
53 if (pool == NULL)
55 pool->mctx = mctx;
56 pool->ntasks = ntasks;
57 pool->quantum = quantum;
58 pool->tmgr = tmgr;
59 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
60 if (pool
77 isc_taskpool_t *pool = NULL; local
102 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) argument
109 isc_taskpool_size(isc_taskpool_t *pool) argument
119 isc_taskpool_t *pool; local
164 isc_taskpool_t *pool = *poolp; local
[all...]
/macosx-10.10/rsync-45/rsync/lib/
H A Dpool_alloc.c50 struct alloc_pool *pool; local
52 if (!(pool = (struct alloc_pool*) malloc(sizeof (struct alloc_pool))))
53 return pool;
54 memset(pool, 0, sizeof (struct alloc_pool));
56 pool->size = size /* round extent size to min alignment reqs */
59 if (pool->flags & POOL_INTERN) {
60 pool->size -= sizeof (struct pool_extent);
63 pool->quantum = quantum ? quantum : MINALIGN;
64 pool->bomb = bomb;
65 pool
73 struct alloc_pool *pool = (struct alloc_pool *) p; local
97 struct alloc_pool *pool = (struct alloc_pool *) p; local
167 struct alloc_pool *pool = (struct alloc_pool *) p; local
249 struct alloc_pool *pool = (struct alloc_pool *) p; local
[all...]
H A Dpool_alloc.h11 void pool_destroy(alloc_pool_t pool);
12 void *pool_alloc(alloc_pool_t pool, size_t size, char *bomb);
13 void pool_free(alloc_pool_t pool, size_t size, void *addr);
15 #define pool_talloc(pool, type, count, bomb) \
16 ((type *)pool_alloc(pool, sizeof(type) * count, bomb))
18 #define pool_tfree(pool, type, count, addr) \
19 (pool_free(pool, sizeof(type) * count, addr))
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/libldap_r/
H A Dtpool.c112 /* The pool is finishing, waiting for its threads to close.
125 /* Max number of threads in pool, or 0 for default (LDAP_MAXTHR) */
142 # define SET_VARY_OPEN_COUNT(pool) \
143 ((pool)->ltp_vary_open_count = \
144 (pool)->ltp_pause ? 1 : \
145 (pool)->ltp_finishing ? -1 : \
146 ((pool)->ltp_max_count ? (pool)->ltp_max_count : LDAP_MAXTHR) \
147 - (pool)->ltp_open_count)
160 static void *ldap_int_thread_pool_wrapper( void *pool );
178 struct ldap_int_thread_pool_s *pool; local
196 ldap_pvt_thread_pool_t pool; local
255 struct ldap_int_thread_pool_s *pool; local
362 struct ldap_int_thread_pool_s *pool; local
394 struct ldap_int_thread_pool_s *pool; local
423 struct ldap_int_thread_pool_s *pool; local
512 struct ldap_int_thread_pool_s *pool; local
544 struct ldap_int_thread_pool_s *pool, *pptr; local
606 struct ldap_int_thread_pool_s *pool = xpool; local
717 struct ldap_int_thread_pool_s *pool; local
788 struct ldap_int_thread_pool_s *pool; local
[all...]
/macosx-10.10/apr-32/apr/apr/include/arch/netware/
H A Dapr_arch_global_mutex.h24 apr_pool_t *pool; member in struct:apr_global_mutex_t
H A Dapr_arch_proc_mutex.h24 apr_pool_t *pool; member in struct:apr_proc_mutex_t
H A Dapr_arch_thread_cond.h24 apr_pool_t *pool; member in struct:apr_thread_cond_t
H A Dapr_arch_thread_mutex.h24 apr_pool_t *pool; member in struct:apr_thread_mutex_t
/macosx-10.10/apr-32/apr/apr/include/arch/win32/
H A Dapr_arch_proc_mutex.h23 apr_pool_t *pool; member in struct:apr_proc_mutex_t
/macosx-10.10/Security-57031.1.35/Security/include/security_asn1/
H A Dplarena.c72 #define COUNT(pool,what) (pool)->stats.what++
74 #define COUNT(pool,what) /* nothing */
80 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align)
88 pool->mask = PR_BITMASK(PR_CeilingLog2(align));
89 pool->first.next = NULL;
90 pool->first.base = pool->first.avail = pool->first.limit =
91 (PRUword)PL_ARENA_ALIGN(pool,
79 PL_InitArenaPool( PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) argument
122 PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument
177 PL_ArenaGrow( PLArenaPool *pool, void *p, PRUint32 origSize, PRUint32 incr) argument
243 FreeArenaList(PLArenaPool *pool, PLArena *head, PRBool reallyFree) argument
262 PL_ArenaRelease(PLArenaPool *pool, char *mark) argument
277 PL_FreeArenaPool(PLArenaPool *pool) argument
283 PL_FinishArenaPool(PLArenaPool *pool) argument
312 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument
321 PL_ArenaCountInplaceGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
327 PL_ArenaCountGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
339 PL_ArenaCountRelease(PLArenaPool *pool, char *mark) argument
344 PL_ArenaCountRetract(PLArenaPool *pool, char *mark) argument
[all...]
H A Dplarenas.h49 ** Allocate an arena pool as specified by the parameters.
64 ** Destroy an arena pool previously allocated by PL_AllocArenaPool().
70 PR_EXTERN(PRStatus) PL_DestroyArenaPool(PLArenaPool *pool, PRBool checkEmpty);
75 ** Initialize an arena pool with the given name for debugging and metering,
79 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align);
87 ** Free the arenas in pool. The user may continue to allocate from pool
89 ** again unless PL_FinishArenaPool(pool) has been called.
91 PR_EXTERN(void) PL_FreeArenaPool(PLArenaPool *pool); variable
94 ** Free the arenas in pool an
96 PR_EXTERN(void) PL_FinishArenaPool(PLArenaPool *pool); variable
101 PR_EXTERN(void) PL_CompactArenaPool(PLArenaPool *pool); variable
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/Security/
H A Dplarena.c72 #define COUNT(pool,what) (pool)->stats.what++
74 #define COUNT(pool,what) /* nothing */
80 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align)
88 pool->mask = PR_BITMASK(PR_CeilingLog2(align));
89 pool->first.next = NULL;
90 pool->first.base = pool->first.avail = pool->first.limit =
91 (PRUword)PL_ARENA_ALIGN(pool,
79 PL_InitArenaPool( PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) argument
122 PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument
177 PL_ArenaGrow( PLArenaPool *pool, void *p, PRUint32 origSize, PRUint32 incr) argument
243 FreeArenaList(PLArenaPool *pool, PLArena *head, PRBool reallyFree) argument
262 PL_ArenaRelease(PLArenaPool *pool, char *mark) argument
277 PL_FreeArenaPool(PLArenaPool *pool) argument
283 PL_FinishArenaPool(PLArenaPool *pool) argument
312 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument
321 PL_ArenaCountInplaceGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
327 PL_ArenaCountGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
339 PL_ArenaCountRelease(PLArenaPool *pool, char *mark) argument
344 PL_ArenaCountRetract(PLArenaPool *pool, char *mark) argument
[all...]
H A Dplarenas.h49 ** Allocate an arena pool as specified by the parameters.
64 ** Destroy an arena pool previously allocated by PL_AllocArenaPool().
70 PR_EXTERN(PRStatus) PL_DestroyArenaPool(PLArenaPool *pool, PRBool checkEmpty);
75 ** Initialize an arena pool with the given name for debugging and metering,
79 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align);
87 ** Free the arenas in pool. The user may continue to allocate from pool
89 ** again unless PL_FinishArenaPool(pool) has been called.
91 PR_EXTERN(void) PL_FreeArenaPool(PLArenaPool *pool); variable
94 ** Free the arenas in pool an
96 PR_EXTERN(void) PL_FinishArenaPool(PLArenaPool *pool); variable
101 PR_EXTERN(void) PL_CompactArenaPool(PLArenaPool *pool); variable
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/lib/
H A Dplarena.c72 #define COUNT(pool,what) (pool)->stats.what++
74 #define COUNT(pool,what) /* nothing */
80 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align)
88 pool->mask = PR_BITMASK(PR_CeilingLog2(align));
89 pool->first.next = NULL;
90 pool->first.base = pool->first.avail = pool->first.limit =
91 (PRUword)PL_ARENA_ALIGN(pool,
79 PL_InitArenaPool( PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) argument
122 PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument
177 PL_ArenaGrow( PLArenaPool *pool, void *p, PRUint32 origSize, PRUint32 incr) argument
243 FreeArenaList(PLArenaPool *pool, PLArena *head, PRBool reallyFree) argument
262 PL_ArenaRelease(PLArenaPool *pool, char *mark) argument
277 PL_FreeArenaPool(PLArenaPool *pool) argument
283 PL_FinishArenaPool(PLArenaPool *pool) argument
312 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument
321 PL_ArenaCountInplaceGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
327 PL_ArenaCountGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
339 PL_ArenaCountRelease(PLArenaPool *pool, char *mark) argument
344 PL_ArenaCountRetract(PLArenaPool *pool, char *mark) argument
[all...]
H A Dplarenas.h49 ** Allocate an arena pool as specified by the parameters.
64 ** Destroy an arena pool previously allocated by PL_AllocArenaPool().
70 PR_EXTERN(PRStatus) PL_DestroyArenaPool(PLArenaPool *pool, PRBool checkEmpty);
75 ** Initialize an arena pool with the given name for debugging and metering,
79 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align);
87 ** Free the arenas in pool. The user may continue to allocate from pool
89 ** again unless PL_FinishArenaPool(pool) has been called.
91 PR_EXTERN(void) PL_FreeArenaPool(PLArenaPool *pool); variable
94 ** Free the arenas in pool an
96 PR_EXTERN(void) PL_FinishArenaPool(PLArenaPool *pool); variable
101 PR_EXTERN(void) PL_CompactArenaPool(PLArenaPool *pool); variable
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_asn1/security_asn1/
H A Dplarena.c72 #define COUNT(pool,what) (pool)->stats.what++
74 #define COUNT(pool,what) /* nothing */
80 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align)
88 pool->mask = PR_BITMASK(PR_CeilingLog2(align));
89 pool->first.next = NULL;
90 pool->first.base = pool->first.avail = pool->first.limit =
91 (PRUword)PL_ARENA_ALIGN(pool,
79 PL_InitArenaPool( PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) argument
122 PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument
177 PL_ArenaGrow( PLArenaPool *pool, void *p, PRUint32 origSize, PRUint32 incr) argument
243 FreeArenaList(PLArenaPool *pool, PLArena *head, PRBool reallyFree) argument
262 PL_ArenaRelease(PLArenaPool *pool, char *mark) argument
277 PL_FreeArenaPool(PLArenaPool *pool) argument
283 PL_FinishArenaPool(PLArenaPool *pool) argument
312 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument
321 PL_ArenaCountInplaceGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
327 PL_ArenaCountGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument
339 PL_ArenaCountRelease(PLArenaPool *pool, char *mark) argument
344 PL_ArenaCountRetract(PLArenaPool *pool, char *mark) argument
[all...]
H A Dplarenas.h49 ** Allocate an arena pool as specified by the parameters.
64 ** Destroy an arena pool previously allocated by PL_AllocArenaPool().
70 PR_EXTERN(PRStatus) PL_DestroyArenaPool(PLArenaPool *pool, PRBool checkEmpty);
75 ** Initialize an arena pool with the given name for debugging and metering,
79 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align);
87 ** Free the arenas in pool. The user may continue to allocate from pool
89 ** again unless PL_FinishArenaPool(pool) has been called.
91 PR_EXTERN(void) PL_FreeArenaPool(PLArenaPool *pool); variable
94 ** Free the arenas in pool an
96 PR_EXTERN(void) PL_FinishArenaPool(PLArenaPool *pool); variable
101 PR_EXTERN(void) PL_CompactArenaPool(PLArenaPool *pool); variable
[all...]
/macosx-10.10/apr-32/apr-util/apr-util/ldap/
H A Dapr_ldap_stub.c34 static apr_status_t load_ldap(apr_pool_t *pool) argument
41 apu_dso_init(pool);
53 rv = apu_dso_load(NULL, &symbol, modname, "apr__ldap_fns", pool);
62 #define LOAD_LDAP_STUB(pool, failres) \
63 if (!lfn && (load_ldap(pool) != APR_SUCCESS)) \
66 APU_DECLARE_LDAP(int) apr_ldap_info(apr_pool_t *pool, argument
69 LOAD_LDAP_STUB(pool, -1);
70 return lfn->info(pool, result_err);
73 APU_DECLARE_LDAP(int) apr_ldap_init(apr_pool_t *pool, argument
80 LOAD_LDAP_STUB(pool,
84 apr_ldap_ssl_init(apr_pool_t *pool, const char *cert_auth_file, int cert_file_type, apr_ldap_err_t **result_err) argument
100 apr_ldap_get_option(apr_pool_t *pool, LDAP *ldap, int option, void *outvalue, apr_ldap_err_t **result_err) argument
110 apr_ldap_set_option(apr_pool_t *pool, LDAP *ldap, int option, const void *invalue, apr_ldap_err_t **result_err) argument
[all...]
/macosx-10.10/ruby-106/ruby/test/rake/
H A Dtest_rake_thread_pool.rb9 pool = ThreadPool.new(0)
10 f = pool.future{Thread.current}
11 pool.join
16 pool = ThreadPool.new(1)
17 f = pool.future{Thread.current}
18 pool.join
23 pool = ThreadPool.new(2)
24 threads = 2.times.collect{ pool.future{ sleep 0.1; Thread.current } }.each{|f|f.value}
32 pool = ThreadPool.new(2)
36 pool
[all...]
/macosx-10.10/apr-32/apr/apr/include/arch/unix/
H A Dapr_arch_thread_rwlock.h35 apr_pool_t *pool; member in struct:apr_thread_rwlock_t
42 apr_pool_t *pool; member in struct:apr_thread_rwlock_t
/macosx-10.10/apr-32/apr/apr/include/arch/beos/
H A Dapr_arch_proc_mutex.h28 apr_pool_t *pool; member in struct:apr_proc_mutex_t

Completed in 235 milliseconds

1234567891011>>