/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.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()
|
D | wait_for.pass.cpp | 28 std::this_thread::sleep_for(ms(500)); in func1() 36 std::this_thread::sleep_for(ms(500)); in func3() 43 std::this_thread::sleep_for(ms(500)); in func5()
|
/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()
|
D | wait_for.pass.cpp | 28 std::this_thread::sleep_for(ms(500)); in func1() 36 std::this_thread::sleep_for(ms(500)); in func3() 43 std::this_thread::sleep_for(ms(500)); in func5()
|
/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()
|
D | notify_all.pass.cpp | 58 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 66 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/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()
|
D | notify_all.pass.cpp | 54 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main() 62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
|
/external/python/cpython3/Doc/library/ |
D | asyncio-queue.rst | 156 sleep_for = await queue.get() 158 # Sleep for the "sleep_for" seconds. 159 await asyncio.sleep(sleep_for) 164 print(f'{name} has slept for {sleep_for:.2f} seconds') 174 sleep_for = random.uniform(0.05, 1.0) 175 total_sleep_time += sleep_for 176 queue.put_nowait(sleep_for)
|
/external/llvm/unittests/Support/ |
D | ProgramTest.cpp | 26 void sleep_for(unsigned int seconds) { in sleep_for() function 31 void sleep_for(unsigned int seconds) { in sleep_for() function 35 #error sleep_for is not implemented on your platform. 206 sleep_for(/*seconds*/ 1); in TEST_F() 264 sleep_for(/*seconds*/ 10); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ProgramTest.cpp | 27 void sleep_for(unsigned int seconds) { in sleep_for() function 32 void sleep_for(unsigned int seconds) { in sleep_for() function 36 #error sleep_for is not implemented on your platform. 197 sleep_for(/*seconds*/ 1); in TEST_F() 252 sleep_for(/*seconds*/ 10); in TEST_F()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/stop/ |
D | main.cpp | 23 std::this_thread::sleep_for(std::chrono::milliseconds(300)); in main() 30 std::this_thread::sleep_for(std::chrono::seconds(1)); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/ |
D | try_lock_for.pass.cpp | 56 std::this_thread::sleep_for(ms(250)); in main() 63 std::this_thread::sleep_for(ms(300)); in main()
|
D | try_lock_until.pass.cpp | 56 std::this_thread::sleep_for(ms(250)); in main() 63 std::this_thread::sleep_for(ms(300)); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/ |
D | try_lock_for.pass.cpp | 58 std::this_thread::sleep_for(ms(250)); in main() 65 std::this_thread::sleep_for(ms(300)); in main()
|
D | try_lock_until.pass.cpp | 58 std::this_thread::sleep_for(ms(250)); in main() 65 std::this_thread::sleep_for(ms(300)); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/ |
D | mutex_time_point.pass.cpp | 59 std::this_thread::sleep_for(ms(250)); in main() 66 std::this_thread::sleep_for(ms(300)); in main()
|
D | mutex_duration.pass.cpp | 59 std::this_thread::sleep_for(ms(250)); in main() 66 std::this_thread::sleep_for(ms(300)); in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | try_lock_for.pass.cpp | 73 std::this_thread::sleep_for(WaitTime); in main() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|
D | try_lock_until.pass.cpp | 73 std::this_thread::sleep_for(WaitTime); in main() 80 std::this_thread::sleep_for(WaitTime + Tolerance); in main()
|