Home
last modified time | relevance | path

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

/littlefs-3.7.0-3.6.0/tests/
Dtest_paths.toml14 lfs_stat(&lfs, "tea/hottea", &info) => 0;
16 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
20 lfs_stat(&lfs, "/milk", &info) => 0;
22 lfs_stat(&lfs, "milk", &info) => 0;
39 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
41 lfs_stat(&lfs, "//tea//hottea", &info) => 0;
43 lfs_stat(&lfs, "///tea///hottea", &info) => 0;
47 lfs_stat(&lfs, "////milk", &info) => 0;
49 lfs_stat(&lfs, "milk", &info) => 0;
66 lfs_stat(&lfs, "./tea/hottea", &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.toml114 lfs_stat(&lfs, "dummy", &info) => 0;
128 lfs_stat(&lfs, "dummy", &info) => 0;
145 int err = lfs_stat(&lfs, "dummy", &info);
157 lfs_stat(&lfs, "dummy", &info) => 0;
166 lfs_stat(&lfs, "dummy", &info) => 0;
188 err = lfs_stat(&lfs, "dummy", &info);
200 lfs_stat(&lfs, "dummy", &info) => 0;
210 lfs_stat(&lfs, "dummy", &info) => 0;
Dtest_move.toml75 lfs_stat(&lfs, "hi/hi/hi", &info) => 0;
382 if (lfs_stat(&lfs, "a/hello", &info) == 0) {
388 if (lfs_stat(&lfs, "b/hello", &info) == 0) {
394 if (lfs_stat(&lfs, "c/hello", &info) == 0) {
400 if (lfs_stat(&lfs, "d/hello", &info) == 0) {
410 if (lfs_stat(&lfs, "a/hello", &info) == 0 && info.size > 0) {
412 } else if (lfs_stat(&lfs, "b/hello", &info) == 0) {
414 } else if (lfs_stat(&lfs, "c/hello", &info) == 0) {
416 } else if (lfs_stat(&lfs, "d/hello", &info) == 0) {
864 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_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_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_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-3.7.0-3.6.0/
Dlfs.h506 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
Dlfs.c5863 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info) { function