Searched refs:timeout (Results 126 - 150 of 636) sorted by relevance

1234567891011>>

/external/webkit/Tools/WebKitTestRunner/qt/
H A DTestControllerQt.cpp87 void TestController::platformRunUntil(bool&, double timeout) argument
89 TestControllerRunLoop::instance()->start(static_cast<int>(timeout * 1000));
/external/jmdns/src/javax/jmdns/impl/
H A DJmmDNSImpl.java180 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/webkit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dwebkit.py139 timeout = 2.0
140 deadline = time.time() + timeout
141 output = sp.read_line(timeout)
146 timeout = deadline - time.time()
147 output = sp.read(timeout, content_length)
152 timeout = deadline - time.time()
416 deadline = time.time() + int(driver_input.timeout) / 1000.0
443 timeout=self._server_process.timed_out, error=error)
458 timeout = deadline - time.time()
459 line = self._server_process.read_line(timeout)
[all...]
/external/webrtc/src/system_wrappers/source/
H A Devent_posix.cc126 EventTypeWrapper EventPosix::Wait(unsigned long timeout) argument
136 if (WEBRTC_EVENT_INFINITE != timeout)
153 tEnd.tv_sec += timeout / 1000;
154 tEnd.tv_nsec += (timeout - (timeout / 1000) * 1000) * E6;
/external/chromium/base/
H A Dmessage_pump_win.cc71 double timeout = local
75 int delay = static_cast<int>(timeout);
488 int timeout = GetCurrentDelay(); local
489 if (timeout < 0) // Negative value means no timers waiting.
490 timeout = INFINITE;
492 WaitForIOCompletion(timeout, NULL);
495 bool MessagePumpForIO::WaitForIOCompletion(DWORD timeout, IOHandler* filter) { argument
499 if (!GetIOItem(timeout, &item))
525 bool MessagePumpForIO::GetIOItem(DWORD timeout, IOItem* item) { argument
530 &overlapped, timeout)) {
[all...]
/external/dbus/dbus/
H A Ddbus-pending-call.c71 DBusTimeout *timeout; /**< Timeout */ member in struct:DBusPendingCall
73 DBusList *timeout_link; /**< Preallocated timeout response */
78 unsigned int timeout_added : 1; /**< Have added the timeout */
87 * @param timeout_milliseconds length of timeout, -1 for default, INT_MAX for no timeout
88 * @param timeout_handler timeout handler, takes pending call as data
97 DBusTimeout *timeout; local
117 timeout = _dbus_timeout_new (timeout_milliseconds,
121 if (timeout == NULL)
128 pending->timeout
[all...]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
H A DSelectorTest.java279 // make sure select(timeout) doesn't block
468 private void assert_select_SelectorClosed(SelectType type, int timeout) argument
473 selectOnce(type, timeout);
480 private void assert_select_OP_ACCEPT(SelectType type, int timeout) argument
487 int count = blockingSelect(type, timeout);
495 count = selectOnce(type, timeout);
514 private void assert_select_OP_CONNECT(SelectType type, int timeout) argument
521 int count = blockingSelect(type, timeout);
529 count = selectOnce(type, timeout);
550 private void assert_select_OP_READ(SelectType type, int timeout) argument
623 assert_select_OP_WRITE(SelectType type, int timeout) argument
658 blockingSelect(SelectType type, int timeout) argument
673 selectOnce(SelectType type, int timeout) argument
[all...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dctrl_iface_dbus.c157 DBusTimeout *timeout = sock_ctx; local
159 dbus_timeout_handle(timeout);
164 DBusTimeout *timeout)
166 if (!dbus_timeout_get_enabled(timeout))
169 eloop_register_timeout(0, dbus_timeout_get_interval(timeout) * 1000,
170 process_timeout, iface, timeout);
172 dbus_timeout_set_data(timeout, iface, NULL);
177 DBusTimeout *timeout)
179 eloop_cancel_timeout(process_timeout, iface, timeout);
180 dbus_timeout_set_data(timeout, NUL
163 connection_setup_add_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
176 connection_setup_remove_timeout(struct ctrl_iface_dbus_priv *iface, DBusTimeout *timeout) argument
184 add_timeout(DBusTimeout *timeout, void *data) argument
195 remove_timeout(DBusTimeout *timeout, void *data) argument
201 timeout_toggled(DBusTimeout *timeout, void *data) argument
[all...]
/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);
/external/iptables/extensions/
H A Dlibxt_SET.c262 " --add-set name flags [--exist] [--timeout n]\n"
273 {.name = "timeout", .has_arg = true, .val = '4'},
289 "Option `--timeout' can be used with `--add-set' only");
302 info->timeout = UINT32_MAX;
311 unsigned int timeout; local
327 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1))
329 "Invalid value for option --timeout "
331 myinfo->timeout = timeout;
347 if (info->timeout !
[all...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLServerSocketImplTest.java78 int timeout = 10; // wait no more than 5 seconds for handshake
84 timeout--;
85 if (timeout < 0) {
136 int timeout = 10; // wait no more than 5 seconds for handshake
142 timeout--;
143 if (timeout < 0) {
194 int timeout = 10; // wait no more than 5 seconds for handshake
200 timeout--;
201 if (timeout < 0) {
252 int timeout
[all...]
H A DSSLSocketImplTest.java91 int timeout = 10; // wait no more than 10*500 ms for handshake
97 timeout--;
98 if (timeout < 0) {
149 int timeout = 10; // wait no more than 5 seconds for handshake
155 timeout--;
156 if (timeout < 0) {
210 int timeout = 10; // wait no more than 5 seconds for handshake
216 timeout--;
217 if (timeout < 0) {
270 int timeout
[all...]
/external/bluetooth/bluedroid/hci/src/
H A Dutils.c260 ** Description sleep unconditionally for timeout milliseconds
265 void utils_delay (uint32_t timeout) argument
270 delay.tv_sec = timeout / 1000;
271 delay.tv_nsec = 1000 * 1000 * (timeout%1000);
/external/dropbear/
H A Dsvr-session.c80 struct timeval timeout; local
94 if (gettimeofday(&timeout, 0) < 0) {
98 ses.connecttimeout = timeout.tv_sec + AUTH_TIMEOUT;
H A Drandom.c101 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/libmtp/src/
H A Dlibusb-glue.h59 int timeout; member in struct:_PTP_USB
77 void set_usb_device_timeout(PTP_USB *ptp_usb, int timeout);
78 void get_usb_device_timeout(PTP_USB *ptp_usb, int *timeout);
/external/webkit/Tools/MiniBrowser/qt/
H A DUrlLoader.cpp42 connect(&m_checkIfFinishedTimer, SIGNAL(timeout()), this, SLOT(checkIfFinished()));
51 connect(&m_timeoutTimer, SIGNAL(timeout()), this, SLOT(loadNext()));
57 connect(&m_extraTimeTimer, SIGNAL(timeout()), this, SLOT(loadNext()));
/external/webkit/Tools/QtTestBrowser/
H A Durlloader.cpp43 connect(&m_checkIfFinishedTimer, SIGNAL(timeout()), this, SLOT(checkIfFinished()));
52 connect(&m_timeoutTimer, SIGNAL(timeout()), this, SLOT(loadNext()));
58 connect(&m_extraTimeTimer, SIGNAL(timeout()), this, SLOT(loadNext()));
/external/bluetooth/bluedroid/hci/include/
H A Dutils.h162 ** Description sleep unconditionally for timeout milliseconds
167 void utils_delay (uint32_t timeout);
/external/guava/guava/src/com/google/common/collect/
H A DQueues.java193 * timeout.
198 * @param timeout how long to wait before giving up, in units of {@code unit}
199 * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
204 long timeout, TimeUnit unit) throws InterruptedException {
208 * execute Queue#drainTo is not added *on top* of waiting for the timeout (which could make
209 * the timeout arbitrarily inaccurate, given a queue that is slow to drain).
211 long deadline = System.nanoTime() + unit.toNanos(timeout);
238 * @param timeout how long to wait before giving up, in units of {@code unit}
239 * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter
243 int numElements, long timeout, TimeUni
203 drain(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) argument
242 drainUninterruptibly(BlockingQueue<E> q, Collection<? super E> buffer, int numElements, long timeout, TimeUnit unit) argument
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DListeningExecutorService.java86 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
85 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/iptables/include/libipulog/
H A Dlibipulog.h31 unsigned char *buf, size_t len, int timeout);
/external/kernel-headers/original/linux/
H A Dandroid_power.h59 void android_lock_suspend_auto_expire(android_suspend_lock_t *lock, int timeout);
/external/libppp/src/
H A Dchat.h58 int TimeoutSec; /* Expect timeout value */
72 struct pppTimer timeout; /* TimeoutSec timer */ member in struct:chat
H A Dfilter.h70 unsigned timeout; /* Keep alive value for passed packet */ member in struct:filterent

Completed in 505 milliseconds

1234567891011>>