Home
last modified time | relevance | path

Searched refs:sleep (Results 1 - 25 of 907) sorted by relevance

12345678910>>...37

/third_party/python/Lib/test/test_asyncio/
H A Dtest_taskgroups.py34 await asyncio.sleep(0.1)
38 await asyncio.sleep(0.2)
51 await asyncio.sleep(0.1)
55 await asyncio.sleep(0.2)
60 await asyncio.sleep(0.15)
69 await asyncio.sleep(1)
73 await asyncio.sleep(0.2)
78 await asyncio.sleep(0.15)
95 await asyncio.sleep(0.1)
101 await asyncio.sleep(
[all...]
H A Dtest_timeouts.py19 await asyncio.sleep(10)
28 await asyncio.sleep(10)
41 await asyncio.sleep(10)
55 await asyncio.sleep(10)
65 await asyncio.sleep(0.01)
77 await asyncio.sleep(0.01)
89 await asyncio.sleep(0.01)
102 await asyncio.sleep(10)
114 await asyncio.sleep(0)
126 await asyncio.sleep(
[all...]
H A Dtest_locks.py76 await asyncio.sleep(0.01)
110 await asyncio.sleep(0)
114 await asyncio.sleep(0)
117 await asyncio.sleep(0)
123 await asyncio.sleep(0)
127 await asyncio.sleep(0)
174 await asyncio.sleep(0)
177 await asyncio.sleep(0)
180 await asyncio.sleep(0)
188 await asyncio.sleep(
[all...]
H A Dtest_waitfor.py32 await asyncio.sleep(tosleep)
46 await asyncio.sleep(0)
106 await asyncio.sleep(10)
133 await asyncio.sleep(10)
169 await asyncio.sleep(1)
181 await asyncio.sleep(10)
183 await asyncio.sleep(_EPSILON)
204 await asyncio.sleep(10)
206 await asyncio.sleep(_EPSILON)
212 await asyncio.sleep(_EPSILO
[all...]
H A Dtest_queues.py31 await asyncio.sleep(0)
45 await asyncio.sleep(0)
104 await asyncio.sleep(0)
111 await asyncio.sleep(0)
177 await asyncio.sleep(0)
179 await asyncio.sleep(0)
182 await asyncio.sleep(0)
256 await asyncio.sleep(0)
281 await asyncio.sleep(0)
302 await asyncio.sleep(
[all...]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
H A Dcpuset_memory_testset.sh53 sleep 1
56 sleep 1
58 sleep 1
281 sleep 1
284 sleep 1
287 sleep 1
289 sleep 1
383 sleep 1
388 sleep 1
390 sleep
[all...]
/third_party/ffmpeg/libavfilter/
H A Df_realtime.c45 int64_t sleep = pts - now + s->delta; in filter_frame() local
48 sleep = 0; in filter_frame()
51 if (FFABS(sleep) > s->limit / s->speed) { in filter_frame()
54 sleep); in filter_frame()
55 sleep = 0; in filter_frame()
58 if (sleep > 0) { in filter_frame()
59 av_log(ctx, AV_LOG_DEBUG, "sleeping %"PRIi64" us\n", sleep); in filter_frame()
60 for (; sleep > 600000000; sleep -= 600000000) in filter_frame()
62 av_usleep(sleep); in filter_frame()
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
H A D3-1.c98 sleep(1); in fn_rd()
134 sleep(1); in fn_wr_1()
170 sleep(1); in fn_wr_2()
228 sleep(1); in main()
253 sleep(1); in main()
281 sleep(1); in main()
302 sleep(1); in main()
325 sleep(1); in main()
348 sleep(1); in main()
/third_party/ltp/testcases/kernel/controllers/cpuctl_fj/
H A Drun_cpuctl_test_fj.sh290 sleep $SLEEP_SEC
318 sleep $SLEEP_SEC
346 sleep $SLEEP_SEC
374 sleep $SLEEP_SEC
402 sleep $SLEEP_SEC
430 sleep $SLEEP_SEC
460 sleep $SLEEP_SEC
488 sleep $SLEEP_SEC
516 sleep $SLEEP_SEC
545 sleep
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_atfork.c63 sleep(TEST_THREAD_SLEEP); in thread_fun()
65 sleep(1); in thread_fun()
69 sleep(TEST_THREAD_SLEEP); in thread_fun()
71 sleep(1); in thread_fun()
100 sleep(1); in pthread_atfork_0100()
105 sleep(1); in pthread_atfork_0100()
/third_party/ltp/testcases/kernel/mce-test/kvm/host/
H A Dhost_run.sh194 sleep 2
233 sleep 2
248 sleep 5
260 sleep 5
274 sleep 10
295 sleep 2
298 sleep 2
303 sleep 5
309 sleep 5
353 sleep
[all...]
/third_party/python/Lib/test/
H A Dtest_sched.py24 def sleep(self, t): member in Timer
46 scheduler = sched.scheduler(time.time, time.sleep)
55 scheduler = sched.scheduler(time.time, time.sleep)
66 scheduler = sched.scheduler(timer.time, timer.sleep)
94 scheduler = sched.scheduler(time.time, time.sleep)
116 scheduler = sched.scheduler(time.time, time.sleep)
133 scheduler = sched.scheduler(timer.time, timer.sleep)
174 scheduler = sched.scheduler(time.time, time.sleep)
185 scheduler = sched.scheduler(time.time, time.sleep)
202 scheduler = sched.scheduler(time.time, time.sleep)
[all...]
H A Dtest_asyncgen.py771 await asyncio.sleep(0.01)
773 await asyncio.sleep(0.01)
783 await asyncio.sleep(0.01)
797 await asyncio.sleep(0.01)
806 await asyncio.sleep(0.01)
812 await asyncio.sleep(0.01)
963 await asyncio.sleep(0.01)
986 await asyncio.sleep(0.01)
987 await asyncio.sleep(0.01)
1013 await asyncio.sleep(0.0
[all...]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
H A D1-1.c61 sleep(1); in a_thread_func()
65 sleep(10); in a_thread_func()
92 sleep(1); in main()
106 sleep(1); in main()
H A D2-1.c51 sleep(1); in a_thread_func()
52 sleep(5); in a_thread_func()
79 sleep(1); in main()
88 sleep(1); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
H A D2-2.c93 sleep(1); in fn_rd()
124 sleep(1); in fn_wr()
180 sleep(1); in main()
204 sleep(1); in main()
225 sleep(1); in main()
244 sleep(1); in main()
H A D2-1.c93 sleep(1); in fn_rd()
124 sleep(1); in fn_wr()
181 sleep(1); in main()
205 sleep(1); in main()
226 sleep(1); in main()
245 sleep(1); in main()
H A D2-3.c93 sleep(1); in fn_rd()
124 sleep(1); in fn_wr()
181 sleep(1); in main()
205 sleep(1); in main()
225 sleep(1); in main()
H A D1-1.c59 sleep(1); in fn_rd()
103 sleep(1); in main()
146 sleep(1); in main()
167 sleep(1); in main()
/third_party/alsa-utils/bat/
H A Dalsabat-test.sh18 # sleep time and pause time
63 sleep $pause_time
68 sleep 4
72 sleep $pause_time
78 sleep $pause_time
93 sleep 5
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_get_response_cleanup.c158 sleep (1); in testInternalGet()
160 sleep (1); in testInternalGet()
183 sleep (1); in testMultithreadedGet()
185 sleep (1); in testMultithreadedGet()
187 sleep (1); in testMultithreadedGet()
195 sleep (1); in testMultithreadedGet()
217 sleep (1); in testMultithreadedPoolGet()
219 sleep (1); in testMultithreadedPoolGet()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/
H A D1-1.c69 sleep(1); in a_thread_func()
71 sleep(5); in a_thread_func()
90 sleep(1); in main()
100 sleep(1); in main()
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
H A Dht_affinity.c80 sleep(1); in HT_SetAffinity()
108 sleep(1); in HT_SetAffinity()
160 sleep(1); in HT_GetAffinity()
168 sleep(1); in HT_GetAffinity()
190 sleep(1); in HT_InheritAffinity()
193 sleep(1); in HT_InheritAffinity()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/
H A D4-4.c22 * - sleep for time TIMERINTERVAL+ADDITIONALEXPIRES*TIMERINTERAL (must do
25 * - sleep for time TIMERINTERVAL and ensure timer expires (2X)
103 sleep(TIMERINTERVAL); in main()
105 sleep(TIMERINTERVAL); in main()
118 sleep(TIMERINTERVAL + ADDITIONALDELTA); in main()
127 sleep(TIMERINTERVAL + ADDITIONALDELTA); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
H A D5-1.c47 * This handler is just used to catch the signal and stop sleep (so the
82 sleep(1); // give parent time to set up handler in main()
85 /* make sure parent enter the final sleep */ in main()
87 sleep(1); in main()
98 /* parent runs stopsleep_handler when sleep is interrupted in main()
106 if (sleep(3) == 0) { in main()
107 /* If sleep finished, child is probably blocking */ in main()
127 if (sleep(3) == 0) { in main()
129 * mq_send didn't succeed and interrupt sleep() in main()

Completed in 13 milliseconds

12345678910>>...37