/external/strace/tests-m32/ |
D | rt_sigtimedwait.c | 46 const struct timespec *const timeout, const unsigned long size) in k_sigtimedwait() argument 48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size); in k_sigtimedwait() 53 const struct timespec *const timeout, unsigned int size) in iterate() argument 56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1); in iterate() 61 (long long) timeout->tv_sec, in iterate() 62 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 69 set, (long long) timeout->tv_sec, in iterate() 70 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 76 text, (long long) timeout->tv_sec, in iterate() 77 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() [all …]
|
/external/strace/tests-mx32/ |
D | rt_sigtimedwait.c | 46 const struct timespec *const timeout, const unsigned long size) in k_sigtimedwait() argument 48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size); in k_sigtimedwait() 53 const struct timespec *const timeout, unsigned int size) in iterate() argument 56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1); in iterate() 61 (long long) timeout->tv_sec, in iterate() 62 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 69 set, (long long) timeout->tv_sec, in iterate() 70 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 76 text, (long long) timeout->tv_sec, in iterate() 77 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() [all …]
|
/external/strace/tests/ |
D | rt_sigtimedwait.c | 46 const struct timespec *const timeout, const unsigned long size) in k_sigtimedwait() argument 48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size); in k_sigtimedwait() 53 const struct timespec *const timeout, unsigned int size) in iterate() argument 56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1); in iterate() 61 (long long) timeout->tv_sec, in iterate() 62 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 69 set, (long long) timeout->tv_sec, in iterate() 70 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() 76 text, (long long) timeout->tv_sec, in iterate() 77 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate() [all …]
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | AsyncTimeoutTest.java | 44 a.timeout( 250, TimeUnit.MILLISECONDS); in setUp() 45 b.timeout( 500, TimeUnit.MILLISECONDS); in setUp() 46 c.timeout( 750, TimeUnit.MILLISECONDS); in setUp() 47 d.timeout(1000, TimeUnit.MILLISECONDS); in setUp() 51 AsyncTimeout timeout = new RecordingAsyncTimeout(); in zeroTimeoutIsNoTimeout() local 52 timeout.timeout(0, TimeUnit.MILLISECONDS); in zeroTimeoutIsNoTimeout() 53 timeout.enter(); in zeroTimeoutIsNoTimeout() 55 assertFalse(timeout.exit()); in zeroTimeoutIsNoTimeout() 135 RecordingAsyncTimeout timeout = new RecordingAsyncTimeout(); in deadlineOnly() local 136 timeout.deadline(250, TimeUnit.MILLISECONDS); in deadlineOnly() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | adb_wrapper.py | 91 raw_version = AdbWrapper._RunAdbCmd(['version'], timeout=2, retries=0) 264 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument 267 timeout = timeout_retry.CurrentTimeoutThreadGroup().GetRemainingTime() 269 timeout = 0.95 * timeout 273 timeout, env=cls._ADB_ENV) 298 self, args, timeout, retries, check_error=True, argument 312 return self._RunAdbCmd(args, timeout=timeout, retries=retries, 317 def _IterRunDeviceAdbCmd(self, args, iter_timeout, timeout): argument 331 timeout=timeout, 366 def KillServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop_win.c | 55 struct dl_list timeout; member 78 dl_list_init(&eloop.timeout); in eloop_init() 241 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local 244 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout() 245 if (timeout == NULL) in eloop_register_timeout() 247 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout() 248 os_free(timeout); in eloop_register_timeout() 251 now_sec = timeout->time.sec; in eloop_register_timeout() 252 timeout->time.sec += secs; in eloop_register_timeout() 253 if (timeout->time.sec < now_sec) { in eloop_register_timeout() [all …]
|
D | eloop.c | 105 struct dl_list timeout; member 164 dl_list_init(&eloop.timeout); in eloop_init() 771 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local 774 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout() 775 if (timeout == NULL) in eloop_register_timeout() 777 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout() 778 os_free(timeout); in eloop_register_timeout() 781 now_sec = timeout->time.sec; in eloop_register_timeout() 782 timeout->time.sec += secs; in eloop_register_timeout() 783 if (timeout->time.sec < now_sec) { in eloop_register_timeout() [all …]
|
/external/grpc-grpc/src/python/grpcio/grpc/beta/ |
D | _client_adaptations.py | 93 def result(self, timeout=None): argument 95 return self._future.result(timeout=timeout) 103 def exception(self, timeout=None): argument 105 rpc_error_call = self._future.exception(timeout=timeout) 115 def traceback(self, timeout=None): argument 117 return self._future.traceback(timeout=timeout) 172 def _blocking_unary_unary(channel, group, method, timeout, with_call, argument 184 timeout=timeout, 191 timeout=timeout, 198 def _future_unary_unary(channel, group, method, timeout, protocol_options, argument [all …]
|
/external/u-boot/drivers/misc/ |
D | fsl_sec_mon.c | 19 int timeout = 10; in set_sec_mon_state_non_sec() local 35 while (timeout) { in set_sec_mon_state_non_sec() 43 timeout--; in set_sec_mon_state_non_sec() 46 if (timeout == 0) { in set_sec_mon_state_non_sec() 64 while (timeout) { in set_sec_mon_state_non_sec() 72 timeout--; in set_sec_mon_state_non_sec() 75 if (timeout == 0) { in set_sec_mon_state_non_sec() 80 timeout = 10; in set_sec_mon_state_non_sec() 93 while (timeout) { in set_sec_mon_state_non_sec() 101 timeout--; in set_sec_mon_state_non_sec() [all …]
|
/external/webrtc/webrtc/base/ |
D | gunit.h | 23 #define WAIT(ex, timeout) \ argument 24 for (uint32_t start = rtc::Time(); !(ex) && rtc::Time() < start + timeout;) \ 30 #define WAIT_(ex, timeout, res) \ argument 34 while (!res && rtc::Time() < start + timeout) { \ 41 #define EXPECT_TRUE_WAIT(ex, timeout) \ argument 44 WAIT_(ex, timeout, res); \ 48 #define EXPECT_EQ_WAIT(v1, v2, timeout) \ argument 51 WAIT_(v1 == v2, timeout, res); \ 55 #define ASSERT_TRUE_WAIT(ex, timeout) \ argument 58 WAIT_(ex, timeout, res); \ [all …]
|
/external/u-boot/board/micronas/vct/ |
D | smc_eeprom.c | 73 int timeout = req_to; in mac_busy() local 75 while (timeout--) { in mac_busy() 138 ulong timeout = 100000; in eeprom_read_location() local 150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location() 152 timeout--; in eeprom_read_location() 155 if (timeout == 0) { in eeprom_read_location() 167 ulong timeout = 100000; in eeprom_enable_erase_and_write() local 175 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_enable_erase_and_write() 177 timeout--; in eeprom_enable_erase_and_write() 180 if (timeout == 0) { in eeprom_enable_erase_and_write() [all …]
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | decorators_test.py | 31 def alwaysTimesOut(timeout=None, retries=None): argument 37 alwaysTimesOut(timeout=1, retries=0) 47 def alwaysRaisesCommandFailedError(timeout=None, retries=None): argument 52 alwaysRaisesCommandFailedError(timeout=30, retries=10) 58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None): argument 59 return (timeout, retries) 64 requiresExplicitTimeoutAndRetries(timeout=10) 70 requiresExplicitTimeoutAndRetries(timeout=expected_timeout, 78 def alwaysRaisesProvidedException(exception, timeout=None, retries=None): argument 85 timeout=10, retries=1) [all …]
|
/external/linux-kselftest/tools/testing/selftests/firmware/ |
D | fw_fallback.sh | 30 local timeout=10 33 timeout=$(( $timeout - 1 )) 34 if [ "$timeout" -eq 0 ]; then 57 local timeout=10 60 timeout=$(( $timeout - 1 )) 61 if [ "$timeout" -eq 0 ]; then 86 local timeout=10 89 timeout=$(( $timeout - 1 )) 90 if [ "$timeout" -eq 0 ]; then 119 local timeout=10 [all …]
|
/external/autotest/client/cros/ |
D | login.py | 36 def wait_for_condition(condition, timeout_msg, timeout, process, crash_msg): argument 61 timeout=timeout) 71 def wait_for_browser(timeout=cros_ui.RESTART_UI_TIMEOUT): argument 81 timeout=timeout, 86 def wait_for_browser_exit(crash_msg, timeout=cros_ui.RESTART_UI_TIMEOUT): argument 100 timeout=timeout, 108 def wait_for_cryptohome(user, timeout=cros_ui.RESTART_UI_TIMEOUT): argument 119 timeout=timeout, 124 def wait_for_ownership(timeout=constants.DEFAULT_OWNERSHIP_TIMEOUT): argument 136 timeout=timeout,
|
/external/adhd/cras/src/server/ |
D | cras_dbus.c | 82 struct DBusTimeout *timeout = data; in dbus_timeout_callback() local 88 dbus_timeout_get_interval(timeout), in dbus_timeout_callback() 89 dbus_timeout_callback, timeout); in dbus_timeout_callback() 90 dbus_timeout_set_data(timeout, t, NULL); in dbus_timeout_callback() 92 if (!dbus_timeout_handle(timeout)) in dbus_timeout_callback() 96 static dbus_bool_t dbus_timeout_add(DBusTimeout *timeout, void *arg) in dbus_timeout_add() argument 99 struct cras_timer *t = dbus_timeout_get_data(timeout); in dbus_timeout_add() 102 dbus_timeout_set_data(timeout, NULL, NULL); in dbus_timeout_add() 106 if (dbus_timeout_get_enabled(timeout)) { in dbus_timeout_add() 108 dbus_timeout_get_interval(timeout), in dbus_timeout_add() [all …]
|
/external/python/cpython2/Lib/ |
D | telnetlib.py | 189 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument 199 self.timeout = timeout 211 self.open(host, port, timeout) 213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): argument 226 self.timeout = timeout 227 self.sock = socket.create_connection((host, port), timeout) 285 def read_until(self, match, timeout=None): argument 294 return self._read_until_with_poll(match, timeout) 296 return self._read_until_with_select(match, timeout) 298 def _read_until_with_poll(self, match, timeout): argument [all …]
|
/external/autotest/server/cros/ |
D | tradefed_chromelogin.py | 65 def login(self, timeout=None, raise_exception=False, verbose=False): argument 67 if not timeout: 68 timeout = self._timeout 76 timeout=timeout) 87 timeout=2 * timeout, 94 timeout=timeout) 112 timeout = self._timeout 113 logging.info('Ensure Android is running (timeout=%d)...', timeout) 114 if not self.login(timeout=timeout): 115 timeout *= 2 [all …]
|
/external/autotest/server/hosts/ |
D | sonic_host.py | 48 def check_host(host, timeout=10): argument 61 result = host.run('getprop ro.product.device', timeout=timeout) 111 def get_boot_id(self, timeout=60): argument 121 return self.run(cmd, timeout=timeout).stdout.strip() 132 def ssh_ping(self, timeout=60, base_cmd=''): argument 143 super(SonicHost, self).ssh_ping(timeout=timeout, 176 timeout = timeout_mins * 60 178 lambda: self.run(cmd, timeout=timeout/10), 179 timeout=timeout, sleep_interval=timeout/10) 188 def reboot(self, timeout=5): argument [all …]
|
/external/libcups/cups/ |
D | sidechannel.c | 65 double timeout) /* I - Timeout in seconds */ in cupsSideChannelDoRequest() argument 71 if (cupsSideChannelWrite(command, CUPS_SC_STATUS_NONE, NULL, 0, timeout)) in cupsSideChannelDoRequest() 74 if (cupsSideChannelRead(&rcommand, &status, data, datalen, timeout)) in cupsSideChannelDoRequest() 105 double timeout) /* I - Timeout in seconds */ in cupsSideChannelRead() argument 121 datalen, datalen ? *datalen : -1, timeout)); in cupsSideChannelRead() 139 timeout < 0.0 ? -1 : (int)(timeout * 1000))) < 0 && in cupsSideChannelRead() 147 stimeout.tv_sec = (int)timeout; in cupsSideChannelRead() 148 stimeout.tv_usec = (int)(timeout * 1000000) % 1000000; in cupsSideChannelRead() 151 timeout < 0.0 ? NULL : &stimeout)) < 0 && in cupsSideChannelRead() 304 double timeout) /* I - Timeout in seconds */ in cupsSideChannelSNMPGet() argument [all …]
|
/external/adhd/cras/src/tests/ |
D | file_wait_unittest.cc | 55 struct timespec timeout = {0, 100000000}; in SimpleFileWait() local 82 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); in SimpleFileWait() 101 struct timespec timeout = {0, 100000000}; in TEST() local 160 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); in TEST() 170 timeout.tv_sec = 0; in TEST() 171 timeout.tv_nsec = 100000000; in TEST() 172 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); in TEST() 179 timeout.tv_sec = 0; in TEST() 180 timeout.tv_nsec = 100000000; in TEST() 181 EXPECT_EQ(1, cras_poll(&poll_fd, 1, &timeout, NULL)); in TEST() [all …]
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
D | _multi_callable.py | 28 def __call__(self, request, timeout=None, metadata=None, credentials=None): argument 31 [request], True, timeout) 34 def with_call(self, request, timeout=None, metadata=None, credentials=None): argument 37 [request], True, timeout) 40 def future(self, request, timeout=None, metadata=None, credentials=None): argument 43 [request], True, timeout) 53 def __call__(self, request, timeout=None, metadata=None, credentials=None): argument 56 [request], True, timeout) 68 timeout=None, argument 73 [], False, timeout) [all …]
|
/external/grpc-grpc/src/python/grpcio/grpc/ |
D | _interceptor.py | 61 timeout = call_details.timeout 63 timeout = default_details.timeout 75 return method, timeout, metadata, credentials 196 def __call__(self, request, timeout=None, metadata=None, credentials=None): argument 199 timeout=timeout, 204 def _with_call(self, request, timeout=None, metadata=None, argument 206 client_call_details = _ClientCallDetails(self._method, timeout, 215 timeout=new_timeout, 228 def with_call(self, request, timeout=None, metadata=None, credentials=None): argument 231 timeout=timeout, [all …]
|
/external/u-boot/drivers/mtd/nand/ |
D | lpc32xx_nand_mlc.c | 233 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_page_hwecc() local 241 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_hwecc() 281 unsigned int i, status, timeout; in lpc32xx_read_page_raw() local 289 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_raw() 329 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_oob() local 341 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_oob() 383 unsigned int i, status, timeout; in lpc32xx_write_page_hwecc() local 395 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc() 407 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc() 477 unsigned int i, status, timeout; in lpc32xx_write_oob() local [all …]
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | Okio.java | 67 private static Sink sink(final OutputStream out, final Timeout timeout) { in sink() argument 69 if (timeout == null) throw new IllegalArgumentException("timeout == null"); in sink() 75 timeout.throwIfReached(); in sink() 99 @Override public Timeout timeout() { in sink() method in Okio 100 return timeout; in sink() 116 AsyncTimeout timeout = timeout(socket); 117 Sink sink = sink(socket.getOutputStream(), timeout); 118 return timeout.sink(sink); 126 private static Source source(final InputStream in, final Timeout timeout) { 128 if (timeout == null) throw new IllegalArgumentException("timeout == null"); [all …]
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | Okio.java | 65 private static Sink sink(final OutputStream out, final Timeout timeout) { in sink() argument 67 if (timeout == null) throw new IllegalArgumentException("timeout == null"); in sink() 73 timeout.throwIfReached(); in sink() 97 @Override public Timeout timeout() { in sink() method in Okio 98 return timeout; in sink() 114 AsyncTimeout timeout = timeout(socket); 115 Sink sink = sink(socket.getOutputStream(), timeout); 116 return timeout.sink(sink); 124 private static Source source(final InputStream in, final Timeout timeout) { 126 if (timeout == null) throw new IllegalArgumentException("timeout == null"); [all …]
|