/external/ltp/testcases/kdump/lib/ |
ssh.tcl | 6 # 1 min timeout 7 #set timeout 60 8 set timeout -1 17 #timeout { exit 1 }
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
epoll_pwait.h | 29 int timeout, const sigset_t *sigmask) 32 timeout, sigmask, _NSIG / 8);
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/mqueue_h/ |
10-1-buildonly.c | 14 struct timespec timeout; local 25 err = mq_timedsend(mqdes, msgp, msg_len, msg_prio, &timeout);
|
/external/toolchain-utils/automation/clients/helper/ |
jobs.py | 7 def CreateLinuxJob(label, command, lock=False, timeout=4 * 60 * 60): 8 to_return = job.Job(label, command, timeout)
|
/external/toolchain-utils/binary_search_tool/android/ |
boot_test.sh | 27 # WARNING: Do not run without timeout command, could run forever 37 timeout 60 adb wait-for-device 48 # Spawn subshell that will timeout in 60 seconds 49 # Feed to cat so that timeout will recognize it as a command 50 # (timeout only works for commands/programs, not functions) 51 timeout 60 cat <(wait_for_boot)
|
interactive_test.sh | 20 timeout 60 adb wait-for-device
|
/external/grpc-grpc/src/core/lib/transport/ |
timeout_encoding.cc | 44 /* encode our minimum viable timeout value */ 76 void grpc_http2_encode_timeout(grpc_millis timeout, char* buffer) { 77 if (timeout <= 0) { 79 } else if (timeout < 1000 * GPR_MS_PER_SEC) { 80 enc_millis(buffer, timeout); 83 timeout / GPR_MS_PER_SEC + (timeout % GPR_MS_PER_SEC != 0)); 92 int grpc_http2_decode_timeout(grpc_slice text, grpc_millis* timeout) { 107 *timeout = GRPC_MILLIS_INF_FUTURE; 121 *timeout = x / GPR_NS_PER_MS + (x % GPR_NS_PER_MS != 0) [all...] |
/external/libcups/cups/ |
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 */ 54 struct timeval tval; /* Timeout value */ 64 cups_setup(&input, &tval, timeout); 66 if (timeout < 0.0) 74 return (-1); /* Timeout! */ 91 * Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter 103 double timeout) /* I - Timeout in seconds, typically 1.0 * [all...] |
/external/adhd/cras/src/server/ |
cras_dbus.c | 82 struct DBusTimeout *timeout = data; local 88 dbus_timeout_get_interval(timeout), 89 dbus_timeout_callback, timeout); 90 dbus_timeout_set_data(timeout, t, NULL); 92 if (!dbus_timeout_handle(timeout)) 93 syslog(LOG_WARNING, "Failed to handle D-Bus timeout."); 96 static dbus_bool_t dbus_timeout_add(DBusTimeout *timeout, void *arg) 99 struct cras_timer *t = dbus_timeout_get_data(timeout); 102 dbus_timeout_set_data(timeout, NULL, NULL); 106 if (dbus_timeout_get_enabled(timeout)) { [all...] |
/external/linux-kselftest/tools/testing/selftests/firmware/ |
fw_fallback.sh | 30 local timeout=10 33 timeout=$(( $timeout - 1 )) 34 if [ "$timeout" -eq 0 ]; then 57 local timeout=10 60 timeout=$(( $timeout - 1 )) 61 if [ "$timeout" -eq 0 ]; then 86 local timeout=10 89 timeout=$(( $timeout - 1 ) [all...] |
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
EventQueueImpl.java | 89 public EventSet remove(long timeout) throws InterruptedException { 90 if (timeout < 0) { 91 throw new IllegalArgumentException("Timeout cannot be negative"); 96 EventSetImpl fullEventSet = removeUnfiltered(timeout); 98 eventSet = null; // timeout 137 private TimerThread startTimerThread(long timeout) { 138 TimerThread thread = new TimerThread(timeout); 149 private EventSetImpl removeUnfiltered(long timeout) 168 * If a timeout was specified, create a thread to 169 * notify this one when a timeout 218 private long timeout; field in class:EventQueueImpl.TimerThread [all...] |
/bionic/libc/include/bits/fortify/ |
poll.h | 41 int poll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, int timeout) 49 return __call_bypassing_fortify(poll)(fds, fd_count, timeout); 51 return __poll_chk(fds, fd_count, timeout, bos_fds); 55 int ppoll(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* timeout, const sigset_t* mask) 63 return __call_bypassing_fortify(ppoll)(fds, fd_count, timeout, mask); 65 return __ppoll_chk(fds, fd_count, timeout, mask, bos_fds); 70 int ppoll64(struct pollfd* const fds __pass_object_size, nfds_t fd_count, const struct timespec* timeout, const sigset64_t* mask) 78 return __call_bypassing_fortify(ppoll64)(fds, fd_count, timeout, mask); 80 return __ppoll64_chk(fds, fd_count, timeout, mask, bos_fds);
|
/external/autotest/server/cros/ |
tradefed_chromelogin.py | 28 @param board: optional parameter to extend timeout for login for slow 65 def login(self, timeout=None, raise_exception=False, verbose=False): 67 if not timeout: 68 timeout = self._timeout 76 timeout=timeout) 87 timeout=2 * timeout, 94 timeout=timeout) [all...] |
/external/mdnsresponder/mDNSPosix/ |
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/ |
Timeout.java | 30 * This class offers two complementary controls to define a timeout policy. 42 public class Timeout { 44 * An empty timeout that neither tracks nor detects timeouts. Use this when 48 public static final Timeout NONE = new Timeout() { 49 @Override public Timeout timeout(long timeout, TimeUnit unit) { 53 @Override public Timeout deadlineNanoTime(long deadlineNanoTime) { 69 public Timeout() { 80 public Timeout timeout(long timeout, TimeUnit unit) { method in class:Timeout [all...] |
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
Timeout.java | 31 * This class offers two complementary controls to define a timeout policy. 44 public class Timeout { 46 * An empty timeout that neither tracks nor detects timeouts. Use this when 50 public static final Timeout NONE = new Timeout() { 51 @Override public Timeout timeout(long timeout, TimeUnit unit) { 55 @Override public Timeout deadlineNanoTime(long deadlineNanoTime) { 71 public Timeout() { 82 public Timeout timeout(long timeout, TimeUnit unit) { method in class:Timeout [all...] |
/external/python/futures/ |
crawl.py | 28 def load_url(url, timeout): 29 kwargs = {'timeout': timeout} if sys.version_info >= (2, 6) else {} 32 def download_urls_sequential(urls, timeout=60): 36 url_to_content[url] = load_url(url, timeout=timeout) 41 def download_urls_with_executor(urls, executor, timeout=60): 44 future_to_url = dict((executor.submit(load_url, url, timeout), url)
|
/external/u-boot/drivers/usb/host/ |
utmi-armada100.c | 22 int timeout; local 34 timeout = 10000; 35 while (--timeout && ((readl(&phy_regs->utmi_pll) & PLL_READY) == 0)) 37 if (!timeout) 50 timeout = 10000; 51 while (--timeout && ((readl(&phy_regs->utmi_pll) & PLL_READY) == 0)) 53 if (!timeout)
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/ |
TimeoutResetActivity.java | 30 * Activity resets the screen timeout to its original timeout. Used devices without Device Admin. 34 /** Set the timeout to the default to reset the activity to if not specified. */ 37 * Empirically determined buffer time in milliseconds between setting short timeout time and 38 * resetting the timeout. 41 /** Short timeout to trigger screen off. */ 59 private static void setUserActivityTimeout(WindowManager.LayoutParams params, long timeout) { 61 getUserActivityTimeoutField(params).setLong(params, timeout); 62 Log.d(TAG, "UserActivityTimeout set to " + timeout); 75 // to restore timeout after shutof 101 long timeout = getIntent().getLongExtra(EXTRA_OLD_TIMEOUT, FALLBACK_TIMEOUT); local [all...] |
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/ |
__init__.py | 13 # Timeout interval constants. 32 def StartAgentTracing(self, config, timeout=None): 33 '''Starts running the trace for this agent. Stops with timeout if 34 not completed within timeout interval. 39 timeout: Timeout interval in seconds. 46 def StopAgentTracing(self, timeout=None): 48 Stops with timeout if not completed within timeout interval. 51 timeout: Timeout interval in seconds [all...] |
/external/ltp/testcases/kernel/syscalls/epoll2/src/ |
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/mesa3d/src/util/ |
os_time.h | 90 * Convert a relative timeout in nanoseconds into an absolute timeout, 91 * in other words, it returns current time + timeout. 97 os_time_get_absolute_timeout(uint64_t timeout); 104 * \param timeout timeout in ns, can be anything from 0 (no wait) to 109 os_wait_until_zero(volatile int *var, uint64_t timeout); 114 * The timeout is the absolute time when the waiting should stop. If it is 120 * \param timeout the time in ns when the waiting should stop 124 os_wait_until_zero_abs_timeout(volatile int *var, int64_t timeout); [all...] |
/external/v8/tools/testrunner/ |
test_config.py | 20 timeout, 31 self.timeout = timeout
|
/external/python/cpython3/Lib/ |
queue.py | 121 def put(self, item, block=True, timeout=None): 124 If optional args 'block' is true and 'timeout' is None (the default), 125 block if necessary until a free slot is available. If 'timeout' is 126 a non-negative number, it blocks at most 'timeout' seconds and raises 129 is immediately available, else raise the Full exception ('timeout' 137 elif timeout is None: 140 elif timeout < 0: 141 raise ValueError("'timeout' must be a non-negative number") 143 endtime = time() + timeout 153 def get(self, block=True, timeout=None) [all...] |
/external/u-boot/board/micronas/vct/ |
smc_eeprom.c | 73 int timeout = req_to; local 75 while (timeout--) { 79 return 1; /* Timeout */ 82 return 0; /* No timeout */ 98 printf("get_mac_reg: timeout waiting for response from MAC\n"); 138 ulong timeout = 100000; local 150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { 152 timeout--; 155 if (timeout == 0) { 156 printf("Timeout\n") 167 ulong timeout = 100000; local 190 ulong timeout = 100000; local 213 ulong timeout = 100000; local 242 ulong timeout = 100000; local 266 ulong timeout = 100000; local [all...] |