/external/curl/docs/examples/ |
H A D | http2-serverpush.c | 228 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 D | http2-upload.c | 280 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 D | AbstractCheckedFuture.java | 105 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument 107 return get(timeout, unit);
|
H A D | ForwardingCheckedFuture.java | 50 public V checkedGet(long timeout, TimeUnit unit) throws TimeoutException, X { argument 51 return delegate().checkedGet(timeout, unit);
|
H A D | ForwardingFuture.java | 67 public V get(long timeout, TimeUnit unit) argument 69 return delegate().get(timeout, unit);
|
H A D | Service.java | 105 * @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 D | xt_set.h | 62 __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 D | DNSStatefulObject.java | 25 * 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 D | JmmDNSImpl.java | 180 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 D | xt_set.h | 62 __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 D | pselect02.c | 28 * 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 D | syncobj.c | 115 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 D | syncobj.h | 72 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); 75 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
|
/external/rmi4utils/rmidevice/ |
H A D | rmidevice.h | 42 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 D | FutureActivityTask.java | 83 public T getResult(long timeout, TimeUnit unit) throws InterruptedException { argument 84 return mResult.get(timeout, unit);
|
/external/swiftshader/src/Common/ |
H A D | Socket.cpp | 75 timeval timeout = {us / 1000000, us % 1000000}; local 77 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1;
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Fence.cpp | 126 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 D | ExecutorAdapter.java | 39 public boolean awaitTermination(long timeout) { argument 42 result= super.awaitTermination(timeout, TimeUnit.MILLISECONDS);
|
/external/volley/src/test/java/com/android/volley/ |
H A D | RequestQueueIntegrationTest.java | 94 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 D | query.py | 42 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 D | JPDADebuggeeSynchronizer.java | 45 * 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 D | chrome_networking_test_context.py | 78 "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 D | power_SuspendStress.py | 104 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 D | reraiser_thread.py | 18 """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 D | format.py | 13 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())
|