/external/mockito/src/test/java/org/mockitoutil/ |
D | RetryRule.java | 17 public static RetryRule attempts(final int attempts) { in attempts() argument 18 return new RetryRule(new NumberedAttempts(attempts)); in attempts() 30 private final int attempts; field in RetryRule.NumberedAttempts 32 NumberedAttempts(int attempts) { in NumberedAttempts() argument 33 assert attempts > 1; in NumberedAttempts() local 34 this.attempts = attempts; in NumberedAttempts() 42 … for (int remainingAttempts = attempts; remainingAttempts > 0 ; remainingAttempts--) { in apply() 47 … throw new AssertionError(format("Tried this test + %d times and failed", attempts)) in apply()
|
/external/vboot_reference/utility/ |
D | tpm-dad-lock | 20 attempts=0 25 attempts=$(( $attempts + 1 )) 44 echo delay of $elapsed seconds after $attempts attempts
|
/external/compiler-rt/test/asan/android_commands/ |
D | android_common.py | 11 def adb(args, attempts = 1): argument 17 while attempts > 0 and ret != 0: 18 attempts -= 1 20 if attempts != 0:
|
/external/tensorflow/tensorflow/core/kernels/ |
D | queue_base.cc | 193 std::deque<Attempt>* attempts = in Cancel() local 196 for (Attempt& attempt : *attempts) { in Cancel() 266 std::deque<Attempt>* attempts = in TryAttemptLocked() local 271 while (!done && !attempts->empty()) { in TryAttemptLocked() 272 if (attempts->front().is_cancelled) { in TryAttemptLocked() 290 attempts->pop_front(); in TryAttemptLocked() 292 Attempt* cur_attempt = &attempts->front(); in TryAttemptLocked() 306 attempts->pop_front(); in TryAttemptLocked()
|
/external/autotest/server/site_tests/servo_ConsoleStress/ |
D | control.servo_v4 | 29 attempts = int(args_dict.get("attempts", 5000)) 35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
|
D | control.ec | 29 attempts = int(args_dict.get("attempts", 1000)) 35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
|
D | control.cr50 | 29 attempts = int(args_dict.get("attempts", 1000)) 35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
|
D | control | 29 attempts = int(args_dict.get("attempts", 1000)) 35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
|
D | control.servo_micro | 29 attempts = int(args_dict.get("attempts", 5000)) 35 attempts=attempts, cmd_type=cmd_type, cmd=cmd)
|
D | servo_ConsoleStress.py | 41 def run_once(self, attempts, cmd_type, cmd): argument 63 for i in range(attempts):
|
/external/autotest/server/cros/ |
D | tradefed_utils.py | 28 attempts = 0 31 attempts += 1 35 filelock.acquire(random.uniform(0.0, pow(2.0, attempts))) 40 if attempts > 11: 56 logging.info('Acquired cache lock after %d attempts.', attempts)
|
/external/vboot_reference/firmware/lib/ |
D | rollback_index.c | 87 int attempts = 3; in ReadSpaceFirmware() local 89 while (attempts--) { in ReadSpaceFirmware() 128 int attempts = 3; in WriteSpaceFirmware() local 135 while (attempts--) { in WriteSpaceFirmware() 184 int attempts = 3; in ReadSpaceKernel() local 186 while (attempts--) { in ReadSpaceKernel() 223 int attempts = 3; in WriteSpaceKernel() local 230 while (attempts--) { in WriteSpaceKernel()
|
/external/syzkaller/vendor/google.golang.org/appengine/datastore/ |
D | transaction.go | 61 attempts := 3 63 attempts = opts.Attempts 65 for i := 0; i < attempts; i++ {
|
/external/autotest/client/site_tests/network_ProxyResolver/ |
D | network_ProxyResolver.py | 285 attempts = timeout 286 while attempts > 0: 290 attempts -= 1 312 attempts = timeout 314 while attempts > 0: 319 attempts -= 1
|
/external/skia/experimental/Networking/ |
D | SkSockets.cpp | 97 int attempts = 0; in readPacket() local 108 ++attempts; in readPacket() 149 attempts = 0; in readPacket() 184 int attempts = 0; in writePacket() local 199 attempts++; in writePacket() 232 attempts = 0; in writePacket()
|
/external/skqp/experimental/Networking/ |
D | SkSockets.cpp | 97 int attempts = 0; in readPacket() local 108 ++attempts; in readPacket() 149 attempts = 0; in readPacket() 184 int attempts = 0; in writePacket() local 199 attempts++; in writePacket() 232 attempts = 0; in writePacket()
|
/external/bcc/tools/ |
D | tcpretrans_example.txt | 27 A -l option will include TCP tail loss probe attempts: 44 See the "L>" in the "T>" column. These are attempts: the kernel probably 71 -l, --lossprobe include tail loss probe attempts 76 ./tcpretrans -l # include TLP attempts
|
/external/autotest/site_utils/ |
D | add_detected_host_labels.py | 134 attempts = len(hostnames) 137 'hosts.', attempts-successes, attempts)
|
/external/skqp/infra/bots/recipe_modules/run/ |
D | api.py | 81 def with_retry(self, steptype, name, attempts, between_attempts_fn=None, argument 83 for attempt in xrange(attempts): 94 if attempt == attempts - 1:
|
/external/skia/infra/bots/recipe_modules/run/ |
D | api.py | 81 def with_retry(self, steptype, name, attempts, between_attempts_fn=None, argument 83 for attempt in xrange(attempts): 94 if attempt == attempts - 1:
|
/external/tensorflow/tensorflow/python/saved_model/model_utils/ |
D | export_utils.py | 211 attempts = 0 212 while attempts < MAX_DIRECTORY_CREATION_ATTEMPTS: 223 attempts += 1 225 result_dir, attempts, MAX_DIRECTORY_CREATION_ATTEMPTS))
|
/external/python/cpython3/Objects/stringlib/ |
D | replace.h | 22 int attempts = 10; in STRINGLIB() local 29 if (!--attempts) { in STRINGLIB()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MinMaxPriorityQueueTest.java | 591 for (int attempts = 0; attempts < size * (size - 1); attempts++) { in testCorrectOrdering_smallHeapsPollFirst() 606 for (int attempts = 0; attempts < size * (size - 1); attempts++) { in testCorrectOrdering_smallHeapsPollLast() 620 for (int attempts = 0; attempts < 5000; attempts++) { in testCorrectOrdering_mediumHeapsPollFirst() 652 for (int attempts = 0; attempts < 5000; attempts++) { in testCorrectOrdering_mediumHeapsPollLast()
|
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/ |
D | qos_mc_aware.sh | 355 local attempts=50 359 for ((i = 0; i < attempts; ++i)); do 375 ((attempts == passes)) 384 echo " sent $attempts BC ARPs, got $passes responses"
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalUiController.java | 100 for (int attempts = 0; !eventInjected && attempts < 4; attempts++) { in injectString()
|