Searched refs:r_cnt (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/lib/linear_range/src/ |
D | main.c | 38 static const size_t r_cnt = ARRAY_SIZE(r); 55 zassert_equal(linear_range_group_values_count(r, r_cnt), 13U); in ZTEST() 126 ret = linear_range_group_get_value(r, r_cnt, 0U, &val); in ZTEST() 130 ret = linear_range_group_get_value(r, r_cnt, 1U, &val); in ZTEST() 134 ret = linear_range_group_get_value(r, r_cnt, 2U, &val); in ZTEST() 138 ret = linear_range_group_get_value(r, r_cnt, 3U, &val); in ZTEST() 142 ret = linear_range_group_get_value(r, r_cnt, 4U, &val); in ZTEST() 146 ret = linear_range_group_get_value(r, r_cnt, 5U, &val); in ZTEST() 150 ret = linear_range_group_get_value(r, r_cnt, 6U, &val); in ZTEST() 154 ret = linear_range_group_get_value(r, r_cnt, 7U, &val); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/sys/ |
D | linear_range.h | 109 const struct linear_range *r, size_t r_cnt) in linear_range_group_values_count() argument 113 for (size_t i = 0U; i < r_cnt; i++) { in linear_range_group_values_count() 166 size_t r_cnt, uint16_t idx, in linear_range_group_get_value() argument 171 for (size_t i = 0U; (ret != 0) && (i < r_cnt); i++) { in linear_range_group_get_value() 232 size_t r_cnt, int32_t val, in linear_range_group_get_index() argument 235 for (size_t i = 0U; i < r_cnt; i++) { in linear_range_group_get_index() 237 (i < (r_cnt - 1U))) { in linear_range_group_get_index() 319 size_t r_cnt, in linear_range_group_get_win_index() argument 324 for (size_t i = 0U; i < r_cnt; i++) { in linear_range_group_get_win_index()
|