Home
last modified time | relevance | path

Searched refs:var_cnt (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/subsys/fs/fcb/src/
Dfcb_test_reset.c17 int var_cnt; in ZTEST() local
21 var_cnt = 0; in ZTEST()
22 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
24 zassert_true(var_cnt == 0, in ZTEST()
33 var_cnt = 0; in ZTEST()
34 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
36 zassert_true(var_cnt == 0, in ZTEST()
52 var_cnt = 32; in ZTEST()
53 rc = fcb_walk(fcb, 0, fcb_test_data_walk_cb, &var_cnt); in ZTEST()
55 zassert_true(var_cnt == 33, in ZTEST()
[all …]
Dfcb_test_crc_disabled_after_enabled.c16 int var_cnt; in fcb_pretest_crc_disabled_after_enabled() local
41 var_cnt = 0; in fcb_pretest_crc_disabled_after_enabled()
42 rc = fcb_walk(&test_fcb_crc_disabled, 0, fcb_test_data_walk_cb, &var_cnt); in fcb_pretest_crc_disabled_after_enabled()
44 printk("var_cnt: %d", var_cnt); in fcb_pretest_crc_disabled_after_enabled()
45 zassert_true(var_cnt == sizeof(test_data), in fcb_pretest_crc_disabled_after_enabled()
Dfcb_test_append.c17 int var_cnt; in test_fcb_append() local
32 var_cnt = 0; in test_fcb_append()
33 rc = fcb_walk(_fcb, 0, fcb_test_data_walk_cb, &var_cnt); in test_fcb_append()
35 zassert_true(var_cnt == sizeof(test_data), in test_fcb_append()
Dmain.c86 int *var_cnt = (int *)arg; in fcb_test_data_walk_cb() local
90 zassert_true(len == *var_cnt, ""); in fcb_test_data_walk_cb()
101 (*var_cnt)++; in fcb_test_data_walk_cb()