Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_util.h74 size_t capacity() const { return capacity_; } in capacity()
130 capacity_ = 0; in Init()
137 size_t capacity_; variable
149 Vector() : items_(0), count_(0), capacity_(0) {} in Vector()
193 size_t capacity_; variable
207 if (count_ >= capacity_) in InsertAt()
208 Reserve(capacity_ + (capacity_ >> 1) + 4); in InsertAt()
238 capacity_ = new_capacity; in Reserve()
239 if (count_ > capacity_) in Reserve()
240 count_ = capacity_; in Reserve()
[all …]
Dcrazy_linker_util.cpp72 if (new_size > capacity_) { in Resize()
73 size_t new_capacity = capacity_; in Resize()
93 capacity_ = new_capacity; in Reserve()
/ndk/sources/android/support/tests/minitest/
Dminitest.cc102 capacity_ = 0; in Clear()
106 if (new_size > capacity_) { in Resize()
107 size_t new_capacity = capacity_; in Resize()
119 if (new_capacity > capacity_) in Reserve()
120 ::memset(str_ + capacity_, '\0', new_capacity - capacity_); in Reserve()
121 capacity_ = new_capacity; in Reserve()
Dminitest.h121 String() : str_(NULL), size_(0), capacity_(0) {}
190 size_t capacity_;