Home
last modified time | relevance | path

Searched refs:test_mode_ (Results 1 – 17 of 17) sorted by relevance

/external/chromium/net/disk_cache/
Deviction.cc85 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 …]
Deviction.h82 bool test_mode_; variable
/external/chromium_org/net/disk_cache/v3/
Deviction_v3.cc93 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()
Deviction_v3.h66 bool test_mode_; variable
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.h95 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
Dautotest_private_api.cc232 AutotestPrivateAPI::AutotestPrivateAPI() : test_mode_(false) { in AutotestPrivateAPI()
/external/chromium_org/net/disk_cache/
Deviction.cc94 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()
Deviction.h83 bool test_mode_; variable
/external/chromium_org/net/http/
Dmock_http_cache.cc57 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()
Dhttp_transaction_unittest.cc245 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()
Dhttp_transaction_unittest.h225 int test_mode_; variable
Dmock_http_cache.h85 int test_mode_; variable
/external/chromium/net/http/
Dhttp_transaction_unittest.cc251 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()
Dhttp_transaction_unittest.h193 int test_mode_; variable
Dhttp_cache_unittest.cc75 : 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/
Dppapi_proxy_test.h326 TwoWayTestMode test_mode() { return test_mode_; } in test_mode()
339 TwoWayTestMode test_mode_;
Dppapi_proxy_test.cc525 : test_mode_(test_mode), in TwoWayTest()