Home
last modified time | relevance | path

Searched refs:capacity_ (Results 1 – 4 of 4) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Dvector.h46 capacity_ = 0; in ~Vector()
92 size_t new_capacity = capacity_; in Resize()
93 if (size < capacity_ / 2) { in Resize()
95 } else if (size > capacity_) { in Resize()
96 new_capacity = capacity_ * 2 > size ? capacity_ * 2 : size; in Resize()
102 if (new_capacity != capacity_) { in Resize()
138 capacity_ = new_capacity; in Resize()
163 size_t capacity_ = 0; variable
/system/bt/osi/include/
Dleaky_bonded_queue.h85 size_t capacity_; variable
94 capacity_ = capacity; in LeakyBondedQueue()
103 if ((queue_.size() + 1) > capacity_) { in Enqueue()
114 if ((queue_.size() + 1) > capacity_) { in EnqueueWithPop()
149 return capacity_; in Capacity()
/system/connectivity/wifilogd/
Dmessage_buffer.cpp30 : data_(new uint8_t[size]), capacity_(size), read_pos_(0), write_pos_(0) { in MessageBuffer()
48 return capacity_ - GetHeaderSize() >= length; in CanFitEver()
91 CHECK(write_pos_ <= capacity_); in AppendRawBytes()
Dmessage_buffer.h78 size_t GetFreeSize() const { return capacity_ - write_pos_; } in GetFreeSize()
102 const size_t capacity_; variable