HomeSort by relevance Sort by last modified time
    Searched defs:timeout (Results 51 - 75 of 314) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/chromium/third_party/libevent/
epoll.c 97 /* On Linux kernels at least up to 2.6.24.4, epoll can't handle timeout
187 int i, res, timeout = -1; local
190 timeout = tv->tv_sec * 1000 + (tv->tv_usec + 999) / 1000;
192 if (timeout > MAX_EPOLL_TIMEOUT_MSEC) {
193 /* Linux kernels can wait forever if the timeout is too big;
195 timeout = MAX_EPOLL_TIMEOUT_MSEC;
198 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout);
kqueue.c 312 struct timespec timeout = { 0, 0 }; local
323 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1)
385 struct timespec timeout = { 0, 0 }; local
398 if (kevent(kqop->kq, &kev, 1, NULL, 0, &timeout) == -1)
  /external/dbus/dbus/
dbus-timeout.c 2 /* dbus-timeout.c DBusTimeout implementation
25 #include "dbus-timeout.h"
42 int interval; /**< Timeout interval in milliseconds. */
44 DBusTimeoutHandler handler; /**< Timeout handler. */
45 void *handler_data; /**< Timeout handler data. */
46 DBusFreeFunction free_handler_data_function; /**< Free the timeout handler data. */
50 unsigned int enabled : 1; /**< True if timeout is active. */
55 * @param interval the timeout interval in milliseconds.
56 * @param handler function to call when the timeout occurs.
67 DBusTimeout *timeout; local
    [all...]
  /external/dropbear/
random.c 101 struct timeval timeout; local
104 timeout.tv_sec = 2; /* two seconds should be enough */
105 timeout.tv_usec = 0;
109 ret = select(readfd + 1, &read_fds, NULL, NULL, &timeout);
  /external/grub/netboot/
fsys_tftp.c 60 long timeout; local
63 timeout = rfc2131_sleep_interval (block ? TFTP_REXMT : TIMEOUT, retry);
65 timeout = rfc2131_sleep_interval (TIMEOUT, retry);
68 if (! await_reply (AWAIT_TFTP, iport, NULL, timeout))
99 /* Timeout. */
  /external/grub/stage2/
serial.c 98 int timeout = 100000;
103 if (--timeout == 0)
97 int timeout = 100000; local
  /external/ipsec-tools/
main.c 194 struct timeval *timeout = schedular(); local
195 if (select(fdset_size, &readset, NULL, NULL, timeout) < 0) {
  /external/ipsec-tools/src/racoon/
schedule.c 61 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);
session.c 120 struct timeval *timeout; local
193 timeout = schedular();
195 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
  /external/libpcap/
