Home
last modified time | relevance | path

Searched refs:kMaxEntries (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/net/ftp/
Dftp_auth_cache.cc13 const size_t FtpAuthCache::kMaxEntries = 10; member in net::FtpAuthCache
46 if (entries_.size() > kMaxEntries) in Add()
Dftp_auth_cache_unittest.cc139 for (size_t i = 0; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
145 for (size_t i = 0; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
155 for (size_t i = 1; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
Dftp_auth_cache.h27 static const size_t kMaxEntries;
/external/chromium/net/ftp/
Dftp_auth_cache.cc13 const size_t FtpAuthCache::kMaxEntries = 10; member in net::FtpAuthCache
50 if (entries_.size() > kMaxEntries) in Add()
Dftp_auth_cache_unittest.cc137 for (size_t i = 0; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
143 for (size_t i = 0; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
152 for (size_t i = 1; i < FtpAuthCache::kMaxEntries; i++) { in TEST()
Dftp_auth_cache.h27 static const size_t kMaxEntries;
/external/chromium_org/sync/internal_api/
Ddebug_info_event_listener_unittest.cc27 for (unsigned int i = 0; i < 2*kMaxEntries; ++i) { in TEST_F()
35 ASSERT_EQ(static_cast<int>(kMaxEntries), debug_info.events_size()); in TEST_F()
Ddebug_info_event_listener.cc149 DCHECK_LE(events_.size(), kMaxEntries); in GetDebugInfo()
166 DCHECK_LE(events_.size(), kMaxEntries); in ClearDebugInfo()
260 if (events_.size() >= kMaxEntries) { in AddEventToQueue()
Ddebug_info_event_listener.h28 const unsigned int kMaxEntries = MODEL_TYPE_COUNT + 10; variable
/external/chromium_org/net/quic/crypto/
Dlocal_strike_register_client_test.cc48 size_t kMaxEntries = 100; variable
58 kMaxEntries, kCurrentTimeExternalSecs, kWindowSecs, kOrbit, in SetUp()
Dcrypto_framer.cc108 if (num_entries > kMaxEntries) { in ConstructHandshakeMessage()
216 if (num_entries_ > kMaxEntries) { in Process()
Dcrypto_protocol.h118 const size_t kMaxEntries = 128; // Max number of entries in a message. variable
Dcrypto_framer_test.cc165 for (uint32 key = 1; key <= kMaxEntries + 1; ++key) { in TEST()
/external/chromium_org/chrome/browser/sessions/
Dpersistent_tab_restore_service.cc110 const size_t kMaxEntries = TabRestoreServiceHelper::kMaxEntries; variable
324 if (tab_restore_service_helper_->entries().size() == kMaxEntries) { in LoadTabsFromLastSession()
565 if (tab_restore_service_helper_->entries().size() == kMaxEntries) in CreateEntriesFromCommands()
826 if (staging_entries_.empty() || entries.size() >= kMaxEntries) { in LoadStateChanged()
832 if (staging_entries_.size() + entries.size() > kMaxEntries) { in LoadStateChanged()
836 int surplus = kMaxEntries - entries.size(); in LoadStateChanged()
840 staging_entries_.begin() + (kMaxEntries - entries.size()), in LoadStateChanged()
Dpersistent_tab_restore_service_unittest.cc74 kMaxEntries = TabRestoreServiceHelper::kMaxEntries, enumerator
515 for (size_t i = 0; i < kMaxEntries; ++i) in TEST_F()
529 ASSERT_EQ(kMaxEntries, service_->entries().size()); in TEST_F()
643 const size_t max_entries = kMaxEntries; in TEST_F()
736 const size_t max_entries = kMaxEntries; in TEST_F()
752 const size_t max_entries = kMaxEntries; in TEST_F()
Dtab_restore_service_helper.h62 kMaxEntries = 25, enumerator
Dtab_restore_service_helper.cc331 if (!FilterEntry(entry) || (entries_.size() >= kMaxEntries && !to_front)) { in AddEntry()
358 new_entries.size() < kMaxEntries) { in PruneEntries()
/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc56 const size_t TabRestoreService::kMaxEntries = 10; member in TabRestoreService
535 while (entries_.size() > kMaxEntries) { in PruneAndNotify()
727 if (request->canceled() || entries_.size() == kMaxEntries) in CreateEntriesFromCommands()
946 size_t max_valid = kMaxEntries - entries_.size(); in ValidateAndDeleteEmptyEntries()
1059 if (staging_entries_.size() + entries_.size() > kMaxEntries) { in LoadStateChanged()
1063 DCHECK(entries_.size() < kMaxEntries); in LoadStateChanged()
1065 staging_entries_.begin() + (kMaxEntries - entries_.size()), in LoadStateChanged()
1068 staging_entries_.begin() + (kMaxEntries - entries_.size()), in LoadStateChanged()
Dtab_restore_service.h166 static const size_t kMaxEntries; variable
Dtab_restore_service_browsertest.cc421 for (size_t i = 0; i < TabRestoreService::kMaxEntries; ++i) in TEST_F()
434 ASSERT_EQ(TabRestoreService::kMaxEntries, service_->entries().size()); in TEST_F()
/external/chromium_org/net/socket/
Dssl_session_cache_openssl.h130 static const size_t kMaxEntries = 1024; variable
/external/skia/src/gpu/gl/
DGrGpuGL_program.cpp133 if (fCount < kMaxEntries) { in getProgram()
138 SkASSERT(fCount == kMaxEntries); in getProgram()
140 for (int i = 1; i < kMaxEntries; ++i) { in getProgram()
DGrGpuGL.h198 kMaxEntries = 32, enumerator
211 Entry* fEntries[kMaxEntries];
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGpuGL_program.cpp133 if (fCount < kMaxEntries) { in getProgram()
138 SkASSERT(fCount == kMaxEntries); in getProgram()
140 for (int i = 1; i < kMaxEntries; ++i) { in getProgram()
DGrGpuGL.h198 kMaxEntries = 32, enumerator
211 Entry* fEntries[kMaxEntries];

12