Searched refs:Z_CLAMP (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/tests/unit/util/ |
D | test.inc | 206 /* Test checks if @ref Z_MAX, @ref Z_MIN and @ref Z_CLAMP return correct result 219 zassert_equal(Z_CLAMP(inc_func(), 1, 3), 3, "Unexpected macro result"); 220 /* Z_CLAMP should have call inc_func only once */ 223 zassert_equal(Z_CLAMP(inc_func(), 10, 15), 10, 225 /* Z_CLAMP should have call inc_func only once */
|
/Zephyr-Core-2.7.6/include/toolchain/ |
D | gcc.h | 550 #define Z_CLAMP(val, low, high) ({ \ macro
|