Home
last modified time | relevance | path

Searched refs:test_mode_ (Results 1 – 5 of 5) 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/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 __anon01b053950111::MockDiskEntry