HomeSort by relevance Sort by last modified time
    Searched defs:timeout (Results 101 - 125 of 893) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
1-1.c 22 #define TIMEOUT 5
35 struct timespec timeout; local
51 timeout.tv_sec = curtime.tv_sec;
52 timeout.tv_nsec = curtime.tv_usec * 1000;
53 timeout.tv_sec += TIMEOUT;
56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
2-1.c 29 #define TIMEOUT 5
42 struct timespec timeout; local
58 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
59 timeout.tv_nsec = curtime.tv_usec * 1000;
62 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
2-2.c 25 #define TIMEOUT 1
38 struct timespec timeout; local
58 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
59 timeout.tv_nsec = curtime.tv_usec * 1000;
62 /* The condition variable will not be signaled until AFTER the timeout
65 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
2-3.c 37 struct timespec timeout; local
52 timeout.tv_sec = curtime.tv_sec;
53 timeout.tv_nsec = 0;
56 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
3-1.c 22 #define TIMEOUT 5
35 struct timespec timeout; local
51 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
52 timeout.tv_nsec = curtime.tv_usec * 1000;
55 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
4-1.c 22 #define TIMEOUT 3
32 struct timespec timeout; local
47 timeout.tv_sec = curtime.tv_sec + TIMEOUT;
48 timeout.tv_nsec = curtime.tv_usec * 1000;
51 TIMEOUT);
52 rc = pthread_cond_timedwait(&td.cond, &td.mutex, &timeout);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/
2-1.c 11 * available. The wait will end when the specified timeout time has expired.
13 * The timeout expires when the absolute time 'abs_timeout' passes, or if 'abs_timeout'
38 #define TIMEOUT 3 /* 3 seconds of timeout time for
91 if (time_diff.tv_sec < TIMEOUT) {
94 TIMEOUT);
114 struct timespec timeout, ts; local
130 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
131 timeout.tv_nsec = currsec1.tv_usec * 1000
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
1-1.c 12 * shall be terminated when the specified timeout expires.
44 #define TIMEOUT 3
54 struct timespec timeout; local
60 timeout.tv_sec = currsec1.tv_sec + TIMEOUT;
61 timeout.tv_nsec = currsec1.tv_usec * 1000;
63 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT);
64 rc = pthread_rwlock_timedrdlock(&rwlock, &timeout);
156 /* we expect rd_thread2 to block and timeout. */
171 if (time_diff.tv_sec < TIMEOUT) {
    [all...]
  /external/ltp/testcases/open_posix_testsuite/stress/threads/
helper.c 25 * -> after a specified timeout, the monitor let the stress test terminate
60 int timeout; variable
64 when the timeout expires. As this is highly
71 unsigned remaining = timeout * 3600;
99 printf(" n is the timeout duration in hours,\n");
106 timeout = atoi(argv[1]);
107 if (timeout < 1) {
109 "Invalid timeout value \"%s\". Timeout must be a positive integer.\n",
117 perror("Failed to create the timeout thread\n")
    [all...]
  /external/nos/host/android/hals/weaver/
Weaver.cpp 99 uint32_t timeout = 0; local
108 timeout = response.throttle_msec();
110 << ", throttling for " << timeout << " ms"; local
114 timeout = response.throttle_msec();
116 << timeout << " ms more"; local
124 _hidl_cb(status, WeaverReadResponse{timeout, value});
  /external/okhttp/okio/okio/src/main/java/okio/
ForwardingSink.java 42 @Override public Timeout timeout() { method in class:ForwardingSink
43 return delegate.timeout();
ForwardingTimeout.java 21 /** A {@link Timeout} which forwards calls to another. Useful for subclassing. */
22 public class ForwardingTimeout extends Timeout {
23 private Timeout delegate;
25 public ForwardingTimeout(Timeout delegate) {
30 /** {@link Timeout} instance to which this instance is currently delegating. */
31 public final Timeout delegate() {
35 public final ForwardingTimeout setDelegate(Timeout delegate) {
41 @Override public Timeout timeout(long timeout, TimeUnit unit) method in class:ForwardingTimeout
    [all...]
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/
ForwardingSource.java 40 @Override public Timeout timeout() { method in class:ForwardingSource
41 return delegate.timeout();
ForwardingTimeout.java 22 /** A {@link Timeout} which forwards calls to another. Useful for subclassing.
24 public class ForwardingTimeout extends Timeout {
25 private Timeout delegate;
27 public ForwardingTimeout(Timeout delegate) {
32 /** {@link Timeout} instance to which this instance is currently delegating. */
33 public final Timeout delegate() {
37 public final ForwardingTimeout setDelegate(Timeout delegate) {
43 @Override public Timeout timeout(long timeout, TimeUnit unit) method in class:ForwardingTimeout
    [all...]
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/strace/
futex.c 54 const kernel_ulong_t timeout = tcp->u_arg[3]; local
68 print_timespec(tcp, timeout);
72 print_timespec(tcp, timeout);
77 print_timespec(tcp, timeout);
121 print_timespec(tcp, timeout);
135 printaddr(timeout);
  /external/swiftshader/src/Common/
Socket.cpp 76 timeval timeout = {us / 1000000, us % 1000000}; local
78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1;
  /external/swiftshader/src/System/
Socket.cpp 76 timeval timeout = {us / 1000000, us % 1000000}; local
78 return ::select(FD_SETSIZE, &sockets, 0, 0, &timeout) >= 1;
  /external/toybox/toys/net/
netcat.c 27 -w SECONDS timeout to establish connection
28 -W SECONDS timeout for more data on an idle connection
61 static void timeout(int signum) function
63 if (TT.w) error_exit("Timeout");
69 xsignal(SIGALRM, seconds ? timeout : SIG_DFL);
79 // Addjust idle and quit_delay to ms or -1 for no timeout
104 // We have a connection. Disarm timeout.
142 // We have a connection. Disarm timeout.
  /external/toybox/toys/other/
nbd_client.c 28 -t timeout in seconds
43 unsigned long timeout = 0; local
76 if (timeout && ioctl(nbd, NBD_SET_TIMEOUT, timeout)<0) break;
  /external/u-boot/arch/arm/mach-bcm283x/
reset.c 23 /* max ticks timeout */
37 uint32_t rstc, timeout; local
41 timeout = RESET_TIMEOUT;
43 timeout = ticks & BCM2835_WDOG_MAX_TIMEOUT;
49 writel(BCM2835_WDOG_PASSWORD | timeout, &wdog_regs->wdog);
  /external/u-boot/arch/arm/mach-uniphier/dram/
ddrphy-training.c 113 int timeout = 50000; /* 50 msec is long enough */ local
126 if (--timeout < 0) {
127 pr_err("timeout during DDR training\n");
  /external/u-boot/board/gateworks/gw_ventana/
gsc.c 225 int timeout = 0; local
228 timeout = simple_strtoul(argv[2], NULL, 10);
233 if (timeout == 60)
236 timeout = 30;
240 printf("GSC Watchdog enabled with timeout=%d seconds\n",
241 timeout);
  /external/u-boot/board/sunxi/
ahci.c 20 int timeout; local
40 timeout = 250; /* Power up takes approx 50 us */
45 if (--timeout == 0) {
54 timeout = 100; /* Calibration takes approx 10 us */
59 if (--timeout == 0) {

Completed in 432 milliseconds

1 2 3 45 6 7 8 91011>>