/external/pigweed/pw_sync/ |
D | condition_variable_test.cc | 119 EXPECT_TRUE(thread_info.done_notifier.try_acquire_for(kFailureTimeout)); in TEST() 132 ASSERT_TRUE(thread_info.waiting_notifier.try_acquire_for(kFailureTimeout)); in TEST() 138 ASSERT_TRUE(thread_info.done_notifier.try_acquire_for(kFailureTimeout)); in TEST() 174 ASSERT_TRUE(thread_info[0].waiting_notifier.try_acquire_for(kFailureTimeout)); in TEST() 175 ASSERT_TRUE(thread_info[1].waiting_notifier.try_acquire_for(kFailureTimeout)); in TEST() 183 ASSERT_TRUE(thread_info[wait_order[0]].done_notifier.try_acquire_for( in TEST() 187 ASSERT_TRUE(thread_info[wait_order[1]].done_notifier.try_acquire_for( in TEST() 211 ASSERT_TRUE(thread_info[0].waiting_notifier.try_acquire_for(kFailureTimeout)); in TEST() 212 ASSERT_TRUE(thread_info[1].waiting_notifier.try_acquire_for(kFailureTimeout)); in TEST() 219 ASSERT_TRUE(thread_info[0].done_notifier.try_acquire_for(kFailureTimeout)); in TEST() [all …]
|
D | timed_thread_notification_facade_test.cc | 69 EXPECT_TRUE(notification.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 79 EXPECT_FALSE(notification.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 89 EXPECT_FALSE(notification.try_acquire_for(SystemClock::duration::zero())); in TEST() 99 EXPECT_FALSE(notification.try_acquire_for(-kRoundedArbitraryDuration)); in TEST()
|
D | binary_semaphore_facade_test.cc | 87 EXPECT_TRUE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 97 EXPECT_FALSE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 108 EXPECT_FALSE(semaphore.try_acquire_for(SystemClock::duration::zero())); in TEST() 119 EXPECT_FALSE(semaphore.try_acquire_for(-kRoundedArbitraryDuration)); in TEST()
|
D | counting_semaphore_facade_test.cc | 106 EXPECT_TRUE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 116 EXPECT_FALSE(semaphore.try_acquire_for(kRoundedArbitraryDuration)); in TEST() 127 EXPECT_FALSE(semaphore.try_acquire_for(SystemClock::duration::zero())); in TEST() 138 EXPECT_FALSE(semaphore.try_acquire_for(-kRoundedArbitraryDuration)); in TEST()
|
D | binary_semaphore.cc | 37 return semaphore->try_acquire_for(SystemClock::duration(timeout.ticks)); in pw_sync_BinarySemaphore_TryAcquireFor()
|
D | counting_semaphore.cc | 42 return semaphore->try_acquire_for(SystemClock::duration(timeout.ticks)); in pw_sync_CountingSemaphore_TryAcquireFor()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/thread/ |
D | semaphore.availability.verify.cpp | 24 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in f() 34 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in f() 44 sem.try_acquire_for(std::chrono::milliseconds{3}); // expected-error 1-2 {{is unavailable}} in f()
|
/external/pigweed/pw_rpc/fuzz/ |
D | alarm_timer_test.cc | 40 EXPECT_FALSE(sem.try_acquire_for(10us)); in TEST() 50 EXPECT_FALSE(sem.try_acquire_for(100us)); in TEST() 60 EXPECT_FALSE(sem.try_acquire_for(100us)); in TEST()
|
/external/cronet/buildtools/third_party/libc++/trunk/include/ |
D | semaphore | 34 bool try_acquire_for(const chrono::duration<Rep, Period>& rel_time); 114 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time) 165 bool try_acquire_for(chrono::duration<Rep, Period> const& __rel_time) 167 return __semaphore_.try_acquire_for(chrono::duration_cast<chrono::nanoseconds>(__rel_time)); 182 return try_acquire_for(__abs_time - __current);
|
/external/pigweed/pw_sync/public/pw_sync/backends/ |
D | binary_semaphore_timed_thread_notification_inline.h | 21 inline bool TimedThreadNotification::try_acquire_for( in try_acquire_for() function 23 return native_handle().try_acquire_for(timeout); in try_acquire_for()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/thread/thread.semaphore/ |
D | timed.pass.cpp | 31 assert(!s.try_acquire_for(std::chrono::milliseconds(250))); in main() 41 assert(s.try_acquire_for(std::chrono::seconds(2))); in main()
|
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/ |
D | timed_thread_notification_inline.h | 21 inline bool TimedThreadNotification::try_acquire_for( in try_acquire_for() function
|
/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 | 26 inline bool CountingSemaphore::try_acquire_for( in try_acquire_for() function
|
/external/pigweed/pw_sync/public/pw_sync/ |
D | timed_thread_notification.h | 57 bool try_acquire_for(chrono::SystemClock::duration timeout);
|
/external/pigweed/pw_sync_zephyr/ |
D | binary_semaphore.cc | 21 bool BinarySemaphore::try_acquire_for(chrono::SystemClock::duration timeout) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
/external/pigweed/pw_sync_embos/public/pw_sync_embos/ |
D | counting_semaphore_inline.h | 47 return try_acquire_for(deadline - chrono::SystemClock::now()); in try_acquire_until()
|
D | binary_semaphore_inline.h | 47 return try_acquire_for(deadline - chrono::SystemClock::now()); in try_acquire_until()
|
/external/pigweed/pw_sync_embos/ |
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration timeout) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
D | counting_semaphore.cc | 43 bool CountingSemaphore::try_acquire_for(SystemClock::duration timeout) { 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 timeout) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
/external/pigweed/pw_sync_zephyr/public/pw_sync_zephyr/ |
D | binary_semaphore_inline.h | 50 return try_acquire_for(deadline - chrono::SystemClock::now()); in try_acquire_until()
|
/external/pigweed/pw_sync_threadx/ |
D | counting_semaphore.cc | 29 bool CountingSemaphore::try_acquire_for(SystemClock::duration timeout) { in try_acquire_for() function in pw::sync::CountingSemaphore
|
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration timeout) { in try_acquire_for() function in pw::sync::BinarySemaphore
|
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/ |
D | counting_semaphore_inline.h | 67 return try_acquire_for(deadline - chrono::SystemClock::now()); in try_acquire_until()
|