Searched refs:timeout (Results 51 - 75 of 1718) sorted by relevance

1234567891011>>

/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Dadb_wrapper.py78 raw_version = AdbWrapper._RunAdbCmd(['version'], timeout=2, retries=0)
243 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None,
267 def _RunDeviceAdbCmd(self, args, timeout, retries, check_error=True):
272 timeout: Timeout in seconds.
280 return self._RunAdbCmd(args, timeout=timeout, retries=retries,
284 def _IterRunDeviceAdbCmd(self, args, iter_timeout, timeout):
290 timeout: Timeout for the entire command in seconds.
298 timeout=timeout)
[all...]
/external/dhcpcd-6.8.2/compat/
H A Dpollts.c45 int r, timeout; local
49 timeout = -1;
53 timeout = INT_MAX;
55 timeout = ts->tv_sec * 1000 + (ts->tv_nsec + 999999) / 1000000;
58 r = poll(fds, nfds, timeout);
/external/libcups/cups/
H A Dbackchannel.c35 double timeout);
41 * Reads up to "bytes" bytes from the backchannel/backend. The "timeout"
51 double timeout) /* I - Timeout in seconds, typically 0.0 to poll */
64 cups_setup(&input, &tval, timeout);
66 if (timeout < 0.0)
91 * Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter
103 double timeout) /* I - Timeout in seconds, typically 1.0 */
126 cups_setup(&output, &tval, timeout);
128 if (timeout < 0.0)
179 double timeout) /*
49 cupsBackChannelRead(char *buffer, size_t bytes, double timeout) argument
100 cupsBackChannelWrite( const char *buffer, size_t bytes, double timeout) argument
177 cups_setup(fd_set *set, struct timeval *tval, double timeout) argument
[all...]
/external/libmojo/third_party/catapult/devil/devil/android/sdk/
H A Dadb_wrapper.py223 def _RunAdbCmd(cls, args, timeout=None, retries=None, device_serial=None,
247 def _RunDeviceAdbCmd(self, args, timeout, retries, check_error=True):
252 timeout: Timeout in seconds.
260 return self._RunAdbCmd(args, timeout=timeout, retries=retries,
264 def _IterRunDeviceAdbCmd(self, args, timeout):
269 timeout: Timeout in seconds.
275 self._BuildAdbCmd(args, self._device_serial), timeout=timeout)
309 def KillServer(cls, timeout
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
H A Dweb_contents.py65 timeout=DEFAULT_WEB_CONTENTS_TIMEOUT):
74 'document.readyState == "complete"', timeout=timeout)
77 timeout=DEFAULT_WEB_CONTENTS_TIMEOUT):
86 'document.readyState == "complete"', timeout=timeout)
89 timeout=DEFAULT_WEB_CONTENTS_TIMEOUT):
103 timeout=timeout)
132 timeout
[all...]
/external/chromium-trace/catapult/telemetry/telemetry/core/
H A Dtracing_controller.py24 def StartTracing(self, tracing_config, timeout=10):
43 self._tracing_controller_backend.StartTracing(tracing_config, timeout)
66 def StartAgentTracing(self, config, timeout=10):
68 return self._tracing_controller_backend.StartAgentTracing(config, timeout)
74 def CollectAgentTraceData(self, trace_data_builder, timeout=None):
77 timeout=timeout)
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/
H A Dinspector_runtime.py20 def Execute(self, expr, context_id, timeout):
21 self.Evaluate(expr + '; 0;', context_id, timeout)
23 def Evaluate(self, expr, context_id, timeout):
45 res = self._inspector_websocket.SyncRequest(request, timeout)
71 timeout=30)
74 def RunInspectorCommand(self, command, timeout):
82 res = self._inspector_websocket.SyncRequest(command, timeout)
/external/mdnsresponder/mDNSPosix/
H A DExampleClientApp.c53 struct timeval timeout; local
61 // 2. Set up the timeout.
63 // so we set an effectively infinite timeout
64 timeout.tv_sec = 0x3FFFFFFF;
65 timeout.tv_usec = 0;
67 // 3. Give the mDNSPosix layer a chance to add its information to the fd_set and timeout
68 mDNSPosixGetFDSet(m, &nfds, &readfds, &timeout);
71 verbosedebugf("select(%d, %d.%06d)", nfds, timeout.tv_sec, timeout.tv_usec);
72 result = select(nfds, &readfds, NULL, NULL, &timeout);
[all...]
/external/okhttp/okio/okio/src/main/java/okio/
H A DTimeout.java30 * This class offers two complementary controls to define a timeout policy.
44 * An empty timeout that neither tracks nor detects timeouts. Use this when
49 @Override public Timeout timeout(long timeout, TimeUnit unit) {
73 * Wait at most {@code timeout} time before aborting an operation. Using a
74 * per-operation timeout means that as long as forward progress is being made,
77 * <p>If {@code timeout == 0}, operations will run indefinitely. (Operating
80 public Timeout timeout(long timeout, TimeUnit unit) { argument
81 if (timeout <
[all...]
/external/tpm2/
H A DPolicyTicket.c16 // TPM_RC_EXPIRED timeout value in the ticket is in the past and the ticket has expired
17 // TPM_RC_SIZE timeout or cpHash has invalid size for the
27 UINT64 timeout; local
45 // Restore timeout data. The format of timeout buffer is TPM-specific.
46 // In this implementation, we simply copy the value of timeout to the
48 if(in->timeout.t.size != sizeof(UINT64))
50 timeout = BYTE_ARRAY_TO_UINT64(in->timeout.t.buffer);
52 // Do the normal checks on the cpHashA and timeout value
[all...]
/external/autotest/client/common_lib/cros/graphite/
H A Dautotest_es.py94 timeout=es_utils.DEFAULT_TIMEOUT, index=INDEX_METADATA,
103 timeout=timeout, index=index, udp_port=udp_port)
108 timeout=es_utils.DEFAULT_TIMEOUT, index=INDEX_METADATA,
117 timeout=timeout, index=index,
127 timeout=es_utils.DEFAULT_TIMEOUT, index=INDEX_METADATA,
135 timeout=timeout, index=index, udp_port=0)
140 timeout
[all...]
/external/ltp/testcases/kernel/syscalls/epoll2/src/
H A Depoll.c21 #define __sys_epoll_wait(epfd, pevents, maxevents, timeout) _syscall4(int, epoll_wait, \
22 int, epfd, struct epoll_event *, pevents, int, maxevents, int, timeout)
28 __sys_epoll_wait(epfd, pevents, maxevents, timeout)
/external/wpa_supplicant_8/hostapd/src/utils/
H A Deloop_win.c55 struct dl_list timeout; member in struct:eloop_data
78 dl_list_init(&eloop.timeout);
241 struct eloop_timeout *timeout, *tmp; local
244 timeout = os_zalloc(sizeof(*timeout));
245 if (timeout == NULL)
247 if (os_get_reltime(&timeout->time) < 0) {
248 os_free(timeout);
251 now_sec = timeout->time.sec;
252 timeout
285 eloop_remove_timeout(struct eloop_timeout *timeout) argument
295 struct eloop_timeout *timeout, *prev; local
318 struct eloop_timeout *timeout, *prev; local
542 struct eloop_timeout *timeout; local
652 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/src/utils/
H A Deloop_win.c55 struct dl_list timeout; member in struct:eloop_data
78 dl_list_init(&eloop.timeout);
241 struct eloop_timeout *timeout, *tmp; local
244 timeout = os_zalloc(sizeof(*timeout));
245 if (timeout == NULL)
247 if (os_get_reltime(&timeout->time) < 0) {
248 os_free(timeout);
251 now_sec = timeout->time.sec;
252 timeout
285 eloop_remove_timeout(struct eloop_timeout *timeout) argument
295 struct eloop_timeout *timeout, *prev; local
318 struct eloop_timeout *timeout, *prev; local
542 struct eloop_timeout *timeout; local
652 struct eloop_timeout *timeout, *prev; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Deloop_win.c55 struct dl_list timeout; member in struct:eloop_data
78 dl_list_init(&eloop.timeout);
241 struct eloop_timeout *timeout, *tmp; local
244 timeout = os_zalloc(sizeof(*timeout));
245 if (timeout == NULL)
247 if (os_get_reltime(&timeout->time) < 0) {
248 os_free(timeout);
251 now_sec = timeout->time.sec;
252 timeout
285 eloop_remove_timeout(struct eloop_timeout *timeout) argument
295 struct eloop_timeout *timeout, *prev; local
318 struct eloop_timeout *timeout, *prev; local
542 struct eloop_timeout *timeout; local
652 struct eloop_timeout *timeout, *prev; local
[all...]
/external/chromium-trace/catapult/devil/devil/android/
H A Ddecorators_test.py27 """Tests that the base decorator handles the timeout logic."""
31 def alwaysTimesOut(timeout=None, retries=None):
37 alwaysTimesOut(timeout=1, retries=0)
47 def alwaysRaisesCommandFailedError(timeout=None, retries=None):
52 alwaysRaisesCommandFailedError(timeout=30, retries=10)
56 """Tests that the base decorator requires timeout and retries params."""
58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None):
59 return (timeout, retries)
64 requiresExplicitTimeoutAndRetries(timeout=10)
70 requiresExplicitTimeoutAndRetries(timeout
[all...]
/external/libmojo/third_party/catapult/devil/devil/android/
H A Ddecorators_test.py27 """Tests that the base decorator handles the timeout logic."""
31 def alwaysTimesOut(timeout=None, retries=None):
37 alwaysTimesOut(timeout=1, retries=0)
47 def alwaysRaisesCommandFailedError(timeout=None, retries=None):
52 alwaysRaisesCommandFailedError(timeout=30, retries=10)
56 """Tests that the base decorator requires timeout and retries params."""
58 def requiresExplicitTimeoutAndRetries(timeout=None, retries=None):
59 return (timeout, retries)
64 requiresExplicitTimeoutAndRetries(timeout=10)
70 requiresExplicitTimeoutAndRetries(timeout
[all...]
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_ServerSocket.java29 public void setTimeout(int timeout); argument
/external/apache-http/src/org/apache/http/
H A DHttpConnection.java74 * that by attempting a read with a very small timeout. Thus this
85 * Sets the socket timeout value.
87 * @param timeout timeout value in milliseconds
89 void setSocketTimeout(int timeout); argument
92 * Returns the socket timeout value.
94 * @return positive value in milliseconds if a timeout is set,
95 * <code>0</code> if timeout is disabled or <code>-1</code> if
96 * timeout is undefined.
/external/apache-http/src/org/apache/http/conn/
H A DClientConnectionRequest.java49 * the timeout expires, or the connection manager is
57 * @param timeout the timeout, 0 or negative for no timeout
58 * @param tunit the unit for the <code>timeout</code>,
59 * may be <code>null</code> only if there is no timeout
65 * in case of a timeout
69 ManagedClientConnection getConnection(long timeout, TimeUnit tunit) argument
/external/autotest/client/site_tests/firmware_TouchMTB/tools/
H A Dexpect_scp5 # timeout duration of expect, i.e., 10 seconds. Hence, set a longer timeout.
6 set timeout 20
25 timeout {
26 send_error "Error: scp timeout!";
/external/autotest/client/site_tests/graphics_Gralloc/src/
H A Dsw_sync.h32 int sync_wait(int fd, int timeout);
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
H A Dsystem_info_backend.py15 def GetSystemInfo(self, timeout=10):
21 (self._port, self._page), timeout)
24 timeout)
25 res = websocket.SyncRequest(req, timeout)
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/
H A Dtest_utils.py22 urllib2.urlopen('https://example.com', timeout=10)
/external/curl/tests/libtest/
H A Dlib502.c54 struct timeval timeout; local
58 timeout.tv_sec = 0;
59 timeout.tv_usec = 100000L; /* 100 ms */
76 select_test(maxfd+1, &fdread, &fdwrite, &fdexcep, &timeout);

Completed in 1435 milliseconds

1234567891011>>