pcap-pf.c 475 struct timeval timeout; local
476 timeout.tv_sec = to_ms / 1000;
477 timeout.tv_usec = (to_ms * 1000) % 1000000;
478 if (ioctl(p->fd, EIOCSRTIMEOUT, (caddr_t)&timeout) < 0) {
pcap-snit.c 235 struct timeval timeout; local
239 timeout.tv_sec = to_ms / 1000;
240 timeout.tv_usec = (to_ms * 1000) % 1000000;
242 si.ic_len = sizeof(timeout);
243 si.ic_dp = (char *)&timeout;
  /external/mtpd/
mtpd.c 61 int timeout = 0; local
78 timeout = the_protocol->connect(argc - 2, &argv[2]);
84 if (!the_protocol || timeout == -USAGE_ERROR) {
92 return timeout;
175 int timeout; local
192 timeout = initialize(argc, argv);
206 while (timeout >= 0) {
207 if (poll(pollfds, 2, timeout ? timeout : -1) == -1 && errno != EINTR) {
214 timeout = pollfds[1].revents
    [all...]
  /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 304 * timeout -- how long to wait (in seconds)
311 waitForPADO(PPPoEConnection *conn, int timeout)
328 tv.tv_sec = timeout;
488 * timeout -- how long to wait (in seconds)
495 waitForPADS(PPPoEConnection *conn, int timeout)
505 tv.tv_sec = timeout;
581 int timeout = PADI_TIMEOUT; local
601 warn("Timeout waiting for PADO packets");
608 waitForPADO(conn, timeout);
614 timeout *= 2
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/dma/
SDL_dmaaudio.c 165 struct timeval timeout; local
168 timeout.tv_sec = 10;
169 timeout.tv_usec = 0;
173 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
176 "Audio timeout - buggy audio driver? (trying ospace)";
178 "Audio timeout - buggy audio driver? (disabled)";
  /external/qemu/distrib/sdl-1.2.12/src/audio/paudio/
SDL_paudio.c 142 struct timeval timeout; local
150 timeout.tv_sec = 10;
151 timeout.tv_usec = 0;
154 timeout.tv_sec = ms_in_buf/1000;
155 ms_in_buf = ms_in_buf - timeout.tv_sec*1000;
156 timeout.tv_usec = ms_in_buf*1000;
160 timeout.tv_sec,
161 timeout.tv_usec );
168 if ( select(audio_fd+1, NULL, &fdset, NULL, &timeout) <= 0 ) {
169 const char *message = "Audio timeout - buggy audio driver? (disabled)"
    [all...]
  /external/quake/quake/src/QW/server/
sys_unix.c 221 struct timeval timeout; local
258 // the only reason we have a timeout at all is so that if the last
265 timeout.tv_sec = 1;
266 timeout.tv_usec = 0;
267 if (select (net_socket+1, &fdset, NULL, NULL, &timeout) == -1)
  /frameworks/base/media/libstagefright/
NuHTTPDataSource.cpp 444 string timeout; local
445 if (mHTTP.find_header_value("X-SocketTimeout", &timeout)) {
446 const char *s = timeout.c_str();
454 LOGI("overriding default timeout, new timeout is %ld seconds", tmp);
  /frameworks/base/tests/CoreTests/android/core/
DatagramTest.java 168 // Regression test for issue 1018003: DatagramSocket ignored a set timeout.
172 int timeout = 5000; local
177 sock.setSoTimeout(timeout);
182 if (Math.abs(delay - timeout) > 1000) {
183 fail("timeout was not accurate. expected: " + timeout
  /hardware/ti/omap3/dspbridge/inc/
rms_sh.h 97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
  /hardware/ti/omap3/dspbridge/libbridge/inc/
rms_sh.h 97 RMS_WORD timeout; /* Timeout (msec) for blocking calls */ member in struct:RMS_StrmDef
  /hardware/ti/wlan/wl1271/TWD/MacServices/
ScanSrv.c 592 TI_UINT32 i, uDtimPeriodMs, uBeaconIntervalMs, timeout = 0; local
596 timeout calculation is performed according to scan type:
631 /* the timeout is the scan duration on all channels */
634 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
636 timeout = (timeout / 1000) + uDtimPeriodMs + SCAN_SRV_FW_GUARD_TIME_MS;
641 /* the timeout is the scan duration on all channels, plus the maximum time that can pass
645 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
647 timeout = (timeout / 1000) + uDtimPeriodMs +
    [all...]
  /hardware/ti/wlan/wl1271/stad/src/Sta_Management/
trafficAdmControl.h 97 TI_UINT32 timeout; member in struct:__anon10911
  /libcore/dalvik/src/main/native/
dalvik_system_TouchDex.cpp 159 int cc, count, dexCount, timeout; local
164 * Adjust the timeout based on how many DEX files we have to
172 * sort of spoils the timeout calculation. We establish a minimum
173 * timeout for single apps.
175 * The timeout calculation doesn't work at all right when a
177 * this point it's probably safe to just remove the timeout.
179 * The timeout is in 1/10ths of a second.
187 timeout = timeoutMult * dexCount;
188 if (timeout < kMinTimeout)
189 timeout = kMinTimeout
    [all...]
  /libcore/luni/src/test/java/com/google/coretests/
CoreTestResult.java 41 * The timeout the user specified for this test run.
82 * Creates a new CoreTestResult with the given flags and timeout.
84 public CoreTestResult(int flags, int timeout) {
88 fTimeout = timeout;
143 CoreTestTimeout timeout = new CoreTestTimeout("Test timed out"); local
144 timeout.setStackTrace(trace);
145 addError(test, timeout);

Completed in 3305 milliseconds

1 23 4 5 6 7 8 91011>>