Searched refs:elem_cnts (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/tests/subsys/fs/fcb/src/ |
D | fcb_test_append_fill.c | 17 int elem_cnts[2] = {0, 0}; in ZTEST() local 20 .elem_cnts = aa_together_cnts in ZTEST() 24 .elem_cnts = aa_separate_cnts in ZTEST() 39 elem_cnts[0]++; in ZTEST() 41 elem_cnts[1]++; in ZTEST() 54 zassert_true(elem_cnts[0] > 0, in ZTEST() 56 zassert_true(elem_cnts[0] == elem_cnts[1], in ZTEST() 62 zassert_true(aa_together.elem_cnts[0] == elem_cnts[0], in ZTEST() 64 zassert_true(aa_together.elem_cnts[1] == elem_cnts[1], in ZTEST() 74 zassert_true(aa_separate.elem_cnts[0] == elem_cnts[0], in ZTEST() [all …]
|
D | fcb_test_rotate.c | 17 int elem_cnts[2] = {0, 0}; in ZTEST() local 20 .elem_cnts = cnts in ZTEST() 40 elem_cnts[0]++; in ZTEST() 42 elem_cnts[1]++; in ZTEST() 55 zassert_true(elem_cnts[0] > 0 && elem_cnts[0] == elem_cnts[1], in ZTEST() 67 zassert_true(aa_arg.elem_cnts[0] == elem_cnts[0] || in ZTEST() 68 aa_arg.elem_cnts[1] == elem_cnts[1], in ZTEST() 70 zassert_true(aa_arg.elem_cnts[0] == 0 || aa_arg.elem_cnts[1] == 0, in ZTEST() 95 zassert_true(aa_arg.elem_cnts[0] == 1 || aa_arg.elem_cnts[1] == 1, in ZTEST() 97 zassert_true(aa_arg.elem_cnts[0] == 0 || aa_arg.elem_cnts[1] == 0, in ZTEST()
|
D | fcb_test_multiple_scratch.c | 16 int elem_cnts[4]; in ZTEST() local 20 .elem_cnts = cnts in ZTEST() 30 (void)memset(elem_cnts, 0, sizeof(elem_cnts)); in ZTEST() 37 elem_cnts[idx]++; in ZTEST() 47 zassert_true(elem_cnts[0] > 0, "unexpected entry number was appended"); in ZTEST() 48 zassert_true(elem_cnts[0] == elem_cnts[1] && in ZTEST() 49 elem_cnts[0] == elem_cnts[2], in ZTEST() 51 zassert_true(elem_cnts[3] == 0, "unexpected entry number was appended"); in ZTEST() 65 elem_cnts[idx]++; in ZTEST() 74 zassert_true(elem_cnts[3] == elem_cnts[0], in ZTEST()
|
D | fcb_test.h | 34 int *elem_cnts; member
|
D | main.c | 109 aa->elem_cnts[idx]++; in fcb_test_cnt_elems_cb()
|