Lines Matching refs:buffer

11     uint8_t buffer[lfs_max(READ, PROG)];
17 buffer[j] = (i+j) % 251;
19 cfg->prog(cfg, 0, i, buffer, PROG) => 0;
24 cfg->read(cfg, 0, i, buffer, READ) => 0;
27 LFS_ASSERT(buffer[j] == (i+j) % 251);
36 uint8_t buffer[lfs_max(READ, PROG)];
44 buffer[j] = (block+i+j) % 251;
46 cfg->prog(cfg, block, i, buffer, PROG) => 0;
52 cfg->read(cfg, block, i, buffer, READ) => 0;
55 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
64 buffer[j] = (block+i+j) % 251;
66 cfg->prog(cfg, block, i, buffer, PROG) => 0;
72 cfg->read(cfg, block, i, buffer, READ) => 0;
75 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
82 cfg->read(cfg, block, i, buffer, READ) => 0;
85 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
94 uint8_t buffer[lfs_max(READ, PROG)];
102 buffer[j] = (block+i+j) % 251;
104 cfg->prog(cfg, block, i, buffer, PROG) => 0;
110 cfg->read(cfg, block, i, buffer, READ) => 0;
113 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
122 buffer[j] = (block+i+j) % 251;
124 cfg->prog(cfg, block, i, buffer, PROG) => 0;
130 cfg->read(cfg, block, i, buffer, READ) => 0;
133 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
140 cfg->read(cfg, block, i, buffer, READ) => 0;
143 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
152 uint8_t buffer[lfs_max(READ, PROG)];
161 buffer[j] = (block+i+j) % 251;
163 cfg->prog(cfg, block, i, buffer, PROG) => 0;
168 cfg->read(cfg, block, i, buffer, READ) => 0;
171 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
183 cfg->read(cfg, block, i, buffer, READ) => 0;
186 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
198 uint8_t buffer[lfs_max(READ, PROG)];
208 buffer[j] = (block+i+j) % 251;
210 cfg->prog(cfg, block, i, buffer, PROG) => 0;
215 cfg->read(cfg, block, i, buffer, READ) => 0;
218 LFS_ASSERT(buffer[j] == (block+i+j) % 251);
233 cfg->read(cfg, block, i, buffer, READ) => 0;
236 LFS_ASSERT(buffer[j] == (block+i+j) % 251);