Searched refs:wr_buf_2 (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/subsys/fs/zms/src/ |
D | main.c | 168 char wr_buf_2[512]; in ZTEST_F() local 193 BUILD_ASSERT((sizeof(wr_buf_2) % sizeof(pattern_2)) == 0); in ZTEST_F() 194 for (int i = 0; i < sizeof(wr_buf_2); i += sizeof(pattern_2)) { in ZTEST_F() 195 memcpy(wr_buf_2 + i, pattern_2, sizeof(pattern_2)); in ZTEST_F() 211 len = zms_write(&fixture->fs, TEST_DATA_ID, wr_buf_2, sizeof(wr_buf_2)); in ZTEST_F() 212 zassert_true(len == sizeof(wr_buf_2), "zms_write failed: %d", len); in ZTEST_F() 222 zassert_true(memcmp(wr_buf_2, rd_buf, sizeof(rd_buf)) != 0, in ZTEST_F()
|
/Zephyr-latest/tests/subsys/fs/nvs/src/ |
D | main.c | 173 char wr_buf_2[512]; in ZTEST_F() local 199 BUILD_ASSERT((sizeof(wr_buf_2) % sizeof(pattern_2)) == 0); in ZTEST_F() 200 for (int i = 0; i < sizeof(wr_buf_2); i += sizeof(pattern_2)) { in ZTEST_F() 201 memcpy(wr_buf_2 + i, pattern_2, sizeof(pattern_2)); in ZTEST_F() 229 len = nvs_write(&fixture->fs, TEST_DATA_ID, wr_buf_2, sizeof(wr_buf_2)); in ZTEST_F() 230 zassert_true(len == sizeof(wr_buf_2), "nvs_write failed: %d", len); in ZTEST_F() 241 zassert_true(memcmp(wr_buf_2, rd_buf, sizeof(rd_buf)) != 0, in ZTEST_F()
|