/external/u-boot/drivers/ddr/fsl/ |
mpc85xx_ddr_gen3.c | 31 int timeout; local 422 timeout = ((total_gb_size_per_controller << (6 - bus_width)) * 100 / 425 timeout_save = timeout; 429 debug("Need to wait up to %d * 10ms\n", timeout); 433 (timeout >= 0)) { 435 timeout--; 438 if (timeout <= 0) 439 printf("Waiting for D_INIT timeout. Memory may not work.\n"); 507 timeout = timeout_save; 508 debug("Need to wait up to %d * 10ms\n", timeout); [all...] |
/external/u-boot/drivers/mmc/ |
kona_sdhci.c | 25 unsigned int timeout; local 37 timeout = 1000; 39 if (timeout == 0) { 40 printf("%s: reset timeout error\n", __func__); 43 timeout--; 65 timeout = 1000; 67 if (timeout == 0) { 68 printf("%s: CARD DETECT timeout error\n", __func__); 71 timeout--;
|
/external/u-boot/drivers/net/ |
fsl_mdio.c | 18 int timeout = 1000000; local 25 while ((in_be32(&phyregs->miimind) & MIIMIND_BUSY) && timeout--) 33 int timeout = 1000000; local 50 && timeout--)
|
/external/u-boot/drivers/usb/musb/ |
am35x.c | 19 .timeout = AM35X_USB_OTG_TIMEOUT, 29 u32 timeout; local 42 timeout = musb_cfg.timeout; 43 while (timeout--)
|
davinci.c | 22 .timeout = DAVINCI_USB_TIMEOUT, 34 u32 timeout; local 45 timeout = musb_cfg.timeout; 54 while (timeout--)
|
/external/u-boot/drivers/usb/ulpi/ |
ulpi-viewport.c | 36 int timeout = CONFIG_USB_ULPI_TIMEOUT; local 39 while (--timeout) {
|
/external/u-boot/drivers/video/ |
mxsfb.c | 136 int timeout = 1000000; local 144 while (--timeout) {
|
/external/webrtc/webrtc/examples/peerconnection/server/ |
main.cc | 90 struct timeval timeout = { 10, 0 }; local 91 if (select(FD_SETSIZE, &socket_set, NULL, NULL, &timeout) == SOCKET_ERROR) {
|
/art/test/030-bad-finalizer/src/ |
Main.java | 25 * and finalizer watchdog daemon enough to reach the timeout and throwing the fatal exception. 43 // Now fall asleep with a timeout. The timeout is large enough that we expect the 45 // The timeout is also large enough to cover the extra 5 seconds we wait 47 // Note: the timeout is here (instead of an infinite sleep) to protect the test 48 // environment (e.g., in case this is run without a timeout wrapper). 49 final long timeout = 100 * 1000 + VMRuntime.getRuntime().getFinalizerTimeoutMs(); local 50 long remainingWait = timeout; 59 remainingWait = timeout - (System.currentTimeMillis() - waitStart);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
PollingCheck.java | 34 public PollingCheck(long timeout) { 35 mTimeout = timeout; 45 long timeout = mTimeout; local 46 while (timeout > 0) { 57 timeout -= TIME_SLICE; 60 Assert.fail("unexpected timeout"); 63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 65 while (timeout > 0) { 71 timeout -= TIME_SLICE; 86 public static void waitFor(long timeout, final PollingCheckCondition condition) [all...] |
Within.java | 30 * a certain time interval. Not that unlike {@link Mockito#timeout(int)}, this mode will not 38 public Within(long timeout) { 39 mTimeout = timeout; 44 long timeout = mTimeout; local 48 while (timeout > 0) { 56 // Found our match within our timeout. Mark all invocations as verified 66 timeout -= TIME_SLICE;
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
PollingCheck.java | 34 public PollingCheck(long timeout) { 35 mTimeout = timeout; 45 long timeout = mTimeout; local 46 while (timeout > 0) { 57 timeout -= TIME_SLICE; 60 Assert.fail("unexpected timeout"); 63 public static void check(CharSequence message, long timeout, Callable<Boolean> condition) 65 while (timeout > 0) { 71 timeout -= TIME_SLICE; 86 public static void waitFor(long timeout, final PollingCheckCondition condition) [all...] |
Within.java | 30 * a certain time interval. Not that unlike {@link Mockito#timeout(int)}, this mode will not 38 public Within(long timeout) { 39 mTimeout = timeout; 44 long timeout = mTimeout; local 48 while (timeout > 0) { 56 // Found our match within our timeout. Mark all invocations as verified 66 timeout -= TIME_SLICE;
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
LifecycleTracker.java | 90 /** Blocking call to wait for a condition to become true with max timeout. */ 93 final long timeout = System.currentTimeMillis() + timeoutMs; local 95 final long waitMs = timeout - System.currentTimeMillis(); 97 // Timeout expired.
|
/device/generic/goldfish/network/netmgr/ |
poller.cpp | 43 auto timeout = deadline - now; local 45 auto seconds = duration_cast<std::chrono::seconds>(timeout); 46 // Then subtract the seconds from the timeout and convert the remainder 47 auto nanos = duration_cast<std::chrono::nanoseconds>(timeout - seconds);
|
/device/google/cuttlefish_common/host/commands/stop_cvd/ |
main.cc | 128 // Perform a select with a timeout to guard against launcher hanging 131 struct timeval timeout = {FLAGS_wait_for_launcher, 0}; local 133 FLAGS_wait_for_launcher <= 0 ? nullptr : &timeout); 140 LOG(ERROR) << "Timeout expired waiting for launcher monitor to respond";
|
/external/autotest/client/cros/ |
mainloop.py | 44 logging.warning('ExceptionForwardingMainLoop: No timeout specified.') 45 logging.warning('(Specify timeout_s=0 explicitly for no timeout.)') 51 def timeout(self): member in class:ExceptionForwardingMainLoop 56 self.timeout() 125 def timeout(self): member in class:GenericTesterMainLoop 126 logging.error('Requirements unsatisfied upon timeout: %s' %
|
/external/curl/docs/examples/ |
imap-multi.c | 92 struct timeval timeout; local 107 /* Set a suitable timeout to play around with */ 108 timeout.tv_sec = 1; 109 timeout.tv_usec = 0; 113 timeout.tv_sec = curl_timeo / 1000; 114 if(timeout.tv_sec > 1) 115 timeout.tv_sec = 1; 117 timeout.tv_usec = (curl_timeo % 1000) * 1000; 145 /* Note that on some platforms 'timeout' may be modified by select(). 147 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
multi-app.c | 78 struct timeval timeout; local 93 /* set a suitable timeout to play around with */ 94 timeout.tv_sec = 1; 95 timeout.tv_usec = 0; 99 timeout.tv_sec = curl_timeo / 1000; 100 if(timeout.tv_sec > 1) 101 timeout.tv_sec = 1; 103 timeout.tv_usec = (curl_timeo % 1000) * 1000; 131 /* Note that on some platforms 'timeout' may be modified by select(). 133 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
multi-debugcallback.c | 154 struct timeval timeout; local 169 /* set a suitable timeout to play around with */ 170 timeout.tv_sec = 1; 171 timeout.tv_usec = 0; 175 timeout.tv_sec = curl_timeo / 1000; 176 if(timeout.tv_sec > 1) 177 timeout.tv_sec = 1; 179 timeout.tv_usec = (curl_timeo % 1000) * 1000; 207 /* Note that on some platforms 'timeout' may be modified by select(). 209 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
pop3-multi.c | 92 struct timeval timeout; local 107 /* Set a suitable timeout to play around with */ 108 timeout.tv_sec = 1; 109 timeout.tv_usec = 0; 113 timeout.tv_sec = curl_timeo / 1000; 114 if(timeout.tv_sec > 1) 115 timeout.tv_sec = 1; 117 timeout.tv_usec = (curl_timeo % 1000) * 1000; 145 /* Note that on some platforms 'timeout' may be modified by select(). 147 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
/external/curl/tests/libtest/ |
lib1507.c | 85 struct timeval timeout; local 99 /* set a suitable timeout to play around with */ 100 timeout.tv_sec = 1; 101 timeout.tv_usec = 0; 105 timeout.tv_sec = curl_timeo / 1000; 106 if(timeout.tv_sec > 1) 107 timeout.tv_sec = 1; 109 timeout.tv_usec = (curl_timeo % 1000) * 1000; 121 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); 133 case 0: /* timeout */ [all...] |
lib1531.c | 67 struct timeval timeout; local 82 /* set a suitable timeout to play around with */ 83 timeout.tv_sec = 1; 84 timeout.tv_usec = 0; 88 timeout.tv_sec = curl_timeo / 1000; 89 if(timeout.tv_sec > 1) 90 timeout.tv_sec = 1; 92 timeout.tv_usec = (curl_timeo % 1000) * 1000; 120 /* Note that on some platforms 'timeout' may be modified by select(). 122 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
/external/curl/tests/unit/ |
unit1303.c | 54 #define TIMEOUTS(x,y) data->set.timeout = x; data->set.connecttimeout = y 84 {BASE + 10, 0, 10000, 8000, FALSE, -1, "timeout is -1, expired"}, 90 {BASE + 8, 0, 10000, 8000, TRUE, -1, "timeout is -1, expired"}, 93 /* no connect timeout set, not connecting */ 96 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"}, 99 /* no connect timeout set, connecting */ 102 {BASE + 10, 0, 10000, 0, FALSE, -1, "timeout is -1, expired"}, 105 /* only connect timeout set, not connecting */ 106 {BASE + 4, 0, 0, 10000, FALSE, 0, "no timeout active"}, 107 {BASE + 4, 990000, 0, 10000, FALSE, 0, "no timeout active"} 141 time_t timeout; variable [all...] |
/external/junit/src/main/java/org/junit/internal/runners/ |
TestMethod.java | 38 long timeout = annotation.timeout(); local 39 return timeout;
|