Home
last modified time | relevance | path

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

/littlefs-3.5.0-3.4.0/tests/
Dtest_paths.toml11 lfs_stat(&lfs, "tea/hottea", &info) => 0;
13 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
17 lfs_stat(&lfs, "/milk", &info) => 0;
19 lfs_stat(&lfs, "milk", &info) => 0;
33 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
35 lfs_stat(&lfs, "//tea//hottea", &info) => 0;
37 lfs_stat(&lfs, "///tea///hottea", &info) => 0;
41 lfs_stat(&lfs, "////milk", &info) => 0;
43 lfs_stat(&lfs, "milk", &info) => 0;
57 lfs_stat(&lfs, "./tea/hottea", &info) => 0;
[all …]
Dtest_orphans.toml33 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
34 lfs_stat(&lfs, "parent/child", &info) => 0;
39 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
40 lfs_stat(&lfs, "parent/child", &info) => 0;
45 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
46 lfs_stat(&lfs, "parent/child", &info) => 0;
47 lfs_stat(&lfs, "parent/otherchild", &info) => 0;
52 lfs_stat(&lfs, "parent/orphan", &info) => LFS_ERR_NOENT;
53 lfs_stat(&lfs, "parent/child", &info) => 0;
54 lfs_stat(&lfs, "parent/otherchild", &info) => 0;
[all …]
Dtest_superblocks.toml39 lfs_stat(&lfs, "dummy", &info) => 0;
51 lfs_stat(&lfs, "dummy", &info) => 0;
65 err = lfs_stat(&lfs, "dummy", &info);
76 lfs_stat(&lfs, "dummy", &info) => 0;
84 lfs_stat(&lfs, "dummy", &info) => 0;
103 err = lfs_stat(&lfs, "dummy", &info);
114 lfs_stat(&lfs, "dummy", &info) => 0;
123 lfs_stat(&lfs, "dummy", &info) => 0;
Dtest_relocations.toml174 int res = lfs_stat(&lfs, full_path, &info);
187 lfs_stat(&lfs, path, &info) => 0;
204 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
236 int res = lfs_stat(&lfs, full_path, &info);
250 lfs_stat(&lfs, path, &info) => 0;
265 res = lfs_stat(&lfs, new_path, &info);
284 lfs_stat(&lfs, path, &info) => 0;
289 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
300 lfs_stat(&lfs, full_path, &info) => LFS_ERR_NOENT;
Dtest_move.toml68 lfs_stat(&lfs, "hi/hi/hi", &info) => 0;
360 if (lfs_stat(&lfs, "a/hello", &info) == 0) {
366 if (lfs_stat(&lfs, "b/hello", &info) == 0) {
372 if (lfs_stat(&lfs, "c/hello", &info) == 0) {
378 if (lfs_stat(&lfs, "d/hello", &info) == 0) {
388 if (lfs_stat(&lfs, "a/hello", &info) == 0 && info.size > 0) {
390 } else if (lfs_stat(&lfs, "b/hello", &info) == 0) {
392 } else if (lfs_stat(&lfs, "c/hello", &info) == 0) {
394 } else if (lfs_stat(&lfs, "d/hello", &info) == 0) {
823 if (lfs_stat(&lfs, "a/hi", &info) == 0) {
[all …]
Dtest_exhaustion.toml78 lfs_stat(&lfs, path, &info) => 0;
160 lfs_stat(&lfs, path, &info) => 0;
251 lfs_stat(&lfs, path, &info) => 0;
340 lfs_stat(&lfs, path, &info) => 0;
425 lfs_stat(&lfs, path, &info) => 0;
Dtest_badblocks.toml55 lfs_stat(&lfs, (char*)buffer, &info) => 0;
129 lfs_stat(&lfs, (char*)buffer, &info) => 0;
202 lfs_stat(&lfs, (char*)buffer, &info) => 0;
Dtest_evil.toml61 lfs_stat(&lfs, "dir_here", &info) => 0;
66 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
107 lfs_stat(&lfs, "file_here", &info) => 0;
168 lfs_stat(&lfs, "file_here", &info) => 0;
Dtest_entries.toml494 lfs_stat(&lfs, "hi1", &info) => LFS_ERR_NOENT;
518 lfs_stat(&lfs, "hi2", &info) => LFS_ERR_NOENT;
535 lfs_stat(&lfs, "hi3", &info) => LFS_ERR_NOENT;
545 lfs_stat(&lfs, "hi0", &info) => LFS_ERR_NOENT;
/littlefs-3.5.0-3.4.0/
Dlfs.h476 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
Dlfs.c5414 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info) { function