Home
last modified time | relevance | path

Searched refs:alloc_bytes_remaining_ (Results 1 – 2 of 2) sorted by relevance

/external/leveldb/util/
Darena.cc12 : alloc_ptr_(nullptr), alloc_bytes_remaining_(0), memory_usage_(0) {} in Arena()
30 alloc_bytes_remaining_ = kBlockSize; in AllocateFallback()
34 alloc_bytes_remaining_ -= bytes; in AllocateFallback()
46 if (needed <= alloc_bytes_remaining_) { in AllocateAligned()
49 alloc_bytes_remaining_ -= needed; in AllocateAligned()
Darena.h43 size_t alloc_bytes_remaining_; variable
60 if (bytes <= alloc_bytes_remaining_) { in Allocate()
63 alloc_bytes_remaining_ -= bytes; in Allocate()