/external/regex-re2/util/ |
sparse_set.h | 57 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind()) {} 60 max_size_ = max_size; 94 if (new_max_size > max_size_) { 97 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); 99 for (int i = max_size_; i < new_max_size; i++) 117 max_size_ = new_max_size; 122 int max_size() const { return max_size_; } 130 DCHECK_LT(i, max_size_); 131 if (static_cast<uint>(i) >= max_size_) { 148 if (static_cast<uint>(i) >= max_size_) { 169 int max_size_; member in class:re2::SparseSet [all...] |
sparse_array.h | 56 // size max_size_. At any point, the number of elements in the sparse array is 142 return max_size_; 224 int max_size_; member in class:re2::SparseArray 234 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {} 271 if (new_max_size > max_size_) { 274 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); 277 for (int i = max_size_; i < new_max_size; i++) 286 max_size_ = new_max_size; 287 if (size_ > max_size_) 288 size_ = max_size_; [all...] |
/external/chromium/net/disk_cache/ |
mem_backend_impl.cc | 32 : max_size_(0), current_size_(0), net_log_(net_log) {} 57 if (max_size_) 63 max_size_ = kDefaultCacheSize; 71 max_size_ = kDefaultCacheSize * 5; 73 max_size_ = static_cast<int32>(total_memory); 75 max_size_ = kDefaultCacheSize*3; 81 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); 89 max_size_ = max_bytes; 119 return max_size_ / 8; 298 int target_size = empty ? 0 : LowWaterAdjust(max_size_); [all...] |
eviction.h | 75 int max_size_; member in class:disk_cache::Eviction
|
mem_backend_impl.h | 108 int32 max_size_; // Maximum data size for this instance. member in class:disk_cache::MemBackendImpl
|
backend_impl.cc | 345 max_size_(0), 371 max_size_(0), 803 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); 816 max_size_ = max_bytes; 961 if (data_->header.num_bytes > max_size_ && !read_only_) 982 return max_size_ / 8; [all...] |
eviction.cc | 78 max_size_ = LowWaterAdjust(backend_->max_size_); 118 int target_size = empty ? 0 : max_size_; 319 int target_size = empty ? 0 : max_size_;
|
backend_impl.h | 349 int32 max_size_; // Maximum data size for this instance. member in class:disk_cache::BackendImpl
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_quarantine.h | 50 max_size_ = size; 66 if (cache_.Size() > max_size_ && recycle_mutex_.TryLock()) 73 uptr max_size_; member in class:__sanitizer::Quarantine
|