Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 2366) sorted by relevance

12345678910>>...95

/external/strace/tests-m32/
Drt_sigtimedwait.c46 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/
Drt_sigtimedwait.c46 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/
Drt_sigtimedwait.c46 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/
DAsyncTimeoutTest.java44 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/libmojo/third_party/catapult/devil/devil/android/sdk/
Dadb_wrapper.py223 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
247 def _RunDeviceAdbCmd(self, args, timeout, retries, check_error=True): argument
260 return self._RunAdbCmd(args, timeout=timeout, retries=retries,
264 def _IterRunDeviceAdbCmd(self, args, timeout): argument
275 self._BuildAdbCmd(args, self._device_serial), timeout=timeout)
309 def KillServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument
310 cls._RunAdbCmd(['kill-server'], timeout=timeout, retries=retries)
313 def StartServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument
315 cls._RunAdbCmd(['start-server'], timeout=timeout, retries=retries,
319 def GetDevices(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument
[all …]
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py79 raw_version = AdbWrapper._RunAdbCmd(['version'], timeout=2, retries=0)
244 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None, argument
271 def _RunDeviceAdbCmd(self, args, timeout, retries, check_error=True): argument
284 return self._RunAdbCmd(args, timeout=timeout, retries=retries,
288 def _IterRunDeviceAdbCmd(self, args, iter_timeout, timeout): argument
302 timeout=timeout)
336 def KillServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument
337 cls._RunAdbCmd(['kill-server'], timeout=timeout, retries=retries)
340 def StartServer(cls, timeout=DEFAULT_TIMEOUT, retries=DEFAULT_RETRIES): argument
342 cls._RunAdbCmd(['start-server'], timeout=timeout, retries=retries,
[all …]
/external/wpa_supplicant_8/src/utils/
Deloop_win.c55 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 …]
Deloop.c105 struct dl_list timeout; member
164 dl_list_init(&eloop.timeout); in eloop_init()
766 struct eloop_timeout *timeout, *tmp; in eloop_register_timeout() local
769 timeout = os_zalloc(sizeof(*timeout)); in eloop_register_timeout()
770 if (timeout == NULL) in eloop_register_timeout()
772 if (os_get_reltime(&timeout->time) < 0) { in eloop_register_timeout()
773 os_free(timeout); in eloop_register_timeout()
776 now_sec = timeout->time.sec; in eloop_register_timeout()
777 timeout->time.sec += secs; in eloop_register_timeout()
778 if (timeout->time.sec < now_sec) { in eloop_register_timeout()
[all …]
/external/linux-kselftest/tools/testing/selftests/firmware/
Dfw_fallback.sh18 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout)
29 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout
43 local timeout=10
46 timeout=$(( $timeout - 1 ))
47 if [ "$timeout" -eq 0 ]; then
70 local timeout=10
73 timeout=$(( $timeout - 1 ))
74 if [ "$timeout" -eq 0 ]; then
94 local timeout=10
97 timeout=$(( $timeout - 1 ))
[all …]
/external/syslinux/gpxe/src/net/
Dretry.c72 if ( timer->timeout < timer->min_timeout ) in start_timer()
73 timer->timeout = timer->min_timeout; in start_timer()
76 timer, timer->start, ( timer->start + timer->timeout ) ); in start_timer()
85 void start_timer_fixed ( struct retry_timer *timer, unsigned long timeout ) { in start_timer_fixed() argument
87 timer->timeout = timeout; in start_timer_fixed()
89 timer, ( timer->start + timer->timeout ) ); in start_timer_fixed()
100 unsigned long old_timeout = timer->timeout; in stop_timer()
132 timer->timeout -= ( timer->timeout >> 3 ); in stop_timer()
133 timer->timeout += ( runtime >> 1 ); in stop_timer()
134 if ( timer->timeout != old_timeout ) { in stop_timer()
[all …]
/external/webrtc/webrtc/base/
Dgunit.h23 #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/autotest/client/cros/
Dlogin.py36 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/libmojo/third_party/catapult/devil/devil/android/
Ddecorators_test.py31 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/chromium-trace/catapult/devil/devil/android/
Ddecorators_test.py31 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/autotest/server/hosts/
Dsonic_host.py48 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/python/cpython2/Lib/
Dtelnetlib.py189 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/devlib/devlib/utils/
Dandroid.py181 output = adb_command(self.device, command, timeout=self.timeout)
194 def __init__(self, device=None, timeout=None, platform=None): argument
195 self.timeout = timeout if timeout is not None else self.default_timeout
197 device = adb_get_device(timeout=timeout)
203 def push(self, source, dest, timeout=None): argument
204 if timeout is None:
205 timeout = self.timeout
209 return adb_command(self.device, command, timeout=timeout)
211 def pull(self, source, dest, timeout=None): argument
212 if timeout is None:
[all …]
Duefi.py72 def wait(self, timeout=default_timeout): argument
78 self.conn.expect(self.start_prompt, timeout)
81 def connect(self, timeout=default_timeout): argument
84 self.read_menu(timeout=timeout)
120 def select(self, option, timeout=default_timeout): argument
136 option = self.get_option_index(option, timeout)
153 self.conn.expect(value[:5], timeout=delay)
156 def read_menu(self, timeout=default_timeout): argument
162 timeout=timeout)
191 def list_options(self, timeout=default_timeout): argument
[all …]
/external/libcups/cups/
Dsidechannel.c65 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/junit/src/main/java/org/junit/rules/
DTimeout.java41 private final long timeout; field in Timeout
79 public Timeout(long timeout, TimeUnit timeUnit) { in Timeout() argument
80 this.timeout = timeout; in Timeout()
91 timeout = builder.getTimeout(); in Timeout()
121 return unit.convert(timeout, timeUnit); in getTimeout()
135 .withTimeout(timeout, timeUnit) in createFailOnTimeoutStatement()
158 private long timeout = 0; field in Timeout.Builder
179 public Builder withTimeout(long timeout, TimeUnit unit) { in withTimeout() argument
180 this.timeout = timeout; in withTimeout()
186 return timeout; in getTimeout()
/external/okhttp/okio/okio/src/main/java/okio/
DOkio.java65 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 …]
/external/devlib/devlib/module/
Dvexpress.py43 mcc_prompt=DEFAULT_MCC_PROMPT, timeout=300): argument
48 self.timeout = timeout
58 timeout=self.timeout,
76 mcc_prompt=DEFAULT_MCC_PROMPT, timeout=30, short_delay=1): argument
82 self.timeout = timeout
97 timeout=self.timeout,
115 timeout=120, short_delay=1): argument
121 self.timeout = timeout
127 timeout=self.timeout,
155 menu.wait(timeout=self.timeout)
[all …]
/external/guava/guava/src/com/google/common/collect/
DForwardingBlockingDeque.java65 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerFirst() argument
66 return delegate().offerFirst(e, timeout, unit); in offerFirst()
70 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerLast() argument
71 return delegate().offerLast(e, timeout, unit); in offerLast()
85 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { in pollFirst() argument
86 return delegate().pollFirst(timeout, unit); in pollFirst()
90 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { in pollLast() argument
91 return delegate().pollLast(timeout, unit); in pollLast()
100 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() argument
101 return delegate().offer(e, timeout, unit); in offer()
[all …]
/external/autotest/client/tests/barriertest/
Dbarriertest.py12 def run_once(self, our_addr, hostnames, master, timeout=120): argument
17 self.job.barrier(our_addr, 'First', timeout=timeout,
23 self.job.barrier(our_addr, 'Second', timeout=timeout,
31 self.job.barrier(our_addr, 'WillAbort', timeout=timeout,
47 self.job.barrier(our_addr, 'FinalSync', timeout=timeout,
55 self.job.barrier(our_addr, 'WillAbortServers', timeout=timeout,
/external/chromium-trace/catapult/devil/docs/
Ddevice_utils.md56 timeout: timeout in seconds
66 CommandTimeoutError on timeout.
76 timeout: timeout in seconds
83 CommandTimeoutError on timeout.
92 timeout: timeout in seconds
99 CommandTimeoutError on timeout.
109 timeout: timeout in seconds
114 CommandTimeoutError on timeout.
123 timeout: timeout in seconds
131 CommandTimeoutError on timeout.
[all …]

12345678910>>...95