Searched refs:timeout (Results 201 - 225 of 1718) sorted by relevance

1234567891011>>

/external/testng/src/test/java/test/timeout/
H A DInvocationTimeOutSampleTest.java1 package test.timeout;
H A DTimeOutSampleTest.java1 package test.timeout;
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.c105 struct dl_list timeout; member in struct:eloop_data
164 dl_list_init(&eloop.timeout);
766 struct eloop_timeout *timeout, *tmp; local
769 timeout = os_zalloc(sizeof(*timeout));
770 if (timeout == NULL)
772 if (os_get_reltime(&timeout->time) < 0) {
773 os_free(timeout);
776 now_sec = timeout->time.sec;
777 timeout
813 eloop_remove_timeout(struct eloop_timeout *timeout) argument
825 struct eloop_timeout *timeout, *prev; local
848 struct eloop_timeout *timeout, *prev; local
1086 struct eloop_timeout *timeout; local
1249 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Deloop.c105 struct dl_list timeout; member in struct:eloop_data
164 dl_list_init(&eloop.timeout);
766 struct eloop_timeout *timeout, *tmp; local
769 timeout = os_zalloc(sizeof(*timeout));
770 if (timeout == NULL)
772 if (os_get_reltime(&timeout->time) < 0) {
773 os_free(timeout);
776 now_sec = timeout->time.sec;
777 timeout
813 eloop_remove_timeout(struct eloop_timeout *timeout) argument
825 struct eloop_timeout *timeout, *prev; local
848 struct eloop_timeout *timeout, *prev; local
1086 struct eloop_timeout *timeout; local
1249 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.c105 struct dl_list timeout; member in struct:eloop_data
164 dl_list_init(&eloop.timeout);
766 struct eloop_timeout *timeout, *tmp; local
769 timeout = os_zalloc(sizeof(*timeout));
770 if (timeout == NULL)
772 if (os_get_reltime(&timeout->time) < 0) {
773 os_free(timeout);
776 now_sec = timeout->time.sec;
777 timeout
813 eloop_remove_timeout(struct eloop_timeout *timeout) argument
825 struct eloop_timeout *timeout, *prev; local
848 struct eloop_timeout *timeout, *prev; local
1086 struct eloop_timeout *timeout; local
1249 struct eloop_timeout *timeout, *prev; local
[all...]
/external/autotest/client/bin/net/
H A Dnet_utils_mock.py37 def wait_for_carrier(self, timeout):
48 self.timeout = None
62 def settimeout(self, timeout):
63 self.timeout = timeout
73 raise socket.timeout
124 def wait_for_carrier(self, timeout=1):
/external/autotest/server/site_tests/power_DeferForFlashrom/
H A Dpower_DeferForFlashrom.py57 timeout=_COMMAND_TIMEOUT).stdout.strip()
72 self.host.run(bg_cmd, timeout=_COMMAND_TIMEOUT)
108 timeout=_COMMAND_TIMEOUT)
130 timeout=_COMMAND_TIMEOUT)
143 if not self.host.ping_wait_down(timeout=down_sec):
150 if not self.host.ping_wait_up(timeout=up_sec) or \
151 not self.host.wait_up(timeout=up_sec):
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
H A Dtab.py64 timeout=DEFAULT_TAB_TIMEOUT)
107 def Screenshot(self, timeout=DEFAULT_TAB_TIMEOUT):
117 return self._inspector_backend.Screenshot(timeout)
158 '!!{{ @screen_save }}', screen_save=screen_save, timeout=5)
183 '!{{ @screen_save }}', screen_save=screen_save, timeout=5)
224 def GetCookieByName(self, name, timeout=DEFAULT_TAB_TIMEOUT):
232 return self._inspector_backend.GetCookieByName(name, timeout)
/external/toybox/lib/
H A Dnet.c48 int xpoll(struct pollfd *fds, int nfds, int timeout) argument
53 if (0>(i = poll(fds, nfds, timeout))) {
56 else if (timeout>0) timeout--;
63 // Returns 0: both closed, 1 shutdown_timeout, 2 timeout
64 int pollinate(int in1, int in2, int out1, int out2, int timeout, int shutdown_timeout) argument
76 if (!xpoll(pollfds, pollcount, timeout)) return pollcount;
87 // Note that in1 closing triggers timeout, in2 returns now.
91 timeout = shutdown_timeout;
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_disconnect.py40 global timeout
49 def __init__(self,interface_name,wpas_dbus_interface,timeout):
53 self.timeout = timeout
104 # Required for timeout implementation
113 timeout = 5 variable
152 wpas_dbus_interface,timeout)
163 time.sleep(int(p2p_disconnect_test.timeout))
H A Dp2p_flush.py40 global timeout
49 def __init__(self,interface_name,wpas_dbus_interface,timeout):
53 self.timeout = timeout
104 # Required for timeout implementation
113 timeout = 5 variable
151 p2p_flush_test = P2P_Flush(interface_name, wpas_dbus_interface,timeout)
162 time.sleep(int(p2p_flush_test.timeout))
H A Dp2p_stop_find.py42 global timeout
51 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = timeout
109 # Required for timeout implementation
118 timeout = 5 variable
157 wpas_dbus_interface,timeout)
168 time.sleep(int(p2p_stop_find_test.timeout))
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
H A DTestOptions.java64 * <li><code>jpda.settings.timeout</code>
65 * - timeout used in JPDA tests
67 * - timeout for waiting events
77 /** Default timeout value for various operations. */
103 // current timeout value (negative means using default value)
104 private long timeout = -1; field in class:TestOptions
375 * Returns timeout for JPDA tests in milliseconds.
377 * @return option "jpda.settings.timeout" or DEFAULT_TIMEOUT by default.
380 if (timeout < 0) {
381 timeout
400 setTimeout(long timeout) argument
[all...]
/external/autotest/server/hosts/
H A Drpc_server_tracker.py178 rpc_url, timeout=request_timeout_seconds, allow_none=True)
302 """XMLRPC ServerProxy supporting timeout."""
303 def __init__(self, uri, timeout=20, *args, **kwargs):
307 @param timeout: Timeout in seconds for a XMLRPC request.
312 if timeout:
313 kwargs['transport'] = TimeoutXMLRPCTransport(timeout=timeout)
318 """A Transport subclass supporting timeout."""
319 def __init__(self, timeout=20, *args, **kwargs):
322 @param timeout
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/
H A Dts_proxy_server.py56 def StartServer(self, timeout=10):
73 py_utils.WaitFor(self._IsStarted, timeout)
92 def _IssueCommand(self, command_string, timeout):
102 py_utils.WaitFor(CommandStatusIsRead, timeout)
108 def UpdateOutboundPorts(self, http_port, https_port, timeout=5):
115 timeout)
118 download_bandwidth_kbps=0, upload_bandwidth_kbps=0, timeout=5):
119 self._IssueCommand('set rtt %s' % round_trip_latency_ms, timeout)
120 self._IssueCommand('set inkbps %s' % download_bandwidth_kbps, timeout)
121 self._IssueCommand('set outkbps %s' % upload_bandwidth_kbps, timeout)
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DUninterruptibles.java36 * continues to block until the result is available or the timeout elapses,
45 // Implementation Note: As of 3-7-11, the logic for each blocking/timeout
73 * await(timeout, unit)} uninterruptibly.
76 long timeout, TimeUnit unit) {
79 long remainingNanos = unit.toNanos(timeout);
151 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)}
163 Future<V> future, long timeout, TimeUnit unit)
167 long remainingNanos = unit.toNanos(timeout);
189 * timedJoin(toJoin, timeout)} uninterruptibly.
192 long timeout, TimeUni
75 awaitUninterruptibly(CountDownLatch latch, long timeout, TimeUnit unit) argument
162 getUninterruptibly( Future<V> future, long timeout, TimeUnit unit) argument
191 joinUninterruptibly(Thread toJoin, long timeout, TimeUnit unit) argument
295 tryAcquireUninterruptibly( Semaphore semaphore, long timeout, TimeUnit unit) argument
306 tryAcquireUninterruptibly( Semaphore semaphore, int permits, long timeout, TimeUnit unit) argument
[all...]
/external/linux-kselftest/tools/testing/selftests/futex/include/
H A Dfutextest.h59 * @timeout: typically an absolute struct timespec (except where noted
68 * some of the types over overloaded (timeout is used for nr_requeue for
74 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \
75 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
78 * futex_wait() - block on uaddr with optional timeout
79 * @timeout: relative timeout
82 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) argument
84 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
102 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, argument
125 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) argument
189 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) argument
[all...]
/external/ltp/testcases/kernel/syscalls/futex/
H A Dfutextest.h90 * @timeout: typically an absolute struct timespec (except where noted
99 * some of the types over overloaded (timeout is used for nr_requeue for
105 #define futex(uaddr, op, val, timeout, uaddr2, val3, opflags) \
106 syscall(SYS_futex, uaddr, op | opflags, val, timeout, uaddr2, val3)
109 * futex_wait() - block on uaddr with optional timeout
110 * @timeout: relative timeout
113 futex_wait(futex_t *uaddr, futex_t val, struct timespec *timeout, int opflags) argument
115 return futex(uaddr, FUTEX_WAIT, val, timeout, NULL, 0, opflags);
133 futex_wait_bitset(futex_t *uaddr, futex_t val, struct timespec *timeout, argument
156 futex_lock_pi(futex_t *uaddr, struct timespec *timeout, int detect, int opflags) argument
220 futex_wait_requeue_pi(futex_t *uaddr, futex_t val, futex_t *uaddr2, struct timespec *timeout, int opflags) argument
[all...]
/external/v8/src/js/
H A Dharmony-atomics.js107 function AtomicsWaitJS(ia, index, value, timeout) {
110 if (IS_UNDEFINED(timeout)) {
111 timeout = INFINITY;
113 timeout = TO_NUMBER(timeout);
114 if (NUMBER_IS_NAN(timeout)) {
115 timeout = INFINITY;
117 timeout = MaxSimple(0, timeout);
120 return %AtomicsWait(ia, index, value, timeout);
[all...]
/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Dfastboot.py65 def Flash(self, partition, image, timeout=None, retries=None):
75 def Devices(self, timeout=None, retries=None):
81 def RebootBootloader(self, timeout=None, retries=None):
86 def Reboot(self, timeout=None, retries=None):
91 def SetOemOffModeCharge(self, value, timeout=None, retries=None):
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/
H A D_socket.py55 self.timeout = None
58 def setdefaulttimeout(timeout):
60 Set the global timeout setting to connect.
62 timeout: default socket timeout time. This value is second.
65 _default_timeout = timeout
70 Return the global timeout setting(second) to connect.
81 except socket.timeout as e:
117 except socket.timeout as e:
/external/curl/tests/libtest/
H A Dlib591.c83 /* server connection timeout */
96 long timeout = -99; local
114 multi_timeout(multi, &timeout);
116 /* At this point, timeout is guaranteed to be greater or equal than -1. */
118 if(timeout != -1L) {
119 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
H A Dlib597.c97 long timeout = -99; local
115 multi_timeout(multi, &timeout);
117 /* At this point, timeout is guaranteed to be greater or equal than
120 if(timeout != -1L) {
121 int itimeout = (timeout > (long)INT_MAX) ? INT_MAX : (int)timeout;
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
H A Dfastboot.py67 def Flash(self, partition, image, timeout=None, retries=None):
77 def Devices(self, timeout=None, retries=None):
83 def RebootBootloader(self, timeout=None, retries=None):
88 def Reboot(self, timeout=None, retries=None):
93 def SetOemOffModeCharge(self, value, timeout=None, retries=None):
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D1-1.c36 struct timespec timeout; local
52 timeout.tv_sec = curtime.tv_sec;
53 timeout.tv_nsec = curtime.tv_usec * 1000;
54 timeout.tv_sec += TIMEOUT;
57 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);

Completed in 832 milliseconds

1234567891011>>