Searched refs:max_size_ (Results 1 – 8 of 8) sorted by relevance
/external/regex-re2/util/ |
D | sparse_set.h | 57 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL) {} in SparseSet() 60 max_size_ = max_size; in SparseSet() 93 if (new_max_size > max_size_) { in resize() 96 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 98 for (int i = max_size_; i < new_max_size; i++) in resize() 116 max_size_ = new_max_size; in resize() 121 int max_size() const { return max_size_; } in max_size() 129 DCHECK_LT(i, max_size_); in contains() 130 if (static_cast<uint>(i) >= max_size_) { in contains() 147 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 233 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_() {} in SparseArray() 270 if (new_max_size > max_size_) { in resize() 273 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 276 for (int i = max_size_; i < new_max_size; i++) in resize() 285 max_size_ = new_max_size; in resize() 286 if (size_ > max_size_) in resize() 287 size_ = max_size_; in resize() 295 DCHECK_LT(i, max_size_); in has_index() [all …]
|
/external/chromium/net/disk_cache/ |
D | mem_backend_impl.cc | 32 : max_size_(0), current_size_(0), net_log_(net_log) {} in MemBackendImpl() 57 if (max_size_) in Init() 63 max_size_ = kDefaultCacheSize; in Init() 71 max_size_ = kDefaultCacheSize * 5; in Init() 73 max_size_ = static_cast<int32>(total_memory); in Init() 75 max_size_ = kDefaultCacheSize*3; in Init() 81 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); in SetMaxSize() 89 max_size_ = max_bytes; in SetMaxSize() 119 return max_size_ / 8; in MaxFileSize() 298 int target_size = empty ? 0 : LowWaterAdjust(max_size_); in TrimCache() [all …]
|
D | backend_impl.cc | 345 max_size_(0), in BackendImpl() 371 max_size_(0), in BackendImpl() 803 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); in SetMaxSize() 816 max_size_ = max_bytes; in SetMaxSize() 961 if (data_->header.num_bytes > max_size_ && !read_only_) in OnEntryDestroyEnd() 982 return max_size_ / 8; in MaxFileSize() 1340 item.second = base::StringPrintf("%d", max_size_); in GetStats() 1358 header.table_len = DesiredIndexTableLen(max_size_); in CreateBackingStore() 1415 if (max_size_) in AdjustMaxCacheSize() 1428 max_size_ = kDefaultCacheSize; in AdjustMaxCacheSize() [all …]
|
D | eviction.cc | 78 max_size_ = LowWaterAdjust(backend_->max_size_); in Init() 118 int target_size = empty ? 0 : max_size_; in TrimCache() 319 int target_size = empty ? 0 : max_size_; in TrimCacheV2()
|
D | eviction.h | 75 int max_size_; variable
|
D | mem_backend_impl.h | 108 int32 max_size_; // Maximum data size for this instance. variable
|
D | backend_impl.h | 349 int32 max_size_; // Maximum data size for this instance. variable
|