Home
last modified time | relevance | path

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

1234567891011

/external/chromium_org/build/android/pylib/utils/
Dtimeout_retry_unittest.py17 def _NeverEnding(tries=[0]): argument
18 tries[0] += 1
23 def _CountTries(tries): argument
24 tries[0] += 1
36 tries = [0]
38 timeout_retry.Run, lambda: _NeverEnding(tries), 0, 3)
39 self.assertEqual(tries[0], 4)
42 tries = [0]
44 timeout_retry.Run, lambda: _CountTries(tries), 30, 3)
45 self.assertEqual(tries[0], 4)
/external/chromium_org/tools/xdisplaycheck/
Dxdisplaycheck.cc65 int tries; in main() local
66 for (tries = 0; tries < kNumTries; ++tries) { in main()
70 Sleep(10 * tries); in main()
78 fprintf(stderr, "Connected after %d retries\n", tries); in main()
/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/smali/dexlib/src/main/java/org/jf/dexlib/
DCodeItem.java46 private TryItem[] tries; field in CodeItem
76 TryItem[] tries, in CodeItem() argument
89 this.tries = tries; in CodeItem()
111 List<TryItem> tries, in internCodeItem() argument
117 if (tries != null && tries.size() > 0) { in internCodeItem()
118 triesArray = new TryItem[tries.size()]; in internCodeItem()
119 tries.toArray(triesArray); in internCodeItem()
189 tries = new TryItem[triesCount]; in readItem()
192 tries[i] = new TryItem(in, handlerMap); in readItem()
207 if (tries != null && tries.length > 0) { in placeItem()
[all …]
/external/chromium/chrome/browser/resources/chromeos/
Dsim_unlock.js45 var tries = simInfo.tries;
57 'enterPinTriesMessage', tries);
61 'incorrectPinTriesMessage', tries);
76 'incorrectPinTriesMessage', tries);
92 'incorrectPinTriesMessage', tries);
108 if (tries && tries >= 0) {
110 'enterPukWarning', tries);
/external/qemu/android/utils/
Dfilelock.c116 int tries; in filelock_lock() local
118 for ( tries = 4; tries > 0; tries-- ) in filelock_lock()
221 int rc, tries, _sleep; in filelock_lock() local
252 for ( tries = 4; tries > 0; tries-- ) in filelock_lock()
325 tries++; in filelock_lock()
/external/chromium_org/build/android/pylib/base/
Dtest_dispatcher.py54 def __init__(self, test, tries=0): argument
62 self.tries = tries
177 test.tries += 1
178 if retry and test.tries <= num_retries:
183 logging.warning('Will retry test, try #%s.' % test.tries)
184 test_collection.add(_Test(test=retry, tries=test.tries))
/external/chromium_org/third_party/WebKit/Source/build/scripts/
Dpreprocessor.pm68 for (my $tries = 0; !$pid && ($tries < 20); $tries++) {
/external/qemu/android/
Dqemu-setup.c190 int tries = 3; in report_console() local
194 } while (s2 < 0 && --tries > 0); in report_console()
229 int tries = 16; in android_emulation_setup() local
306 (unsigned)((port - base_port) >> 1) >= (unsigned)tries ) { in android_emulation_setup()
308 base_port, base_port + (tries-1)*2 ); in android_emulation_setup()
317 tries = 1; in android_emulation_setup()
320 for ( ; tries > 0; tries--, base_port += 2 ) { in android_emulation_setup()
/external/valgrind/main/memcheck/tests/
Dsh-mem-random.c233 int tries; in main() local
245 for (tries = 0; tries < 10; tries++) { in main()
254 if (tries >= 10) { in 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()
Dbasicbenchmark.cpp21 const int tries = 10; in main() local
26 BOOST_PP_SEQ_ELEM(1,EL),BOOST_PP_SEQ_ELEM(1,EL)), BOOST_PP_SEQ_ELEM(2,EL), tries) \ in main()
Dbench_gemm.cpp129 int tries = 2; // number of tries, we keep the best in main() local
142 tries = atoi(argv[i]+1); in main()
201 BENCH(tblas, tries, rep, blas_gemm(a,b,c)); in main()
208 BENCH(tmt, tries, rep, gemm(a,b,c)); in main()
219 BENCH(tmono, tries, rep, gemm(a,b,c)); in main()
237 BENCH(t, tries, rep, matlab_cplx_cplx(ar,ai,br,bi,cr,ci)); in main()
250 BENCH(t, tries, rep, matlab_real_cplx(a,br,bi,cr,ci)); in main()
263 BENCH(t, tries, rep, matlab_cplx_real(ar,ai,b,cr,ci)); in main()
Dspmv.cpp11 #define SPMV_BENCH(CODE) BENCH(t,tries,repeats,CODE);
43 int tries = 2; in main() local
63 tries = atoi(argv[i]+1); in main()
80 …< nnzPerCol << " non zeros per column. (" << repeats << " repeats, and " << tries << " tries)\n\n"; in main()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DDHParametersHelper.java30 int tries = 0; in generateSafePrimes() local
38 tries++; in generateSafePrimes()
53 logger.info("Generated safe primes: " + tries + " tries took " + duration + "ms"); in generateSafePrimes()
/external/chromium_org/chrome/browser/resources/chromeos/
Dsim_unlock.js53 var tries = simInfo.tries;
65 'enterPinTriesMessage', tries);
69 'incorrectPinTriesMessage', tries);
84 'incorrectPinTriesMessage', tries);
100 'incorrectPinTriesMessage', tries);
116 if (tries && tries >= 0) {
118 'enterPukWarning', tries);
/external/openssh/regress/
Dcipher-speed.sh11 tries="1 2"
25 for x in $tries; do
Dkextype.sh20 tries="1 2 3 4"
23 for i in $tries; do
/external/chromium_org/chrome/browser/password_manager/
Dpassword_manager_util_win.cc159 int tries = 0; in AuthenticateUser() local
203 tries++; in AuthenticateUser()
217 (tries > 1 ? CREDUI_FLAGS_INCORRECT_PASSWORD : 0)); in AuthenticateUser()
241 (retval == false && tries < kMaxPasswordRetries)); in AuthenticateUser()
/external/libppp/src/
Ddatalink.c136 dl->dial.tries = dl->cfg.dial.max; in datalink_HangupDone()
154 ((!dl->dial.tries || (dl->dial.tries < 0 && !dl->reconnect_tries)) && in datalink_HangupDone()
157 dl->dial.tries = -1; in datalink_HangupDone()
169 if (dl->dial.tries < 0) { in datalink_HangupDone()
171 dl->dial.tries = dl->cfg.dial.max; in datalink_HangupDone()
216 dl->dial.tries = -1; in datalink_LoginDone()
220 dl->dial.tries = 0; in datalink_LoginDone()
234 dl->dial.tries = -1; in datalink_LoginDone()
276 if (--dl->dial.tries < 0) in datalink_UpdateSet()
277 dl->dial.tries = 0; in datalink_UpdateSet()
[all …]
/external/smack/src/org/jivesoftware/smackx/ping/
DServerPingTask.java32 private int tries = 3; // 3 tries field in ServerPingTask
49 for (int i = 0; i < tries; i++) { in run()
/external/chromium_org/build/android/pylib/
Dports.py132 def IsHttpServerConnectable(host, port, tries=3, command='GET', path='/', argument
154 assert tries >= 1
155 for i in xrange(0, tries):
/external/ppp/pppd/plugins/radius/
Dbuildreq.c96 int tries = 1; in rc_get_seqnbr() local
114 tries++; in rc_get_seqnbr()
115 if (tries <= 10) in rc_get_seqnbr()
121 if (tries > 10) { in rc_get_seqnbr()
122 error("rc_get_seqnbr: couldn't get lock after %d tries: %s", tries-1, seqfile); in rc_get_seqnbr()
/external/chromium_org/chrome/test/functional/gtalk/
Dtest_basic.py279 for tries in range(RETRIES):
281 % (version, tries + 1, RETRIES))
285 % (version, tries + 1))
292 if tries < RETRIES - 1:

1234567891011