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

/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.cpp115 static inline size_t bucket_to_size(unsigned int bucket) { argument
116 return kMinBucketAllocationSize << bucket;
168 Chunk(HeapImpl* heap, int bucket);
230 Chunk::Chunk(HeapImpl* heap, int bucket) argument
233 bucket_(bucket),
234 allocation_size_(bucket_to_size(bucket)),
364 int bucket = size_to_bucket(size);
365 if (free_chunks_[bucket].empty()) {
366 Chunk* chunk = new Chunk(this, bucket);
367 free_chunks_[bucket]
416 MoveToFreeList(Chunk* chunk, int bucket) argument
420 MoveToFullList(Chunk* chunk, int bucket) argument
[all...]

Completed in 102 milliseconds