/external/chromium_org/build/android/pylib/utils/ |
timeout_retry_unittest.py | 17 def _NeverEnding(tries): 18 tries[0] += 1 23 def _CountTries(tries): 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 [all...] |
/external/dexmaker/src/dx/java/com/android/dx/io/ |
Code.java | 25 private final Try[] tries; field in class:Code 29 short[] instructions, Try[] tries, CatchHandler[] catchHandlers) { 35 this.tries = tries; 60 return tries;
|
/external/chromium_org/tools/xdisplaycheck/ |
xdisplaycheck.cc | 5 // This is a small program that tries to connect to the X server. It 65 int tries; local 66 for (tries = 0; tries < kNumTries; ++tries) { 70 Sleep(10 * tries); 78 fprintf(stderr, "Connected after %d retries\n", tries);
|
/device/generic/goldfish/qemu-props/ |
qemu-props.c | 52 int tries = MAX_TRIES; local 59 if (--tries <= 0) { 60 DD("Could not connect after too many tries. Aborting");
|
/external/eigen/bench/ |
basicbenchmark.cpp | 21 const int tries = 10; local 26 BOOST_PP_SEQ_ELEM(1,EL),BOOST_PP_SEQ_ELEM(1,EL)), BOOST_PP_SEQ_ELEM(2,EL), tries) \
|
basicbenchmark.h | 38 double benchBasic(const MatrixType& mat, int size, int tries) __attribute__((noinline)); 41 double benchBasic(const MatrixType& mat, int iterations, int tries) 52 for(uint t=0; t<tries; ++t)
|
quatmul.cpp | 22 int tries = 10; local 32 BENCH(t, tries, rep, quatmul_default(a,b,c)); 35 BENCH(t, tries, rep, quatmul_novec(a,b,c));
|
spmv.cpp | 11 #define SPMV_BENCH(CODE) BENCH(t,tries,repeats,CODE); 43 int tries = 2; local 63 tries = atoi(argv[i]+1); 76 std::cout << argv[0] << " r<nb rows> c<nb columns> n<non zeros per column> t<nb tries> p<nb repeats>\n"; 80 std::cout << "SpMV " << rows << " x " << cols << " with " << nnzPerCol << " non zeros per column. (" << repeats << " repeats, and " << tries << " tries)\n\n"; local
|
bench_gemm.cpp | 129 int tries = 2; // number of tries, we keep the best local 142 tries = atoi(argv[i]+1); 151 std::cout << argv[0] << " s<matrix size> c<cache size> t<nb tries> p<nb repeats>\n"; 201 BENCH(tblas, tries, rep, blas_gemm(a,b,c)); 208 BENCH(tmt, tries, rep, gemm(a,b,c)); 219 BENCH(tmono, tries, rep, gemm(a,b,c)); 237 BENCH(t, tries, rep, matlab_cplx_cplx(ar,ai,br,bi,cr,ci)); 250 BENCH(t, tries, rep, matlab_real_cplx(a,br,bi,cr,ci)); 263 BENCH(t, tries, rep, matlab_cplx_real(ar,ai,b,cr,ci)) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
DHParametersHelper.java | 30 int tries = 0; local 38 tries++; 53 logger.info("Generated safe primes: " + tries + " tries took " + duration + "ms");
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
mktemp.c | 47 unsigned int tries; local 66 tries = INT_MAX; 99 } while (--tries);
|
/dalvik/libdex/ |
DexCatch.h | 131 const DexTry* tries = dexGetTries(pCode); local 132 u4 start = tries[0].startAddr; 138 u4 end = start + tries[0].insnCount; 144 offset = tries[0].handlerOff;
|
/cts/tests/tests/security/src/android/security/cts/ |
ClonedSecureRandomTest.java | 150 int tries = 0; local 156 if (tries > 0) { 161 } while (!serviceStopLatch.await(100, TimeUnit.MILLISECONDS) && tries++ < MAX_SHUTDOWN_TRIES); 162 assertTrue("Background process should have stopped already", tries < MAX_SHUTDOWN_TRIES);
|
/external/chromium_org/chrome/browser/password_manager/ |
password_manager_util_win.cc | 162 int tries = 0; local 212 tries++; 226 (tries > 1 ? CREDUI_FLAGS_INCORRECT_PASSWORD : 0)); 250 (retval == false && tries < kMaxPasswordRetries));
|
/external/chromium_org/build/android/pylib/base/ |
test_dispatcher.py | 54 def __init__(self, test, tries=0): 59 tries: Number of tries so far. 62 self.tries = tries 185 test.tries += 1 186 if retry and test.tries <= num_retries: 191 logging.warning('Will retry test, try #%s.' % test.tries) 192 test_collection.add(_Test(test=retry, tries=test.tries)) [all...] |
/external/chromium_org/third_party/skia/experimental/Intersection/ |
QuarticRoot.cpp | 144 double tries[3][4]; 168 nums[index] = quadraticRootsReal(1, q < 0 ? -v : v, z - u, tries[index]); 169 nums[index] += quadraticRootsReal(1, q < 0 ? v : -v, z + u, tries[index] + nums[index]); 173 tries[index][i] -= sub; 179 SkDebugf(" %1.9g", tries[index][idx2]);
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
Win32PipeStream.cpp | 127 int tries = 10; local 134 for (; tries > 0; tries--) {
|
/external/chromium_org/build/android/pylib/ |
ports.py | 132 def IsHttpServerConnectable(host, port, tries=3, command='GET', path='/', 139 tries: How many times we want to test the connection. The default value is 154 assert tries >= 1 155 for i in xrange(0, tries):
|
/external/eigen/Eigen/src/SparseLU/ |
SparseLU_Memory.h | 106 Index tries = 0; // Number of attempts local 123 tries += 1; 124 if ( tries > 10) return new_len;
|
/bootable/recovery/ |
bootloader.cpp | 147 int tries = 0; local 151 ++tries; 154 printf("stat %s try %d: %s\n", fn, tries, strerror(errno)); 157 } while (ret && tries < 10);
|
/external/eigen/bench/btl/generic_bench/timers/ |
portable_perf_analyzer.hh | 56 for (int i=1; i<BtlConfig::Instance.tries; ++i)
|
/external/lldb/source/DataFormatters/ |
NSSet.cpp | 257 uint32_t tries = 0; local 260 while(tries < num_children) 275 tries++; 400 uint32_t tries = 0; local 403 while(tries < num_children) 418 tries++;
|
/development/samples/Wiktionary/src/com/example/android/wiktionary/ |
ExtendedWikiHelper.java | 202 int tries = 0; local 203 while (tries++ < RANDOM_TRIES) { 225 // No valid word found in number of tries, so return null
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/walkers/ |
bare_object_walker.js | 7 * This is a bare class that tries to limit dependencies. It should only be used
|
/external/chromium_org/tools/clang/scripts/ |
update.py | 81 def RunCommand(command, tries=1): 83 for i in range(0, tries): 113 url + '@' + LLVM_WIN_REVISION, dir], tries=2)
|