Searched refs:res (Results 1 – 9 of 9) sorted by relevance
/littlefs-3.7.0-3.6.0/tests/ |
D | test_exhaustion.toml | 37 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 38 assert(res == 1 || res == LFS_ERR_NOSPC); 39 if (res == LFS_ERR_NOSPC) { 127 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 128 assert(res == 1 || res == LFS_ERR_NOSPC); 129 if (res == LFS_ERR_NOSPC) { 226 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); 227 assert(res == 1 || res == LFS_ERR_NOSPC); 228 if (res == LFS_ERR_NOSPC) { 323 lfs_ssize_t res = lfs_file_write(&lfs, &file, &c, 1); [all …]
|
D | test_alloc.toml | 247 lfs_ssize_t res; 249 res = lfs_file_write(&lfs, &file, buffer, size); 250 if (res < 0) { 254 res => size; 256 res => LFS_ERR_NOSPC; 301 lfs_ssize_t res; 303 res = lfs_file_write(&lfs, &file, buffer, size); 304 if (res < 0) { 308 res => size; 310 res => LFS_ERR_NOSPC; [all …]
|
D | test_relocations.toml | 200 int res = lfs_stat(&lfs, full_path, &info); 201 if (res == LFS_ERR_NOENT) { 269 int res = lfs_stat(&lfs, full_path, &info); 270 assert(!res || res == LFS_ERR_NOENT); 271 if (res == LFS_ERR_NOENT) { 300 res = lfs_stat(&lfs, new_path, &info); 301 assert(!res || res == LFS_ERR_NOENT); 302 if (res == LFS_ERR_NOENT) {
|
D | test_orphans.toml | 235 int res = lfs_stat(&lfs, full_path, &info); 236 if (res == LFS_ERR_NOENT) {
|
/littlefs-3.7.0-3.6.0/ |
D | lfs.c | 148 int res = memcmp(dat, data + i, diff); in lfs_bd_cmp() local 149 if (res) { in lfs_bd_cmp() 150 return res < 0 ? LFS_CMP_LT : LFS_CMP_GT; in lfs_bd_cmp() 194 int res = lfs_bd_cmp(lfs, in lfs_bd_flush() local 197 if (res < 0) { in lfs_bd_flush() 198 return res; in lfs_bd_flush() 201 if (res != LFS_CMP_EQ) { in lfs_bd_flush() 892 int res; in lfs_dir_traverse() local 921 res = 0; in lfs_dir_traverse() 1029 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse() [all …]
|
/littlefs-3.7.0-3.6.0/scripts/ |
D | prettyasserts.py | 316 res = [] 319 res.append(p.m) 321 res.append(p_exprs(p)) 323 res.append(p.m) 326 res.append(p.expect(')')) 330 res.append(p_assert(p)) 333 res.append(p.expect('assert')) 335 res.append(p.m) 337 return ''.join(res) 340 res = [] [all …]
|
/littlefs-3.7.0-3.6.0/bd/ |
D | lfs_emubd.c | 171 ssize_t res = write(bd->disk->fd, in lfs_emubd_create() local 174 if (res < 0) { in lfs_emubd_create()
|
/littlefs-3.7.0-3.6.0/runners/ |
D | bench_runner.c | 515 int res = vfprintf(bench_trace_file, fmt, va); in bench_trace() local 517 if (res < 0) { in bench_trace() 530 res = fprintf(bench_trace_file, "\tat %p\n", in bench_trace() 532 if (res < 0) { in bench_trace()
|
D | test_runner.c | 531 int res = vfprintf(test_trace_file, fmt, va); in test_trace() local 533 if (res < 0) { in test_trace() 546 res = fprintf(test_trace_file, "\tat %p\n", in test_trace() 548 if (res < 0) { in test_trace()
|