• Home
  • Raw
  • Download

Lines Matching refs:kNumEntries

668   const int kNumEntries = 100;  in BackendInvalidEntryWithLoad()  local
669 disk_cache::Entry* entries[kNumEntries]; in BackendInvalidEntryWithLoad()
670 for (int i = 0; i < kNumEntries; i++) { in BackendInvalidEntryWithLoad()
674 EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); in BackendInvalidEntryWithLoad()
676 for (int i = 0; i < kNumEntries; i++) { in BackendInvalidEntryWithLoad()
677 int source1 = rand() % kNumEntries; in BackendInvalidEntryWithLoad()
678 int source2 = rand() % kNumEntries; in BackendInvalidEntryWithLoad()
684 std::string keys[kNumEntries]; in BackendInvalidEntryWithLoad()
685 for (int i = 0; i < kNumEntries; i++) { in BackendInvalidEntryWithLoad()
687 if (i < kNumEntries / 2) in BackendInvalidEntryWithLoad()
693 for (int i = kNumEntries / 2; i < kNumEntries; i++) { in BackendInvalidEntryWithLoad()
698 for (int i = 0; i < kNumEntries / 2; i++) { in BackendInvalidEntryWithLoad()
704 EXPECT_EQ(kNumEntries / 2, cache_->GetEntryCount()); in BackendInvalidEntryWithLoad()
843 const int kNumEntries = 100; in BackendEnumerations() local
844 for (int i = 0; i < kNumEntries; i++) { in BackendEnumerations()
850 EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); in BackendEnumerations()
856 Time last_modified[kNumEntries]; in BackendEnumerations()
857 Time last_used[kNumEntries]; in BackendEnumerations()
860 if (count < kNumEntries) { in BackendEnumerations()
870 EXPECT_EQ(kNumEntries, count); in BackendEnumerations()
877 if (count < kNumEntries) { in BackendEnumerations()
884 EXPECT_EQ(kNumEntries, count); in BackendEnumerations()
1028 const int kNumEntries = 10; in BackendFixEnumerators() local
1029 for (int i = 0; i < kNumEntries; i++) { in BackendFixEnumerators()
1035 EXPECT_EQ(kNumEntries, cache_->GetEntryCount()); in BackendFixEnumerators()
1046 for (int i = 0; i < kNumEntries / 2; i++) { in BackendFixEnumerators()