/external/ltp/testcases/network/stress/ns-tools/ |
ns-mcast_receiver.c | 62 double timeout; member in struct:mcast_rcv_info 235 "Timeout should be positive value\n"); 238 info_p->timeout = opt_d; 416 if (info_p->timeout) 417 if (info_p->timeout < difftime(time(NULL), start_time))
|
ns-udpsender.c | 66 double timeout; member in struct:udp_info 214 "Timeout should be positive value\n"); 217 udp_p->timeout = opt_d; 221 udp_p->timeout = -1.0; 407 /* Check timeout: 408 If timeout value is negative only send one datagram */ 409 if (udp_p->timeout) 410 if (udp_p->timeout < difftime(time(NULL), start_time))
|
/external/mdnsresponder/mDNSPosix/ |
PosixDaemon.c | 152 struct timeval timeout; local 166 timeout.tv_sec = ticks / mDNSPlatformOneSecond; 167 timeout.tv_usec = (ticks % mDNSPlatformOneSecond) * 1000000 / mDNSPlatformOneSecond; 169 (void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData);
|
ProxyResponder.c | 278 struct timeval timeout = { 0x3FFFFFFF, 0 }; // wait until SIGINT or SIGTERM local 280 mDNSPosixRunEventLoopOnce(&mDNSStorage, &timeout, &signals, &gotSomething);
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
dd_screen.c | 270 uint64_t timeout) 275 return screen->fence_finish(screen, ctx, fence, timeout); 299 unsigned timeout = 0; local 316 puts(" GALLIUM_DDEBUG=\"[timeout in ms] [noflush] [verbose]\""); 318 puts(" fence timeout and dump context and driver information into"); 321 puts(" GALLIUM_DDEBUG=\"pipelined [timeout in ms] [verbose]\""); 323 puts(" timeout without flushes and dump context and driver information into"); 352 if (sscanf(option+10, "%u", &timeout) != 1) 357 if (sscanf(option, "%u", &timeout) != 1) 398 dscreen->timeout_ms = timeout; [all...] |
/external/mtpd/ |
mtpd.c | 159 int timeout; local 176 timeout = initialize(argc, argv); 192 while (timeout >= 0) { 193 if (poll(pollfds, 3, timeout ? timeout : -1) == -1 && errno != EINTR) { 203 timeout = pollfds[0].revents ? 204 the_protocol->process() : the_protocol->timeout(); 209 if (!timeout) { 210 timeout = 5000; 215 if (timeout < 0) [all...] |
mtpd.h | 75 * timeout intervals are in milliseconds, where zero means forever. To indicate 84 /* Connect to the server and return the next timeout interval. */ 86 /* Process the incoming packet and return the next timeout interval. */ 88 /* Handle the timeout event and return the next timeout interval. */ 89 int (*timeout)(); member in struct:protocol
|
/external/okhttp/okio/okio/src/main/java/okio/ |
AsyncTimeout.java | 22 * This timeout uses a background thread to take action exactly when the timeout 26 * <p>Subclasses should override {@link #timedOut} to take action when a timeout 31 * <p>Use {@link #sink} and {@link #source} to apply this timeout to a stream. 32 * The returned value will apply the timeout to each operation on the wrapped 37 * indicates whether a timeout was triggered. Note that the call to {@link 40 public class AsyncTimeout extends Timeout { 66 return; // No timeout and no deadline? Don't bother with the queue. 74 // Start the watchdog thread and create the head node when the first timeout is scheduled. 82 // Compute the earliest event; either timeout or deadline. Because nanoTime can wrap around 190 @Override public Timeout timeout() { method in class:AsyncTimeout [all...] |
DeflaterSink.java | 151 @Override public Timeout timeout() { method in class:DeflaterSink 152 return sink.timeout();
|
GzipSink.java | 77 @Override public Timeout timeout() { method in class:GzipSink 78 return sink.timeout();
|
GzipSource.java | 177 @Override public Timeout timeout() { method in class:GzipSource 178 return source.timeout();
|
/external/ppp/pppd/plugins/radius/ |
buildreq.c | 64 int timeout, int retries) 69 data->timeout = timeout; 195 int timeout = rc_conf_int("radius_timeout"); local 224 authserver->port[i], timeout, retries); 253 int timeout = rc_conf_int("radius_timeout"); local 268 authserver->port[i], timeout, retries); 299 int timeout = rc_conf_int("radius_timeout"); local 337 acctserver->port[i], timeout, retries); 382 int timeout = rc_conf_int("radius_timeout") local 420 int timeout = rc_conf_int("radius_timeout"); local [all...] |
/external/ppp/pppd/plugins/rp-pppoe/ |
discovery.c | 338 * timeout -- how long to wait (in seconds) 345 waitForPADO(PPPoEConnection *conn, int timeout) 368 expire_at.tv_sec += timeout; 531 * timeout -- how long to wait (in seconds) 538 waitForPADS(PPPoEConnection *conn, int timeout) 552 expire_at.tv_sec += timeout; 633 int timeout = conn->discoveryTimeout; local 638 warn("Timeout waiting for PADO packets"); 645 waitForPADO(conn, timeout); 647 timeout *= 2 [all...] |
/external/python/cpython2/Modules/_sqlite/ |
connection.h | 48 /* the timeout value in seconds for database locks */ 49 double timeout; member in struct:__anon32732 51 /* for internal use in the timeout handler: when did the timeout handler
|
/external/python/cpython3/Modules/_sqlite/ |
connection.h | 44 /* the timeout value in seconds for database locks */ 45 double timeout; member in struct:__anon33354 47 /* for internal use in the timeout handler: when did the timeout handler
|
/external/syslinux/com32/gplinclude/dmi/ |
dmi_system.h | 50 char timeout[8]; member in struct:__anon36980::__anon36981
|
/external/syslinux/com32/libupload/ |
upload_tftp.c | 63 const clock_t *timeout; local 69 for (timeout = timeouts ; *timeout ; timeout++) { 113 } while ((clock_t)(times(NULL) - start) < *timeout);
|
/external/syslinux/core/fs/pxe/ |
tftp.c | 82 uint8_t timeout; local 98 timeout = *timeout_ptr++; 104 while (timeout) { 111 if (now-oldtime >= timeout) { 113 timeout = *timeout_ptr++; 114 if (!timeout) 133 if (timeout == 0) 201 jiffies_t timeout; local 239 timeout_ptr = TimeoutTable; /* Reset timeout */ 241 timeout = *timeout_ptr++ [all...] |
/external/syslinux/core/include/ |
thread.h | 38 mstime_t timeout; member in struct:thread_block
|
/external/tensorflow/tensorflow/contrib/kafka/kernels/ |
kafka_dataset_ops.cc | 48 int64 timeout = -1; variable 49 OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "timeout", &timeout)); 50 OP_REQUIRES(ctx, (timeout > 0), 52 "Timeout value should be large than 0, got ", timeout)); 53 *output = new Dataset(ctx, std::move(topics), servers, group, eof, timeout); 61 const int64 timeout) 67 timeout_(timeout) {} 99 Node* timeout = nullptr variable [all...] |
/external/webrtc/webrtc/base/ |
autodetectproxy.cc | 168 int timeout = 2000; local 171 timeout += 2000; 183 Thread::Current()->PostDelayed(timeout, this, MSG_TIMEOUT);
|
httprequest.h | 60 int timeout() { return timeout_; } function in class:rtc::HttpRequest 61 void set_timeout(int timeout) { timeout_ = timeout; }
|
/external/webrtc/webrtc/modules/video_capture/linux/ |
video_capture_linux.cc | 416 struct timeval timeout; local 422 timeout.tv_sec = 1; 423 timeout.tv_usec = 0; 425 retVal = select(_deviceFd + 1, &rSet, NULL, NULL, &timeout);
|
/external/webrtc/webrtc/test/channel_transport/ |
udp_socket_manager_posix.cc | 240 // Timeout = 1 second. 241 struct timeval timeout; local 242 timeout.tv_sec = 0; 243 timeout.tv_usec = 10000; 262 num = select(maxFd+1, &_readFds, NULL, NULL, &timeout); 266 // Timeout = 10 ms. 272 // Timeout = 10 ms.
|
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_shared.c | 26 u32 timeout, tu; local 36 timeout = hapd->conf->assoc_sa_query_max_timeout - tu; 38 timeout = 0; 39 if (timeout < hapd->conf->assoc_sa_query_max_timeout) 40 timeout++; /* add some extra time for local timers */ 41 WPA_PUT_LE32(pos, timeout);
|