/external/chromium_org/third_party/re2/util/ |
D | sparse_set.h | 57 : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), in SparseSet() 61 max_size_ = max_size; in SparseSet() 95 if (new_max_size > max_size_) { in resize() 98 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 100 for (int i = max_size_; i < new_max_size; i++) in resize() 118 max_size_ = new_max_size; in resize() 123 int max_size() const { return max_size_; } in max_size() 131 DCHECK_LT(i, max_size_); in contains() 132 if (static_cast<uint>(i) >= max_size_) { in contains() 149 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_(), in SparseArray() 272 if (new_max_size > max_size_) { in resize() 275 memmove(a, sparse_to_dense_, max_size_*sizeof a[0]); in resize() 278 for (int i = max_size_; i < new_max_size; i++) in resize() 287 max_size_ = new_max_size; in resize() 288 if (size_ > max_size_) in resize() 289 size_ = max_size_; in resize() 297 DCHECK_LT(i, max_size_); in has_index() [all …]
|
/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/chromium_org/net/disk_cache/memory/ |
D | mem_backend_impl.cc | 32 : max_size_(0), current_size_(0), net_log_(net_log), weak_factory_(this) { in MemBackendImpl() 57 if (max_size_) in Init() 63 max_size_ = kDefaultInMemoryCacheSize; in Init() 71 max_size_ = kDefaultInMemoryCacheSize * 5; in Init() 73 max_size_ = static_cast<int32>(total_memory); in Init() 79 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); in SetMaxSize() 87 max_size_ = max_bytes; in SetMaxSize() 117 return max_size_ / 8; in MaxFileSize() 320 int target_size = empty ? 0 : LowWaterAdjust(max_size_); in TrimCache() 336 if (current_size_ > max_size_) in AddStorageSize()
|
/external/chromium_org/net/spdy/ |
D | hpack_header_table.cc | 40 max_size_(kDefaultHeaderTableSizeSetting), in HpackHeaderTable() 112 max_size_ = max_size; in SetMaxSize() 113 if (size_ > max_size_) { in SetMaxSize() 114 Evict(EvictionCountToReclaim(size_ - max_size_)); in SetMaxSize() 115 CHECK_LE(size_, max_size_); in SetMaxSize() 121 if (settings_size_bound_ < max_size_) { in SetSettingsHeaderTableSize() 137 size_t available_size = max_size_ - size_; in EvictionCountForEntry() 172 if (entry_size > (max_size_ - size_)) { in TryAddEntry()
|
D | hpack_header_table.h | 60 size_t max_size() const { return max_size_; } in max_size() 122 size_t max_size_; variable
|
/external/chromium_org/third_party/re2/patches/ |
D | re2-msan.patch | 9 - : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), valgrind_(RunningOnValgrind()) {} 10 + : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(), 17 max_size_ = max_size; 32 - : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), valgrind_(RunningOnValgrind())… 33 + : size_(0), max_size_(0), sparse_to_dense_(NULL), dense_(NULL), 37 max_size_ = max_size;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
D | thread_cache.cc | 118 max_size_ = 0; in Init() 120 if (max_size_ == 0) { in Init() 123 max_size_ = kMinThreadCacheSize; in Init() 280 max_size_ += kStealAmount; in IncreaseCacheLimitLocked() 295 next_memory_steal_->max_size_ <= kMinThreadCacheSize) { in IncreaseCacheLimitLocked() 298 next_memory_steal_->max_size_ -= kStealAmount; in IncreaseCacheLimitLocked() 299 max_size_ += kStealAmount; in IncreaseCacheLimitLocked() 455 unclaimed_cache_space_ += heap->max_size_; in DeleteCache() 475 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio); in RecomputePerThreadCacheSize() 477 claimed += h->max_size_; in RecomputePerThreadCacheSize()
|
D | thread_cache.h | 297 size_t max_size_; // size_ > max_size_ --> Scavenge() variable 350 ssize_t size_headroom = max_size_ - size_ - 1; in Deallocate() 368 if (size_ >= max_size_) Scavenge(); in Deallocate()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
D | thread_cache.cc | 121 max_size_ = 0; in Init() 123 if (max_size_ == 0) { in Init() 126 max_size_ = kMinThreadCacheSize; in Init() 286 max_size_ += kStealAmount; in IncreaseCacheLimitLocked() 301 next_memory_steal_->max_size_ <= kMinThreadCacheSize) { in IncreaseCacheLimitLocked() 304 next_memory_steal_->max_size_ -= kStealAmount; in IncreaseCacheLimitLocked() 305 max_size_ += kStealAmount; in IncreaseCacheLimitLocked() 466 unclaimed_cache_space_ += heap->max_size_; in DeleteCache() 486 h->max_size_ = static_cast<size_t>(h->max_size_ * ratio); in RecomputePerThreadCacheSize() 488 claimed += h->max_size_; in RecomputePerThreadCacheSize()
|
D | thread_cache.h | 312 size_t max_size_; // size_ > max_size_ --> Scavenge() variable 377 ssize_t size_headroom = max_size_ - size_ - 1; in Deallocate() 395 if (size_ >= max_size_) Scavenge(); in Deallocate()
|
/external/chromium_org/cc/base/ |
D | rolling_time_delta_history.cc | 12 : max_size_(max_size) {} in RollingTimeDeltaHistory() 17 if (max_size_ == 0) in InsertSample() 20 if (sample_set_.size() == max_size_) { in InsertSample()
|
/external/chromium_org/ui/message_center/views/ |
D | proportional_image_view.cc | 14 : image_(image), max_size_(max_size) {} in ProportionalImageView() 18 gfx::Size ProportionalImageView::GetPreferredSize() const { return max_size_; } in GetPreferredSize() 21 return max_size_.height(); in GetHeightForWidth()
|
/external/chromium_org/chrome/browser/net/ |
D | evicted_domain_cookie_counter.cc | 71 max_size_(kMaxEvictedDomainCookies), in EvictedDomainCookieCounter() 82 max_size_(max_size), in EvictedDomainCookieCounter() 85 DCHECK_LT(purge_count, max_size_); in EvictedDomainCookieCounter() 134 if (evicted_cookies_.size() <= max_size_) in GarbageCollect() 139 size_t size_goal = max_size_ - purge_count_; in GarbageCollect()
|
/external/chromium_org/base/containers/ |
D | mru_cache.h | 69 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { in MRUCacheBase() 73 : max_size_(max_size), deletor_(deletor) { in MRUCacheBase() 82 size_type max_size() const { return max_size_; } in max_size() 97 } else if (max_size_ != NO_AUTO_EVICT) { in Put() 100 ShrinkToSize(max_size_ - 1); in Put() 203 size_type max_size_; variable
|
/external/chromium_org/chrome/browser/ui/panels/ |
D | panel.cc | 571 int current_max_width = max_size_.width(); in LimitSizeToWorkArea() 574 int current_max_height = max_size_.height(); in LimitSizeToWorkArea() 647 if (min_size == min_size_ && max_size == max_size_) in SetSizeRange() 653 max_size_ = max_size; in SetSizeRange() 659 gfx::Size new_max_size = max_size_; in IncreaseMaxSize() 685 if (new_width > max_size_.width()) in ClampSize() 686 new_width = max_size_.width(); in ClampSize() 693 if (new_height > max_size_.height()) in ClampSize() 694 new_height = max_size_.height(); in ClampSize() 815 max_size_(max_size), in Panel() [all …]
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_index.cc | 146 max_size_(0), in SimpleIndex() 196 max_size_ = max_bytes; in SetMaxSize() 197 high_watermark_ = max_size_ - max_size_ / kEvictionMarginDivisor; in SetMaxSize() 198 low_watermark_ = max_size_ - 2 * (max_size_ / kEvictionMarginDivisor); in SetMaxSize() 300 max_size_ / kBytesInKb); in StartEvictionIfNeeded()
|
D | simple_index.h | 90 int max_size() const { return max_size_; } in max_size() 164 uint64 max_size_; variable
|
/external/chromium_org/net/disk_cache/blockfile/ |
D | backend_impl_v3.cc | 63 max_size_(0), in BackendImplV3() 94 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); in SetMaxSize() 107 max_size_ = max_bytes; in SetMaxSize() 166 if (data_->header.num_bytes > max_size_ && !read_only_ && in OnEntryDestroyEnd() 184 return max_size_ / 8; in MaxFileSize() 701 item.second = base::StringPrintf("%d", max_size_); in GetStats() 735 if (max_size_) in AdjustMaxCacheSize() 744 max_size_ = kDefaultCacheSize; in AdjustMaxCacheSize() 751 max_size_ = PreferedCacheSize(available); in AdjustMaxCacheSize() 755 if (max_size_ > kDefaultCacheSize * 4) in AdjustMaxCacheSize() [all …]
|
D | eviction_v3.cc | 94 max_size_ = LowWaterAdjust(backend_->max_size_); in Init() 135 int target_size = empty ? 0 : max_size_; in TrimCache() 255 if (!FallingBehind(header_->num_bytes, max_size_) && in ShouldTrim() 336 int target_size = empty ? 0 : max_size_; in TrimCacheV2()
|
D | backend_impl.cc | 121 max_size_(0), in BackendImpl() 148 max_size_(0), in BackendImpl() 676 COMPILE_ASSERT(sizeof(max_bytes) == sizeof(max_size_), unsupported_int_model); in SetMaxSize() 689 max_size_ = max_bytes; in SetMaxSize() 877 if (data_->header.num_bytes > max_size_ && !read_only_ && in OnEntryDestroyEnd() 899 return cache_type() == net::PNACL_CACHE ? max_size_ : max_size_ / 8; in MaxFileSize() 1294 item.second = base::StringPrintf("%d", max_size_); in GetStats() 1320 header.table_len = DesiredIndexTableLen(max_size_); in CreateBackingStore() 1377 if (max_size_) in AdjustMaxCacheSize() 1386 max_size_ = kDefaultCacheSize; in AdjustMaxCacheSize() [all …]
|
/external/chromium_org/ui/views/controls/button/ |
D | label_button.cc | 172 max_size_ = max_size; in SetMaxSize() 256 if (max_size_.width() > 0) in GetPreferredSize() 257 size.set_width(std::min(max_size_.width(), size.width())); in GetPreferredSize() 258 if (max_size_.height() > 0) in GetPreferredSize() 259 size.set_height(std::min(max_size_.height(), size.height())); in GetPreferredSize() 279 if (max_size_.height() > 0) in GetHeightForWidth() 280 height = std::min(height, max_size_.height()); in GetHeightForWidth()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_quarantine.h | 52 max_size_ = size; in Init() 68 if (cache_.Size() > max_size_ && recycle_mutex_.TryLock()) in Drain() 75 uptr max_size_; variable
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
D | mediarecorder.cc | 46 : max_size_(INT_MAX), in RtpDumpSink() 56 max_size_ = size; in SetMaxSize() 83 current_size + RtpDumpPacket::kHeaderLength + size <= max_size_) { in OnPacket()
|