Lines Matching refs:filling_id
536 uint16_t filling_id = 0; in ZTEST_F() local
545 len = nvs_write(&fixture->fs, filling_id, &filling_id, in ZTEST_F()
546 sizeof(filling_id)); in ZTEST_F()
550 zassert_true(len == sizeof(filling_id), "nvs_write failed: %d", in ZTEST_F()
552 filling_id++; in ZTEST_F()
563 len = nvs_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
564 zassert_true(len == sizeof(filling_id), "nvs_write failed: %d", len); in ZTEST_F()
567 for (i = 0; i <= filling_id; i++) { in ZTEST_F()
588 uint16_t filling_id, data_read; in ZTEST_F() local
596 for (filling_id = 0; filling_id < 10; filling_id++) { in ZTEST_F()
597 len = nvs_write(&fixture->fs, filling_id, &filling_id, in ZTEST_F()
598 sizeof(filling_id)); in ZTEST_F()
600 zassert_true(len == sizeof(filling_id), "nvs_write failed: %d", in ZTEST_F()
603 if (filling_id != 0) { in ZTEST_F()
608 err = nvs_delete(&fixture->fs, filling_id); in ZTEST_F()
611 len = nvs_read(&fixture->fs, filling_id, &data_read, sizeof(data_read)); in ZTEST_F()
635 err = nvs_delete(&fixture->fs, filling_id); in ZTEST_F()