Searched refs:PW_CHECK_OK (Results 1 – 8 of 8) sorted by relevance
/external/pigweed/pw_assert/ |
D | assert_backend_compile_test.cc | 209 PW_CHECK_OK(status); in TEST() 210 PW_CHECK_OK(status, "msg"); in TEST() 211 PW_CHECK_OK(status, "msg: %d", 5); in TEST() 219 PW_CHECK_OK(pw::OkStatus()); in TEST() 222 PW_CHECK_OK(MakeStatus(pw::OkStatus())); in TEST() 225 PW_CHECK_OK(PW_STATUS_OK); in TEST()
|
D | assert_facade_test.cc | 458 PW_CHECK_OK(status); in TEST_F() 464 PW_CHECK_OK(status, "msg"); in TEST_F() 470 PW_CHECK_OK(status, "msg: %d", 5); in TEST_F() 478 PW_CHECK_OK(DoTheThing()); in TEST_F() 486 TEST_F(AssertPass, Function) { PW_CHECK_OK(pw::OkStatus()); } in TEST_F() 487 TEST_F(AssertPass, Enum) { PW_CHECK_OK(PW_STATUS_OK); } in TEST_F() 488 TEST_F(AssertFail, Function) { PW_CHECK_OK(pw::Status::Unknown()); } in TEST_F() 489 TEST_F(AssertFail, Enum) { PW_CHECK_OK(PW_STATUS_UNKNOWN); } in TEST_F()
|
D | assert_backend_compile_test_c.c | 203 PW_CHECK_OK(PW_STATUS_OK); in AssertBackendCompileTestsInC() 204 PW_CHECK_OK(PW_STATUS_OK, "msg"); in AssertBackendCompileTestsInC() 205 PW_CHECK_OK(PW_STATUS_OK, "msg: %d", 5); in AssertBackendCompileTestsInC()
|
D | docs.rst | 151 Additionally, use ``PW_CHECK_OK(status)`` when checking for an OK status, 165 | ``PW_CHECK(Foo() == OkStatus())`` | ``PW_CHECK_OK(Foo())`` | 363 .. cpp:function:: PW_CHECK_OK(status) 364 .. cpp:function:: PW_CHECK_OK(status, format, ...) 378 PW_CHECK_OK(operation_status); 381 PW_CHECK_OK(DoTheThing(), "System state: %s", SystemState()); 385 PW_CHECK_OK(c_status, "System state: %s", SystemState()); 389 Using ``PW_CHECK_OK(status)`` instead of ``PW_CHECK(status == OkStatus())``
|
/external/pigweed/pw_assert/public/pw_assert/ |
D | short.h | 50 #define CHECK_OK PW_CHECK_OK
|
/external/pigweed/pw_assert/public/pw_assert/internal/ |
D | check_impl.h | 136 #define PW_CHECK_OK(status, ...) \ macro 149 PW_CHECK_OK(__VA_ARGS__)
|
/external/pigweed/pw_allocator/ |
D | freelist_heap.cc | 27 PW_CHECK_OK( in FreeListHeap()
|
/external/pigweed/pw_ring_buffer/ |
D | prefixed_entry_ring_buffer_test.cc | 424 PW_CHECK_OK(reader.PeekFront(aliased.buffer, &bytes_read)); in PeekFront()
|