Searched defs:timeout (Results 176 - 200 of 644) sorted by relevance

1234567891011>>

/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DJdkFutureAdaptersTest.java188 public V get(long timeout, TimeUnit unit) { argument
/external/ipsec-tools/
H A Dmain.c198 int timeout = tv->tv_sec * 1000 + tv->tv_usec / 1000 + 1; local
200 if (poll(pollfds, monitors, timeout) > 0) {
/external/ipsec-tools/src/racoon/
H A Dschedule.c61 static struct timeval timeout; variable in typeref:struct:timeval
117 timeout.tv_sec = delta < 0 ? 0 : delta;
118 timeout.tv_usec = 0;
120 return &timeout;
335 struct timeval *timeout; local
348 timeout = schedular();
350 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
H A Dsession.c120 struct timeval *timeout; local
193 timeout = schedular();
195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
H A DMockServerSocket.java179 public synchronized void setSoTimeout(int timeout) throws SocketException { argument
/external/jmdns/src/javax/jmdns/
H A DJmDNS.java188 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received.
190 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
196 * @param timeout
197 * timeout in milliseconds. Typical timeout should be 5s.
200 public abstract ServiceInfo getServiceInfo(String type, String name, long timeout); argument
218 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received.
220 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
226 * @param timeout
227 * timeout i
232 getServiceInfo(String type, String name, boolean persistent, long timeout) argument
270 requestServiceInfo(String type, String name, long timeout) argument
284 requestServiceInfo(String type, String name, boolean persistent, long timeout) argument
395 list(String type, long timeout) argument
415 listBySubtype(String type, long timeout) argument
[all...]
H A DJmmDNS.java164 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
170 * @param timeout
171 * timeout in milliseconds. Typical timeout should be 5s.
175 public abstract ServiceInfo[] getServiceInfos(String type, String name, long timeout); argument
180 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
196 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive.
202 * @param timeout
203 * timeout in milliseconds. Typical timeout shoul
209 getServiceInfos(String type, String name, boolean persistent, long timeout) argument
246 requestServiceInfo(String type, String name, long timeout) argument
261 requestServiceInfo(String type, String name, boolean persistent, long timeout) argument
360 list(String type, long timeout) argument
382 listBySubtype(String type, long timeout) argument
[all...]
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/
H A DTransport.java49 protected int timeout = ServiceConnection.DEFAULT_TIMEOUT; field in class:Transport
71 public Transport(String url, int timeout) { argument
73 this.timeout = timeout;
76 public Transport(String url, int timeout, int bufferLength) { argument
78 this.timeout = timeout;
95 public Transport(Proxy proxy, String url, int timeout) { argument
98 this.timeout = timeout;
101 Transport(Proxy proxy, String url, int timeout, int bufferLength) argument
[all...]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpsServiceConnectionSE.java49 * @param timeout the timeout for the connection in milliseconds
53 int timeout) throws IOException {
56 updateConnectionParameters(timeout);
59 private void updateConnectionParameters(int timeout) { argument
60 connection.setConnectTimeout(timeout);
61 connection.setReadTimeout(timeout); // even if we connect fine we want to time out if we cant read anything..
52 HttpsServiceConnectionSE(String host, int port, String file, int timeout) argument
/external/libbrillo/brillo/streams/
H A Dinput_stream_set.cc178 base::TimeDelta timeout,
189 return stream->WaitForDataBlocking(in_mode, timeout, out_mode, error);
177 WaitForDataBlocking(AccessMode in_mode, base::TimeDelta timeout, AccessMode* out_mode, ErrorPtr* error) argument
/external/libchrome/base/process/
H A Dkill_posix.cc156 BackgroundReaper(pid_t child, unsigned timeout) argument
158 timeout_(timeout) {
215 const unsigned timeout = 2; // seconds local
216 BackgroundReaper* reaper = new BackgroundReaper(process.Pid(), timeout);
/external/libchrome/base/
H A Dsync_socket_posix.cc140 TimeDelta timeout) {
149 // return a timeout error (0) if not. See http://crbug.com/314364.
154 DCHECK_GT(timeout.InMicroseconds(), 0);
155 DCHECK_LT(timeout.InMicroseconds(),
158 // Track the start time so we can reduce the timeout as data is read.
160 const TimeTicks finish_time = start_time + timeout;
165 bytes_read_total < length && timeout.InMicroseconds() > 0;
166 timeout = finish_time - base::TimeTicks::Now()) {
172 { 0, static_cast<suseconds_t>(timeout.InMicroseconds()) };
175 // Handle EINTR manually since we need to update the timeout valu
138 ReceiveWithTimeout(void* buffer, size_t length, TimeDelta timeout) argument
[all...]
/external/libdrm/amdgpu/
H A Damdgpu_cs.c280 * Calculate absolute timeout.
282 * \param timeout - \c [in] timeout in nanoseconds.
284 * \return absolute timeout in nanoseconds
286 drm_private uint64_t amdgpu_cs_calculate_timeout(uint64_t timeout) argument
290 if (timeout != AMDGPU_TIMEOUT_INFINITE) {
301 timeout += current_ns;
302 if (timeout < current_ns)
303 timeout = AMDGPU_TIMEOUT_INFINITE;
305 return timeout;
[all...]
/external/libdrm/freedreno/kgsl/
H A Dkgsl_pipe.c60 uint64_t timeout)
65 .timeout = 5000,
59 kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, uint64_t timeout) argument
/external/libdrm/tests/kms/
H A Dkms-universal-planes.c325 struct timeval timeout = { 1, 0 }; local
331 err = select(STDIN_FILENO + 1, &fds, NULL, NULL, &timeout);
337 /* timeout */
/external/libevent/
H A Ddevpoll.c170 int i, res, timeout = -1; local
176 timeout = tv->tv_sec * 1000 + (tv->tv_usec + 999) / 1000;
180 dvp.dp_timeout = timeout;
H A Depoll.c99 /* On Linux kernels at least up to 2.6.24.4, epoll can't handle timeout
391 long timeout = -1; local
394 timeout = evutil_tv_to_msec(tv);
395 if (timeout < 0 || timeout > MAX_EPOLL_TIMEOUT_MSEC) {
396 /* Linux kernels can wait forever if the timeout is
398 timeout = MAX_EPOLL_TIMEOUT_MSEC;
407 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);
/external/libmicrohttpd/src/examples/
H A Dspdy_response_with_callback.c158 struct timeval timeout; local
199 timeout.tv_sec = 1;
200 timeout.tv_usec = 0;
204 timeout.tv_sec = timeoutlong / 1000;
205 timeout.tv_usec = (timeoutlong % 1000) * 1000;
213 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
/external/libmicrohttpd/src/testspdy/
H A Dtest_session_timeout.c21 * @brief tests closing sessions after set timeout. Openssl is used for
125 struct timeval timeout; local
171 killchild("SPDY_get_timeout returned wrong timeout");
190 killchild("SPDY_get_timeout returned wrong timeout");
203 timeout.tv_sec = 1;
204 timeout.tv_usec = 0;
208 timeout.tv_sec = timeoutlong / 1000;
209 timeout.tv_usec = (timeoutlong % 1000) * 1000;
213 timeout.tv_sec = 0;
214 timeout
[all...]
/external/libnfc-nci/src/nfa/sys/
H A Dnfa_sys_main.c373 void nfa_sys_start_timer (TIMER_LIST_ENT *p_tle, UINT16 type, INT32 timeout) argument
375 nfa_sys_ptim_start_timer (&nfa_sys_cb.ptim_cb, p_tle, type, timeout);
/external/libnl/lib/
H A Dcache_mngr.c70 * // with a timeout of 5 seconds.
303 * @arg timeout Upper limit poll() will block, in milliseconds.
315 int nl_cache_mngr_poll(struct nl_cache_mngr *mngr, int timeout) argument
324 ret = poll(&fds, 1, timeout);
/external/libnl/src/lib/
H A Dct.c70 uint32_t timeout = nl_cli_parse_u32(arg); local
71 nfnl_ct_set_timeout(ct, timeout);
/external/libpcap/tests/
H A Dcapturetest.c63 int timeout = 1000; local
110 timeout = (int)longarg;
138 status = pcap_set_timeout(pd, timeout);
214 (void)fprintf(stderr, "Usage: %s [ -mn ] [ -i interface ] [ -t timeout] [expression]\n",
/external/llvm/tools/bugpoint/
H A DBugDriver.cpp71 unsigned timeout, unsigned memlimit, bool use_valgrind,
75 cc(nullptr), run_find_bugs(find_bugs), Timeout(timeout),
70 BugDriver(const char *toolname, bool find_bugs, unsigned timeout, unsigned memlimit, bool use_valgrind, LLVMContext& ctxt) argument
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_screen.c389 uint64_t timeout)
387 i915_fence_finish(struct pipe_screen *screen, struct pipe_fence_handle *fence, uint64_t timeout) argument

Completed in 710 milliseconds

1234567891011>>