Home
last modified time | relevance | path

Searched refs:max_tries (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py73 def WaitFor(condition, wait_period=5, max_tries=None): argument
98 while max_tries is None or max_tries > 0:
100 if max_tries is not None:
101 max_tries -= 1
/external/eigen/test/
Dumeyama.cpp29 int max_tries = 40; in randMatrixUnitary() local
32 while (!is_unitary && max_tries > 0) in randMatrixUnitary()
64 --max_tries; in randMatrixUnitary()
67 if (max_tries == 0) in randMatrixUnitary()
/external/autotest/client/cros/cellular/
Dprologix_scpi_driver.py100 max_tries = 10
101 while max_tries > 0:
102 max_tries -= 1
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_compatibility_devicetest.py49 lambda: not _hostAdbPids(), wait_period=0.1, max_tries=10))
59 lambda: bool(_hostAdbPids()), wait_period=0.1, max_tries=10))
/external/libchrome/base/process/
Dprocess_iterator_mac.cc34 const int max_tries = 10; in ProcessIterator() local
65 } while (!done && (try_num++ < max_tries)); in ProcessIterator()
/external/tlsdate/src/
Dtlsdated.c124 opts->max_tries = MAX_TRIES; in set_conf_defaults()
169 opts->max_tries = atoi (optarg); in parse_argv()
327 opts->max_tries = atoi (e->value); in load_conf()
398 if (!opts->max_tries) in check_conf()
Dtlsdated-unittest.c202 self->state.opts.max_tries = 3; in TEST_F()
261 self->state.opts.max_tries = 5; in TEST_F()
Dtlsdate.h115 int max_tries; member
/external/tlsdate/src/events/
Drun_tlsdate.c48 if (state->tries < state->opts.max_tries) in action_run_tlsdate()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dvideo_recorder.py66 screenrecord_started, wait_period=1, max_tries=timeout)
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils.py147 if not timeout_retry.WaitFor(adb_killed, wait_period=1, max_tries=5):
151 if not timeout_retry.WaitFor(adb_started, wait_period=1, max_tries=5):