/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | thread_info_base.hpp | 39 static void* allocate(thread_info_base* this_thread, std::size_t size) in allocate() argument 41 if (this_thread && this_thread->reusable_memory_) in allocate() 43 void* const pointer = this_thread->reusable_memory_; in allocate() 44 this_thread->reusable_memory_ = 0; in allocate() 62 static void deallocate(thread_info_base* this_thread, in deallocate() argument 67 if (this_thread && this_thread->reusable_memory_ == 0) in deallocate() 71 this_thread->reusable_memory_ = pointer; in deallocate()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | task_io_service.ipp | 135 thread_info this_thread; 136 this_thread.private_outstanding_work = 0; 137 thread_call_stack::context ctx(this, this_thread); 142 for (; do_run_one(lock, this_thread, ec); lock.lock()) 157 thread_info this_thread; 158 this_thread.private_outstanding_work = 0; 159 thread_call_stack::context ctx(this, this_thread); 163 return do_run_one(lock, this_thread, ec); 175 thread_info this_thread; 176 this_thread.private_outstanding_work = 0; [all …]
|
/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/pigweed/pw_thread_stl/public/pw_thread_stl/ |
D | sleep_inline.h | 21 namespace pw::this_thread { 28 return std::this_thread::yield(); in sleep_for() 30 return std::this_thread::sleep_for(for_at_least); in sleep_for() 37 return std::this_thread::yield(); in sleep_until() 39 return std::this_thread::sleep_until(until_at_least); in sleep_until()
|
/external/openscreen/platform/test/ |
D | fake_clock.cc | 19 : control_thread_id_(std::this_thread::get_id()) { in FakeClock() 26 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in ~FakeClock() 39 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in Advance() 68 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in SubscribeToTimeChanges() 75 OSP_CHECK_EQ(std::this_thread::get_id(), control_thread_id_); in UnsubscribeFromTimeChanges()
|
/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()
|
/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()
|
/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()
|
/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()
|
/external/swiftshader/third_party/marl/src/ |
D | scheduler_test.cpp | 116 auto threadID = std::this_thread::get_id(); in TEST_P() 118 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 123 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST_P() 143 auto threadID = std::this_thread::get_id(); in TEST_P() 145 ASSERT_EQ(threadID, std::this_thread::get_id()); in TEST_P() 150 std::this_thread::sleep_for(std::chrono::milliseconds(10)); in TEST_P() 175 threads.emplace(std::this_thread::get_id()); in TEST_F() 181 ASSERT_EQ(threads.count(std::this_thread::get_id()), 0U); in TEST_F()
|
/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/llvm-project/libcxx/test/std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requirements/thread.sharedtimedmutex.class/ |
D | lock_shared.pass.cpp | 82 std::this_thread::yield(); in main() 84 std::this_thread::sleep_for(WaitTime); in main() 95 std::this_thread::yield(); in main() 97 std::this_thread::sleep_for(WaitTime); in main()
|
/external/perfetto/src/base/ |
D | thread_task_runner_unittest.cc | 38 std::this_thread::yield(); in TEST_F() 59 std::this_thread::yield(); in TEST_F() 89 std::this_thread::yield(); in TEST_F() 138 std::this_thread::yield(); in TEST_F()
|
/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/zstd/contrib/pzstd/utils/test/ |
D | ThreadPoolTest.cpp | 43 std::this_thread::yield(); in TEST() 61 std::this_thread::yield(); in TEST() 64 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST()
|
/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/llvm-project/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/ |
D | mutex_duration.pass.cpp | 81 std::this_thread::yield(); in main() 83 std::this_thread::yield(); in main() 84 std::this_thread::sleep_for(ShortTime); in main()
|
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvar/ |
D | notify_one.pass.cpp | 86 std::this_thread::yield(); in main() 98 std::this_thread::yield(); in main() 115 std::this_thread::yield(); in main()
|
/external/llvm-project/lldb/test/API/lang/objc/print-obj/ |
D | TestPrintObj.py | 57 this_thread = lldbutil.get_stopped_thread( 59 self.assertTrue(this_thread) 65 if t != this_thread:
|