Searched refs:PW_CHECK (Results 1 – 13 of 13) sorted by relevance
/external/pigweed/pw_assert/ |
D | assert_backend_compile_test_c.c | 76 PW_CHECK(1); in AssertBackendCompileTestsInC() 77 PW_CHECK(0); in AssertBackendCompileTestsInC() 82 PW_CHECK(1, FAIL_IF_DISPLAYED); in AssertBackendCompileTestsInC() 83 PW_CHECK(1, FAIL_IF_DISPLAYED_ARGS, z); in AssertBackendCompileTestsInC() 85 PW_CHECK(0, FAIL_IF_HIDDEN); in AssertBackendCompileTestsInC() 86 PW_CHECK(0, FAIL_IF_HIDDEN_ARGS, z); in AssertBackendCompileTestsInC()
|
D | assert_backend_compile_test.cc | 77 PW_CHECK(true); in TEST() 78 PW_CHECK(false); in TEST() 83 PW_CHECK(true, FAIL_IF_DISPLAYED); in TEST() 84 PW_CHECK(true, FAIL_IF_DISPLAYED_ARGS, z); in TEST() 86 PW_CHECK(false, FAIL_IF_HIDDEN); in TEST() 87 PW_CHECK(false, FAIL_IF_HIDDEN_ARGS, z); in TEST()
|
D | assert_facade_test.cc | 60 TEST_F(AssertPass, CheckNoMessage) { PW_CHECK(true); } in TEST_F() 62 PW_CHECK(false); in TEST_F() 65 TEST_F(AssertPass, CheckNoMessageComplexExpression) { PW_CHECK(2 == 2); } in TEST_F() 67 PW_CHECK(1 == 2); in TEST_F() 72 TEST_F(AssertPass, CheckMessageNoArguments) { PW_CHECK(true, "Hello"); } in TEST_F() 74 PW_CHECK(false, "Hello"); in TEST_F() 77 TEST_F(AssertPass, CheckMessageWithArguments) { PW_CHECK(true, "Hello %d", 5); } in TEST_F() 79 PW_CHECK(false, "Hello %d", 5); in TEST_F() 355 PW_CHECK(IncrementsGlobal() == 0); in TEST() 360 PW_CHECK(IncrementsGlobal() == 1); in TEST()
|
D | docs.rst | 24 - **PW_CHECK(condition[, format, ...])** - Assert a condition, optionally with 49 PW_CHECK(sensor_running, "Sensor failed to start; code: %s", msg); 123 .. cpp:function:: PW_CHECK(condition) 124 .. cpp:function:: PW_CHECK(condition, format, ...) 138 PW_CHECK(StartTurbines()); 139 PW_CHECK(StartWarpDrive(), "Oddly warp drive couldn't start; ruh-roh!"); 140 PW_CHECK(RunSelfTest(), "Failure in self test; try %d", TestAttempts()); 144 Don't use use ``PW_CHECK`` for binary comparisons or status checks! 158 | ``PW_CHECK(a_int < b_int)`` | ``PW_CHECK_INT_LT(a_int, b_int)`` | 160 | ``PW_CHECK(a_ptr <= b_ptr)`` | ``PW_CHECK_PTR_LE(a_ptr, b_ptr)`` | [all …]
|
/external/pigweed/pw_thread_threadx/ |
D | thread.cc | 159 PW_CHECK(joinable()); in detach() 181 PW_CHECK(joinable()); in join() 182 PW_CHECK(this_thread::get_id() != get_id()); in join()
|
/external/pigweed/pw_thread_freertos/ |
D | thread.cc | 182 PW_CHECK(joinable()); in detach() 214 PW_CHECK(joinable()); in join() 215 PW_CHECK(this_thread::get_id() != get_id()); in join()
|
/external/pigweed/pw_sync_embos/ |
D | interrupt_spin_lock.cc | 25 PW_CHECK(!native_type_.locked.load(std::memory_order_relaxed), in lock()
|
/external/pigweed/pw_sync_threadx/ |
D | interrupt_spin_lock.cc | 30 PW_CHECK(!native_type_.locked.load(std::memory_order_relaxed), in lock()
|
/external/pigweed/pw_sync_freertos/ |
D | interrupt_spin_lock.cc | 30 PW_CHECK(!native_type_.locked.load(std::memory_order_relaxed), in lock()
|
/external/pigweed/pw_multisink/ |
D | multisink.cc | 44 PW_CHECK(drain.reader_.PopFront().ok()); in GetEntry()
|
/external/pigweed/pw_containers/ |
D | intrusive_list.cc | 44 PW_CHECK( in insert_after()
|
/external/pigweed/pw_assert/public/pw_assert/ |
D | short.h | 23 #define CHECK PW_CHECK
|
/external/pigweed/pw_assert/public/pw_assert/internal/ |
D | check_impl.h | 30 #define PW_CHECK(condition, ...) \ macro 41 PW_CHECK(__VA_ARGS__); \
|