Home
last modified time | relevance | path

Searched refs:try_acquire_until (Results 1 – 19 of 19) sorted by relevance

/external/llvm-project/libcxx/test/libcxx/thread/
Dsemaphore.availability.verify.cpp34 … sem.try_acquire_until(std::chrono::steady_clock::now()); // expected-error 1-2 {{is unavailable}} in main()
44 … sem.try_acquire_until(std::chrono::steady_clock::now()); // expected-error 1-2 {{is unavailable}} in main()
54 … sem.try_acquire_until(std::chrono::steady_clock::now()); // expected-error 1-2 {{is unavailable}} in main()
/external/llvm-project/libcxx/test/std/thread/thread.semaphore/
Dtimed.pass.cpp39 assert(!s.try_acquire_until(start + std::chrono::milliseconds(250))); in main()
49 assert(s.try_acquire_until(start + std::chrono::seconds(2))); in main()
/external/pigweed/pw_sync/
Dbinary_semaphore_facade_test.cc104 EXPECT_TRUE(semaphore.try_acquire_until(deadline)); in TEST()
108 EXPECT_FALSE(semaphore.try_acquire_until(deadline)); in TEST()
Dcounting_semaphore_facade_test.cc122 EXPECT_TRUE(semaphore.try_acquire_until(deadline)); in TEST()
126 EXPECT_FALSE(semaphore.try_acquire_until(deadline)); in TEST()
Dbinary_semaphore.cc43 return semaphore->try_acquire_until(SystemClock::time_point( in pw_sync_BinarySemaphore_TryAcquireUntil()
Dcounting_semaphore.cc48 return semaphore->try_acquire_until(SystemClock::time_point( in pw_sync_CountingSemaphore_TryAcquireUntil()
/external/pigweed/pw_sync_stl/public/pw_sync_stl/
Dbinary_semaphore_inline.h34 return try_acquire_until(chrono::SystemClock::now() + for_at_least); in try_acquire_for()
Dcounting_semaphore_inline.h31 return try_acquire_until(chrono::SystemClock::now() + for_at_least); in try_acquire_for()
/external/pigweed/pw_sync_embos/public/pw_sync_embos/
Dcounting_semaphore_inline.h42 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() function
Dbinary_semaphore_inline.h42 inline bool BinarySemaphore::try_acquire_until( in try_acquire_until() function
/external/pigweed/pw_sync_stl/
Dbinary_semaphore.cc45 bool BinarySemaphore::try_acquire_until( in try_acquire_until() function in pw::sync::BinarySemaphore
Dcounting_semaphore.cc48 bool CountingSemaphore::try_acquire_until( in try_acquire_until() function in pw::sync::CountingSemaphore
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/
Dcounting_semaphore_inline.h63 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() function
Dbinary_semaphore_inline.h62 inline bool BinarySemaphore::try_acquire_until( in try_acquire_until() function
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/
Dcounting_semaphore_inline.h65 inline bool CountingSemaphore::try_acquire_until( in try_acquire_until() function
Dbinary_semaphore_inline.h75 inline bool BinarySemaphore::try_acquire_until( in try_acquire_until() function
/external/pigweed/pw_sync/public/pw_sync/
Dbinary_semaphore.h80 bool try_acquire_until(chrono::SystemClock::time_point until_at_least);
Dcounting_semaphore.h80 bool try_acquire_until(chrono::SystemClock::time_point until_at_least);
/external/llvm-project/libcxx/include/
Dsemaphore36 bool try_acquire_until(const chrono::time_point<Clock, Duration>& abs_time);
222 bool try_acquire_until(chrono::time_point<Clock, Duration> const& __abs_time)