Searched refs:timeout (Results 426 - 450 of 1718) sorted by relevance

<<11121314151617181920>>

/external/curl/docs/examples/
H A Dhttp2-serverpush.c228 struct timeval timeout; local
243 /* set a suitable timeout to play around with */
244 timeout.tv_sec = 1;
245 timeout.tv_usec = 0;
249 timeout.tv_sec = curl_timeo / 1000;
250 if(timeout.tv_sec > 1)
251 timeout.tv_sec = 1;
253 timeout.tv_usec = (curl_timeo % 1000) * 1000;
281 /* Note that on some platforms 'timeout' may be modified by select().
283 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
[all...]
H A Dhttp2-upload.c280 struct timeval timeout; local
295 /* set a suitable timeout to play around with */
296 timeout.tv_sec = 1;
297 timeout.tv_usec = 0;
301 timeout.tv_sec = curl_timeo / 1000;
302 if(timeout.tv_sec > 1)
303 timeout.tv_sec = 1;
305 timeout.tv_usec = (curl_timeo % 1000) * 1000;
333 /* Note that on some platforms 'timeout' may be modified by select().
335 rc = select(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAbstractCheckedFuture.java105 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument
107 return get(timeout, unit);
H A DForwardingCheckedFuture.java50 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument
51 return delegate().checkedGet(timeout, unit);
H A DForwardingFuture.java67 public V get(long timeout, TimeUnit unit) argument
69 return delegate().get(timeout, unit);
H A DService.java105 * @param timeout the maximum time to wait
106 * @param unit the time unit of the timeout argument
115 void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException; argument
131 * @param timeout the maximum time to wait
132 * @param unit the time unit of the timeout argument
137 void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException; argument
/external/iptables/include/linux/netfilter/
H A Dxt_set.h62 __u32 timeout; member in struct:xt_set_info_target_v2
90 __u32 timeout; member in struct:xt_set_info_target_v3
/external/jmdns/src/javax/jmdns/impl/
H A DDNSStatefulObject.java25 * This class define a semaphore. On this multiple threads can wait the arrival of one event. Thread wait for a maximum defined by the timeout.
27 * Implementation note: this class is based on {@link java.util.concurrent.Semaphore} so that they can be released by the timeout timer.
50 * Blocks the current thread until the event arrives or the timeout expires.
52 * @param timeout
55 public void waitForEvent(long timeout) { argument
65 semaphore.tryAcquire(timeout, TimeUnit.MILLISECONDS);
379 public boolean waitForAnnounced(long timeout) { argument
381 _announcing.waitForEvent(timeout);
397 public boolean waitForCanceled(long timeout) { argument
399 _canceling.waitForEvent(timeout);
548 waitForAnnounced(long timeout) argument
557 waitForCanceled(long timeout) argument
[all...]
H A DJmmDNSImpl.java180 public ServiceInfo[] getServiceInfos(String type, String name, long timeout) { argument
181 return this.getServiceInfos(type, name, false, timeout);
198 public ServiceInfo[] getServiceInfos(final String type, final String name, final boolean persistent, final long timeout) { argument
199 // We need to run this in parallel to respect the timeout.
209 result.add(mDNS.getServiceInfo(type, name, persistent, timeout));
215 executor.awaitTermination(timeout, TimeUnit.MILLISECONDS);
245 public void requestServiceInfo(String type, String name, long timeout) { argument
246 this.requestServiceInfo(type, name, false, timeout);
254 public void requestServiceInfo(final String type, final String name, final boolean persistent, final long timeout) { argument
255 // We need to run this in parallel to respect the timeout
401 list(final String type, final long timeout) argument
439 listBySubtype(final String type, final long timeout) argument
[all...]
/external/kernel-headers/original/uapi/linux/netfilter/
H A Dxt_set.h62 __u32 timeout; member in struct:xt_set_info_target_v2
81 __u32 timeout; member in struct:xt_set_info_target_v3
/external/ltp/testcases/kernel/syscalls/pselect/
H A Dpselect02.c28 * if the value contained within timeout was invalid.
43 struct timespec *timeout; member in struct:test_case_t
98 TEST(pselect(test->nfds, test->readfds, NULL, NULL, test->timeout,
/external/mesa3d/src/mesa/main/
H A Dsyncobj.c115 GLbitfield flags, GLuint64 timeout)
120 (void) timeout;
123 * the state of the sync object changes or the timeout expires.
299 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
323 * if <sync> was signaled, even if the value of <timeout> is zero.
329 if (timeout == 0) {
332 ctx->Driver.ClientWaitSync(ctx, syncObj, flags, timeout);
344 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) argument
362 * If the value of <timeout> is zero, then WaitSync does nothing.
364 if (timeout
114 _mesa_wait_sync(struct gl_context *ctx, struct gl_sync_object *syncObj, GLbitfield flags, GLuint64 timeout) argument
[all...]
H A Dsyncobj.h72 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
75 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
/external/rmi4utils/rmidevice/
H A Drmidevice.h42 virtual int WaitForAttention(struct timeval * timeout = NULL,
44 virtual int GetAttentionReport(struct timeval * timeout, unsigned int source_mask, argument
/external/sl4a/Common/src/com/googlecode/android_scripting/future/
H A DFutureActivityTask.java83 public T getResult(long timeout, TimeUnit unit) throws InterruptedException { argument
84 return mResult.get(timeout, unit);
/external/swiftshader/src/Common/
H A DSocket.cpp75 timeval timeout = {us / 1000000, us % 1000000}; local
77 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1;
/external/swiftshader/src/OpenGL/libGLESv2/
H A DFence.cpp126 GLenum FenceSync::clientWait(GLbitfield flags, GLuint64 timeout) argument
131 void FenceSync::serverWait(GLbitfield flags, GLuint64 timeout) argument
/external/testng/src/main/java/org/testng/internal/thread/
H A DExecutorAdapter.java39 public boolean awaitTermination(long timeout) { argument
42 result= super.awaitTermination(timeout, TimeUnit.MILLISECONDS);
/external/volley/src/test/java/com/android/volley/
H A DRequestQueueIntegrationTest.java94 verify(listener, timeout(100)).onRequestFinished(higherPriorityReq);
96 verify(listener, timeout(10)).onRequestFinished(lowerPriorityReq);
131 verify(listener, timeout(100)).onRequestFinished(req1);
132 verify(listener, timeout(10)).onRequestFinished(req2);
160 verify(listener, timeout(100)).onRequestFinished(request);
181 verify(listener, timeout(100)).onRequestFinished(request);
182 verify(listener2, timeout(100)).onRequestFinished(request);
203 verify(listener, timeout(100)).onRequestFinished(request);
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
H A Dquery.py42 def _compute_expiration(timeout):
43 if timeout is None:
46 return time.time() + timeout
52 timeout = None
54 timeout = expiration - time.time()
55 if timeout <= 0.0:
58 if timeout is None:
61 (r, w, x) = select.select(ir, iw, ix, timeout)
83 def udp(q, where, timeout=None, port=53, af=None, source=None, source_port=0,
91 @param timeout
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/
H A DJPDADebuggeeSynchronizer.java45 * TCP/IP sockets. All operations can be timed out according to default timeout.
216 long timeout = settings.getTimeout();
218 serverSocket.setSoTimeout((int) timeout);
223 clientSocket.setSoTimeout((int) timeout);
236 long timeout = settings.getTimeout();
243 clientSocket.setSoTimeout((int) timeout);
/external/autotest/client/cros/networking/chrome_testing/
H A Dchrome_networking_test_context.py78 "typeof chromeTesting != 'undefined'", timeout=30)
147 self, expression, condition, timeout):
155 @param timeout: The timeout interval length, in seconds, after which
158 timeout interval.
169 timeout)
172 def call_test_function(self, timeout, function, *args):
180 @param timeout: The timeout interval, in seconds, for which this
182 after the timeout expire
[all...]
/external/autotest/client/site_tests/power_SuspendStress/
H A Dpower_SuspendStress.py104 timeout = kernel = firmware = spurious = 0
106 if type(failure) is sys_power.SuspendTimeout: timeout += 1
110 if total == kernel + timeout:
113 (total, iterations, timeout, kernel))
120 (total, iterations, timeout, kernel, firmware, spurious))
/external/chromium-trace/catapult/devil/devil/utils/
H A Dreraiser_thread.py18 """Module-specific timeout exception."""
130 def _JoinAll(self, watcher=None, timeout=None):
137 watcher: Watchdog object providing the thread timeout. If none is
139 timeout: An optional number of seconds to wait before timing out the join
145 end_time = (time.time() + timeout) if timeout else None
170 def JoinAll(self, watcher=None, timeout=None,
176 stacks will be logged on watchdog timeout.
179 watcher: Watchdog object providing the thread timeout. If none is
181 timeout
[all...]
/external/libcxx/utils/libcxx/android/test/
H A Dformat.py13 def __init__(self, cxx, libcxx_src_root, libcxx_obj_root, timeout,
19 self.executor = TimeoutExecutor(timeout, LocalExecutor())
38 timeout, exec_env=None):
44 timeout,
47 self.executor = TimeoutExecutor(timeout, AdbExecutor())

Completed in 846 milliseconds

<<11121314151617181920>>