Searched refs:max_size_ (Results 1 – 5 of 5) sorted by relevance
/external/regex-re2/util/ |
D | sparse_set.h | 57 … : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {} in SparseSet() 60 max_size_ = max_size; in SparseSet() 94 if (new_max_size > max_size_) { in resize() 97 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 99 for (int i = max_size_; i < new_max_size; i++) in resize() 117 max_size_ = new_max_size; in resize() 122 int max_size() const { return max_size_; } in max_size() 130 DCHECK_LT(i, max_size_); in contains() 131 if (static_cast<uint>(i) >= max_size_) { in contains() 148 if (static_cast<uint>(i) >= max_size_) { in insert_new() [all …]
|
D | sparse_array.h | 142 return max_size_; in max_size() 224 int max_size_; variable 234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {} in SparseArray() 271 if (new_max_size > max_size_) { in resize() 274 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 277 for (int i = max_size_; i < new_max_size; i++) in resize() 286 max_size_ = new_max_size; in resize() 287 if (size_ > max_size_) in resize() 288 size_ = max_size_; in resize() 296 DCHECK_LT(i, max_size_); in has_index() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | consuming_buffers.hpp | 62 max_size_(max_size) in consuming_buffers_iterator() 113 || offset_ + buffer_size(first_) >= max_size_) in increment() 120 first_ = buffer(*begin_remainder_++, max_size_ - offset_); in increment() 147 std::size_t max_size_; member in asio::detail::consuming_buffers_iterator 167 max_size_((std::numeric_limits<std::size_t>::max)()) in consuming_buffers() 182 max_size_(other.max_size_) in consuming_buffers() 199 max_size_ = other.max_size_; in operator =() 207 begin_remainder_, buffers_.end(), max_size_); in begin() 219 max_size_ = max_size; in prepare() 258 std::size_t max_size_; member in asio::detail::consuming_buffers
|
/external/libchrome/base/containers/ |
D | mru_cache.h | 72 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { in MRUCacheBase() 76 : max_size_(max_size), deletor_(deletor) { in MRUCacheBase() 85 size_type max_size() const { return max_size_; } in max_size() 100 } else if (max_size_ != NO_AUTO_EVICT) { in Put() 103 ShrinkToSize(max_size_ - 1); in Put() 148 std::swap(max_size_, other.max_size_); in Swap() 214 size_type max_size_; variable
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 52 atomic_store(&max_size_, size, memory_order_release); in Init() 58 uptr GetSize() const { return atomic_load(&max_size_, memory_order_acquire); } in GetSize() 78 atomic_uintptr_t max_size_; variable
|