Searched refs:kMaxAttempts (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/base/
H A Drand_util_unittest.cc81 const int kMaxAttempts = 1000000; local
85 while (count < kMaxAttempts) {
100 ASSERT_LT(count, kMaxAttempts) << "Expected average was " <<
H A Dfile_util_posix.cc730 const int kMaxAttempts = 20; local
731 for (int attempts = 0; attempts < kMaxAttempts; attempts++) {
/external/chromium/net/base/
H A Dkeygen_handler_win.cc167 const int kMaxAttempts = 5; local
169 for (attempt = 0; attempt < kMaxAttempts; ++attempt) {
191 if (attempt == kMaxAttempts) {
/external/chromium_org/net/base/
H A Dkeygen_handler_win.cc167 const int kMaxAttempts = 5; local
169 for (attempt = 0; attempt < kMaxAttempts; ++attempt) {
191 if (attempt == kMaxAttempts) {
/external/chromium_org/remoting/jingle_glue/
H A Dchromium_socket_factory_unittest.cc53 const int kMaxAttempts = 3; local
68 while (last_packet_.empty() && attempts++ < kMaxAttempts) {
/external/chromium_org/components/variations/
H A Dentropy_provider_unittest.cc340 const int kMaxAttempts = 1000000; local
348 while (count < kMaxAttempts) {
363 ASSERT_LT(count, kMaxAttempts) << "Expected average was " <<
/external/chromium_org/chrome/browser/sync/glue/
H A Dsynced_session_tracker_unittest.cc173 const int kMaxAttempts = 10000; local
176 for (int i=0; i<kMaxAttempts; ++i) {
/external/chromium/chrome/common/extensions/
H A Dextension_file_util.cc59 const int kMaxAttempts = 100; local
60 for (int i = 0; i < kMaxAttempts; ++i) {
/external/chromium_org/chrome/common/extensions/
H A Dextension_file_util.cc96 const int kMaxAttempts = 100; local
97 for (int i = 0; i < kMaxAttempts; ++i) {
/external/chromium_org/components/wifi/
H A Dwifi_service_win.cc232 // Wait up to |kMaxAttempts| with |kAttemptDelayMs| delay for connection
420 static const int kMaxAttempts = 100; member in class:wifi::WiFiServiceImpl
693 // If network didn't get connected in |kMaxAttempts|, then restore automatic
695 if (attempt > kMaxAttempts) {
696 DLOG(ERROR) << kMaxAttempts << " attempts exceeded waiting for connect to "

Completed in 299 milliseconds