Home
last modified time | relevance | path

Searched refs:kMaxAttempts (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/base/
Drand_util_unittest.cc84 const int kMaxAttempts = 1000000; in TEST() local
88 while (count < kMaxAttempts) { in TEST()
103 ASSERT_LT(count, kMaxAttempts) << "Expected average was " << in TEST()
/external/chromium_org/net/base/
Dkeygen_handler_win.cc168 const int kMaxAttempts = 5; in GenKeyAndSignChallenge() local
170 for (attempt = 0; attempt < kMaxAttempts; ++attempt) { in GenKeyAndSignChallenge()
192 if (attempt == kMaxAttempts) { in GenKeyAndSignChallenge()
/external/chromium_org/v8/src/compiler/
Dgraph-reducer.cc26 static const unsigned kMaxAttempts = 16; in ReduceNode() local
28 for (unsigned attempts = 0; attempts <= kMaxAttempts; ++attempts) { in ReduceNode()
/external/chromium_org/remoting/protocol/
Dchromium_socket_factory_unittest.cc43 const int kMaxAttempts = 3; in VerifyCanSendAndReceive() local
48 while (last_packet_.empty() && attempts++ < kMaxAttempts) { in VerifyCanSendAndReceive()
/external/chromium_org/components/variations/
Dentropy_provider_unittest.cc340 const int kMaxAttempts = 1000000; in TEST() local
348 while (count < kMaxAttempts) { in TEST()
363 ASSERT_LT(count, kMaxAttempts) << "Expected average was " << in TEST()
/external/chromium_org/chrome/browser/sync/glue/
Dsynced_session_tracker_unittest.cc173 const int kMaxAttempts = 10000; in TEST_F() local
176 for (int i=0; i<kMaxAttempts; ++i) { in TEST_F()
/external/chromium_org/extensions/common/
Dfile_util.cc89 const int kMaxAttempts = 100; in InstallExtension() local
90 for (int i = 0; i < kMaxAttempts; ++i) { in InstallExtension()
/external/chromium_org/components/wifi/
Dwifi_service_win.cc468 static const int kMaxAttempts = 100; member in wifi::WiFiServiceImpl
858 if (attempt > kMaxAttempts) { in WaitForNetworkConnect()
859 LOG(ERROR) << kMaxAttempts << " attempts exceeded waiting for connect to " in WaitForNetworkConnect()