/third_party/python/Lib/test/test_asyncio/ |
H A D | test_taskgroups.py | 34 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 D | test_timeouts.py | 19 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 D | test_waitfor.py | 32 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 D | test_locks.py | 76 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 D | cpuset_memory_testset.sh | 53 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 D | xcollie_interface_test.cpp | 104 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 D | f_realtime.c | 45 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...] |
/base/hiviewdfx/faultloggerd/test/unittest/local_handler/ |
H A D | local_handler_test.cpp | 109 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 D | hap_verify_test.cpp | 70 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 D | 3-1.c | 98 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 D | event_loop_test.cpp | 217 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 D | pthread_atfork.c | 63 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 D | signal_handler_test.cpp | 151 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 D | sensor_agent_interfaces_test.cpp | 161 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 D | run_cpuctl_test_fj.sh | 290 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 D | trace_collector_client_test.cpp | 70 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 D | host_run.sh | 194 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 D | operator.rs | 23 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 D | dfx_processdump_test.cpp | 154 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 D | test_sched.py | 24 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 D | 1-1.c | 61 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 D | 2-1.c | 51 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 D | cpu_collector_test.cpp | 67 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...] |
/base/hiviewdfx/hiview/core/test/unittest/common/ |
H A D | plugin_platform_test.cpp | 56 sleep(1);
in HWTEST_F() 65 sleep(5);
in HWTEST_F() 92 sleep(1);
in HWTEST_F() 120 sleep(1);
in HWTEST_F() 145 sleep(3);
in HWTEST_F()
|
/base/startup/init/test/unittest/modules/ |
H A D | trace_unittest.cpp | 130 sleep(1); in HWTEST_F() 141 sleep(1); in HWTEST_F() 157 sleep(1); in HWTEST_F() 167 sleep(1); in HWTEST_F() 183 sleep(1); in HWTEST_F()
|