Home
last modified time | relevance | path

Searched refs:PW_CHECK_INT_LE (Results 1 – 7 of 7) sorted by relevance

/external/pigweed/pw_assert/
Dassert_backend_compile_test_c.c94 PW_CHECK_INT_LE(x_int, y_int); in AssertBackendCompileTestsInC()
95 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED); in AssertBackendCompileTestsInC()
96 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED_ARGS, z); in AssertBackendCompileTestsInC()
164 PW_CHECK_INT_LE(Add3(1, 2, 3), y_int); in AssertBackendCompileTestsInC()
165 PW_CHECK_INT_LE(x_int, Add3(1, 2, 3)); in AssertBackendCompileTestsInC()
167 PW_CHECK_INT_LE(Add3(1, 2, 3), y_int, FAIL_IF_DISPLAYED); in AssertBackendCompileTestsInC()
168 PW_CHECK_INT_LE(x_int, Add3(1, 2, 3), FAIL_IF_DISPLAYED_ARGS, z); in AssertBackendCompileTestsInC()
170 PW_CHECK_INT_LE(Add3(1, 2, 3), Add3(1, 2, 3), "INT: " FAIL_IF_DISPLAYED); in AssertBackendCompileTestsInC()
171 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED_ARGS, z); in AssertBackendCompileTestsInC()
Dassert_backend_compile_test.cc95 PW_CHECK_INT_LE(x_int, y_int); in TEST()
96 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED); in TEST()
97 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED_ARGS, z); in TEST()
164 PW_CHECK_INT_LE(Add3(1, 2, 3), y_int); in TEST()
165 PW_CHECK_INT_LE(x_int, Add3(1, 2, 3)); in TEST()
167 PW_CHECK_INT_LE(Add3(1, 2, 3), y_int, FAIL_IF_DISPLAYED); in TEST()
168 PW_CHECK_INT_LE(x_int, Add3(1, 2, 3), FAIL_IF_DISPLAYED_ARGS, z); in TEST()
170 PW_CHECK_INT_LE(Add3(1, 2, 3), Add3(1, 2, 3), "INT: " FAIL_IF_DISPLAYED); in TEST()
171 PW_CHECK_INT_LE(x_int, y_int, "INT: " FAIL_IF_DISPLAYED_ARGS, z); in TEST()
Dassert_facade_test.cc110 TEST_F(AssertPass, IntLe1) { PW_CHECK_INT_LE(-1, 2); } in TEST_F()
111 TEST_F(AssertPass, IntLe2) { PW_CHECK_INT_LE(1, 2); } in TEST_F()
112 TEST_F(AssertFail, IntLe3) { PW_CHECK_INT_LE(-1, -2); } in TEST_F()
113 TEST_F(AssertPass, IntLe4) { PW_CHECK_INT_LE(1, 1); } in TEST_F()
Ddocs.rst37 PW_CHECK_INT_LE(ItemCount(), 100);
38 PW_CHECK_INT_LE(ItemCount(), 100, "System state: %s", GetStateStr());
52 PW_CHECK_INT_LE(temperature_c, 100,
67 PW_CHECK_INT_LE(ItemCount(), 100);
205 PW_CHECK_INT_LE(CurrentTemperature(), 100);
206 PW_CHECK_INT_LE(ItemCount(), 100);
222 | PW_CHECK_INT_LE | int | a <= b | %d |
529 PW_CHECK_INT_LE(temp, MAX_TEMP, "Got too hot; state: %s", GetSystemState());
655 capturing values led to the choice of having ``PW_CHECK_INT_LE(a, b)`` instead
663 ``PW_CHECK_INT_LE(a, b)`` or ``PW_CHECK_FLOAT_EXACT_LE(a, b)`` is that to
/external/pigweed/pw_assert/public/pw_assert/
Dshort.h31 #define CHECK_INT_LE PW_CHECK_INT_LE
/external/pigweed/pw_assert/public/pw_assert/internal/
Dcheck_impl.h55 #define PW_CHECK_INT_LE(arga, argb, ...) _PW_CHECK_BINARY_CMP_IMPL(arga, <=, argb, int, "%d", __VA_… macro
63 #define PW_DCHECK_INT_LE(...) if (!(PW_ASSERT_ENABLE_DEBUG)) {} else PW_CHECK_INT_LE(__VA_ARGS__)
/external/pigweed/pw_metric/
Dmetric_service_nanopb.cc48 PW_CHECK_INT_LE(path.size(), proto_path.size()); in Write()