Lines Matching refs:filling_id
464 uint32_t filling_id = 0; in ZTEST_F() local
473 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
477 zassert_true(len == sizeof(filling_id), "zms_write failed: %d", len); in ZTEST_F()
478 filling_id++; in ZTEST_F()
489 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
490 zassert_true(len == sizeof(filling_id), "zms_write failed: %d", len); in ZTEST_F()
493 for (int i = 0; i <= filling_id; i++) { in ZTEST_F()
511 uint32_t filling_id; in ZTEST_F() local
521 for (filling_id = 0; filling_id < 10; filling_id++) { in ZTEST_F()
522 len = zms_write(&fixture->fs, filling_id, &filling_id, sizeof(filling_id)); in ZTEST_F()
524 zassert_true(len == sizeof(filling_id), "zms_write failed: %d", len); in ZTEST_F()
526 if (filling_id != 0) { in ZTEST_F()
531 err = zms_delete(&fixture->fs, filling_id); in ZTEST_F()
534 len = zms_read(&fixture->fs, filling_id, &data_read, sizeof(data_read)); in ZTEST_F()
557 err = zms_delete(&fixture->fs, filling_id); in ZTEST_F()