Searched refs:bucket (Results 1 - 25 of 169) sorted by relevance

1234567

/external/libdrm/
H A Dxf86drmHash.c127 HashBucketPtr bucket; local
134 for (bucket = table->buckets[i]; bucket;) {
135 next = bucket->next;
136 drmFree(bucket);
137 bucket = next;
144 /* Find the bucket and organize the list so that this bucket is at the
152 HashBucketPtr bucket; local
156 for (bucket
178 HashBucketPtr bucket; local
191 HashBucketPtr bucket; local
214 HashBucketPtr bucket; local
[all...]
/external/libvpx/libvpx/
H A Drate_hist.c33 struct hist_bucket bucket[RATE_BINS]; member in struct:rate_hist
62 hist->bucket[i].low = INT_MAX;
63 hist->bucket[i].high = 0;
64 hist->bucket[i].count = 0;
118 if (hist->bucket[idx].low > avg_bitrate)
119 hist->bucket[idx].low = (int)avg_bitrate;
120 if (hist->bucket[idx].high < avg_bitrate)
121 hist->bucket[idx].high = (int)avg_bitrate;
122 hist->bucket[idx].count++;
126 static int merge_hist_buckets(struct hist_bucket *bucket, in argument
194 show_histogram(const struct hist_bucket *bucket, int buckets, int total, int scale) argument
254 struct hist_bucket bucket[64]; local
[all...]
/external/kmod/shared/
H A Dhash.c69 struct hash_bucket *bucket, *bucket_end; local
74 bucket = hash->buckets;
75 bucket_end = bucket + hash->n_buckets;
76 for (; bucket < bucket_end; bucket++) {
79 entry = bucket->entries;
80 entry_end = entry + bucket->used;
84 free(bucket->entries);
151 struct hash_bucket *bucket = hash->buckets + pos; local
154 if (bucket
194 struct hash_bucket *bucket = hash->buckets + pos; local
239 const struct hash_bucket *bucket = hash->buckets + pos; local
258 struct hash_bucket *bucket = hash->buckets + pos; local
[all...]
/external/mesa3d/src/glx/
H A Dglxhash.c179 __glxHashBucketPtr bucket; local
187 for (bucket = table->buckets[i]; bucket;) {
188 next = bucket->next;
189 HASH_FREE(bucket);
190 bucket = next;
197 /* Find the bucket and organize the list so that this bucket is at the
205 __glxHashBucketPtr bucket; local
210 for (bucket
234 __glxHashBucketPtr bucket; local
250 __glxHashBucketPtr bucket; local
277 __glxHashBucketPtr bucket; local
337 count_entries(__glxHashBucketPtr bucket) argument
359 __glxHashBucketPtr bucket; local
[all...]
/external/parameter-framework/asio/include/asio/detail/
H A Dhash_map.hpp103 size_t bucket = calculate_hash_value(k) % num_buckets_; local
104 iterator it = buckets_[bucket].first;
107 iterator end_it = buckets_[bucket].last;
124 size_t bucket = calculate_hash_value(k) % num_buckets_; local
125 const_iterator it = buckets_[bucket].first;
128 const_iterator end_it = buckets_[bucket].last;
145 size_t bucket = calculate_hash_value(v.first) % num_buckets_; local
146 iterator it = buckets_[bucket].first;
149 buckets_[bucket].first = buckets_[bucket]
173 size_t bucket = calculate_hash_value(it->first) % num_buckets_; local
250 std::size_t bucket = calculate_hash_value(iter->first) % num_buckets_; local
[all...]
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dhash_map.hpp103 size_t bucket = calculate_hash_value(k) % num_buckets_; local
104 iterator it = buckets_[bucket].first;
107 iterator end_it = buckets_[bucket].last;
124 size_t bucket = calculate_hash_value(k) % num_buckets_; local
125 const_iterator it = buckets_[bucket].first;
128 const_iterator end_it = buckets_[bucket].last;
145 size_t bucket = calculate_hash_value(v.first) % num_buckets_; local
146 iterator it = buckets_[bucket].first;
149 buckets_[bucket].first = buckets_[bucket]
173 size_t bucket = calculate_hash_value(it->first) % num_buckets_; local
250 std::size_t bucket = calculate_hash_value(iter->first) % num_buckets_; local
[all...]
/external/pdfium/third_party/base/allocator/partition_allocator/
H A Dpartition_alloc.cc44 "generic smallest bucket");
63 // This works out reasonably for the current bucket sizes of the generic
138 static void PartitionBucketInitBase(PartitionBucket* bucket,
140 bucket->active_pages_head = &PartitionRootGeneric::gSeedPage;
141 bucket->empty_pages_head = 0;
142 bucket->decommitted_pages_head = 0;
143 bucket->num_full_pages = 0;
144 bucket->num_system_pages_per_slot_span =
145 PartitionBucketNumSystemPages(bucket->slot_size);
162 PartitionBucket* bucket
[all...]
/external/libdrm/etnaviv/
H A Detnaviv_bo_cache.c82 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; local
85 while (!LIST_IS_EMPTY(&bucket->list)) {
86 bo = LIST_ENTRY(struct etna_bo, bucket->list.next, list);
105 * way to the correct bucket size rather than looping..
108 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; local
109 if (bucket->size >= size) {
110 return bucket;
125 static struct etna_bo *find_in_bucket(struct etna_bo_bucket *bucket, uint32_t flags) argument
130 while (!LIST_IS_EMPTY(&bucket->list)) {
131 bo = LIST_ENTRY(struct etna_bo, bucket
154 struct etna_bo_bucket *bucket; local
175 struct etna_bo_bucket *bucket = get_bucket(cache, bo->size); local
[all...]
/external/libdrm/freedreno/
H A Dfreedreno_bo_cache.c53 * @coarse: if true, only power-of-two bucket sizes, otherwise
95 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; local
98 while (!LIST_IS_EMPTY(&bucket->list)) {
99 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list);
118 * way to the correct bucket size rather than looping..
121 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; local
122 if (bucket->size >= size) {
123 return bucket;
138 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags) argument
150 if (!LIST_IS_EMPTY(&bucket
169 struct fd_bo_bucket *bucket; local
199 struct fd_bo_bucket *bucket = get_bucket(cache, bo->size); local
[all...]
/external/brotli/c/enc/
H A Dprefix.h36 size_t bucket = Log2FloorNonZero(dist) - 1; local
39 size_t prefix = (dist >> bucket) & 1;
40 size_t offset = (2 + prefix) << bucket;
41 size_t nbits = bucket - postfix_bits;
/external/libmojo/third_party/jinja2/
H A Dbccache.py73 """Resets the bucket (unloads the bytecode)."""
93 raise TypeError('can\'t write empty bucket')
123 def load_bytecode(self, bucket):
124 filename = path.join(self.directory, bucket.key)
127 bucket.load_bytecode(f)
129 def dump_bytecode(self, bucket):
130 filename = path.join(self.directory, bucket.key)
132 bucket.write_bytecode(f)
138 def load_bytecode(self, bucket):
140 bucket
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_mm.c36 struct mm_bucket bucket[MM_NUM_BUCKETS]; member in struct:nouveau_mman
97 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER];
167 struct mm_bucket *bucket; local
172 bucket = mm_bucket_by_size(cache, size);
173 if (!bucket) {
184 if (!LIST_IS_EMPTY(&bucket->used)) {
185 slab = LIST_ENTRY(struct mm_slab, bucket->used.next, head);
187 if (LIST_IS_EMPTY(&bucket->free)) {
190 slab = LIST_ENTRY(struct mm_slab, bucket->free.next, head);
193 LIST_ADD(&slab->head, &bucket
220 struct mm_bucket *bucket = mm_bucket_by_order(slab->cache, slab->order); local
[all...]
/external/libcxx/test/std/containers/unord/unord.multiset/
H A Dlocal_iterators.pass.cpp45 C::size_type b = c.bucket(0);
50 b = c.bucket(1);
58 b = c.bucket(2);
66 b = c.bucket(3);
72 b = c.bucket(4);
78 b = c.bucket(5);
83 b = c.bucket(6);
103 C::size_type b = c.bucket(0);
108 b = c.bucket(1);
116 b = c.bucket(
[all...]
H A Dlocal_iterators.fail.cpp45 C::size_type b = c.bucket(0);
50 b = c.bucket(1);
59 b = c.bucket(2);
67 b = c.bucket(3);
73 b = c.bucket(4);
79 b = c.bucket(5);
84 b = c.bucket(6);
104 C::size_type b = c.bucket(0);
109 b = c.bucket(1);
117 b = c.bucket(
[all...]
/external/libcxx/test/std/containers/unord/unord.set/
H A Dlocal_iterators.fail.cpp43 C::size_type b = c.bucket(0);
48 b = c.bucket(1);
57 b = c.bucket(2);
65 b = c.bucket(3);
71 b = c.bucket(4);
77 b = c.bucket(5);
82 b = c.bucket(6);
102 C::size_type b = c.bucket(0);
107 b = c.bucket(1);
115 b = c.bucket(
[all...]
H A Dlocal_iterators.pass.cpp45 C::size_type b = c.bucket(0);
50 b = c.bucket(1);
56 b = c.bucket(2);
62 b = c.bucket(3);
68 b = c.bucket(4);
89 C::size_type b = c.bucket(0);
94 b = c.bucket(1);
100 b = c.bucket(2);
106 b = c.bucket(3);
112 b = c.bucket(
[all...]
/external/libchrome/base/trace_event/
H A Dheap_profiler_heap_dump_writer.cc30 // The pairs are grouped into |Bucket|s. A bucket is a group of (context, size)
33 // bucket that represents the entire heap. Then this bucket is recursively
34 // broken down into smaller buckets. Each bucket keeps track of whether further
63 // elements in this bucket, the stack frames 0 up to (but not including) the
67 // When true, the type name for all elements in this bucket must be equal.
76 // Groups the allocations in the bucket by |break_by|. The buckets in the
79 std::vector<Bucket> GetSubbuckets(const Bucket& bucket, argument
85 for (const auto& context_and_metrics : bucket.metrics_by_context) {
89 const StackFrame* cursor = begin + bucket
131 BreakDownBy(const Bucket& bucket, BreakDownMode break_by, size_t min_size_bytes) argument
192 AddEntryForBucket(const Bucket& bucket) argument
220 BreakDown(const Bucket& bucket) argument
[all...]
/external/autotest/server/cros/
H A Dgsutil_wrapper.py11 def copy_private_bucket(host, bucket, filename, destination, timeout_s=30):
20 @param bucket: path to name of gs bucket.
21 @param filename: string, name of the file or dir in 'bucket' to copy.
27 assert (bucket.startswith('gs://'))
30 src = os.path.join(bucket, filename)
/external/autotest/client/site_tests/firmware_TouchMTB/
H A Dcros_gs.py57 self.bucket = GS_BUCKET_PUBLIC if boto == PUBLIC_BOTO else GS_BUCKET
58 bucket = self.bucket
62 self.ls_cmd = '{0} {1} {2}/%s'.format(_cmd_prefix, 'ls', bucket)
64 self.upload_cmd = upload_cmd_str.format(_cmd_prefix, 'cp', bucket)
66 self.download_cmd = download_cmd_str.format(_cmd_prefix, 'cp', bucket)
67 self.rm_cmd = '{0} {1} {2}/%s'.format(_cmd_prefix, 'rm', bucket)
70 """ls the files in the selected bucket."""
74 """Upload the data to the chosen bucket."""
81 print msg % os.path.join(self.bucket, bucket_di
[all...]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Duploader_unittest.py15 self.bucket = 'cloud_storage_bucket'
24 self.bucket, None, self.local_path)
26 self.bucket, self.remote_path, None)
31 self.bucket, self.remote_path, self.local_path)
35 self.bucket, self.remote_path, self.local_path)
36 expected_bucket = self.bucket
47 self.bucket, self.remote_path, self.local_path)
49 self.bucket, self.remote_path, self.local_path)
68 self.bucket, self.remote_path, self.local_path)
74 self.bucket, new_remote_pat
[all...]
/external/libcxx/test/std/containers/unord/unord.multimap/
H A Dlocal_iterators.fail.cpp46 C::size_type b = c.bucket(0);
51 b = c.bucket(1);
62 b = c.bucket(2);
72 b = c.bucket(3);
79 b = c.bucket(4);
86 b = c.bucket(5);
91 b = c.bucket(6);
111 C::size_type b = c.bucket(0);
116 b = c.bucket(1);
126 b = c.bucket(
[all...]
/external/libcxx/test/std/containers/unord/unord.map/
H A Dlocal_iterators.pass.cpp46 C::size_type b = c.bucket(0);
51 b = c.bucket(1);
58 b = c.bucket(2);
65 b = c.bucket(3);
72 b = c.bucket(4);
94 C::size_type b = c.bucket(0);
99 b = c.bucket(1);
106 b = c.bucket(2);
113 b = c.bucket(3);
120 b = c.bucket(
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
H A Drdtsc_buckets.cpp79 void BucketManager::PrintBucket(FILE* f, UINT level, uint64_t threadCycles, uint64_t parentCycles, const BUCKET& bucket) argument
93 // compute percent of total cycles used by this bucket
94 float percentTotal = (float)((double)bucket.elapsed / (double)threadCycles * 100.0);
96 // compute percent of parent cycles used by this bucket
97 float percentParent = (float)((double)bucket.elapsed / (double)parentCycles * 100.0);
100 uint64_t CPE = bucket.elapsed / bucket.count;
102 BUCKET_DESC &desc = mBuckets[bucket.id];
113 bucket.elapsed,
115 bucket
[all...]
/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dcloud_storage.py36 # Uses ordered dict to make sure that bucket's key-value items are ordered from
190 def List(bucket):
191 query = 'gs://%s/' % bucket
196 def Exists(bucket, remote_path):
198 _RunCommand(['ls', 'gs://%s/%s' % (bucket, remote_path)])
215 bucket_from: The cloud storage bucket where the file is currently located.
216 bucket_to: The cloud storage bucket it is being copied to.
229 def Delete(bucket, remote_path):
230 url = 'gs://%s/%s' % (bucket, remote_path)
235 def Get(bucket, remote_pat
[all...]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Drdtsc_core.h107 #define RDTSC_START(bucket) rdtscStart(bucket)
108 #define RDTSC_STOP(bucket, count, draw) rdtscStop(bucket, count, draw)
109 #define RDTSC_EVENT(bucket, count1, count2) rdtscEvent(bucket, count1, count2)
114 #define RDTSC_START(bucket)
115 #define RDTSC_STOP(bucket, count, draw)
116 #define RDTSC_EVENT(bucket, count1, count2)

Completed in 4504 milliseconds

1234567