Home
last modified time | relevance | path

Searched refs:TIMEOUT (Results 1 – 25 of 209) sorted by relevance

123456789

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D6-1.c56 #define TIMEOUT 5 macro
89 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
92 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); in th_fn()
136 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main()
153 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
155 if (cnt >= 2 * TIMEOUT) { in main()
174 if (time_diff.tv_sec < TIMEOUT) { in main()
177 TIMEOUT, (long)time_diff.tv_sec, (long)time_diff.tv_usec); in main()
D6-2.c47 #define TIMEOUT 2 macro
62 sleep_time_req.tv_sec = TIMEOUT * 2; in sig_handler()
98 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
103 printf("thread: attempt timed write lock, %d seconds\n", TIMEOUT); in th_fn()
149 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main()
168 sleep(TIMEOUT); in main()
194 } while (thread_state != EXITING_THREAD && cnt++ < 4 * TIMEOUT); in main()
196 if (cnt >= 4 * TIMEOUT) { in main()
D1-1.c37 #define TIMEOUT 3 macro
63 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr()
66 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); in fn_wr()
114 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
159 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
170 if (time_diff.tv_sec < TIMEOUT) { in main()
173 TIMEOUT, (long)time_diff.tv_sec, in main()
216 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
227 if (time_diff.tv_sec < TIMEOUT) { in main()
D3-1.c39 #define TIMEOUT 3 macro
73 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_wr()
76 printf("thread: attempt timed write lock, %d secs\n", TIMEOUT); in fn_wr()
134 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
179 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
190 if (time_diff.tv_sec < TIMEOUT) { in main()
194 TIMEOUT, (long)time_diff.tv_sec, in main()
237 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
248 if (time_diff.tv_sec < TIMEOUT) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D6-1.c56 #define TIMEOUT 5 macro
91 abs_timeout.tv_sec += TIMEOUT; in th_fn()
93 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); in th_fn()
136 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main()
153 } while (thread_state != EXITING_THREAD && cnt++ < 2 * TIMEOUT); in main()
155 if (cnt >= 2 * TIMEOUT) { in main()
174 if (wait_time.tv_sec < TIMEOUT) { in main()
177 TIMEOUT, (long int)wait_time.tv_sec, in main()
D6-2.c47 #define TIMEOUT 2 macro
62 sleep_time_req.tv_sec = TIMEOUT * 2; in sig_handler()
98 abs_timeout.tv_sec = before_wait.tv_sec + TIMEOUT; in th_fn()
103 printf("thread: attempt timed read lock, %d seconds\n", TIMEOUT); in th_fn()
149 } while (thread_state != ENTERED_THREAD && cnt++ < TIMEOUT); in main()
168 sleep(TIMEOUT); in main()
194 } while (thread_state != EXITING_THREAD && cnt++ < 4 * TIMEOUT); in main()
196 if (cnt >= 4 * TIMEOUT) { in main()
D1-1.c44 #define TIMEOUT 3 macro
60 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_rd()
63 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT); in fn_rd()
171 if (time_diff.tv_sec < TIMEOUT) { in main()
D3-1.c47 #define TIMEOUT 3 macro
68 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in fn_rd()
71 printf("thread: attempt timed read lock, %d secs\n", TIMEOUT); in fn_rd()
185 if (time_diff.tv_sec < TIMEOUT) { in main()
/third_party/node/test/pummel/
Dtest-fs-watch-file-slow.js32 const TIMEOUT = 1300; constant
42 fs.watchFile(FILENAME, { interval: TIMEOUT - 250 }, function(curr, prev) {
65 setTimeout(createFile, TIMEOUT);
70 setTimeout(touchFile, TIMEOUT);
76 setTimeout(removeFile, TIMEOUT);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/
D1-1.c35 #define TIMEOUT 3 /* 3 seconds of timeout time for macro
88 if (time_diff.tv_sec < TIMEOUT) { in main()
91 TIMEOUT); in main()
117 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in f1()
122 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec); in f1()
D2-1.c38 #define TIMEOUT 3 /* 3 seconds of timeout time for macro
91 if (time_diff.tv_sec < TIMEOUT) { in main()
94 TIMEOUT); in main()
130 timeout.tv_sec = currsec1.tv_sec + TIMEOUT; in f1()
135 TIMEOUT, (long)currsec1.tv_sec, (long)currsec1.tv_usec); in f1()
/third_party/node/test/async-hooks/
Dtest-graph.timeouts.js6 const TIMEOUT = 1; constant
11 setTimeout(common.mustCall(ontimeout), TIMEOUT);
13 setTimeout(onsecondTimeout, TIMEOUT + 1);
17 setTimeout(onthirdTimeout, TIMEOUT + 2);
Dtest-graph.intervals.js6 const TIMEOUT = 1; constant
12 const iv1 = setInterval(common.mustCall(onfirstInterval, 3), TIMEOUT);
18 iv2 = setInterval(common.mustCall(onsecondInterval, 1), TIMEOUT + 1);
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/
D8-1.c33 #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()
D5-2.c35 #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()
D18-1.c36 #define TIMEOUT 3 macro
73 ts.tv_sec = time(NULL) + TIMEOUT; in main()
106 sleep(TIMEOUT + 3); /* Parent is probably blocking, in main()
/third_party/skia/third_party/externals/microhttpd/src/testspdy/
Dtest_session_timeout.c36 #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()
/third_party/node/test/parallel/
Dtest-timers-same-timeout-wrong-list-deleted.js14 const TIMEOUT = common.platformTimeout(100); constant
21 const handle2 = setTimeout(common.mustNotCall(), TIMEOUT);
34 }), TIMEOUT);
Dtest-http-server-consumed-timeout.js10 const TIMEOUT = common.platformTimeout(200); constant
11 const INTERVAL = Math.floor(TIMEOUT / 8);
13 runTest(TIMEOUT);
/third_party/iptables/iptables/
Diptables-apply130 TIMEOUT="$DEF_TIMEOUT"
144 (SET_TIMEOUT) eval TIMEOUT=$opt;;
165 if [ "$TIMEOUT" -ge 0 ] 2>/dev/null; then
166 TIMEOUT=$(($TIMEOUT))
233 ( sleep "$TIMEOUT"; kill "$CMD_PID" 2>/dev/null; exit 0 ) &
261 read -n1 -t "$TIMEOUT" ret 2>&1 || :
/third_party/skia/third_party/externals/angle2/src/tests/capture_replay_tests/
Dcapture_replay_expectations.txt19 # TIMEOUT : the test is expected to time out
25 # For test batches that run more than one test TIMEOUT, COMPILE_FAIL, and CRASH
68 6220 : Texture2DTest.DefineMultipleLevelsWithoutMipmapping/* = TIMEOUT
70 6221 : VulkanExternalImageTest.ShouldClearOpaqueFdWithSemaphores/* = TIMEOUT
71 6221 : VulkanExternalImageTest.ShouldClearOpaqueFdWithSemaphoresMutableNoStorage/* = TIMEOUT
72 6221 : VulkanExternalImageTest.ShouldClearOpaqueFdWithSemaphoresNoStorage/* = TIMEOUT
73 6221 : VulkanExternalImageTest.ShouldClearOpaqueFdWithSemaphoresWithFlags/* = TIMEOUT
74 6221 : VulkanExternalImageTest.ShouldDrawOpaqueFdWithSemaphores/* = TIMEOUT
75 6221 : VulkanExternalImageTest.WaitSemaphoresRetainsContentOpaqueFd/* = TIMEOUT
/third_party/python/Lib/test/
Dtest_sched.py10 TIMEOUT = support.SHORT_TIMEOUT variable
71 self.assertEqual(q.get(timeout=TIMEOUT), 1)
76 self.assertEqual(q.get(timeout=TIMEOUT), 2)
77 self.assertEqual(q.get(timeout=TIMEOUT), 3)
80 self.assertEqual(q.get(timeout=TIMEOUT), 4)
83 self.assertEqual(q.get(timeout=TIMEOUT), 5)
128 self.assertEqual(q.get(timeout=TIMEOUT), 1)
135 self.assertEqual(q.get(timeout=TIMEOUT), 3)
138 self.assertEqual(q.get(timeout=TIMEOUT), 4)
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
D16-1.c42 #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()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
D3-1.c31 #define TIMEOUT 10 macro
63 sleep(TIMEOUT); in a_thread_func()
88 sleep(TIMEOUT / 2); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D4-1.c22 #define TIMEOUT 3 macro
47 timeout.tv_sec = curtime.tv_sec + TIMEOUT; in t1_func()
51 TIMEOUT); in t1_func()

123456789