/external/libaom/libaom/stats/ |
D | rate_hist.c | 34 struct hist_bucket bucket[RATE_BINS]; member 57 hist->bucket[i].low = INT_MAX; in init_rate_histogram() 58 hist->bucket[i].high = 0; in init_rate_histogram() 59 hist->bucket[i].count = 0; in init_rate_histogram() 109 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram() 110 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram() 111 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram() 112 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram() 113 hist->bucket[idx].count++; in update_rate_histogram() 117 static int merge_hist_buckets(struct hist_bucket *bucket, int max_buckets, in merge_hist_buckets() argument [all …]
|
/external/libvpx/libvpx/ |
D | rate_hist.c | 33 struct hist_bucket bucket[RATE_BINS]; member 62 hist->bucket[i].low = INT_MAX; in init_rate_histogram() 63 hist->bucket[i].high = 0; in init_rate_histogram() 64 hist->bucket[i].count = 0; in init_rate_histogram() 118 if (hist->bucket[idx].low > avg_bitrate) in update_rate_histogram() 119 hist->bucket[idx].low = (int)avg_bitrate; in update_rate_histogram() 120 if (hist->bucket[idx].high < avg_bitrate) in update_rate_histogram() 121 hist->bucket[idx].high = (int)avg_bitrate; in update_rate_histogram() 122 hist->bucket[idx].count++; in update_rate_histogram() 126 static int merge_hist_buckets(struct hist_bucket *bucket, int max_buckets, in merge_hist_buckets() argument [all …]
|
/external/grpc-grpc/src/core/lib/debug/ |
D | stats_data.cc | 365 int bucket = in grpc_stats_inc_call_initial_size() local 367 _bkt.dbl = grpc_stats_table_0[bucket]; in grpc_stats_inc_call_initial_size() 368 bucket -= (_val.uint < _bkt.uint); in grpc_stats_inc_call_initial_size() 369 GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_CALL_INITIAL_SIZE, bucket); in grpc_stats_inc_call_initial_size() 388 int bucket = in grpc_stats_inc_poll_events_returned() local 390 _bkt.dbl = grpc_stats_table_2[bucket]; in grpc_stats_inc_poll_events_returned() 391 bucket -= (_val.uint < _bkt.uint); in grpc_stats_inc_poll_events_returned() 392 GRPC_STATS_INC_HISTOGRAM(GRPC_STATS_HISTOGRAM_POLL_EVENTS_RETURNED, bucket); in grpc_stats_inc_poll_events_returned() 411 int bucket = in grpc_stats_inc_tcp_write_size() local 413 _bkt.dbl = grpc_stats_table_4[bucket]; in grpc_stats_inc_tcp_write_size() [all …]
|
/external/libdrm/ |
D | xf86drmHash.c | 124 HashBucketPtr bucket; in drmHashDestroy() local 131 for (bucket = table->buckets[i]; bucket;) { in drmHashDestroy() 132 next = bucket->next; in drmHashDestroy() 133 drmFree(bucket); in drmHashDestroy() 134 bucket = next; in drmHashDestroy() 149 HashBucketPtr bucket; in HashFind() local 153 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind() 154 if (bucket->key == key) { in HashFind() 157 prev->next = bucket->next; in HashFind() 158 bucket->next = table->buckets[hash]; in HashFind() [all …]
|
/external/kmod/shared/ |
D | hash.c | 69 struct hash_bucket *bucket, *bucket_end; in hash_free() local 74 bucket = hash->buckets; in hash_free() 75 bucket_end = bucket + hash->n_buckets; in hash_free() 76 for (; bucket < bucket_end; bucket++) { in hash_free() 79 entry = bucket->entries; in hash_free() 80 entry_end = entry + bucket->used; in hash_free() 84 free(bucket->entries); in hash_free() 151 struct hash_bucket *bucket = hash->buckets + pos; in hash_add() local 154 if (bucket->used + 1 >= bucket->total) { in hash_add() 155 unsigned new_total = bucket->total + hash->step; in hash_add() [all …]
|
/external/pdfium/third_party/base/allocator/partition_allocator/ |
D | partition_alloc.cc | 138 static void PartitionBucketInitBase(PartitionBucket* bucket, in PartitionBucketInitBase() argument 140 bucket->active_pages_head = &PartitionRootGeneric::gSeedPage; in PartitionBucketInitBase() 141 bucket->empty_pages_head = 0; in PartitionBucketInitBase() 142 bucket->decommitted_pages_head = 0; in PartitionBucketInitBase() 143 bucket->num_full_pages = 0; in PartitionBucketInitBase() 144 bucket->num_system_pages_per_slot_span = in PartitionBucketInitBase() 145 PartitionBucketNumSystemPages(bucket->slot_size); in PartitionBucketInitBase() 162 PartitionBucket* bucket = &root->buckets()[i]; in PartitionAllocInit() local 164 bucket->slot_size = kAllocationGranularity; in PartitionAllocInit() 166 bucket->slot_size = i << kBucketShift; in PartitionAllocInit() [all …]
|
D | partition_alloc.h | 266 PartitionBucket* bucket; member 296 PartitionBucket* bucket; member 607 page->bucket->slot_size)); in PartitionPointerToPage() 612 const PartitionBucket* bucket) { in PartitionBucketIsDirectMapped() argument 613 return !bucket->num_system_pages_per_slot_span; in PartitionBucketIsDirectMapped() 616 ALWAYS_INLINE size_t PartitionBucketBytes(const PartitionBucket* bucket) { in PartitionBucketBytes() argument 617 return bucket->num_system_pages_per_slot_span * kSystemPageSize; in PartitionBucketBytes() 620 ALWAYS_INLINE uint16_t PartitionBucketSlots(const PartitionBucket* bucket) { in PartitionBucketSlots() argument 621 return static_cast<uint16_t>(PartitionBucketBytes(bucket) / in PartitionBucketSlots() 622 bucket->slot_size); in PartitionBucketSlots() [all …]
|
/external/v8/src/heap/ |
D | slot-set.h | 62 Bucket bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert() local 63 if (bucket == nullptr) { in Insert() 64 bucket = AllocateBucket(); in Insert() 65 if (!SwapInNewBucket<access_mode>(&buckets_[bucket_index], bucket)) { in Insert() 66 DeleteArray<uint32_t>(bucket); in Insert() 67 bucket = LoadBucket<access_mode>(&buckets_[bucket_index]); in Insert() 72 DCHECK_NOT_NULL(bucket); in Insert() 73 DCHECK_EQ(bucket, LoadBucket<access_mode>(&buckets_[bucket_index])); in Insert() 75 if ((LoadCell<access_mode>(&bucket[cell_index]) & mask) == 0) { in Insert() 76 SetCellBits<access_mode>(&bucket[cell_index], mask); in Insert() [all …]
|
/external/mesa3d/src/glx/ |
D | glxhash.c | 179 __glxHashBucketPtr bucket; in __glxHashDestroy() local 187 for (bucket = table->buckets[i]; bucket;) { in __glxHashDestroy() 188 next = bucket->next; in __glxHashDestroy() 189 HASH_FREE(bucket); in __glxHashDestroy() 190 bucket = next; in __glxHashDestroy() 205 __glxHashBucketPtr bucket; in HashFind() local 210 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind() 211 if (bucket->key == key) { in HashFind() 214 prev->next = bucket->next; in HashFind() 215 bucket->next = table->buckets[hash]; in HashFind() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | hash_map.hpp | 103 size_t bucket = calculate_hash_value(k) % num_buckets_; in find() local 104 iterator it = buckets_[bucket].first; in find() 107 iterator end_it = buckets_[bucket].last; in find() 124 size_t bucket = calculate_hash_value(k) % num_buckets_; in find() local 125 const_iterator it = buckets_[bucket].first; in find() 128 const_iterator end_it = buckets_[bucket].last; in find() 145 size_t bucket = calculate_hash_value(v.first) % num_buckets_; in insert() local 146 iterator it = buckets_[bucket].first; in insert() 149 buckets_[bucket].first = buckets_[bucket].last = in insert() 152 return std::pair<iterator, bool>(buckets_[bucket].last, true); in insert() [all …]
|
/external/libcxx/test/std/containers/unord/unord.multiset/ |
D | local_iterators.pass.cpp | 45 C::size_type b = c.bucket(0); in main() 50 b = c.bucket(1); in main() 58 b = c.bucket(2); in main() 66 b = c.bucket(3); in main() 72 b = c.bucket(4); in main() 78 b = c.bucket(5); in main() 83 b = c.bucket(6); in main() 103 C::size_type b = c.bucket(0); in main() 108 b = c.bucket(1); in main() 116 b = c.bucket(2); in main() [all …]
|
D | local_iterators.fail.cpp | 45 C::size_type b = c.bucket(0); in main() 50 b = c.bucket(1); in main() 59 b = c.bucket(2); in main() 67 b = c.bucket(3); in main() 73 b = c.bucket(4); in main() 79 b = c.bucket(5); in main() 84 b = c.bucket(6); in main() 104 C::size_type b = c.bucket(0); in main() 109 b = c.bucket(1); in main() 117 b = c.bucket(2); in main() [all …]
|
/external/libcxx/test/std/containers/unord/unord.set/ |
D | local_iterators.pass.cpp | 45 C::size_type b = c.bucket(0); in main() 50 b = c.bucket(1); in main() 56 b = c.bucket(2); in main() 62 b = c.bucket(3); in main() 68 b = c.bucket(4); in main() 89 C::size_type b = c.bucket(0); in main() 94 b = c.bucket(1); in main() 100 b = c.bucket(2); in main() 106 b = c.bucket(3); in main() 112 b = c.bucket(4); in main() [all …]
|
D | local_iterators.fail.cpp | 43 C::size_type b = c.bucket(0); in main() 48 b = c.bucket(1); in main() 57 b = c.bucket(2); in main() 65 b = c.bucket(3); in main() 71 b = c.bucket(4); in main() 77 b = c.bucket(5); in main() 82 b = c.bucket(6); in main() 102 C::size_type b = c.bucket(0); in main() 107 b = c.bucket(1); in main() 115 b = c.bucket(2); in main() [all …]
|
/external/libdrm/etnaviv/ |
D | etnaviv_bo_cache.c | 78 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in etna_bo_cache_cleanup() local 81 while (!LIST_IS_EMPTY(&bucket->list)) { in etna_bo_cache_cleanup() 82 bo = LIST_ENTRY(struct etna_bo, bucket->list.next, list); in etna_bo_cache_cleanup() 104 struct etna_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket() local 105 if (bucket->size >= size) { in get_bucket() 106 return bucket; in get_bucket() 121 static struct etna_bo *find_in_bucket(struct etna_bo_bucket *bucket, uint32_t flags) in find_in_bucket() argument 127 if (LIST_IS_EMPTY(&bucket->list)) in find_in_bucket() 130 LIST_FOR_EACH_ENTRY_SAFE(bo, tmp, &bucket->list, list) { in find_in_bucket() 162 struct etna_bo_bucket *bucket; in etna_bo_cache_alloc() local [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ByteBucketArray.java | 28 T[] bucket = (T[]) mBuckets[bucketIndex]; in get() local 29 if (bucket == null) { in get() 32 T t = bucket[0x0f & ((byte) index)]; in get() 42 Object[] bucket = mBuckets[bucketIndex]; in editItemAt() local 43 if (bucket == null) { in editItemAt() 44 bucket = mBuckets[bucketIndex] = new Object[BUCKET_SIZE]; in editItemAt() 47 T t = (T) bucket[0x0f & ((byte) index)]; in editItemAt() 50 bucket[0x0f & ((byte) index)] = t; in editItemAt() 64 Object[] bucket = mBuckets[bucketIndex]; in set() local 65 if (bucket == null) { in set() [all …]
|
/external/libdrm/freedreno/ |
D | freedreno_bo_cache.c | 90 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in fd_bo_cache_cleanup() local 93 while (!LIST_IS_EMPTY(&bucket->list)) { in fd_bo_cache_cleanup() 94 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in fd_bo_cache_cleanup() 117 struct fd_bo_bucket *bucket = &cache->cache_bucket[i]; in get_bucket() local 118 if (bucket->size >= size) { in get_bucket() 119 return bucket; in get_bucket() 134 static struct fd_bo *find_in_bucket(struct fd_bo_bucket *bucket, uint32_t flags) in find_in_bucket() argument 146 if (!LIST_IS_EMPTY(&bucket->list)) { in find_in_bucket() 147 bo = LIST_ENTRY(struct fd_bo, bucket->list.next, list); in find_in_bucket() 165 struct fd_bo_bucket *bucket; in fd_bo_cache_alloc() local [all …]
|
/external/libcxx/test/std/containers/unord/unord.map/ |
D | local_iterators.pass.cpp | 46 C::size_type b = c.bucket(0); in main() 51 b = c.bucket(1); in main() 58 b = c.bucket(2); in main() 65 b = c.bucket(3); in main() 72 b = c.bucket(4); in main() 94 C::size_type b = c.bucket(0); in main() 99 b = c.bucket(1); in main() 106 b = c.bucket(2); in main() 113 b = c.bucket(3); in main() 120 b = c.bucket(4); in main() [all …]
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_mm.c | 36 struct mm_bucket bucket[MM_NUM_BUCKETS]; member 97 return &cache->bucket[MAX2(order, MM_MIN_ORDER) - MM_MIN_ORDER]; in mm_bucket_by_order() 167 struct mm_bucket *bucket; in nouveau_mm_allocate() local 172 bucket = mm_bucket_by_size(cache, size); in nouveau_mm_allocate() 173 if (!bucket) { in nouveau_mm_allocate() 184 if (!LIST_IS_EMPTY(&bucket->used)) { in nouveau_mm_allocate() 185 slab = LIST_ENTRY(struct mm_slab, bucket->used.next, head); in nouveau_mm_allocate() 187 if (LIST_IS_EMPTY(&bucket->free)) { in nouveau_mm_allocate() 190 slab = LIST_ENTRY(struct mm_slab, bucket->free.next, head); in nouveau_mm_allocate() 193 LIST_ADD(&slab->head, &bucket->used); in nouveau_mm_allocate() [all …]
|
/external/libchrome/third_party/jinja2/ |
D | bccache.py | 146 def load_bytecode(self, bucket): argument 153 def dump_bytecode(self, bucket): argument 186 bucket = Bucket(environment, key, checksum) 187 self.load_bytecode(bucket) 188 return bucket 190 def set_bucket(self, bucket): argument 192 self.dump_bytecode(bucket) 260 def _get_cache_filename(self, bucket): argument 261 return path.join(self.directory, self.pattern % bucket.key) 263 def load_bytecode(self, bucket): argument [all …]
|
/external/libcxx/test/std/containers/unord/unord.multimap/ |
D | local_iterators.pass.cpp | 47 C::size_type b = c.bucket(0); in main() 52 b = c.bucket(1); in main() 69 b = c.bucket(2); in main() 86 b = c.bucket(3); in main() 93 b = c.bucket(4); in main() 100 b = c.bucket(5); in main() 105 b = c.bucket(6); in main() 125 C::size_type b = c.bucket(0); in main() 130 b = c.bucket(1); in main() 147 b = c.bucket(2); in main() [all …]
|
D | local_iterators.fail.cpp | 46 C::size_type b = c.bucket(0); in main() 51 b = c.bucket(1); in main() 62 b = c.bucket(2); in main() 72 b = c.bucket(3); in main() 79 b = c.bucket(4); in main() 86 b = c.bucket(5); in main() 91 b = c.bucket(6); in main() 111 C::size_type b = c.bucket(0); in main() 116 b = c.bucket(1); in main() 126 b = c.bucket(2); in main() [all …]
|
/external/syzkaller/vendor/cloud.google.com/go/storage/ |
D | acl.go | 60 bucket string member 103 req := a.c.raw.DefaultObjectAccessControls.List(a.bucket) 109 …return nil, fmt.Errorf("storage: error listing default object ACL for bucket %q: %v", a.bucket, er… 116 req := a.c.raw.DefaultObjectAccessControls.Delete(a.bucket, string(entity)) 121 …rf("storage: error deleting default ACL entry for bucket %q, entity %q: %v", a.bucket, entity, err) 130 req := a.c.raw.BucketAccessControls.List(a.bucket) 136 return nil, fmt.Errorf("storage: error listing bucket ACL for bucket %q: %v", a.bucket, err) 148 Bucket: a.bucket, 153 req := a.c.raw.BucketAccessControls.Update(a.bucket, string(entity), acl) 159 …orf("storage: error updating bucket ACL entry for bucket %q, entity %q: %v", a.bucket, entity, err) [all …]
|
/external/tensorflow/tensorflow/core/platform/s3/ |
D | s3_file_system.cc | 142 Status ParseS3Path(const string& fname, bool empty_object_ok, string* bucket, in ParseS3Path() argument 144 if (!bucket || !object) { in ParseS3Path() 153 *bucket = string(bucketp); in ParseS3Path() 154 if (bucket->empty() || *bucket == ".") { in ParseS3Path() 169 S3RandomAccessFile(const string& bucket, const string& object, in S3RandomAccessFile() argument 171 : bucket_(bucket), object_(object), s3_client_(s3_client) {} in S3RandomAccessFile() 207 S3WritableFile(const string& bucket, const string& object, in S3WritableFile() argument 209 : bucket_(bucket), in S3WritableFile() 329 string bucket, object; in NewRandomAccessFile() local 330 TF_RETURN_IF_ERROR(ParseS3Path(fname, false, &bucket, &object)); in NewRandomAccessFile() [all …]
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | cloud_storage.py | 195 def List(bucket): argument 196 query = 'gs://%s/' % bucket 201 def Exists(bucket, remote_path): argument 203 _RunCommand(['ls', 'gs://%s/%s' % (bucket, remote_path)]) 234 def Delete(bucket, remote_path): argument 235 url = 'gs://%s/%s' % (bucket, remote_path) 240 def Get(bucket, remote_path, local_path): argument 242 _GetLocked(bucket, remote_path, local_path) 343 def _GetLocked(bucket, remote_path, local_path): argument 344 url = 'gs://%s/%s' % (bucket, remote_path) [all …]
|