/external/llvm-project/libcxx/test/libcxx/thread/ |
D | semaphore.availability.verify.cpp | 32 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in main() 42 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in main() 52 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in main()
|
/external/llvm-project/libcxx/include/ |
D | semaphore | 34 bool try_acquire_for(const chrono::duration<Rep, Period>& rel_time); 109 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time) 160 bool try_acquire_for(chrono::nanoseconds __rel_time) 211 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time) 213 return __semaphore.try_acquire_for(chrono::duration_cast<chrono::nanoseconds>(__rel_time)); 218 return try_acquire_for(chrono::nanoseconds::zero()); 228 return try_acquire_for(__abs_time - current);
|
/external/llvm-project/libcxx/test/std/thread/thread.semaphore/ |
D | timed.pass.cpp | 40 assert(!s.try_acquire_for(std::chrono::milliseconds(250))); in main() 50 assert(s.try_acquire_for(std::chrono::seconds(2))); in main()
|
/external/pigweed/pw_sync/ |
D | binary_semaphore_facade_test.cc | 87 EXPECT_TRUE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 93 EXPECT_FALSE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST()
|
D | counting_semaphore_facade_test.cc | 105 EXPECT_TRUE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 111 EXPECT_FALSE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST()
|
D | binary_semaphore.cc | 37 return semaphore->try_acquire_for(SystemClock::duration(for_at_least.ticks)); in pw_sync_BinarySemaphore_TryAcquireFor()
|
D | counting_semaphore.cc | 42 return semaphore->try_acquire_for(SystemClock::duration(for_at_least.ticks)); in pw_sync_CountingSemaphore_TryAcquireFor()
|
/external/pigweed/pw_sync_stl/public/pw_sync_stl/ |
D | binary_semaphore_inline.h | 26 inline bool BinarySemaphore::try_acquire_for( in try_acquire_for() function
|
D | counting_semaphore_inline.h | 28 inline bool CountingSemaphore::try_acquire_for( in try_acquire_for() function
|
/external/pigweed/pw_sync_embos/public/pw_sync_embos/ |
D | counting_semaphore_inline.h | 46 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
D | binary_semaphore_inline.h | 46 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
/external/pigweed/pw_sync_embos/ |
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
D | counting_semaphore.cc | 43 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::CountingSemaphore
|
/external/pigweed/pw_sync_freertos/ |
D | binary_semaphore.cc | 36 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
D | counting_semaphore.cc | 56 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::CountingSemaphore
|
/external/pigweed/pw_sync_threadx/ |
D | counting_semaphore.cc | 29 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::CountingSemaphore
|
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/ |
D | counting_semaphore_inline.h | 69 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
D | binary_semaphore_inline.h | 79 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/ |
D | counting_semaphore_inline.h | 67 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
D | binary_semaphore_inline.h | 66 return try_acquire_for(until_at_least - chrono::SystemClock::now()); in try_acquire_until()
|
/external/pigweed/pw_sync/public/pw_sync/ |
D | binary_semaphore.h | 74 bool try_acquire_for(chrono::SystemClock::duration for_at_least);
|
D | counting_semaphore.h | 74 bool try_acquire_for(chrono::SystemClock::duration for_at_least);
|