/external/pigweed/pw_i2c/public/pw_i2c/ |
D | initiator.h | 75 chrono::SystemClock::duration for_at_least) { in WriteReadFor() argument 76 return DoWriteReadFor(device_address, tx_buffer, rx_buffer, for_at_least); in WriteReadFor() 83 chrono::SystemClock::duration for_at_least) { in WriteReadFor() argument 88 for_at_least); in WriteReadFor() 112 chrono::SystemClock::duration for_at_least) { in WriteFor() argument 113 return WriteReadFor(device_address, tx_buffer, ByteSpan(), for_at_least); in WriteFor() 118 chrono::SystemClock::duration for_at_least) { in WriteFor() argument 122 for_at_least); in WriteFor() 146 chrono::SystemClock::duration for_at_least) { in ReadFor() argument 148 device_address, ConstByteSpan(), rx_buffer, for_at_least); in ReadFor() [all …]
|
/external/pigweed/pw_thread_freertos/ |
D | sleep.cc | 30 void sleep_for(SystemClock::duration for_at_least) { in sleep_for() argument 34 if (for_at_least <= SystemClock::duration::zero()) { in sleep_for() 43 while (for_at_least > kMaxTimeoutMinusOne) { in sleep_for() 45 for_at_least -= kMaxTimeoutMinusOne; in sleep_for() 47 vTaskDelay(static_cast<TickType_t>(for_at_least.count() + 1)); in sleep_for()
|
/external/pigweed/pw_thread_embos/ |
D | sleep.cc | 29 void sleep_for(chrono::SystemClock::duration for_at_least) { in sleep_for() argument 33 if (for_at_least <= SystemClock::duration::zero()) { in sleep_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in sleep_for() 44 for_at_least -= kMaxTimeoutMinusOne; in sleep_for() 46 OS_Delay(static_cast<OS_TIME>(for_at_least.count())); in sleep_for()
|
/external/pigweed/pw_sync_embos/ |
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 33 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 41 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 46 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 49 static_cast<OS_TIME>(for_at_least.count() + 1)); in try_acquire_for()
|
D | timed_mutex.cc | 29 bool TimedMutex::try_lock_for(SystemClock::duration for_at_least) { in try_lock_for() argument 33 if (for_at_least <= SystemClock::duration::zero()) { in try_lock_for() 41 while (for_at_least > kMaxTimeoutMinusOne) { in try_lock_for() 48 for_at_least -= kMaxTimeoutMinusOne; in try_lock_for() 51 &native_handle(), static_cast<OS_TIME>(for_at_least.count() + 1)); in try_lock_for()
|
D | counting_semaphore.cc | 43 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 47 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 55 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 60 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 63 static_cast<OS_TIME>(for_at_least.count() + 1)); in try_acquire_for()
|
/external/pigweed/pw_sync_freertos/ |
D | timed_mutex.cc | 30 bool TimedMutex::try_lock_for(SystemClock::duration for_at_least) { in try_lock_for() argument 34 if (for_at_least <= SystemClock::duration::zero()) { in try_lock_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in try_lock_for() 48 for_at_least -= kMaxTimeoutMinusOne; in try_lock_for() 51 static_cast<TickType_t>(for_at_least.count() + 1)) == in try_lock_for()
|
D | binary_semaphore.cc | 36 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 40 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 48 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 54 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 57 static_cast<TickType_t>(for_at_least.count() + 1)) == in try_acquire_for()
|
D | counting_semaphore.cc | 56 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 60 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 68 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 74 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 77 static_cast<TickType_t>(for_at_least.count() + 1)) == in try_acquire_for()
|
/external/pigweed/pw_thread_stl/public/pw_thread_stl/ |
D | sleep_inline.h | 23 inline void sleep_for(chrono::SystemClock::duration for_at_least) { in sleep_for() argument 24 for_at_least = std::max(for_at_least, chrono::SystemClock::duration::zero()); in sleep_for() 27 if (for_at_least == chrono::SystemClock::duration::zero()) { in sleep_for() 30 return std::this_thread::sleep_for(for_at_least); in sleep_for()
|
/external/pigweed/pw_thread_threadx/ |
D | sleep.cc | 29 void sleep_for(chrono::SystemClock::duration for_at_least) { in sleep_for() argument 33 if (for_at_least <= chrono::SystemClock::duration::zero()) { in sleep_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in sleep_for() 46 for_at_least -= kMaxTimeoutMinusOne; in sleep_for() 49 tx_thread_sleep(static_cast<ULONG>(for_at_least.count() + 1)); in sleep_for()
|
/external/pigweed/pw_sync_threadx/ |
D | counting_semaphore.cc | 29 bool CountingSemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 34 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 50 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 53 &native_type_, static_cast<ULONG>(for_at_least.count() + 1)); in try_acquire_for()
|
D | timed_mutex.cc | 29 bool TimedMutex::try_lock_for(SystemClock::duration for_at_least) { in try_lock_for() argument 34 if (for_at_least <= SystemClock::duration::zero()) { in try_lock_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in try_lock_for() 49 for_at_least -= kMaxTimeoutMinusOne; in try_lock_for() 52 tx_mutex_get(&native_type_, static_cast<ULONG>(for_at_least.count() + 1)); in try_lock_for()
|
D | binary_semaphore.cc | 29 bool BinarySemaphore::try_acquire_for(SystemClock::duration for_at_least) { in try_acquire_for() argument 34 if (for_at_least <= SystemClock::duration::zero()) { in try_acquire_for() 42 while (for_at_least > kMaxTimeoutMinusOne) { in try_acquire_for() 50 for_at_least -= kMaxTimeoutMinusOne; in try_acquire_for() 53 &native_type_, static_cast<ULONG>(for_at_least.count() + 1)); in try_acquire_for()
|
/external/pigweed/pw_thread/ |
D | sleep_facade_test_c.c | 20 void pw_this_thread_CallSleepFor(pw_chrono_SystemClock_Duration for_at_least) { in pw_this_thread_CallSleepFor() argument 21 pw_this_thread_SleepFor(for_at_least); in pw_this_thread_CallSleepFor()
|
D | sleep.cc | 20 pw_chrono_SystemClock_Duration for_at_least) { in pw_this_thread_SleepFor() argument 21 pw::this_thread::sleep_for(SystemClock::duration(for_at_least.ticks)); in pw_this_thread_SleepFor()
|
/external/pigweed/pw_sync_stl/public/pw_sync_stl/ |
D | timed_mutex_inline.h | 22 chrono::SystemClock::duration for_at_least) { in try_lock_for() argument 23 return native_handle().try_lock_for(for_at_least); in try_lock_for()
|
D | binary_semaphore_inline.h | 27 chrono::SystemClock::duration for_at_least) { in try_acquire_for() argument 34 return try_acquire_until(chrono::SystemClock::now() + for_at_least); in try_acquire_for()
|
D | counting_semaphore_inline.h | 29 chrono::SystemClock::duration for_at_least) { in try_acquire_for() argument 31 return try_acquire_until(chrono::SystemClock::now() + for_at_least); in try_acquire_for()
|
/external/pigweed/pw_thread/public/pw_thread/ |
D | sleep.h | 32 void sleep_for(chrono::SystemClock::duration for_at_least); 56 void pw_this_thread_SleepFor(pw_chrono_SystemClock_Duration for_at_least);
|
/external/pigweed/pw_sync/ |
D | timed_mutex_facade_test_c.c | 31 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_TimedMutex_CallTryLockFor() argument 32 return pw_sync_TimedMutex_TryLockFor(mutex, for_at_least); in pw_sync_TimedMutex_CallTryLockFor()
|
D | binary_semaphore_facade_test_c.c | 37 pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_BinarySemaphore_CallTryAcquireFor() argument 38 return pw_sync_BinarySemaphore_TryAcquireFor(semaphore, for_at_least); in pw_sync_BinarySemaphore_CallTryAcquireFor()
|
D | counting_semaphore_facade_test_c.c | 44 pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_CountingSemaphore_CallTryAcquireFor() argument 45 return pw_sync_CountingSemaphore_TryAcquireFor(semaphore, for_at_least); in pw_sync_CountingSemaphore_CallTryAcquireFor()
|
D | timed_mutex.cc | 28 pw_sync_TimedMutex* mutex, pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_TimedMutex_TryLockFor() argument 29 return mutex->try_lock_for(SystemClock::duration(for_at_least.ticks)); in pw_sync_TimedMutex_TryLockFor()
|
D | binary_semaphore.cc | 36 pw_chrono_SystemClock_Duration for_at_least) { in pw_sync_BinarySemaphore_TryAcquireFor() argument 37 return semaphore->try_acquire_for(SystemClock::duration(for_at_least.ticks)); in pw_sync_BinarySemaphore_TryAcquireFor()
|