Home
last modified time | relevance | path

Searched refs:PW_DCHECK (Results 1 – 25 of 27) sorted by relevance

12

/external/pigweed/pw_metric/
Dmetric.cc63 PW_DCHECK(is_float()); in as_float()
68 PW_DCHECK(is_int()); in as_int()
73 PW_DCHECK(is_int()); in Increment()
78 PW_DCHECK(is_int()); in SetInt()
83 PW_DCHECK(is_float()); in SetFloat()
/external/pigweed/pw_allocator/
Dblock.cc170 PW_DCHECK(false, "The block at address %p is not aligned.", this); in CrashIfInvalid()
173 PW_DCHECK(false, in CrashIfInvalid()
180 PW_DCHECK(false, in CrashIfInvalid()
187 PW_DCHECK( in CrashIfInvalid()
Dfreelist_heap.cc190 PW_DCHECK(false, "You tried to free an invalid pointer!"); in InvalidFreeCrash()
Ddocs.rst22 why sanity check fails using ``PW_DCHECK``.
/external/pigweed/pw_rpc/
Dbase_server_writer.cc72 PW_DCHECK(open()); in AcquirePayloadBuffer()
84 PW_DCHECK(open()); in ReleasePayloadBuffer()
89 PW_DCHECK(open()); in ReleasePayloadBuffer()
/external/pigweed/pw_blob_store/
Dblob_store.cc153 PW_DCHECK(WriteBufferEmpty()); in CloseWrite()
241 PW_DCHECK(data.size_bytes() == 0); in Write()
250 PW_DCHECK(WriteBufferEmpty()); in Write()
259 PW_DCHECK(WriteBufferEmpty()); in Write()
274 PW_DCHECK(WriteBufferEmpty()); in Write()
442 PW_DCHECK(valid_data_); in Erase()
/external/pigweed/pw_multisink/
Dmultisink.cc49 PW_DCHECK(drain.multisink_ == nullptr); in AttachDrain()
56 PW_DCHECK(drain.multisink_ == this); in DetachDrain()
/external/pigweed/pw_assert/
Dassert_backend_compile_test_c.c152 PW_DCHECK(5 == 10); in AssertBackendCompileTestsInC()
153 PW_DCHECK(5 == 10, "Message"); in AssertBackendCompileTestsInC()
154 PW_DCHECK(5 == 10, "Message: %d", 5); in AssertBackendCompileTestsInC()
Dassert_backend_compile_test.cc150 PW_DCHECK(5 == 10); in TEST()
151 PW_DCHECK(5 == 10, "Message"); in TEST()
152 PW_DCHECK(5 == 10, "Message: %d", 5); in TEST()
Dassert_facade_test.cc390 PW_DCHECK(IncrementsGlobal() == 0); in TEST()
395 PW_DCHECK(IncrementsGlobal() == 1); in TEST()
425 PW_DCHECK(IncrementsGlobal() == 0); in TEST()
430 PW_DCHECK(IncrementsGlobal() == 1); in TEST()
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dchannel.h41 ~OutputBuffer() { PW_DCHECK(buffer_.empty()); } in ~OutputBuffer()
46 PW_DCHECK(buffer_.empty());
/external/pigweed/pw_thread_freertos/
Dsleep.cc31 PW_DCHECK(get_id() != thread::Id()); in sleep_for()
/external/pigweed/pw_thread_embos/
Dsleep.cc30 PW_DCHECK(get_id() != thread::Id()); in sleep_for()
/external/pigweed/pw_sync_embos/
Dbinary_semaphore.cc30 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
Dtimed_mutex.cc30 PW_DCHECK(!interrupt::InInterruptContext()); in try_lock_for()
Dcounting_semaphore.cc44 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
/external/pigweed/pw_sync_freertos/
Dtimed_mutex.cc31 PW_DCHECK(!interrupt::InInterruptContext()); in try_lock_for()
Dbinary_semaphore.cc37 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
Dcounting_semaphore.cc57 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
/external/pigweed/pw_thread_threadx/
Dsleep.cc30 PW_DCHECK(get_id() != thread::Id()); in sleep_for()
Dthread.cc121 PW_DCHECK(!native_type_->in_use()); in Thread()
/external/pigweed/pw_sync_threadx/
Dcounting_semaphore.cc31 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
Dtimed_mutex.cc31 PW_DCHECK(!interrupt::InInterruptContext()); in try_lock_for()
Dbinary_semaphore.cc31 PW_DCHECK(!interrupt::InInterruptContext()); in try_acquire_for()
/external/pigweed/pw_assert/public/pw_assert/
Dshort.h53 #define DCHECK PW_DCHECK

12