Home
last modified time | relevance | path

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

1234567891011

/external/libcxx/test/std/thread/futures/futures.async/
Dasync.pass.cpp39 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/futures/futures.async/
Dasync.pass.cpp41 std::this_thread::sleep_for(ms(200)); in f0()
50 std::this_thread::sleep_for(ms(200)); in f1()
57 std::this_thread::sleep_for(ms(200)); in f2()
63 std::this_thread::sleep_for(ms(200)); in f3()
70 std::this_thread::sleep_for(ms(200)); in f4()
76 std::this_thread::sleep_for(ms(200)); in f5()
88 std::this_thread::sleep_for(ms(300)); in test()
148 std::this_thread::sleep_for(ms(300)); in main()
153 std::this_thread::sleep_for(ms(300)); in main()
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_time_test.py51 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/
Dget.pass.cpp28 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()
Dwait.pass.cpp24 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/libcxx/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 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()
Dwait.pass.cpp24 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/futures/futures.unique_future/
Dget.pass.cpp28 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()
Dwait.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
36 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
43 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
Dwait_for.pass.cpp36 std::this_thread::sleep_for(sleepTime); in func1()
44 std::this_thread::sleep_for(sleepTime); in func3()
51 std::this_thread::sleep_for(sleepTime); in func5()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/futures/futures.shared_future/
Dget.pass.cpp28 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()
Dwait.pass.cpp28 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func1()
36 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func3()
43 std::this_thread::sleep_for(std::chrono::milliseconds(500)); in func5()
/external/eigen/unsupported/test/
Dcxx11_tensor_notification.cpp26 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in test_notification_single()
34 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in test_notification_single()
53 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in test_notification_multiple()
56 std::this_thread::sleep_for(std::chrono::milliseconds(1000)); in test_notification_multiple()
/external/pigweed/pw_trace_tokenized/example/
Dlinux_group_by_tid.cc57 std::this_thread::sleep_for(std::chrono::milliseconds(42)); in ExampleTask()
61 std::this_thread::sleep_for(std::chrono::milliseconds(sleep_time)); in ExampleTask()
97 std::this_thread::sleep_for(std::chrono::seconds(60)); in main()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp60 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.condition/thread.condition.condvarany/
Dnotify_one.pass.cpp61 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
69 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
86 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/external/ruy/ruy/profiler/
Dtest.cc93 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/
Dnotify_one.pass.cpp55 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/
Dcall_once.pass.cpp33 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/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.mutex/thread.once/thread.once.callonce/
Dcall_once.pass.cpp33 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/
Dasyncio-queue.rst164 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/sg3_utils/testing/
Dsg_tst_excl.cpp210 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v3()
268 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v3()
309 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v3()
362 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v3()
455 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v4()
513 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v4()
559 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v4()
618 this_thread::sleep_for(milliseconds{wait_ms}); in do_rd_inc_wr_twice_v4()
708 this_thread::sleep_for(milliseconds{wait_ms}); in do_inquiry_prod_id()
/external/openscreen/platform/impl/
Dtask_runner_unittest.cc29 std::this_thread::sleep_for(kTaskRunnerSleepTime); in WaitUntilCondition()
234 std::this_thread::sleep_for(kTaskRunnerSleepTime); in TEST()
241 std::this_thread::sleep_for(kTaskRunnerSleepTime); in TEST()
258 std::this_thread::sleep_for(kTaskRunnerSleepTime); in TEST()
265 std::this_thread::sleep_for(kTaskRunnerSleepTime); in TEST()
/external/llvm/unittests/Support/
DProgramTest.cpp26 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/pigweed/pw_thread_stl/public/pw_thread_stl/
Dsleep_inline.h24 inline void sleep_for(chrono::SystemClock::duration sleep_duration) { in sleep_for() function
38 return std::this_thread::sleep_for(sleep_duration); in sleep_for()

1234567891011