Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/tests/
Dtest_entries.toml51 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 …]
Dtest_move.toml44 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 …]
Dtest_files.toml15 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 …]
Dtest_attrs.toml72 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;
Dtest_interspersed.toml45 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;
Dtest_exhaustion.toml57 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;
Dtest_badblocks.toml63 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;
Dtest_alloc.toml37 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;
Dtest_truncate.toml31 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;
Dtest_evil.toml69 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;
Dtest_seek.toml25 lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY) => 0;
318 err = lfs_file_open(&lfs, &file, "kitty", LFS_O_RDONLY);
Dtest_dirs.toml664 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/
Dlfs.h127 LFS_O_RDONLY = 1, // Open a file as read only enumerator
Dlfs.c2853 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);