Home
last modified time | relevance | path

Searched refs:sleep_for (Results 1 – 25 of 57) sorted by relevance

123

/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp31 std::this_thread::sleep_for(ms(200)); in f0()
39 std::this_thread::sleep_for(ms(200)); in f1()
45 std::this_thread::sleep_for(ms(200)); in f2()
50 std::this_thread::sleep_for(ms(200)); in f3()
56 std::this_thread::sleep_for(ms(200)); in f4()
62 std::this_thread::sleep_for(ms(200)); in f5()
70 std::this_thread::sleep_for(ms(300)); in main()
78 std::this_thread::sleep_for(ms(300)); in main()
86 std::this_thread::sleep_for(ms(300)); in main()
94 std::this_thread::sleep_for(ms(300)); in main()
[all …]
/external/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp25 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
46 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
52 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
58 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp23 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
38 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp27 std::this_thread::sleep_for(ms(500)); in func1()
35 std::this_thread::sleep_for(ms(500)); in func3()
42 std::this_thread::sleep_for(ms(500)); in func5()
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp25 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func2()
39 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
46 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func4()
52 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
58 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func6()
Dwait.pass.cpp23 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
31 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
38 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp27 std::this_thread::sleep_for(ms(500)); in func1()
35 std::this_thread::sleep_for(ms(500)); in func3()
42 std::this_thread::sleep_for(ms(500)); in func5()
/external/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp31 std::this_thread::sleep_for(ms(250)); in init0()
48 std::this_thread::sleep_for(ms(250)); in init3()
112 std::this_thread::sleep_for(ms(250)); in init41()
118 std::this_thread::sleep_for(ms(250)); in init42()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp58 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
66 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
83 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
Dnotify_all.pass.cpp58 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.condition/thread.condition.condvar/
Dnotify_one.pass.cpp54 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
79 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
Dnotify_all.pass.cpp54 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
62 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/llvm/unittests/Support/
DProgramTest.cpp25 void sleep_for(unsigned int seconds) { in sleep_for() function
30 void sleep_for(unsigned int seconds) { in sleep_for() function
34 #error sleep_for is not implemented on your platform.
168 sleep_for(/*seconds*/ 1); in TEST()
229 sleep_for(/*seconds*/ 10); in TEST()
/external/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.class/
Dtry_lock_for.pass.cpp56 std::this_thread::sleep_for(ms(250)); in main()
63 std::this_thread::sleep_for(ms(300)); in main()
Dtry_lock_until.pass.cpp56 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/
Dtry_lock_for.pass.cpp58 std::this_thread::sleep_for(ms(250)); in main()
65 std::this_thread::sleep_for(ms(300)); in main()
Dtry_lock_until.pass.cpp58 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.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/
Dtry_lock_until.pass.cpp61 std::this_thread::sleep_for(ms(250)); in main()
68 std::this_thread::sleep_for(ms(300)); in main()
Dtry_lock_for.pass.cpp61 std::this_thread::sleep_for(ms(250)); in main()
68 std::this_thread::sleep_for(ms(300)); in main()
Dlock_shared.pass.cpp63 std::this_thread::sleep_for(ms(250)); in main()
71 std::this_thread::sleep_for(ms(250)); in main()
Dtry_lock_shared_for.pass.cpp64 std::this_thread::sleep_for(ms(250)); in main()
74 std::this_thread::sleep_for(ms(300)); in main()
Dtry_lock_shared_until.pass.cpp64 std::this_thread::sleep_for(ms(250)); in main()
74 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/
Dmutex_duration.pass.cpp57 std::this_thread::sleep_for(ms(250)); in main()
64 std::this_thread::sleep_for(ms(300)); in main()
Dmutex_time_point.pass.cpp57 std::this_thread::sleep_for(ms(250)); in main()
64 std::this_thread::sleep_for(ms(300)); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/
Dmutex.pass.cpp67 std::this_thread::sleep_for(ms(250)); in main()
75 std::this_thread::sleep_for(ms(250)); in main()

123