Home
last modified time | relevance | path

Searched refs:lfs_stat (Results 1 – 11 of 11) sorted by relevance

/littlefs-latest/tests/
Dtest_paths.toml43 lfs_stat(&lfs, "coffee/drip", &info) => 0;
46 lfs_stat(&lfs, "coffee/coldbrew", &info) => 0;
49 lfs_stat(&lfs, "coffee/turkish", &info) => 0;
52 lfs_stat(&lfs, "coffee/tubruk", &info) => 0;
55 lfs_stat(&lfs, "coffee/vietnamese", &info) => 0;
58 lfs_stat(&lfs, "coffee/thai", &info) => 0;
204 lfs_stat(&lfs, "espresso/espresso", &info) => 0;
207 lfs_stat(&lfs, "espresso/americano", &info) => 0;
210 lfs_stat(&lfs, "espresso/macchiato", &info) => 0;
213 lfs_stat(&lfs, "espresso/latte", &info) => 0;
[all …]
Dtest_orphans.toml36 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
37 lfs_stat(&lfs, "parent/child", &info) => 0;
42 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
43 lfs_stat(&lfs, "parent/child", &info) => 0;
48 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
49 lfs_stat(&lfs, "parent/child", &info) => 0;
50 lfs_stat(&lfs, "parent/otherchild", &info) => 0;
55 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
56 lfs_stat(&lfs, "parent/child", &info) => 0;
57 lfs_stat(&lfs, "parent/otherchild", &info) => 0;
[all …]
Dtest_relocations.toml200 int res = lfs_stat(&lfs, full_path, &info);
215 lfs_stat(&lfs, path, &info) => 0;
233 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
269 int res = lfs_stat(&lfs, full_path, &info);
285 lfs_stat(&lfs, path, &info) => 0;
300 res = lfs_stat(&lfs, new_path, &info);
321 lfs_stat(&lfs, path, &info) => 0;
326 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
338 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
Dtest_superblocks.toml135 lfs_stat(&lfs, "dummy", &info) => 0;
149 lfs_stat(&lfs, "dummy", &info) => 0;
169 lfs_stat(&lfs, "dummy", &info) => 0;
199 int err = lfs_stat(&lfs, "dummy", &info);
211 lfs_stat(&lfs, "dummy", &info) => 0;
220 lfs_stat(&lfs, "dummy", &info) => 0;
246 err = lfs_stat(&lfs, "dummy", &info);
258 lfs_stat(&lfs, "dummy", &info) => 0;
268 lfs_stat(&lfs, "dummy", &info) => 0;
547 lfs_stat(&lfs, name, &info) => 0;
Dtest_move.toml75 lfs_stat(&lfs, "hi/hi/hi", &info) => 0;
386 if (lfs_stat(&lfs, "a/hello", &info) == 0) {
392 if (lfs_stat(&lfs, "b/hello", &info) == 0) {
398 if (lfs_stat(&lfs, "c/hello", &info) == 0) {
404 if (lfs_stat(&lfs, "d/hello", &info) == 0) {
414 if (lfs_stat(&lfs, "a/hello", &info) == 0 && info.size > 0) {
416 } else if (lfs_stat(&lfs, "b/hello", &info) == 0) {
418 } else if (lfs_stat(&lfs, "c/hello", &info) == 0) {
420 } else if (lfs_stat(&lfs, "d/hello", &info) == 0) {
872 if (lfs_stat(&lfs, "a/hi", &info) == 0) {
[all …]
Dtest_exhaustion.toml86 lfs_stat(&lfs, path, &info) => 0;
176 lfs_stat(&lfs, path, &info) => 0;
275 lfs_stat(&lfs, path, &info) => 0;
372 lfs_stat(&lfs, path, &info) => 0;
465 lfs_stat(&lfs, path, &info) => 0;
Dtest_evil.toml65 lfs_stat(&lfs, "dir_here", &info) => 0;
71 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
117 lfs_stat(&lfs, "file_here", &info) => 0;
182 lfs_stat(&lfs, "file_here", &info) => 0;
Dtest_badblocks.toml60 lfs_stat(&lfs, (char*)buffer, &info) => 0;
140 lfs_stat(&lfs, (char*)buffer, &info) => 0;
219 lfs_stat(&lfs, (char*)buffer, &info) => 0;
Dtest_entries.toml519 lfs_stat(&lfs, "hi1", &info) => LFS_ERR_NOENT;
543 lfs_stat(&lfs, "hi2", &info) => LFS_ERR_NOENT;
560 lfs_stat(&lfs, "hi3", &info) => LFS_ERR_NOENT;
570 lfs_stat(&lfs, "hi0", &info) => LFS_ERR_NOENT;
/littlefs-latest/
Dlfs.h526 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
Dlfs.c6052 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info) { function