Home
last modified time | relevance | path

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

12345678910>>...52

/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/testsuits/
H A Dtest_index.py45 time.sleep(1)
52 time.sleep(1)
63 time.sleep(2)
76 time.sleep(1)
78 time.sleep(0.5)
80 time.sleep(1)
82 time.sleep(0.5)
84 time.sleep(1)
97 time.sleep(0.5)
99 time.sleep(
[all...]
/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_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_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...]
/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...]
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
H A Dxcollie_interface_test.cpp104 sleep(1); in HWTEST_F()
106 sleep(3); in HWTEST_F()
116 sleep(1); in HWTEST_F()
118 sleep(3); in HWTEST_F()
138 sleep(2); in HWTEST_F()
154 sleep(2); in HWTEST_F()
164 sleep(1); in HWTEST_F()
180 sleep(2); in HWTEST_F()
181 sleep(3); in HWTEST_F()
208 sleep( in HWTEST_F()
[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...]
/drivers/peripheral/usb/test/moduletest/common/
H A Dusb_host_serial_func_test.cpp61 sleep(1); in HWTEST_F()
79 sleep(1); in HWTEST_F()
100 sleep(1); in HWTEST_F()
103 sleep(1); in HWTEST_F()
128 sleep(1); in HWTEST_F()
131 sleep(1); in HWTEST_F()
153 sleep(3); in HWTEST_F()
177 sleep(3); in HWTEST_F()
210 sleep(3); in HWTEST_F()
228 sleep( in HWTEST_F()
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/local_handler/
H A Dlocal_handler_test.cpp109 sleep(1); in HWTEST_F()
111 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
114 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
134 sleep(1); in HWTEST_F()
136 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
139 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
159 sleep(1); in HWTEST_F()
161 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
164 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
184 sleep( in HWTEST_F()
[all...]
/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/src/
H A Dhap_verify_test.cpp70 sleep(DELAY_TIME); in HWTEST_F()
94 sleep(DELAY_TIME); in HWTEST_F()
120 sleep(DELAY_TIME); in HWTEST_F()
146 sleep(DELAY_TIME); in HWTEST_F()
172 sleep(DELAY_TIME); in HWTEST_F()
183 sleep(DELAY_TIME); in HWTEST_F()
209 sleep(DELAY_TIME); in HWTEST_F()
219 sleep(DELAY_TIME); in HWTEST_F()
246 sleep(DELAY_TIME); in HWTEST_F()
/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()
/base/hiviewdfx/hiview/base/test/unittest/common/
H A Devent_loop_test.cpp217 sleep(2); in HWTEST_F()
257 sleep(1); in HWTEST_F()
261 sleep(1); in HWTEST_F()
265 sleep(1); in HWTEST_F()
296 sleep(9); // 9 = 4(num of event) * 2(delay) + 1(free) in HWTEST_F()
318 sleep(9); in HWTEST_F()
340 sleep(5); in HWTEST_F()
342 sleep(5); in HWTEST_F()
363 sleep(3); in HWTEST_F()
367 sleep( in HWTEST_F()
[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()
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
H A Dsignal_handler_test.cpp151 sleep(1); in HWTEST_F()
153 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
156 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
178 sleep(1); in HWTEST_F()
180 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
183 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
205 sleep(1); in HWTEST_F()
207 usleep(10000); // 10000 : sleep 10ms in HWTEST_F()
210 sleep(2); // 2 : wait for cppcrash generating in HWTEST_F()
233 sleep( in HWTEST_F()
[all...]
/base/sensors/sensor_lite/interfaces/kits/native/test/unittest/src/
H A Dsensor_agent_interfaces_test.cpp161 sleep(1); in HWTEST_F()
165 sleep(3); in HWTEST_F()
169 sleep(1); in HWTEST_F()
283 sleep(1); in HWTEST_F()
368 sleep(1); in HWTEST_F()
391 sleep(1); in HWTEST_F()
395 sleep(1); in HWTEST_F()
399 sleep(1); in HWTEST_F()
403 sleep(1); in HWTEST_F()
426 sleep( in HWTEST_F()
[all...]
/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...]
/base/hiviewdfx/hiview/test/unittest/unified_collection/client/
H A Dtrace_collector_client_test.cpp70 sleep(SLEEP_DURATION); in Sleep()
170 sleep(10); in HWTEST_F()
198 sleep(10); in HWTEST_F()
231 sleep(5); in HWTEST_F()
247 sleep(10); in HWTEST_F()
281 sleep(10); in HWTEST_F()
315 sleep(5); in HWTEST_F()
331 sleep(10); in HWTEST_F()
365 sleep(5); in HWTEST_F()
371 sleep( in HWTEST_F()
[all...]
/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...]
/base/request/request/services/src/task/
H A Doperator.rs23 use ylong_runtime::time::{sleep, Sleep};
34 pub(crate) sleep: Option<Pin<Box<Sleep>>>,
45 sleep: None,
78 self.sleep = None;
82 // wake up for notify, sleep until speed limit conditions are met
83 self.sleep = Some(Box::pin(sleep(Duration::from_millis(self.more_sleep_time))));
92 // sleep until notification is required or speed limit conditions are met
103 self.sleep = Some(Box::pin(sleep(Duratio
[all...]
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
H A Ddfx_processdump_test.cpp154 sleep(1); in HWTEST_F()
157 sleep(3); // 3 : wait 3s to generate cpp crash file in HWTEST_F()
173 sleep(1); in HWTEST_F()
176 sleep(3); // 3 : wait 3s to generate cpp crash file in HWTEST_F()
192 sleep(1); in HWTEST_F()
195 sleep(3); // 3 : wait 3s to generate cpp crash file in HWTEST_F()
211 sleep(1); in HWTEST_F()
214 sleep(3); // 3 : wait 3s to generate cpp crash file in HWTEST_F()
230 sleep(1); in HWTEST_F()
233 sleep( in HWTEST_F()
[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...]
/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()
/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/
H A Dcpu_collector_test.cpp67 sleep(1); // 1s in HWTEST_F()
89 sleep(1); // 1s in HWTEST_F()
108 sleep(1); // 1s in HWTEST_F()
114 sleep(1); // 1s in HWTEST_F()
181 sleep(1); // 1s in HWTEST_F()
226 sleep(1); // 1s in HWTEST_F()
249 sleep(1); // 1s in HWTEST_F()
270 sleep(1); // 1s in HWTEST_F()
291 sleep(1); // 1s in HWTEST_F()
325 sleep( in HWTEST_F()
[all...]

Completed in 19 milliseconds

12345678910>>...52