Searched defs:bucket (Results 1 - 4 of 4) sorted by relevance

/system/bt/osi/src/
H A Dhash_map.c33 hash_map_bucket_t *bucket; member in struct:hash_map_t
75 hash_map->bucket = zeroed_allocator->alloc(sizeof(hash_map_bucket_t) * num_bucket);
76 if (hash_map->bucket == NULL) {
96 hash_map->allocator->free(hash_map->bucket);
119 list_t *hash_bucket_list = hash_map->bucket[hash_key].list;
131 if (hash_map->bucket[hash_key].list == NULL) {
132 hash_map->bucket[hash_key].list = list_new_internal(bucket_free_, hash_map->allocator);
133 if (hash_map->bucket[hash_key].list == NULL)
136 list_t *hash_bucket_list = hash_map->bucket[hash_key].list;
162 list_t *hash_bucket_list = hash_map->bucket[hash_ke
[all...]
/system/core/metricsd/uploader/
H A Dmetrics_log_base.cc134 HistogramEventProto::Bucket* bucket = histogram_proto->add_bucket(); local
135 bucket->set_min(min);
136 bucket->set_max(max);
137 bucket->set_count(count);
142 HistogramEventProto::Bucket* bucket = histogram_proto->mutable_bucket(i); local
144 bucket->max() == histogram_proto->bucket(i + 1).min()) {
145 bucket->clear_max();
146 } else if (bucket->max() == bucket
[all...]
/system/update_engine/payload_generator/
H A Dblock_mapping.cc79 // UniqueBlock it could also be part of a new or existing bucket (if there is
81 vector<UniqueBlock> *bucket = nullptr; local
85 bucket = &mapping_[h];
94 bucket = &mapping_it->second;
99 bucket->emplace_back();
100 UniqueBlock *new_ublock = &bucket->back();
/system/core/libmemunreachable/
H A DAllocator.cpp117 static inline size_t bucket_to_size(unsigned int bucket) { argument
118 return kMinBucketAllocationSize << bucket;
172 Chunk(HeapImpl* heap, int bucket);
242 Chunk::Chunk(HeapImpl* heap, int bucket) : argument
243 node_(this), heap_(heap), bucket_(bucket), allocation_size_(
244 bucket_to_size(bucket)), max_allocations_(
376 int bucket = size_to_bucket(size);
377 if (free_chunks_[bucket].empty()) {
378 Chunk *chunk = new Chunk(this, bucket);
379 free_chunks_[bucket]
[all...]

Completed in 271 milliseconds