/littlefs-3.5.0-3.4.0/tests/ |
D | test_entries.toml | 51 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 67 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 74 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 81 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 88 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 140 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 156 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 163 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 170 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 177 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; [all …]
|
D | test_move.toml | 44 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 45 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 46 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 54 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 135 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 136 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 137 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0; 145 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; 227 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => 0; 235 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT; [all …]
|
D | test_files.toml | 15 lfs_file_open(&lfs, &file, "hello", LFS_O_RDONLY) => 0; 45 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 84 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 114 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 166 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 196 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 243 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 273 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; 299 err = lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY); 321 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0; [all …]
|
D | test_attrs.toml | 72 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0; 149 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0; 181 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0; 192 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0; 204 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0; 216 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0; 236 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0; 250 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg3) => 0; 256 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
|
D | test_interspersed.toml | 45 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0; 105 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0; 161 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0; 162 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0; 229 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
|
D | test_exhaustion.toml | 57 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 139 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 230 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 319 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 404 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
|
D | test_badblocks.toml | 63 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0; 137 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0; 210 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
|
D | test_alloc.toml | 37 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 76 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 122 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 173 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0; 220 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY); 267 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY); 397 lfs_file_open(&lfs, &file, "pacman", LFS_O_RDONLY) => 0;
|
D | test_truncate.toml | 31 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0; 82 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0; 185 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0; 210 err = lfs_file_open(&lfs, &file, "baldy", LFS_O_RDONLY); 374 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
|
D | test_evil.toml | 69 LFS_O_RDONLY) => LFS_ERR_CORRUPT; 112 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0; 173 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
|
D | test_seek.toml | 25 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0; 318 err = lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY);
|
D | test_dirs.toml | 664 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT; 665 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR; 674 lfs_file_open(&lfs, &file, "/", LFS_O_RDONLY) => LFS_ERR_ISDIR;
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.h | 127 LFS_O_RDONLY = 1, // Open a file as read only enumerator
|
D | lfs.c | 2853 LFS_ASSERT((flags & LFS_O_RDONLY) == LFS_O_RDONLY); 2934 if ((file->flags & LFS_O_RDONLY) == LFS_O_RDONLY) { 3135 .flags = LFS_O_RDONLY, 3314 LFS_ASSERT((file->flags & LFS_O_RDONLY) == LFS_O_RDONLY);
|