/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
D | 6-1.c | 57 #define TIMEOUT 5 macro 92 abs_timeout.tv_sec += TIMEOUT; in th_fn() 94 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); in th_fn() 137 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main() 154 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 156 if (cnt >= 2 * TIMEOUT) { in main() 175 if (wait_time.tv_sec < TIMEOUT) { in main() 178 TIMEOUT, (long int)wait_time.tv_sec, in main()
|
D | 6-2.c | 48 #define TIMEOUT 2 macro 63 sleep_time_req.tv_sec = TIMEOUT * 2; in sig_handler() 99 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn() 104 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); in th_fn() 150 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main() 169 sleep(TIMEOUT); in main() 195 } while (thread_state != EXITING_THREAD && cnt++ < 4 * TIMEOUT); in main() 197 if (cnt >= 4 * TIMEOUT) { in main()
|
D | 1-1.c | 45 #define TIMEOUT 3 macro 61 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_rd() 64 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT); in fn_rd() 172 if (time_diff.tv_sec < TIMEOUT) { in main()
|
D | 3-1.c | 48 #define TIMEOUT 3 macro 69 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_rd() 72 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT); in fn_rd() 186 if (time_diff.tv_sec < TIMEOUT) { in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
D | 6-1.c | 57 #define TIMEOUT 5 macro 90 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn() 93 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); in th_fn() 137 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main() 154 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 156 if (cnt >= 2 * TIMEOUT) { in main() 175 if (time_diff.tv_sec < TIMEOUT) { in main() 178 TIMEOUT, (long)time_diff.tv_sec, (long)time_diff.tv_usec); in main()
|
D | 6-2.c | 48 #define TIMEOUT 2 macro 63 sleep_time_req.tv_sec = TIMEOUT * 2; in sig_handler() 99 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn() 104 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); in th_fn() 150 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main() 169 sleep(TIMEOUT); in main() 195 } while (thread_state != EXITING_THREAD && cnt++ < 4 * TIMEOUT); in main() 197 if (cnt >= 4 * TIMEOUT) { in main()
|
D | 1-1.c | 38 #define TIMEOUT 3 macro 64 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr() 67 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); in fn_wr() 115 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 160 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 171 if (time_diff.tv_sec < TIMEOUT) { in main() 174 TIMEOUT, (long)time_diff.tv_sec, in main() 217 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 228 if (time_diff.tv_sec < TIMEOUT) { in main()
|
D | 3-1.c | 40 #define TIMEOUT 3 macro 74 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr() 77 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); in fn_wr() 135 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 180 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 191 if (time_diff.tv_sec < TIMEOUT) { in main() 195 TIMEOUT, (long)time_diff.tv_sec, in main() 238 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main() 249 if (time_diff.tv_sec < TIMEOUT) { in main()
|
/external/testng/src/test/java/test/thread/ |
D | ThreadPoolSampleBugTest.java | 6 private static final long TIMEOUT = 500; field in ThreadPoolSampleBugTest 10 Thread.sleep(TIMEOUT); in shouldPass1() 15 Thread.sleep(TIMEOUT); in shouldPass2() 20 Thread.sleep(TIMEOUT); in shouldFail1() 25 Thread.sleep(TIMEOUT); in shouldFail2()
|
/external/autotest/site_utils/lxc/container_pool/ |
D | client_unittest.py | 20 TIMEOUT = 30 variable 62 with client.Client.connect(self.address, TIMEOUT): 63 host = self.listener.get_connection(TIMEOUT) 67 self.assertTrue(host.poll(TIMEOUT)) 90 short_timeout = TIMEOUT/2 91 with client.Client.connect(self.address, TIMEOUT) as c:
|
/external/autotest/client/site_tests/cellular_SuspendResume/ |
D | cellular_SuspendResume.py | 24 TIMEOUT = 60 variable in cellular_SuspendResume 95 timeout=self.TIMEOUT) 128 def __get_mobile_device(self, timeout=TIMEOUT): 143 lsusb_output = utils.system_output('lsusb', timeout=self.TIMEOUT) 214 if not self.flim.FindCellularService(self.TIMEOUT*2): 223 service = self.flim.FindCellularService(self.TIMEOUT) 241 service = self.flim.FindCellularService(self.TIMEOUT) 247 self.TIMEOUT) 255 def _get_modem_status(self, duration=TIMEOUT): 258 status = utils.system_output('modem status', timeout=self.TIMEOUT) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_sched.py | 10 TIMEOUT = 10 variable 72 self.assertEqual(q.get(timeout=TIMEOUT), 1) 77 self.assertEqual(q.get(timeout=TIMEOUT), 2) 78 self.assertEqual(q.get(timeout=TIMEOUT), 3) 81 self.assertEqual(q.get(timeout=TIMEOUT), 4) 84 self.assertEqual(q.get(timeout=TIMEOUT), 5) 87 t.join(timeout=TIMEOUT) 131 self.assertEqual(q.get(timeout=TIMEOUT), 1) 138 self.assertEqual(q.get(timeout=TIMEOUT), 3) 141 self.assertEqual(q.get(timeout=TIMEOUT), 4) [all …]
|
D | test_asynchat.py | 23 TIMEOUT = 3.0 variable 132 s.join(timeout=TIMEOUT) 165 s.join(timeout=TIMEOUT) 187 s.join(timeout=TIMEOUT) 201 s.join(timeout=TIMEOUT) 213 s.join(timeout=TIMEOUT) 226 s.join(timeout=TIMEOUT) 247 s.join(timeout=TIMEOUT) 270 s.join(timeout=TIMEOUT)
|
/external/strace/tests-m32/ |
D | run.sh | 8 TIMEOUT="timeout -k 5 -s XCPU $TIMEOUT_DURATION" 9 $TIMEOUT true > /dev/null 2>&1 || 10 TIMEOUT= 17 exec $TIMEOUT "$@" < /dev/null
|
/external/strace/tests/ |
D | run.sh | 8 TIMEOUT="timeout -k 5 -s XCPU $TIMEOUT_DURATION" 9 $TIMEOUT true > /dev/null 2>&1 || 10 TIMEOUT= 17 exec $TIMEOUT "$@" < /dev/null
|
/external/strace/tests-mx32/ |
D | run.sh | 8 TIMEOUT="timeout -k 5 -s XCPU $TIMEOUT_DURATION" 9 $TIMEOUT true > /dev/null 2>&1 || 10 TIMEOUT= 17 exec $TIMEOUT "$@" < /dev/null
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
D | 1-1.c | 36 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 89 if (time_diff.tv_sec < TIMEOUT) { in main() 92 TIMEOUT); in main() 118 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in f1() 123 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec); in f1()
|
D | 2-1.c | 39 #define TIMEOUT 3 /* 3 seconds of timeout time for macro 92 if (time_diff.tv_sec < TIMEOUT) { in main() 95 TIMEOUT); in main() 131 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in f1() 136 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec); in f1()
|
/external/autotest/client/common_lib/ |
D | pxssh.py | 194 …)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection … 202 … "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT]) 205 … "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT]) 208 … "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT]) 277 i = self.expect([self.PROMPT, TIMEOUT], timeout=timeout) 301 i = self.expect ([TIMEOUT, self.PROMPT], timeout=10) 304 i = self.expect ([TIMEOUT, self.PROMPT], timeout=10)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
D | 8-1.c | 33 #define TIMEOUT 3 macro 75 ts.tv_sec = ts.tv_sec + TIMEOUT; in main() 77 ts.tv_sec = time(NULL) + TIMEOUT; in main() 88 if ((newtime - oldtime) < TIMEOUT) { in main() 115 sleep(TIMEOUT + 3); /* Parent is probably blocking in main()
|
D | 5-2.c | 35 #define TIMEOUT 3 macro 36 #define THRESHOLD (TIMEOUT - 1) 75 ts.tv_sec = time(NULL) + TIMEOUT; in main() 106 sleep(TIMEOUT + 3); /* Parent is probably blocking in main()
|
/external/libmicrohttpd/src/testspdy/ |
D | test_session_timeout.c | 36 #define TIMEOUT 2 macro 146 TIMEOUT, in parentproc() 174 if(now - beginning > TIMEOUT*1000 + SELECT_MS_TIMEOUT) in parentproc() 178 printf("Timeout is: %i\n",TIMEOUT); in parentproc() 183 if(timeoutlong > beginning + TIMEOUT *1000) in parentproc() 187 printf("Timeout is: %i\n",TIMEOUT); in parentproc()
|
/external/tensorflow/tensorflow/tools/dist_test/scripts/ |
D | dist_mnist_test.sh | 50 TIMEOUT=120 # Timeout for MNIST replica sessions 129 timeout ${TIMEOUT} python "${MNIST_REPLICA}" \ 183 timeout ${TIMEOUT} python "${MNIST_REPLICA}" \ 211 if [[ "${COUNTER}" -gt "${TIMEOUT}" ]]; then
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
D | 16-1.c | 42 #define TIMEOUT 7 macro 92 ts.tv_sec += TIMEOUT; in main() 94 ts.tv_sec = time(NULL) + TIMEOUT; in main() 152 ts.tv_sec = TIMEOUT; in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/ |
D | 3-1.c | 31 #define TIMEOUT 10 macro 63 sleep(TIMEOUT); in a_thread_func() 88 sleep(TIMEOUT / 2); in main()
|