Home
last modified time | relevance | path

Searched refs:LFS_O_RDONLY (Results 1 – 19 of 19) sorted by relevance

/littlefs-3.7.0-3.6.0/tests/
Dtest_entries.toml55 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
71 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
78 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
85 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
92 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
148 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
164 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
171 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
178 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
185 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
[all …]
Dtest_move.toml48 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
49 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
50 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
59 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
146 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
147 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
148 lfs_file_open(&lfs, &file, "c/hello", LFS_O_RDONLY) => 0;
156 lfs_file_open(&lfs, &file, "d/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
243 lfs_file_open(&lfs, &file, "a/hello", LFS_O_RDONLY) => 0;
251 lfs_file_open(&lfs, &file, "b/hello", LFS_O_RDONLY) => LFS_ERR_NOENT;
[all …]
Dtest_files.toml18 lfs_file_open(&lfs, &file, "hello", LFS_O_RDONLY) => 0;
51 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
93 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
123 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
178 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
208 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
258 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
288 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
317 err = lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY);
339 lfs_file_open(&lfs, &file, "avacado", LFS_O_RDONLY) => 0;
[all …]
Dtest_attrs.toml75 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
155 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
190 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
201 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
213 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
225 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
245 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg1) => 0;
259 lfs_file_opencfg(&lfs, &file, "hello/hello", LFS_O_RDONLY, &cfg3) => 0;
265 lfs_file_open(&lfs, &file, "hello/hello", LFS_O_RDONLY) => 0;
Dtest_powerloss.toml26 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
55 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
73 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
119 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
151 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
169 lfs_file_open(&lfs, &file, "notebook/paper", LFS_O_RDONLY) => 0;
Dtest_interspersed.toml51 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
119 lfs_file_open(&lfs, &file, "zzz", LFS_O_RDONLY) => 0;
179 lfs_file_open(&lfs, &files[0], "e", LFS_O_RDONLY) => 0;
180 lfs_file_open(&lfs, &files[1], "g", LFS_O_RDONLY) => 0;
254 lfs_file_open(&lfs, &files[j], path, LFS_O_RDONLY) => 0;
Dtest_exhaustion.toml63 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
153 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
252 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
349 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
442 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
Dtest_alloc.toml46 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
97 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
149 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
209 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
265 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
319 lfs_file_open(&lfs, &file, "exhaustion", LFS_O_RDONLY);
462 lfs_file_open(&lfs, &file, "pacman", LFS_O_RDONLY) => 0;
Dtest_badblocks.toml69 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
149 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
228 lfs_file_open(&lfs, &file, (char*)buffer, LFS_O_RDONLY) => 0;
Dtest_truncate.toml37 lfs_file_open(&lfs, &file, "baldynoop", LFS_O_RDONLY) => 0;
96 lfs_file_open(&lfs, &file, "baldyread", LFS_O_RDONLY) => 0;
213 lfs_file_open(&lfs, &file, "baldywrite", LFS_O_RDONLY) => 0;
242 err = lfs_file_open(&lfs, &file, "baldy", LFS_O_RDONLY);
425 lfs_file_open(&lfs, &file, path, LFS_O_RDONLY) => 0;
Dtest_evil.toml75 LFS_O_RDONLY) => LFS_ERR_CORRUPT;
122 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
187 lfs_file_open(&lfs, &file, "file_here", LFS_O_RDONLY) => 0;
Dtest_superblocks.toml257 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
312 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
460 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
Dtest_compat.toml44 #define LFSP_O_RDONLY LFS_O_RDONLY
224 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
341 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
528 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
677 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
1408 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
1443 lfs_file_open(&lfs, &file, "test", LFS_O_RDONLY) => 0;
Dtest_seek.toml29 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
341 err = lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY);
Dtest_dirs.toml743 lfs_file_open(&lfs, &file, "tomato", LFS_O_RDONLY) => LFS_ERR_NOENT;
744 lfs_file_open(&lfs, &file, "potato", LFS_O_RDONLY) => LFS_ERR_ISDIR;
753 lfs_file_open(&lfs, &file, "/", LFS_O_RDONLY) => LFS_ERR_ISDIR;
/littlefs-3.7.0-3.6.0/benches/
Dbench_file.toml32 lfs_file_open(&lfs, &file, "file", LFS_O_RDONLY) => 0;
Dbench_dir.toml44 lfs_file_open(&lfs, &file, name, LFS_O_RDONLY) => 0;
/littlefs-3.7.0-3.6.0/
Dlfs.h127 LFS_O_RDONLY = 1, // Open a file as read only enumerator
Dlfs.c3024 LFS_ASSERT((flags & LFS_O_RDONLY) == LFS_O_RDONLY);
3105 if ((file->flags & LFS_O_RDONLY) == LFS_O_RDONLY) {
3308 .flags = LFS_O_RDONLY,
3487 LFS_ASSERT((file->flags & LFS_O_RDONLY) == LFS_O_RDONLY);