/external/libdrm/ |
H A D | xf86drmHash.c | 127 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 D | rate_hist.c | 33 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 D | hash.c | 69 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 D | glxhash.c | 179 __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 D | hash_map.hpp | 103 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 D | hash_map.hpp | 103 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 D | partition_alloc.cc | 44 "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 D | etnaviv_bo_cache.c | 82 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 D | freedreno_bo_cache.c | 53 * @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 D | prefix.h | 36 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 D | bccache.py | 73 """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 D | nouveau_mm.c | 36 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 D | local_iterators.pass.cpp | 45 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 D | local_iterators.fail.cpp | 45 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 D | local_iterators.fail.cpp | 43 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 D | local_iterators.pass.cpp | 45 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 D | heap_profiler_heap_dump_writer.cc | 30 // 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 D | gsutil_wrapper.py | 11 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 D | cros_gs.py | 57 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 D | uploader_unittest.py | 15 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 D | local_iterators.fail.cpp | 46 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 D | local_iterators.pass.cpp | 46 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 D | rdtsc_buckets.cpp | 79 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 D | cloud_storage.py | 36 # 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 D | rdtsc_core.h | 107 #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)
|