Searched refs:pool (Results 1 - 25 of 504) sorted by last modified time

1234567891011>>

/external/zopfli/src/zopfli/
H A Dkatajainen.c43 Memory pool for nodes.
46 Node* nodes; /* The pool. */
47 Node* next; /* Pointer to a possibly free node in the pool. */
48 int size; /* Size of the memory pool. */
62 Finds a free location in the memory pool. Performs garbage collection if needed.
65 pool: Memory pool to get free node from.
67 static Node* GetFreeNode(Node* (*lists)[2], int maxbits, NodePool* pool) { argument
69 if (pool->next >= &pool
105 BoundaryPM(Node* (*lists)[2], int maxbits, Node* leaves, int numsymbols, NodePool* pool, int index, char final) argument
145 InitLists( NodePool* pool, const Node* leaves, int maxbits, Node* (*lists)[2]) argument
182 NodePool pool; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Drandom.c46 static u32 pool[POOL_WORDS]; variable
88 w ^= pool[pool_pos];
89 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK];
90 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK];
91 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK];
92 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK];
93 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK];
94 pool[pool_pos] = (w >> 3) ^ twist[w & 7];
106 /* First, add hash back to pool to make backtracking more difficult. */
107 hmac_sha1(dummy_key, sizeof(dummy_key), (const u8 *) pool,
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Drandom.c46 static u32 pool[POOL_WORDS]; variable
88 w ^= pool[pool_pos];
89 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK];
90 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK];
91 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK];
92 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK];
93 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK];
94 pool[pool_pos] = (w >> 3) ^ twist[w & 7];
106 /* First, add hash back to pool to make backtracking more difficult. */
107 hmac_sha1(dummy_key, sizeof(dummy_key), (const u8 *) pool,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Drandom.c46 static u32 pool[POOL_WORDS]; variable
88 w ^= pool[pool_pos];
89 w ^= pool[(pool_pos + POOL_TAP1) & POOL_WORDS_MASK];
90 w ^= pool[(pool_pos + POOL_TAP2) & POOL_WORDS_MASK];
91 w ^= pool[(pool_pos + POOL_TAP3) & POOL_WORDS_MASK];
92 w ^= pool[(pool_pos + POOL_TAP4) & POOL_WORDS_MASK];
93 w ^= pool[(pool_pos + POOL_TAP5) & POOL_WORDS_MASK];
94 pool[pool_pos] = (w >> 3) ^ twist[w & 7];
106 /* First, add hash back to pool to make backtracking more difficult. */
107 hmac_sha1(dummy_key, sizeof(dummy_key), (const u8 *) pool,
[all...]
/external/webp/src/utils/
H A Dhuffman_encode.c136 const HuffmanTree* const pool,
139 SetBitDepths(&pool[tree->pool_index_left_], pool, bit_depths, level + 1);
140 SetBitDepths(&pool[tree->pool_index_right_], pool, bit_depths, level + 1);
135 SetBitDepths(const HuffmanTree* const tree, const HuffmanTree* const pool, uint8_t* const bit_depths, int level) argument
/external/valgrind/main/VEX/priv/
H A Dmain_util.c161 const HChar* pool = "???"; local
162 if (private_LibVEX_alloc_first == &temporary[0]) pool = "TEMP";
163 if (private_LibVEX_alloc_first == &permanent[0]) pool = "PERM";
166 pool,
/external/valgrind/main/coregrind/
H A Dm_poolalloc.c2 /*--- A simple pool (memory) allocator implementation. m_poolalloc.c --- */
36 UWord nrRef; /* nr reference to this pool allocator */
38 UWord nPerPool; /* # elems per pool */
39 void* (*alloc)(const HChar*, SizeT); /* pool allocator */
40 const HChar* cc; /* pool allocator's cc */
41 void (*free)(void*); /* pool allocator's free-er */
90 /* The freelist is empty. Allocate a new pool and put all the new
96 UWord* pool; local
99 pool = pa->alloc( pa->cc, pa->elemSzB * pa->nPerPool );
100 vg_assert(pool);
[all...]
/external/valgrind/main/drd/tests/
H A Dtsan_thread_wrappers_pthread.h487 /*! A thread pool that uses ProducerConsumerQueue.
490 ThreadPool pool(n_workers);
491 pool.StartWorkers();
492 pool.Add(NewCallback(func_with_no_args));
493 pool.Add(NewCallback(func_with_one_arg, arg));
494 pool.Add(NewCallback(func_with_two_args, arg1, arg2));
495 ... // more calls to pool.Add()
498 // and then join all threads in the pool.
541 ThreadPool *pool = reinterpret_cast<ThreadPool*>(p); local
543 Closure *closure = reinterpret_cast<Closure*>(pool
[all...]
H A Dtsan_unittest.cpp386 ThreadPool pool(1);
387 pool.StartWorkers();
389 pool.Add(NewCallback(Waker));
432 ThreadPool pool(1);
433 pool.StartWorkers();
435 pool.Add(NewCallback(Waker));
514 ThreadPool pool(1);
515 pool.StartWorkers();
517 pool.Add(NewCallback(Waker));
566 ThreadPool pool(
[all...]
/external/valgrind/main/include/
H A Dvalgrind.h5501 /* Memory pool support. */
5831 /* Create a memory pool. */
5832 #define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed) \
5834 pool, rzB, is_zeroed, 0, 0)
5836 /* Destroy a memory pool. */
5837 #define VALGRIND_DESTROY_MEMPOOL(pool) \
5839 pool, 0, 0, 0, 0)
5841 /* Associate a piece of memory with a memory pool. */
5842 #define VALGRIND_MEMPOOL_ALLOC(pool, addr, size) \
5844 pool, add
[all...]
/external/valgrind/main/memcheck/
H A Dmc_include.h89 /* Memory pool. Nb: first two fields must match core's VgHashNode. */
93 Addr pool; // pool identifier member in struct:_MC_Mempool
94 SizeT rzB; // pool red-zone size
95 Bool is_zeroed; // allocations from this pool are zeroed
96 VgHashTable chunks; // chunks associated with this pool
108 void MC_(create_mempool) ( Addr pool, UInt rzB, Bool is_zeroed );
109 void MC_(destroy_mempool) ( Addr pool );
110 void MC_(mempool_alloc) ( ThreadId tid, Addr pool,
112 void MC_(mempool_free) ( Addr pool, Add
[all...]
H A Dmc_main.c6030 Addr pool = (Addr)arg[1]; local
6034 MC_(create_mempool) ( pool, rzB, is_zeroed );
6039 Addr pool = (Addr)arg[1]; local
6041 MC_(destroy_mempool) ( pool );
6046 Addr pool = (Addr)arg[1]; local
6050 MC_(mempool_alloc) ( tid, pool, addr, size );
6055 Addr pool = (Addr)arg[1]; local
6058 MC_(mempool_free) ( pool, addr );
6063 Addr pool = (Addr)arg[1]; local
6067 MC_(mempool_trim) ( pool, add
6080 Addr pool = (Addr)arg[1]; local
6090 Addr pool = (Addr)arg[1]; local
[all...]
H A Dmc_malloc_wrappers.c72 MC_Mempool::pool. */
232 /* If a user builds a pool from a malloc-ed superblock
690 /*--- Memory pool stuff. ---*/
700 void MC_(create_mempool)(Addr pool, UInt rzB, Bool is_zeroed) argument
706 pool, rzB, is_zeroed);
711 mp = VG_(HT_lookup)(MC_(mempool_list), (UWord)pool);
713 VG_(tool_panic)("MC_(create_mempool): duplicate pool creation");
717 mp->pool = pool;
735 void MC_(destroy_mempool)(Addr pool) argument
854 mempool_alloc(ThreadId tid, Addr pool, Addr addr, SizeT szB) argument
883 mempool_free(Addr pool, Addr addr) argument
918 mempool_trim(Addr pool, Addr addr, SizeT szB) argument
1054 mempool_change(Addr pool, Addr addrA, Addr addrB, SizeT szB) argument
1087 mempool_exists(Addr pool) argument
[all...]
/external/valgrind/main/memcheck/tests/
H A Dleak-pool.c15 struct pool struct
23 allocate_from_pool(struct pool *p, size_t n)
32 struct pool *
35 struct pool *p = malloc(sizeof(struct pool));
100 struct pool *p = allocate_pool();
H A Dmempool.c30 } pool; typedef in typeref:struct:_pool
32 pool *make_pool()
34 pool *p;
37 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC,
43 p = (pool *)malloc(sizeof(pool));
53 void push(pool *p)
70 void pop(pool *p)
83 void destroy_pool(pool *
[all...]
H A Dmempool2.c33 } pool; typedef in typeref:struct:_pool
35 pool *make_pool( int use_mmap )
37 pool *p;
40 p = (pool *)mmap(0, sizeof(pool), PROT_READ|PROT_WRITE|PROT_EXEC,
46 p = (pool *)malloc(sizeof(pool));
56 void push(pool *p, int use_mmap )
73 void pop(pool *p, int use_mmap)
86 void destroy_pool(pool *
[all...]
H A Dmempool2.stderr.exp2 ------ out of range reads in malloc-backed pool ------
21 ------ out of range reads in mmap-backed pool ------
40 ------ read free in malloc-backed pool ------
42 Illegal memory pool address
52 ------ read free in mmap-backed pool ------
54 Illegal memory pool address
60 ------ double free in malloc-backed pool ------
62 Illegal memory pool address
72 ------ double free in mmap-backed pool ------
74 Illegal memory pool addres
[all...]
H A Dunit_oset.stdout.exp1 -- start single oset, no pool allocator ----------------
999 -- end single oset, no pool allocator ----------------
1000 -- start single oset, pool allocator ----------------
1998 -- end single oset, pool allocator ----------------
1999 -- start oset, shared pool ----------------
2997 -- end oset, shared pool ----------------
2998 -- start cloned oset, shared pool ----------------
3996 -- end cloned oset, shared pool ----------------
/external/tinyxml2/
H A Dtinyxml2.h158 Has a small initial memory pool, so that low or no usage will not
167 mem = pool;
173 if ( mem != pool ) {
214 if ( mem != pool ) delete [] mem;
221 T pool[INIT]; member in class:tinyxml2::DynArray
228 Parent virtual class of a pool for fast allocation
/external/tcpdump/
H A Dprint-sflow.c96 u_int8_t pool[4]; member in struct:sflow_flow_sample_t
109 u_int8_t pool[4]; member in struct:sflow_expanded_flow_sample_t
767 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, input %u output %u records %u",
772 EXTRACT_32BITS(sflow_flow_sample->pool),
797 printf(" seqnum %u, type %u, idx %u, rate %u, pool %u, drops %u, records %u",
802 EXTRACT_32BITS(sflow_expanded_flow_sample->pool),
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_voicemgt.c192 * Updates the voice pool count when a voice changes state
198 EAS_INT pool; local
207 pool = pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool;
212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool;
215 pSynth->poolCount[pool]++;
218 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IncVoicePoolCount: Synth=%d pool=%d\n", pSynth->vSynthNum, pool); */ }
225 * Updates the voice pool coun
231 EAS_INT pool; local
715 EAS_INT pool; local
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_synth.h229 EAS_U8 pool; /* SPMIDI channel voice pool */ member in struct:s_synth_channel_tag
H A Deas_voicemgt.c192 * Updates the voice pool count when a voice changes state
198 EAS_INT pool; local
207 pool = pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool;
212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool;
215 pSynth->poolCount[pool]++;
218 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IncVoicePoolCount: Synth=%d pool=%d\n", pSynth->vSynthNum, pool); */ }
225 * Updates the voice pool coun
231 EAS_INT pool; local
715 EAS_INT pool; local
[all...]
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_synth.h229 EAS_U8 pool; /* SPMIDI channel voice pool */ member in struct:s_synth_channel_tag
H A Deas_voicemgt.c192 * Updates the voice pool count when a voice changes state
198 EAS_INT pool; local
207 pool = pSynth->channels[GET_CHANNEL(pVoice->nextChannel)].pool;
212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool;
215 pSynth->poolCount[pool]++;
218 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IncVoicePoolCount: Synth=%d pool=%d\n", pSynth->vSynthNum, pool); */ }
225 * Updates the voice pool coun
231 EAS_INT pool; local
715 EAS_INT pool; local
[all...]

Completed in 421 milliseconds

1234567891011>>