Searched refs:timeout (Results 326 - 350 of 1718) sorted by relevance

<<11121314151617181920>>

/external/syslinux/core/fs/pxe/
H A Dtftp.c82 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
[all...]
/external/libcups/cups/
H A Dthread.c47 * '_cupsCondWait()' - Wait for a condition with optional timeout.
53 double timeout) /* I - Timeout in seconds (0 or negative for none) */
55 if (timeout > 0.0)
59 abstime.tv_sec = (long)timeout;
60 abstime.tv_nsec = (long)(1000000000 * (timeout - (long)timeout));
219 * '_cupsCondWait()' - Wait for a condition with optional timeout.
225 double timeout) /* I - Timeout in seconds (0 or negative for none) */
384 * '_cupsCondWait()' - Wait for a condition with optional timeout.
390 double timeout) /*
51 _cupsCondWait(_cups_cond_t *cond, _cups_mutex_t *mutex, double timeout) argument
223 _cupsCondWait(_cups_cond_t *cond, _cups_mutex_t *mutex, double timeout) argument
388 _cupsCondWait(_cups_cond_t *cond, _cups_mutex_t *mutex, double timeout) argument
[all...]
/external/syslinux/com32/elflink/ldlinux/
H A Dget_key.c194 __export int get_key(FILE * f, clock_t timeout) argument
204 if (timeout)
205 timeout++;
215 return (unsigned char)buffer[0]; /* timeout */
216 else if (timeout && lateness > timeout)
218 } else if (!nc && timeout && lateness > timeout)
219 return KEY_NONE; /* timeout before sequence */
/external/xmlrpcpp/src/
H A DXmlRpcDispatch.cpp73 XmlRpcDispatch::work(double timeout) argument
76 _endTime = (timeout < 0.0) ? -1.0 : (getTime() + timeout);
101 if (timeout < 0.0)
106 tv.tv_sec = (int)floor(timeout);
107 tv.tv_usec = ((int)floor(1000000.0 * (timeout-floor(timeout)))) % 1000000;
/external/autotest/client/common_lib/hosts/
H A Dbase_classes.py95 def run(self, command, timeout=3600, ignore_status=False,
102 @param timeout: time limit in seconds before attempting to
104 will take a few seconds longer than 'timeout'
223 def get_boot_id(self, timeout=60):
231 @param timeout The number of seconds to wait before timing out.
238 boot_id = self.run(cmd, timeout=timeout).stdout.strip()
244 def wait_up(self, timeout=None):
247 @param timeout: Max seconds to wait.
252 def wait_down(self, timeout
[all...]
/external/iptables/extensions/
H A Dlibxt_SET.c250 " --add-set name flags [--exist] [--timeout n]\n"
261 {.name = "timeout", .has_arg = true, .val = '4'},
277 "Option `--timeout' can be used with `--add-set' only");
290 info->timeout = UINT32_MAX;
299 unsigned int timeout; local
315 if (!xtables_strtoui(optarg, NULL, &timeout, 0, UINT32_MAX - 1))
317 "Invalid value for option --timeout "
319 myinfo->timeout = timeout;
335 if (info->timeout !
433 unsigned int timeout; local
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttp1xStream.java256 * Sets the delegate of {@code timeout} to {@link Timeout#NONE} and resets its underlying timeout
260 private void detachTimeout(ForwardingTimeout timeout) { argument
261 Timeout oldDelegate = timeout.delegate();
262 timeout.setDelegate(Timeout.NONE);
269 private final ForwardingTimeout timeout = new ForwardingTimeout(sink.timeout()); field in class:Http1xStream.FixedLengthSink
277 @Override public Timeout timeout() { method in class:Http1xStream.FixedLengthSink
278 return timeout;
301 detachTimeout(timeout);
312 private final ForwardingTimeout timeout = new ForwardingTimeout(sink.timeout()); field in class:Http1xStream.ChunkedSink
315 @Override public Timeout timeout() { method in class:Http1xStream.ChunkedSink
344 protected final ForwardingTimeout timeout = new ForwardingTimeout(source.timeout()); field in class:Http1xStream.AbstractSource
347 @Override public Timeout timeout() { method in class:Http1xStream.AbstractSource
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/
H A Dtracing_controller_backend.py36 def __init__(self, config, timeout):
39 self._timeout = timeout
50 def timeout(self): member in class:_TracingState
66 def StartTracing(self, config, timeout):
73 self._current_state = _TracingState(config, timeout)
85 self.StartAgentTracing(config, timeout)
91 started = agent.StartAgentTracing(config, timeout)
157 self._current_state.timeout,
168 def StartAgentTracing(self, config, timeout):
177 del timeout # unuse
[all...]
/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpTransportSE.java74 * @param timeout
75 * timeout for connection and Read Timeouts (milliseconds)
77 public HttpTransportSE(String url, int timeout) { argument
78 super(url, timeout);
81 public HttpTransportSE(Proxy proxy, String url, int timeout) { argument
82 super(proxy, url, timeout);
90 * @param timeout
91 * timeout for connection and Read Timeouts (milliseconds)
95 public HttpTransportSE(String url, int timeout, int contentLength) { argument
96 super(url, timeout);
99 HttpTransportSE(Proxy proxy, String url, int timeout, int contentLength) argument
[all...]
/external/ltp/testcases/network/rpc/basic_tests/rpc01/
H A Drpc1.c35 struct timeval timeout; local
135 timeout.tv_usec = 0;
136 timeout.tv_sec = 10;
137 clnt = clntudp_create(&server_sin, program, version, timeout, &sock);
142 timeout.tv_usec = 0;
143 timeout.tv_sec = 30;
146 (char *)&return_buffer, timeout);
157 timeout.tv_usec = 0;
158 timeout.tv_sec = 30;
161 (char *)&return_buffer, timeout);
[all...]
/external/autotest/client/site_tests/network_3GScanningProperty/
H A Dnetwork_3GScanningProperty.py124 def _itesting_machine(self, machine_name, timeout=SHORT_TIMEOUT_SECONDS):
149 utils.poll_for_condition(_get_machine, timeout=timeout)
173 timeout=SHORT_TIMEOUT_SECONDS)
200 timeout=SHORT_TIMEOUT_SECONDS)
212 timeout=SHORT_TIMEOUT_SECONDS)
242 timeout=SHORT_TIMEOUT_SECONDS)
248 timeout=SHORT_TIMEOUT_SECONDS)
274 timeout=SHORT_TIMEOUT_SECONDS)
291 timeout
[all...]
/external/ppp/pppd/plugins/radius/
H A Dbuildreq.c64 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 local
63 rc_buildreq(SEND_DATA *data, int code, char *server, unsigned short port, int timeout, int retries) argument
420 int timeout = rc_conf_int("radius_timeout"); local
[all...]
/external/autotest/client/common_lib/
H A Dbarrier.py87 connecting to master or the overall timeout is exceeded.
138 def __init__(self, hostid, tag, timeout=None, port=None,
143 @param timeout: Maximum seconds to wait for a the barrier to meet.
163 self._timeout_secs = timeout
166 logging.info("tag=%s port=%d timeout=%r",
176 def _update_timeout(self, timeout):
177 if timeout is not None and self._start_time is not None:
178 self._timeout_secs = (time() - self._start_time) + timeout
180 self._timeout_secs = timeout
185 timeout
[all...]
/external/autotest/client/cros/networking/
H A Dcellular_proxy.py72 registration timeout period.
78 timeout=timeout_seconds)
145 timeout=60)
150 # The timeout here should be sufficient for our slowest modem to
156 timeout=60)
208 timeout=timeout_seconds)
217 def _poll_for_condition(condition, desc, timeout=10):
222 @param desc: The description given when we timeout waiting for
232 timeout):
/external/guava/guava/src/com/google/common/util/concurrent/
H A DWrappingExecutorService.java121 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
123 return delegate.invokeAll(wrapTasks(tasks), timeout, unit);
134 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
136 return delegate.invokeAny(wrapTasks(tasks), timeout, unit);
162 public final boolean awaitTermination(long timeout, TimeUnit unit) argument
164 return delegate.awaitTermination(timeout, unit);
120 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
133 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/junit/src/main/java/org/junit/internal/runners/
H A DMethodRoadie.java46 long timeout = testMethod.getTimeout();
47 if (timeout > 0) {
48 runWithTimeout(timeout);
57 private void runWithTimeout(final long timeout) { argument
71 boolean terminated = service.awaitTermination(timeout,
78 addFailure(new TestTimedOutException(timeout, TimeUnit.MILLISECONDS));
/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_misc.c205 struct timeval timeout; local
241 timeout.tv_sec = 1;
242 timeout.tv_usec = 0;
246 timeout.tv_sec = timeoutlong / 1000;
247 timeout.tv_usec = (timeoutlong % 1000) * 1000;
255 ret = select(maxfd+1, &read_fd_set, &write_fd_set, &except_fd_set, &timeout);
/external/wpa_supplicant_8/wpa_supplicant/
H A Deapol_test.py55 def request(self, cmd, timeout=10):
56 return self.ctrl.request(cmd, timeout=timeout)
58 def wait_event(self, events, timeout=10):
68 remaining = start + timeout - now
71 if not self.mon.pending(timeout=remaining):
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DPacketDispatcher.java40 * events through established JDWP connection and supports timeout for these
120 * Waits for new event during timeout.
122 * @param timeout
123 * wait timeout
130 public EventPacket waitForNextEvent(long timeout) argument
150 this.wait(timeout);
153 // next event was received, exception in main cyrcle or timeout
171 // no events were occurred during timeout
257 * Sends command and waits for the reply during timeout.
261 * @param timeout
268 waitForReply(CommandPacket command, long timeout) argument
398 receiveReply(int commandId, long timeout) argument
633 receiveEvent(long timeout) argument
675 performCommand(CommandPacket command, long timeout) argument
722 receiveReply(int commandId, long timeout) argument
[all...]
/external/autotest/client/common_lib/cros/graphite/
H A Des_test_utils.py93 def clear_index(index, host, port, timeout, sleep_time=0.5, clear_timeout=5):
101 @param timeout: how long to wait while connecting to es.
110 timeout=timeout)
/external/autotest/client/cros/cellular/
H A Dcell_tools.py30 def ConnectToCellular(flim, timeout=TIMEOUT):
35 timeout: Timeout (in seconds) before giving up on connect
44 service = flim.FindCellularService(timeout=timeout)
56 timeout=timeout,
68 assoc_timeout=timeout,
69 config_timeout=timeout)
80 timeout=timeout,
[all...]
/external/autotest/client/cros/
H A Dcros_ui.py41 timeout=RESTART_UI_TIMEOUT):
56 timeout: float number of seconds to wait
59 TimeoutError: Login prompt didn't get up before timeout
65 timeout=timeout, sleep_interval=1.0)
H A Dsemiauto_framework.py89 def wait_for_tab_result(self, timeout=_DEFAULT_TIMEOUT):
92 @param timeout: Maximum number of seconds to wait for result.
97 utils.poll_for_condition(condition=complete, timeout=timeout,
/external/autotest/frontend/afe/json_rpc/
H A Dproxy.py103 # Caller can pass in a minimum value of timeout to be used for urlopen
104 # call. Otherwise, the default socket timeout will be used.
113 # If default timeout is None, socket will never time out.
116 timeout = max(min_rpc_timeout, default_timeout)
117 respdata = urllib2.urlopen(request, timeout=timeout).read()

Completed in 735 milliseconds

<<11121314151617181920>>