/external/autotest/client/common_lib/cros/ |
D | retry_unittest.py | 18 from autotest_lib.client.common_lib.cros import retry 45 @retry.retry(Exception) 56 @retry.retry(Exception, delay_sec=delay_sec) 69 @retry.retry(Exception, delay_sec=delay_sec) 77 @retry.retry(Exception) 90 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1) 99 @retry.retry(Exception, timeout_min=0.02, delay_sec=0.1) 113 @retry.retry(Exception, timeout_min=0.05, delay_sec=0.1) 138 @retry.retry(Exception, timeout_min=0.06, delay_sec=0.1)
|
/external/arm-trusted-firmware/plat/mediatek/common/drivers/pmic_wrap/ |
D | pmic_wrap_init_v2.c | 22 uint32_t reg_rdata = 0U, retry; in pwrap_check_idle() local 24 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in pwrap_check_idle() 26 while (retry != 0) { in pwrap_check_idle() 32 retry--; in pwrap_check_idle() 35 if (retry == 0) { in pwrap_check_idle() 45 uint32_t reg_rdata = 0U, retry; in pwrap_check_vldclr() local 47 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in pwrap_check_vldclr() 48 while (retry != 0) { in pwrap_check_vldclr() 54 retry--; in pwrap_check_vldclr() 57 if (retry == 0) { in pwrap_check_vldclr()
|
D | pmic_wrap_init.c | 25 uint32_t retry; in wait_for_state_idle() local 27 retry = (timeout_us + WAIT_IDLE_POLLING_DELAY_US) / in wait_for_state_idle() 55 retry--; in wait_for_state_idle() 56 } while (retry); in wait_for_state_idle() 59 if (!retry) /* timeout */ in wait_for_state_idle() 72 uint32_t retry; in wait_for_state_ready() local 74 retry = (timeout_us + READ_POLLING_DELAY_US) / READ_POLLING_DELAY_US; in wait_for_state_ready() 84 retry--; in wait_for_state_ready() 85 } while (retry); in wait_for_state_ready() 87 if (!retry) { /* timeout */ in wait_for_state_ready()
|
/external/autotest/server/cros/power/ |
D | servo_charger.py | 17 from autotest_lib.client.common_lib.cros import retry 99 for retry in range(_RETRYS): 102 return retry 104 if retry < _RETRYS - 1: 109 'recover.', role, retry + 1, str(e), 161 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN, 172 @retry.retry(error.TestError, timeout_min=_TIMEOUT_MIN, 193 @retry.retry(error.TestError, timeout_min=_ETH_REENUMERATE_TIMEOUT_MIN,
|
/external/llvm-project/llvm/test/CodeGen/PowerPC/ |
D | ctrloop-reg.ll | 50 br i1 undef, label %retry.us, label %retry 52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret… 55 retry: ; preds = %if.end18, %entry 59 i32 -3, label %retry.us 60 i32 -5, label %retry.us 61 i32 -16, label %retry.us 62 i32 -25, label %retry.us 65 if.end18: ; preds = %retry 66 br i1 false, label %retry.us, label %retry
|
/external/llvm/test/CodeGen/PowerPC/ |
D | ctrloop-reg.ll | 50 br i1 undef, label %retry.us, label %retry 52 retry.us: ; preds = %if.end18, %retry, %retry, %retry, %ret… 55 retry: ; preds = %if.end18, %entry 59 i32 -3, label %retry.us 60 i32 -5, label %retry.us 61 i32 -16, label %retry.us 62 i32 -25, label %retry.us 65 if.end18: ; preds = %retry 66 br i1 false, label %retry.us, label %retry
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
D | ConnectionSpecSelectorTest.java | 51 boolean retry = connectionSpecSelector.connectionFailed( in nonRetryableIOException() 53 assertFalse(retry); in nonRetryableIOException() 67 boolean retry = connectionSpecSelector.connectionFailed(trustIssueException); in nonRetryableSSLHandshakeException() 68 assertFalse(retry); in nonRetryableSSLHandshakeException() 79 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in retryableSSLHandshakeException() 80 assertTrue(retry); in retryableSSLHandshakeException() 101 boolean retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in someFallbacksSupported() 102 assertTrue(retry); in someFallbacksSupported() 110 retry = connectionSpecSelector.connectionFailed(RETRYABLE_EXCEPTION); in someFallbacksSupported() 111 assertFalse(retry); in someFallbacksSupported()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/ |
D | RetryTest.kt | 38 assertEquals(4, flow.retry(4).sum()) in <lambda>() 42 assertFailsWith<TestException>(flow.retry(2)) in <lambda>() 53 assertEquals(2, flow.retry(1) { it is TestException }.sum()) in <lambda>() 55 assertFailsWith<TestException>(flow.retry(1) { it !is TestException }) in <lambda>() 63 }.retry(42).map { in <lambda>() 85 }.retry(1) in <lambda>() 95 }.retry() in <lambda>()
|
/external/curl/tests/libtest/ |
D | lib1594.c | 32 curl_off_t retry; in test() local 46 res = curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry); in test() 53 retry += time(NULL); in test() 54 retry /= 10000; in test() 56 printf("Retry-After: %" CURL_FORMAT_CURL_OFF_T "\n", retry); in test()
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicNetworkTest.java | 169 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout() 176 verify(mMockRetryPolicy).retry(any(TimeoutError.class)); in socketTimeout() 186 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault() 193 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault() 204 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry() 211 verify(mMockRetryPolicy).retry(any(NoConnectionError.class)); in noConnectionRetry() 223 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry() 230 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionNoRetry() 241 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized() 248 verify(mMockRetryPolicy).retry(any(AuthFailureError.class)); in unauthorized() [all …]
|
D | BasicAsyncNetworkTest.java | 207 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in socketTimeout() 212 verify(mMockRetryPolicy).retry(any(TimeoutError.class)); in socketTimeout() 224 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionDefault() 229 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionDefault() 242 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionRetry() 247 verify(mMockRetryPolicy).retry(any(NoConnectionError.class)); in noConnectionRetry() 260 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in noConnectionNoRetry() 265 verify(mMockRetryPolicy, never()).retry(any(VolleyError.class)); in noConnectionNoRetry() 278 doThrow(new VolleyError()).when(mMockRetryPolicy).retry(any(VolleyError.class)); in unauthorized() 283 verify(mMockRetryPolicy).retry(any(AuthFailureError.class)); in unauthorized() [all …]
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | sermsdos.py | 90 retry = RETURN_RETRY argument 115 self.retry = retry 119 self.bytesize, self.stop, self.retry, self.filename) 127 def _config(self, port, baud, parity, data, stop, retry, argument 132 retry, " > ", filename ), '') 137 self.parity, self.bytesize, self.stop, self.retry, 196 self.retry , self.filename), ' ')
|
/external/curl/docs/cmdline-opts/ |
D | retry.d | 1 Long: retry 8 will retry this number of times before giving up. Setting the number to 0 12 When curl is about to retry a transfer, it will first wait one second and then 15 using --retry-delay you disable this exponential backoff algorithm. See also 16 --retry-max-time to limit the total time allowed for retries. 19 one was present to know when to issue the next retry.
|
D | retry-connrefused.d | 1 Long: retry-connrefused 2 Help: Retry on connection refused (use with --retry) 7 error too for --retry. This option is used together with --retry.
|
/external/toybox/toys/pending/ |
D | tftp.c | 219 int packetlen, retry; in read_ack() local 221 for (retry = 0; retry < TFTP_RETRIES; retry++) { in read_ack() 272 int len, sd, fd, retry, nbytesrecvd = 0, ndatabytes, ret, result = -1; in file_get() local 290 for (retry = 0 ; retry < TFTP_RETRIES; retry++) { in file_get() 302 retry--; in file_get() 314 retry--; in file_get() 356 if (retry == TFTP_RETRIES) { in file_get() 388 int packetlen, sd, fd, retry = 0, ret, result = -1; in file_put() local 399 if (++retry > TFTP_RETRIES) { in file_put() 416 retry = 0; in file_put() [all …]
|
/external/autotest/server/site_tests/firmware_ECBootTime/ |
D | firmware_ECBootTime.py | 69 retry = 10 70 while retry > 0: 71 retry = retry - 1 78 "%d more attempts", retry) 79 if retry == 0:
|
/external/curl/tests/data/ |
D | test1269 | 4 --retry-delay 20 too large --retry-delay value 23 --retry 3 --retry-delay 9223372036854776 http://%HOSTIP:%NOLISTENPORT/1269
|
D | test1909 | 6 retry 36 HTTP GET --retry-all-errors to overcome partial transfer 39 --retry 1 --retry-all-errors -o log/outfile1909 http://%HOSTIP:%HTTPPORT/1909
|
/external/autotest/site_utils/lxc/ |
D | lxc.py | 13 from autotest_lib.client.common_lib.cros import retry 81 @retry.retry((error.CmdError), 93 @retry.retry((error.CmdError), 157 @retry.retry(error.CmdError, timeout_min=30)
|
/external/autotest/server/cros/tradefed/ |
D | generate_controlfiles_common.py | 412 retry = -1 415 retry = CONFIG['PUBLIC_MODULE_RETRY_COUNT'][_ALL] 420 retry = max(retry, CONFIG['PUBLIC_MODULE_RETRY_COUNT'][module]) 425 retry = max(retry, CONFIG['CTS_MAX_RETRIES'][module]) 430 retry = 3 432 if retry == -1 and 'suite:bvt-perbuild' in suites: 433 retry = 3 438 retry = max(retry, CONFIG['CTS_QUAL_RETRIES']) 441 retry = 0 443 if retry >= 0: [all …]
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_reg_read.c | 130 bool retry = true; in test_timestamp_monotonic() local 135 retry: in test_timestamp_monotonic() 137 if (second_val < first_val && retry) { in test_timestamp_monotonic() 139 retry = false; in test_timestamp_monotonic() 141 goto retry; in test_timestamp_monotonic()
|
/external/llvm-project/clang/lib/Headers/ |
D | htmintrin.h | 176 #define __builtin_tbegin_retry(tdb, retry) \ argument 178 __builtin_tbegin_retry_null(retry) : \ 179 __builtin_tbegin_retry_tdb(tdb, retry)) 205 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument 207 __builtin_tbegin_retry_nofloat_null(retry) : \ 208 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
|
/external/clang/lib/Headers/ |
D | htmintrin.h | 190 #define __builtin_tbegin_retry(tdb, retry) \ argument 192 __builtin_tbegin_retry_null(retry) : \ 193 __builtin_tbegin_retry_tdb(tdb, retry)) 219 #define __builtin_tbegin_retry_nofloat(tdb, retry) \ argument 221 __builtin_tbegin_retry_nofloat_null(retry) : \ 222 __builtin_tbegin_retry_nofloat_tdb(tdb, retry))
|
/external/autotest/site_utils/ |
D | test_push_unittest.py | 14 from autotest_lib.client.common_lib.cros import retry 19 retry.retry = mock.create_autospec(retry.retry, return_value=lambda func: func)
|
/external/autotest/server/hosts/ |
D | cros_repair_unittest.py | 13 from autotest_lib.client.common_lib.cros import retry 435 @mock.patch.object(retry.logging, 'warning') 436 @mock.patch.object(retry.time, 'time') 437 @mock.patch.object(retry.time, 'sleep') 447 @mock.patch.object(retry.logging, 'warning') 448 @mock.patch.object(retry.time, 'time') 449 @mock.patch.object(retry.time, 'sleep') 462 @mock.patch.object(retry.logging, 'warning') 463 @mock.patch.object(retry.time, 'time') 464 @mock.patch.object(retry.time, 'sleep')
|