Home
last modified time | relevance | path

Searched refs:PW_DASSERT (Results 1 – 25 of 44) sorted by relevance

12

/external/pigweed/pw_sync_embos/public/pw_sync_embos/
Dmutex_inline.h29 PW_DASSERT(!interrupt::InInterruptContext()); in lock()
31 PW_DASSERT(lock_count == 1); // Recursive locking is not permitted. in lock()
36 PW_DASSERT(!interrupt::InInterruptContext()); in try_lock()
42 PW_DASSERT(OS_GetSemaValue(&native_type_) == 1); in try_lock()
48 PW_DASSERT(!interrupt::InInterruptContext()); in unlock()
/external/pigweed/pw_sync_zephyr/public/pw_sync_zephyr/
Dmutex_inline.h29 PW_DASSERT(!interrupt::InInterruptContext()); in lock()
31 PW_DASSERT(native_type_.lock_count == 1); in lock()
35 PW_DASSERT(!interrupt::InInterruptContext()); in try_lock()
38 PW_DASSERT(native_type_.lock_count <= 1); in try_lock()
44 PW_DASSERT(!interrupt::InInterruptContext()); in unlock()
Dbinary_semaphore_inline.h33 PW_DASSERT(!interrupt::InInterruptContext()); in release()
38 PW_DASSERT(!interrupt::InInterruptContext()); in acquire()
/external/pigweed/pw_sync_threadx/public/pw_sync_threadx/
Dmutex_inline.h48 PW_DASSERT(!interrupt::InInterruptContext()); in lock()
52 PW_DASSERT(backend::NotRecursivelyHeld(native_type_)); in lock()
57 PW_DASSERT(!interrupt::InInterruptContext()); in try_lock()
64 PW_DASSERT(backend::NotRecursivelyHeld(native_type_)); in try_lock()
70 PW_DASSERT(!interrupt::InInterruptContext()); in unlock()
/external/pigweed/pw_sync_freertos/public/pw_sync_freertos/
Dmutex_inline.h36 PW_DASSERT(handle == reinterpret_cast<SemaphoreHandle_t>(&native_type_)); in Mutex()
45 PW_DASSERT(!interrupt::InInterruptContext()); in lock()
49 PW_DASSERT(result == pdTRUE); in lock()
61 PW_DASSERT(!interrupt::InInterruptContext()); in try_lock()
68 PW_DASSERT(!interrupt::InInterruptContext()); in unlock()
Dcounting_semaphore_inline.h31 PW_DASSERT(handle == reinterpret_cast<SemaphoreHandle_t>(&native_type_)); in CountingSemaphore()
40 PW_DASSERT(!interrupt::InInterruptContext()); in acquire()
44 PW_DASSERT(result == pdTRUE); in acquire()
Dbinary_semaphore_inline.h30 PW_DASSERT(handle == reinterpret_cast<SemaphoreHandle_t>(&native_type_)); in BinarySemaphore()
51 PW_DASSERT(!interrupt::InInterruptContext()); in acquire()
55 PW_DASSERT(result == pdTRUE); in acquire()
/external/pigweed/pw_containers/public/pw_containers/
Dvector.h263 PW_DASSERT(index < size());
267 PW_DASSERT(index < size());
493 PW_DASSERT(index >= cbegin()); in insert()
494 PW_DASSERT(index <= cend()); in insert()
495 PW_DASSERT(!full()); in insert()
516 PW_DASSERT(index >= cbegin()); in insert()
517 PW_DASSERT(index <= cend()); in insert()
518 PW_DASSERT(!full()); in insert()
526 PW_DASSERT(size() + insertion_count <= max_size()); in insert()
549 PW_DASSERT(index >= cbegin()); in insert()
[all …]
/external/pigweed/pw_string/public/pw_string/
Dutil.h78 PW_DASSERT(str.data() != nullptr); in NullTerminatedLength()
116 PW_DASSERT(source != nullptr); in Copy()
143 PW_DASSERT(c_string != nullptr); in Assign()
163 PW_DASSERT(c_string != nullptr); in Append()
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dencoding_buffer.h66 ~DynamicEncodingBuffer() { PW_DASSERT(buffer_.empty()); } in ~DynamicEncodingBuffer()
85 PW_DASSERT(!buffer_.empty()); in Release()
100 PW_DASSERT(buffer_.empty()); in Allocate()
/external/pigweed/pw_thread_embos/public/pw_thread_embos/
Did_inline.h25 PW_DASSERT(!interrupt::InInterruptContext()); in get_id()
28 PW_DASSERT(OS_IsRunning() != 0); in get_id()
Doptions.h62 PW_DASSERT(priority >= config::kMinimumPriority); in set_priority()
74 PW_DASSERT(time_slice_interval <= 255); in set_time_slice_interval()
Dyield_inline.h24 PW_DASSERT(get_id() != thread::Id()); in yield()
/external/pigweed/pw_thread_freertos/public/pw_thread_freertos/
Did_inline.h26 PW_DASSERT(!interrupt::InInterruptContext()); in get_id()
30 PW_DASSERT(xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED); in get_id()
Doptions.h66 PW_DASSERT(priority <= config::kMaximumPriority); in set_priority()
76 PW_DASSERT(size_words >= config::kMinimumStackSizeWords); in set_stack_size()
Dyield_inline.h28 PW_DASSERT(get_id() != thread::Id()); in yield()
/external/pigweed/pw_assert/
Dassert_test.cc30 PW_DASSERT(++evaluated); in TEST()
60 PW_DASSERT(false); in TEST()
Dassert_backend_compile_test_c.c217 PW_DASSERT(true); in AssertBackendCompileTestsInC()
218 PW_DASSERT(123 != 456); in AssertBackendCompileTestsInC()
/external/pigweed/pw_work_queue/public/pw_work_queue/internal/
Dcircular_buffer.h39 PW_DASSERT(tail_ < buffer_.size()); in Push()
52 PW_DASSERT(head_ < buffer_.size()); in Pop()
/external/pigweed/pw_thread_threadx/public/pw_thread_threadx/
Doptions.h69 PW_DASSERT(priority <= PW_THREAD_THREADX_CONFIG_MIN_PRIORITY); in set_priority()
94 PW_DASSERT(preemption_threshold < PW_THREAD_THREADX_CONFIG_MIN_PRIORITY); in set_preemption_threshold()
Dyield_inline.h24 PW_DASSERT(get_id() != thread::Id()); in yield()
Did_inline.h28 PW_DASSERT(TX_THREAD_GET_SYSTEM_STATE() == 0); in get_id()
/external/pigweed/pw_protobuf/public/pw_protobuf/
Dwire_format.h69 PW_DASSERT(ValidFieldNumber(field_number)); in FieldKey()
76 PW_DASSERT(ValidFieldNumber(field_number())); in FieldKey()
/external/pigweed/pw_transfer/public/pw_transfer/internal/
Dcontext.h60 PW_DASSERT(extend_window_divisor > 1); in set_extend_window_divisor()
197 PW_DASSERT(active() && type() == TransferType::kTransmit); in reader()
202 PW_DASSERT(active() && type() == TransferType::kReceive); in writer()
/external/pigweed/pw_transfer/
Dclient_context.cc22 PW_DASSERT(active()); in FinalCleanup()

12