Searched refs:timeout (Results 26 - 50 of 636) sorted by relevance

1234567891011>>

/external/wpa_supplicant_6/wpa_supplicant/src/utils/
H A Deloop_win.c62 struct eloop_timeout *timeout; member in struct:eloop_data
248 struct eloop_timeout *timeout, *tmp, *prev; local
250 timeout = os_malloc(sizeof(*timeout));
251 if (timeout == NULL)
253 os_get_time(&timeout->time);
254 timeout->time.sec += secs;
255 timeout->time.usec += usecs;
256 while (timeout->time.usec >= 1000000) {
257 timeout
294 struct eloop_timeout *timeout, *prev, *next; local
460 DWORD count, ret, timeout, err; local
572 struct eloop_timeout *timeout, *prev; local
[all...]
/external/dbus/bus/
H A Dexpirelist.c29 #include <dbus/dbus-timeout.h>
34 DBusTimeout *timeout; member in struct:BusExpireList
44 call_timeout_callback (DBusTimeout *timeout, argument
48 dbus_timeout_handle (timeout);
68 list->timeout = _dbus_timeout_new (100, /* irrelevant */
71 if (list->timeout == NULL)
74 _dbus_timeout_set_enabled (list->timeout, FALSE);
77 list->timeout,
84 if (list->timeout)
85 _dbus_timeout_unref (list->timeout);
106 bus_expire_timeout_set_interval(DBusTimeout *timeout, int next_interval) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/
H A Dp2p_find.py3 # Will list all devices found/lost within a time frame (timeout)
17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
43 global timeout
53 def __init__(self,interface_name,wpas_dbus_interface,timeout):
55 self.timeout = int(timeout)
111 {'Timeout':int(self.timeout)})
117 # Required for timeout implementation
125 timeout variable
[all...]
H A Dp2p_listen.py17 print " %s -i <interface_name> [-t <timeout>] \ " \
22 print " -t = timeout = 0s (infinite)"
41 global timeout
50 def __init__(self,interface_name,wpas_dbus_interface,timeout):
52 self.timeout = int(timeout)
104 self.p2p_interface.Listen(int(self.timeout))
107 # Required for timeout implementation
115 timeout = 0 variable
141 timeout
[all...]
/external/webkit/Source/WebKit/qt/tests/benchmarks/loading/
H A Dtst_loading.cpp29 * can return earlier on a timeout.
32 * \p false on timeout
34 static bool waitForSignal(QObject* obj, const char* signal, int timeout = 0)
39 QSignalSpy timeoutSpy(&timer, SIGNAL(timeout()));
40 if (timeout > 0) {
41 QObject::connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
43 timer.start(timeout);
/external/webkit/Source/WebKit/qt/tests/
H A Dutil.h32 * can return earlier on a timeout.
35 * \p false on timeout
37 static bool waitForSignal(QObject* obj, const char* signal, int timeout = 10000)
42 QSignalSpy timeoutSpy(&timer, SIGNAL(timeout()));
43 if (timeout > 0) {
44 QObject::connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
46 timer.start(timeout);
/external/webkit/Source/WebKit2/UIProcess/API/qt/tests/
H A Dutil.h32 * can return earlier on a timeout.
35 * \p false on timeout
37 static bool waitForSignal(QObject* obj, const char* signal, int timeout = 10000)
42 QSignalSpy timeoutSpy(&timer, SIGNAL(timeout()));
43 if (timeout > 0) {
44 QObject::connect(&timer, SIGNAL(timeout()), &loop, SLOT(quit()));
46 timer.start(timeout);
/external/kernel-headers/original/linux/
H A Dgenlock.h14 int genlock_wait(struct genlock_handle *handle, u32 timeout);
17 u32 timeout);
31 int timeout; member in struct:genlock_lock
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
H A DSDL_syssem.c98 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
114 if ( timeout == 0 ) {
117 if ( timeout == SDL_MUTEX_MAXWAIT ) {
122 /* Setup the timeout. sem_timedwait doesn't wait for
124 * This time is now plus the timeout.
128 /* Add our timeout to current time */
129 now.tv_usec += (timeout % 1000) * 1000;
130 now.tv_sec += timeout / 1000;
150 end = SDL_GetTicks() + timeout;
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
H A DSDL_syssem.c53 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
145 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
155 if ( timeout == 0 ) {
158 if ( timeout == SDL_MUTEX_MAXWAIT ) {
163 timeout += SDL_GetTicks();
170 } while ( SDL_GetTicks() < timeout );
/external/apache-http/src/org/apache/http/conn/params/
H A DConnManagerParamBean.java48 public void setTimeout (final long timeout) { argument
49 params.setLongParameter(ConnManagerPNames.TIMEOUT, timeout);
/external/arduino/hardware/arduino/cores/arduino/
H A Dwiring_pulse.c32 unsigned long pulseIn(uint8_t pin, uint8_t state, unsigned long timeout) argument
42 // convert the timeout from microseconds to a number of times through
45 unsigned long maxloops = microsecondsToClockCycles(timeout) / 16;
/external/chromium/third_party/libevent/
H A Depoll_sub.c49 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) argument
51 return (syscall(__NR_epoll_wait, epfd, events, maxevents, timeout));
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
H A Dtimeout-zero.js1 description("Tests that when timeout is zero (and maximumAge is too), the error callback is called immediately with code TIMEOUT.");
16 timeout: 0
H A Dnotimer-after-unload.js13 {timeout: 0, maximumAge:0}
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop.c70 struct dl_list timeout; member in struct:eloop_data
130 dl_list_init(&eloop.timeout);
481 struct eloop_timeout *timeout, *tmp; local
484 timeout = os_zalloc(sizeof(*timeout));
485 if (timeout == NULL)
487 if (os_get_time(&timeout->time) < 0) {
488 os_free(timeout);
491 now_sec = timeout->time.sec;
492 timeout
528 eloop_remove_timeout(struct eloop_timeout *timeout) argument
540 struct eloop_timeout *timeout, *prev; local
703 struct eloop_timeout *timeout; local
793 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Deloop.c70 struct dl_list timeout; member in struct:eloop_data
130 dl_list_init(&eloop.timeout);
481 struct eloop_timeout *timeout, *tmp; local
484 timeout = os_zalloc(sizeof(*timeout));
485 if (timeout == NULL)
487 if (os_get_time(&timeout->time) < 0) {
488 os_free(timeout);
491 now_sec = timeout->time.sec;
492 timeout
528 eloop_remove_timeout(struct eloop_timeout *timeout) argument
540 struct eloop_timeout *timeout, *prev; local
703 struct eloop_timeout *timeout; local
793 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop.c70 struct dl_list timeout; member in struct:eloop_data
130 dl_list_init(&eloop.timeout);
481 struct eloop_timeout *timeout, *tmp; local
484 timeout = os_zalloc(sizeof(*timeout));
485 if (timeout == NULL)
487 if (os_get_time(&timeout->time) < 0) {
488 os_free(timeout);
491 now_sec = timeout->time.sec;
492 timeout
528 eloop_remove_timeout(struct eloop_timeout *timeout) argument
540 struct eloop_timeout *timeout, *prev; local
703 struct eloop_timeout *timeout; local
793 struct eloop_timeout *timeout, *prev; local
[all...]
/external/apache-http/src/org/apache/http/
H A DHttpClientConnection.java53 * implementations may completely ignore the timeout parameter.
55 * @param timeout the maximum time in milliseconds to wait for data
57 * even after waiting for <code>timeout</code> milliseconds.
60 boolean isResponseAvailable(int timeout) argument
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DPoolEntryRequest.java43 * Obtains a pool entry with a connection within the given timeout.
47 * @param timeout the timeout, 0 or negative for no timeout
48 * @param tunit the unit for the <code>timeout</code>,
49 * may be <code>null</code> only if there is no timeout
54 * if the timeout expired
59 long timeout,
58 getPoolEntry( long timeout, TimeUnit tunit) argument
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingBlockingQueue.java53 @Override public boolean offer(E e, long timeout, TimeUnit unit) argument
55 return delegate().offer(e, timeout, unit);
58 @Override public E poll(long timeout, TimeUnit unit) argument
60 return delegate().poll(timeout, unit);
/external/kernel-headers/original/linux/hdlc/
H A Dioctl.h43 unsigned int timeout; member in struct:__anon6893
/external/qemu/android/
H A Dsync-utils.h38 * timeout - Time out (in milliseconds) to wait for the connection to occur.
42 SyncSocket* syncsocket_connect(int fd, SockAddress* sockaddr, int timeout);
144 * timeout - Timeout (in milliseconds) to complete the reading.
148 ssize_t syncsocket_read(SyncSocket* ssocket, void* buf, size_t size, int timeout);
179 * timeout - Timeout (in milliseconds) to complete the writing.
186 int timeout);
212 * timeout - Timeout (in milliseconds) to complete the reading.
220 int timeout);
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
H A DSDL_syssem.c65 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
76 if ( timeout == SDL_MUTEX_MAXWAIT ) {
79 timeout *= 1000; /* BeOS uses a timeout in microseconds */
80 val = acquire_sem_etc(sem->id, 1, B_RELATIVE_TIMEOUT, timeout);
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
H A DSDL_syssem.c53 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
119 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout) argument
128 /* A timeout of 0 is an easy case */
129 if ( timeout == 0 ) {
133 retval = sem_wait_timed(&sem->sem,timeout);

Completed in 405 milliseconds

1234567891011>>