/external/chromium/net/disk_cache/ |
D | eviction.cc | 85 test_mode_ = false; in Init() 119 while ((header_->num_bytes > target_size || test_mode_) && next.get()) { in TrimCache() 129 if (!EvictEntry(node.get(), empty, Rankings::NO_USE) && !test_mode_) in TrimCache() 134 if (test_mode_) in TrimCache() 192 test_mode_ = true; in SetTestMode() 196 DCHECK(test_mode_ && new_eviction_); in TrimDeletedList() 321 while ((header_->num_bytes > target_size || test_mode_) && in TrimCacheV2() 334 !test_mode_) in TrimCacheV2() 337 if (!empty && test_mode_) in TrimCacheV2() 354 !test_mode_) { in TrimCacheV2() [all …]
|
D | eviction.h | 82 bool test_mode_; variable
|
/external/chromium_org/net/disk_cache/v3/ |
D | eviction_v3.cc | 93 test_mode_ = false; in Init() 127 while ((header_->num_bytes > target_size || test_mode_) && next.get()) { in TrimCache() 137 if (EvictEntry(node.get(), empty, Rankings::NO_USE) && !test_mode_) in TrimCache() 140 if (!empty && test_mode_) in TrimCache() 215 test_mode_ = true; in SetTestMode() 219 DCHECK(test_mode_ && new_eviction_); in TrimDeletedList() 264 return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); in ShouldTrimDeleted() 330 while ((header_->num_bytes > target_size || test_mode_) && in TrimCacheV2() 345 if (!empty && test_mode_) in TrimCacheV2() 399 if (test_mode_) in TrimDeleted()
|
D | eviction_v3.h | 66 bool test_mode_; variable
|
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
D | autotest_private_api.h | 95 bool test_mode() const { return test_mode_; } in test_mode() 96 void set_test_mode(bool test_mode) { test_mode_ = test_mode; } in set_test_mode() 101 bool test_mode_; // true for ExtensionApiTest.AutotestPrivate browser test. variable
|
D | autotest_private_api.cc | 232 AutotestPrivateAPI::AutotestPrivateAPI() : test_mode_(false) { in AutotestPrivateAPI()
|
/external/chromium_org/net/disk_cache/ |
D | eviction.cc | 94 test_mode_ = false; in Init() 128 while ((header_->num_bytes > target_size || test_mode_) && next.get()) { in TrimCache() 138 if (EvictEntry(node.get(), empty, Rankings::NO_USE) && !test_mode_) in TrimCache() 141 if (!empty && test_mode_) in TrimCache() 200 test_mode_ = true; in SetTestMode() 204 DCHECK(test_mode_ && new_eviction_); in TrimDeletedList() 247 return (!test_mode_ && header_->lru.sizes[Rankings::DELETED] > max_length); in ShouldTrimDeleted() 347 while ((header_->num_bytes > target_size || test_mode_) && in TrimCacheV2() 362 if (!empty && test_mode_) in TrimCacheV2() 508 if (test_mode_) in TrimDeleted()
|
D | eviction.h | 83 bool test_mode_; variable
|
/external/chromium_org/net/http/ |
D | mock_http_cache.cc | 57 test_mode_ = GetTestModeForEntry(key); in MockDiskEntry() 102 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadData() 128 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in WriteData() 157 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadSparseData() 194 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in WriteSparseData() 232 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in GetAvailableRange() 257 if (MockHttpCache::GetTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadyForSparseIO()
|
D | http_transaction_unittest.cc | 245 test_mode_ = t->test_mode; in Start() 249 if (test_mode_ & TEST_MODE_SYNC_NET_START) in Start() 284 if (test_mode_ & TEST_MODE_SYNC_NET_START) in Start() 320 if (test_mode_ & TEST_MODE_SYNC_NET_READ) in Read()
|
D | http_transaction_unittest.h | 225 int test_mode_; variable
|
D | mock_http_cache.h | 85 int test_mode_; variable
|
/external/chromium/net/http/ |
D | http_transaction_unittest.cc | 251 test_mode_ = t->test_mode; in Start() 253 if (test_mode_ & TEST_MODE_SYNC_NET_START) in Start() 289 if (test_mode_ & TEST_MODE_SYNC_NET_READ) in Read()
|
D | http_transaction_unittest.h | 193 int test_mode_; variable
|
D | http_cache_unittest.cc | 75 : test_mode_(0), doomed_(false), sparse_(false), fail_requests_(false), in MockDiskEntry() 82 test_mode_ = GetTestModeForEntry(key); in MockDiskEntry() 130 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadData() 155 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in WriteData() 182 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadSparseData() 216 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in WriteSparseData() 254 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_WRITE) in GetAvailableRange() 273 if (GetEffectiveTestMode(test_mode_) & TEST_MODE_SYNC_CACHE_READ) in ReadyForSparseIO() 355 int test_mode_; member in __anon3f06e6990111::MockDiskEntry
|
/external/chromium_org/ppapi/proxy/ |
D | ppapi_proxy_test.h | 326 TwoWayTestMode test_mode() { return test_mode_; } in test_mode() 339 TwoWayTestMode test_mode_;
|
D | ppapi_proxy_test.cc | 525 : test_mode_(test_mode), in TwoWayTest()
|