/external/chromium-trace/catapult/devil/devil/android/sdk/ |
H A D | adb_wrapper.py | 78 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 D | pollts.c | 45 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 D | backchannel.c | 35 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 D | adb_wrapper.py | 223 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 D | web_contents.py | 65 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 D | tracing_controller.py | 24 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 D | inspector_runtime.py | 20 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 D | ExampleClientApp.c | 53 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 D | Timeout.java | 30 * 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 D | PolicyTicket.c | 16 // 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 D | autotest_es.py | 94 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 D | epoll.c | 21 #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 D | eloop_win.c | 55 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 D | eloop_win.c | 55 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 D | eloop_win.c | 55 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 D | decorators_test.py | 27 """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 D | decorators_test.py | 27 """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 D | Support_ServerSocket.java | 29 public void setTimeout(int timeout); argument
|
/external/apache-http/src/org/apache/http/ |
H A D | HttpConnection.java | 74 * 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 D | ClientConnectionRequest.java | 49 * 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 D | expect_scp | 5 # 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 D | sw_sync.h | 32 int sync_wait(int fd, int timeout);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
H A D | system_info_backend.py | 15 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 D | test_utils.py | 22 urllib2.urlopen('https://example.com', timeout=10)
|
/external/curl/tests/libtest/ |
H A D | lib502.c | 54 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);
|