/external/llvm-project/lldb/unittests/Utility/ |
D | TimerTest.cpp | 21 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST() 36 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST() 39 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST() 56 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST() 59 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST() 80 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TEST() 84 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST() 88 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST()
|
/external/llvm-project/libcxx/test/std/thread/futures/futures.async/ |
D | async.pass.cpp | 38 std::this_thread::sleep_for(ms(200)); in f0() 47 std::this_thread::sleep_for(ms(200)); in f1() 54 std::this_thread::sleep_for(ms(200)); in f2() 60 std::this_thread::sleep_for(ms(200)); in f3() 67 std::this_thread::sleep_for(ms(200)); in f4() 73 std::this_thread::sleep_for(ms(200)); in f5() 85 std::this_thread::sleep_for(ms(300)); in test() 145 std::this_thread::sleep_for(ms(300)); in main() 150 std::this_thread::sleep_for(ms(300)); in main()
|
/external/libcxx/test/std/thread/futures/futures.async/ |
D | async.pass.cpp | 39 std::this_thread::sleep_for(ms(200)); in f0() 48 std::this_thread::sleep_for(ms(200)); in f1() 55 std::this_thread::sleep_for(ms(200)); in f2() 61 std::this_thread::sleep_for(ms(200)); in f3() 68 std::this_thread::sleep_for(ms(200)); in f4() 74 std::this_thread::sleep_for(ms(200)); in f5() 86 std::this_thread::sleep_for(ms(300)); in test() 146 std::this_thread::sleep_for(ms(300)); in main() 151 std::this_thread::sleep_for(ms(300)); in main()
|
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
D | _time_test.py | 51 self._time.sleep_for(_QUANTUM) 68 self._time.sleep_for(_QUANTUM * 2) 79 self._time.sleep_for(_QUANTUM * 2) 89 self._time.sleep_for(_QUANTUM) 91 self._time.sleep_for(_QUANTUM * 2) 110 self._time.sleep_for(_QUANTUM) 115 self._time.sleep_for(_QUANTUM * 3) 131 self._time.sleep_for(_QUANTUM * 2) 135 self._time.sleep_for(_QUANTUM * 2)
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
D | wait.pass.cpp | 24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
|
/external/llvm-project/libcxx/test/std/thread/futures/futures.shared_future/ |
D | get.pass.cpp | 28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
D | wait.pass.cpp | 26 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 41 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
|
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
D | get.pass.cpp | 28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
D | wait.pass.cpp | 24 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 32 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
|
/external/llvm-project/libcxx/test/std/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2() 42 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 49 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4() 55 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5() 61 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
|
D | wait.pass.cpp | 26 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1() 34 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3() 41 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
|
D | wait_for.pass.cpp | 33 std::this_thread::sleep_for(sleepTime); in func1() 41 std::this_thread::sleep_for(sleepTime); in func3() 48 std::this_thread::sleep_for(sleepTime); in func5()
|
/external/llvm-project/lldb/test/API/functionalities/thread/create_after_attach/ |
D | main.cpp | 15 std::this_thread::sleep_for(microseconds(1)); in thread_1_func() 29 std::this_thread::sleep_for(microseconds(1)); // Set second breakpoint here in thread_2_func() 50 std::this_thread::sleep_for(microseconds(1)); // Set first breakpoint here in main()
|
/external/perfetto/src/tracing/consumer_api_deprecated/ |
D | consumer_api_deprecated_test.cc | 103 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in TestSingle() 108 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestSingle() 141 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany() 148 std::this_thread::sleep_for(std::chrono::seconds(1)); in TestMany() 160 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TestMany()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | notify_one.pass.cpp | 60 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 68 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 85 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/ |
D | notify_one.pass.cpp | 62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 70 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 87 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
|
/external/ruy/ruy/profiler/ |
D | test.cc | 93 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST() 95 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST() 142 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST() 149 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in TEST()
|
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 55 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 63 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 82 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/ |
D | call_once.pass.cpp | 33 std::this_thread::sleep_for(ms(250)); in init0() 50 std::this_thread::sleep_for(ms(250)); in init3() 116 std::this_thread::sleep_for(ms(250)); in init41() 122 std::this_thread::sleep_for(ms(250)); in init42()
|
/external/llvm-project/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/ |
D | call_once.pass.cpp | 33 std::this_thread::sleep_for(ms(250)); in init0() 50 std::this_thread::sleep_for(ms(250)); in init3() 116 std::this_thread::sleep_for(ms(250)); in init41() 122 std::this_thread::sleep_for(ms(250)); in init42()
|
/external/python/cpython3/Doc/library/ |
D | asyncio-queue.rst | 164 sleep_for = await queue.get() 166 # Sleep for the "sleep_for" seconds. 167 await asyncio.sleep(sleep_for) 172 print(f'{name} has slept for {sleep_for:.2f} seconds') 182 sleep_for = random.uniform(0.05, 1.0) 183 total_sleep_time += sleep_for 184 queue.put_nowait(sleep_for)
|
/external/pigweed/pw_thread_stl/public/pw_thread_stl/ |
D | sleep_inline.h | 23 inline void sleep_for(chrono::SystemClock::duration for_at_least) { in sleep_for() function 30 return std::this_thread::sleep_for(for_at_least); in sleep_for()
|
/external/llvm-project/lldb/test/API/commands/process/attach-resume/ |
D | main.cpp | 16 std::this_thread::sleep_for(std::chrono::microseconds(1)); // Set breakpoint here in start() 17 std::this_thread::sleep_for(std::chrono::seconds(1)); in start()
|
/external/ruy/ruy/ |
D | tune_test.cc | 33 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST() 43 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()
|