Home
last modified time | relevance | path

Searched refs:tries (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry_unittest.py23 def _CountTries(tries): argument
24 tries[0] += 1
36 tries = [0]
39 tries[0] += 1
45 self.assertEqual(tries[0], 2)
48 tries = [0]
50 TestException, timeout_retry.Run, lambda: _CountTries(tries),
52 self.assertEqual(tries[0], 4)
55 tries = [0]
57 TestException, timeout_retry.Run, lambda: _CountTries(tries),
[all …]
/external/autotest/client/site_tests/graphics_Idle/
Dgraphics_Idle.py119 tries = 0
124 while found == False and tries < 20:
133 tries += 1
148 tries = 0
153 while not found and tries < 80:
172 tries += 1
220 tries = 0
222 while not found and tries < 80:
230 tries += 1
257 tries = 0
[all …]
/external/autotest/client/site_tests/usbpd_GFU/
Dusbpd_GFU.py95 def _modify_rw(self, port, rw=None, tries=3): argument
109 tries = 1
113 while (tries):
123 tries -= 1
129 tries -= 1
145 def _test_update(self, port, rw=None, tries=3): argument
158 if not tries:
167 while tries:
174 if tries:
176 tries -= 1
[all …]
/external/tlsdate/src/events/
Drun_tlsdate.c37 if (state->tries > 0) in action_run_tlsdate()
39 state->tries--; in action_run_tlsdate()
48 if (state->tries < state->opts.max_tries) in action_run_tlsdate()
50 state->tries++; in action_run_tlsdate()
54 state->tries = 0; in action_run_tlsdate()
61 state->tries, state->backoff); in action_run_tlsdate()
73 state->tries = 0; in action_run_tlsdate()
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_du.py46 @Retry(AssertionError, tries=3, timeout_secs=1)
56 @Retry(AssertionError, tries=3, timeout_secs=1)
67 @Retry(AssertionError, tries=3, timeout_secs=1)
86 @Retry(AssertionError, tries=3, timeout_secs=1)
102 @Retry(AssertionError, tries=3, timeout_secs=1)
116 @Retry(AssertionError, tries=3, timeout_secs=1)
128 @Retry(AssertionError, tries=3, timeout_secs=1)
146 @Retry(AssertionError, tries=3, timeout_secs=1)
166 @Retry(AssertionError, tries=3, timeout_secs=1)
173 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
Dtest_rsync.py136 @Retry(AssertionError, tries=3, timeout_secs=1)
159 @Retry(AssertionError, tries=3, timeout_secs=1)
175 @Retry(AssertionError, tries=3, timeout_secs=1)
191 @Retry(AssertionError, tries=3, timeout_secs=1)
222 @Retry(AssertionError, tries=3, timeout_secs=1)
243 @Retry(AssertionError, tries=3, timeout_secs=1)
260 @Retry(AssertionError, tries=3, timeout_secs=1)
274 @Retry(AssertionError, tries=3, timeout_secs=1)
312 @Retry(AssertionError, tries=3, timeout_secs=1)
333 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
Dtest_ls.py48 @Retry(AssertionError, tries=3, timeout_secs=1)
59 @Retry(AssertionError, tries=3, timeout_secs=1)
71 @Retry(AssertionError, tries=3, timeout_secs=1)
98 @Retry(AssertionError, tries=3, timeout_secs=1)
134 @Retry(AssertionError, tries=3, timeout_secs=1)
148 @Retry(AssertionError, tries=3, timeout_secs=1)
169 @Retry(AssertionError, tries=3, timeout_secs=1)
189 @Retry(AssertionError, tries=3, timeout_secs=1)
296 @Retry(AssertionError, tries=3, timeout_secs=1)
304 @Retry(AssertionError, tries=3, timeout_secs=1)
[all …]
/external/autotest/server/site_tests/cellular_StaleModemReboot/
Dcontrol12 modem is in a non testable state after two or more tries.
28 is in. After the reboot, it tries to get the modem state again and if the
30 it tries to reboot the DUT for a maximum of two tries by default. User can
31 override the number of tries by passing a tries flag with a desired value.
75 tries = int(args_dict.get('tries', 2))
76 job.run_test('cellular_StaleModemReboot', host=host, tries=tries)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/kinesis/
Dtest_kinesis.py46 tries = 0
47 while tries < 10:
48 tries += 1
86 tries = 0
90 while tries < 100:
91 tries += 1
/external/dexmaker/src/dx/java/com/android/dx/io/
DCode.java25 private final Try[] tries; field in Code
29 short[] instructions, Try[] tries, CatchHandler[] catchHandlers) { in Code() argument
35 this.tries = tries; in Code()
60 return tries; in getTries()
/external/autotest/client/site_tests/platform_TLSDate/src/
Dtest.conf1 subprocess-wait-between-tries 2
2 subprocess-tries 2
3 wait-between-tries 2
4 tries 2
/external/chromium-trace/catapult/third_party/gsutil/third_party/rsa/rsa/
Drandnum.py70 tries = 0
76 if tries and tries % 10 == 0:
81 tries += 1
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/swf/
Dtest_layer1_workflow_execution.py27 tries = 0
35 tries += 1
36 if tries > 10:
84 tries = 0
92 tries += 1
93 if tries > 10:
/external/google-breakpad/src/common/android/testing/
Dmkdtemp.h92 int tries; in breakpad_mkdtemp() local
93 for (tries = 128; tries > 0; tries--) { in breakpad_mkdtemp()
/external/autotest/client/samples/
Dcontrol.soft_reboot16 tries = job.get_state('soft_reboot_tries', 0) + 1
17 job.set_state("soft_reboot_tries", tries)
19 if tries < ITERATIONS:
28 if tries <= ITERATIONS:
/external/valgrind/memcheck/tests/
Dsh-mem-random.c246 int tries; in main() local
258 for (tries = 0; tries < 10; tries++) { in main()
267 if (tries >= 10) { in main()
/external/tlsdate/src/
Dtlsdated-unittest.c206 self->state.tries = 0; in TEST_F()
210 self->state.tries = 0; in TEST_F()
215 self->state.tries = 0; in TEST_F()
264 self->state.tries = 0; in TEST_F()
268 self->state.tries = 0; in TEST_F()
272 self->state.tries = 0; in TEST_F()
297 self->state.tries = 0; in TEST_F()
302 self->state.tries = 0; in TEST_F()
/external/valgrind/memcheck/tests/solaris/
Ddoor_data.c103 int tries; in client_main() local
107 tries = 0; in client_main()
116 if (tries > 10) { in client_main()
123 tries++; in client_main()
/external/eigen/bench/
Dquatmul.cpp22 int tries = 10; in bench() local
32 BENCH(t, tries, rep, quatmul_default(a,b,c)); in bench()
35 BENCH(t, tries, rep, quatmul_novec(a,b,c)); in bench()
Dbasicbenchmark.h38 double benchBasic(const MatrixType& mat, int size, int tries) __attribute__((noinline));
41 double benchBasic(const MatrixType& mat, int iterations, int tries) in benchBasic() argument
52 for(uint t=0; t<tries; ++t) in benchBasic()
/external/owasp/sanitizer/tools/
Dgooglecode_upload.py156 user_name=None, password=None, tries=3): argument
179 while tries > 0:
201 tries = tries - 1
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHParametersHelper.java31 int tries = 0; in generateSafePrimes() local
40 tries++; in generateSafePrimes()
73 logger.info("Generated safe primes: " + tries + " tries took " + duration + "ms"); in generateSafePrimes()
/external/vboot_reference/firmware/lib/cgptlib/
Dcgptlib.c130 int tries; in GptUpdateKernelWithEntry() local
138 tries = GetEntryTries(e); in GptUpdateKernelWithEntry()
139 if (tries > 1) { in GptUpdateKernelWithEntry()
142 SetEntryTries(e, tries - 1); in GptUpdateKernelWithEntry()
/external/vboot_reference/firmware/2lib/
D2misc.c318 uint32_t tries; in vb2_select_fw_slot() local
335 tries = vb2_nv_get(ctx, VB2_NV_TRY_COUNT); in vb2_select_fw_slot()
339 tries == 0) { in vb2_select_fw_slot()
348 if (tries > 0) { in vb2_select_fw_slot()
353 vb2_nv_set(ctx, VB2_NV_TRY_COUNT, tries - 1); in vb2_select_fw_slot()
/external/tlsdate/tests/run-idle/
Dtest.conf3 subprocess-tries 1
4 subprocess-wait-between-tries 2

12345678910>>...14