Home
last modified time | relevance | path

Searched refs:NBUCKETS (Results 1 - 3 of 3) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Didxset.c35 #define NBUCKETS 127 macro
57 #define BY_INDEX(i) (BY_DATA(i) + NBUCKETS)
86 s = pa_xmalloc0(PA_ALIGN(sizeof(pa_idxset)) + NBUCKETS*2*sizeof(struct idxset_entry*)); in pa_idxset_new()
120 unsigned hash = s->hash_func(e->data) % NBUCKETS; in remove_entry()
131 BY_INDEX(s)[e->idx % NBUCKETS] = e->index_next; in remove_entry()
150 pa_assert(hash < NBUCKETS); in data_scan()
163 pa_assert(hash < NBUCKETS); in index_scan()
178 hash = s->hash_func(p) % NBUCKETS; in pa_idxset_put()
200 hash = e->idx % NBUCKETS; in pa_idxset_put()
236 hash = idx % NBUCKETS; in pa_idxset_get_by_index()
[all...]
H A Dhashmap.c33 #define NBUCKETS 127 macro
61 h = pa_xmalloc0(PA_ALIGN(sizeof(pa_hashmap)) + NBUCKETS*sizeof(struct hashmap_entry*)); in pa_hashmap_new_full()
101 unsigned hash = h->hash_func(e->key) % NBUCKETS; in remove_entry()
125 pa_assert(hash < NBUCKETS); in hash_scan()
140 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_put()
182 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_get()
197 hash = h->hash_func(key) % NBUCKETS; in pa_hashmap_remove()
/third_party/ffmpeg/libavcodec/
H A Ddnxhdenc.c1140 #define NBUCKETS (1 << BUCKET_BITS) macro
1145 value &= NBUCKETS - 1; in get_bucket()
1146 return NBUCKETS - 1 - value; in get_bucket()
1150 int buckets[RADIX_PASSES][NBUCKETS]) in radix_count()
1153 memset(buckets, 0, sizeof(buckets[0][0]) * RADIX_PASSES * NBUCKETS); in radix_count()
1164 for (i = NBUCKETS - 1; i >= 0; i--) in radix_count()
1171 int size, int buckets[NBUCKETS], int pass) in radix_sort_pass()
1184 int buckets[RADIX_PASSES][NBUCKETS]; in radix_sort()
1188 if (buckets[2][NBUCKETS - 1] || buckets[3][NBUCKETS in radix_sort()
[all...]

Completed in 4 milliseconds