Home
last modified time | relevance | path

Searched refs:info (Results 1 – 18 of 18) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_dirs.toml6 lfs_dir_read(&lfs, &dir, &info) => 1;
7 assert(info.type == LFS_TYPE_DIR);
8 assert(strcmp(info.name, ".") == 0);
9 lfs_dir_read(&lfs, &dir, &info) => 1;
10 assert(info.type == LFS_TYPE_DIR);
11 assert(strcmp(info.name, "..") == 0);
12 lfs_dir_read(&lfs, &dir, &info) => 0;
31 lfs_dir_read(&lfs, &dir, &info) => 1;
32 assert(info.type == LFS_TYPE_DIR);
33 assert(strcmp(info.name, ".") == 0);
[all …]
Dtest_move.toml22 lfs_dir_read(&lfs, &dir, &info) => 1;
23 assert(strcmp(info.name, ".") == 0);
24 assert(info.type == LFS_TYPE_DIR);
25 lfs_dir_read(&lfs, &dir, &info) => 1;
26 assert(strcmp(info.name, "..") == 0);
27 assert(info.type == LFS_TYPE_DIR);
28 lfs_dir_read(&lfs, &dir, &info) => 0;
31 lfs_dir_read(&lfs, &dir, &info) => 1;
32 assert(strcmp(info.name, ".") == 0);
33 assert(info.type == LFS_TYPE_DIR);
[all …]
Dtest_paths.toml11 lfs_stat(&lfs, "tea/hottea", &info) => 0;
12 assert(strcmp(info.name, "hottea") == 0);
13 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
14 assert(strcmp(info.name, "hottea") == 0);
17 lfs_stat(&lfs, "/milk", &info) => 0;
18 assert(strcmp(info.name, "milk") == 0);
19 lfs_stat(&lfs, "milk", &info) => 0;
20 assert(strcmp(info.name, "milk") == 0);
33 lfs_stat(&lfs, "/tea/hottea", &info) => 0;
34 assert(strcmp(info.name, "hottea") == 0);
[all …]
Dtest_interspersed.toml27 lfs_dir_read(&lfs, &dir, &info) => 1;
28 assert(strcmp(info.name, ".") == 0);
29 assert(info.type == LFS_TYPE_DIR);
30 lfs_dir_read(&lfs, &dir, &info) => 1;
31 assert(strcmp(info.name, "..") == 0);
32 assert(info.type == LFS_TYPE_DIR);
35 lfs_dir_read(&lfs, &dir, &info) => 1;
36 assert(strcmp(info.name, path) == 0);
37 assert(info.type == LFS_TYPE_REG);
38 assert(info.size == SIZE);
[all …]
Dtest_relocations.toml29 lfs_dir_read(&lfs, &dir, &info) => 1;
30 lfs_dir_read(&lfs, &dir, &info) => 1;
33 lfs_dir_read(&lfs, &dir, &info) => 1;
34 strcmp(info.name, path) => 0;
36 lfs_dir_read(&lfs, &dir, &info) => 0;
52 lfs_dir_read(&lfs, &dir, &info) => 1;
53 lfs_dir_read(&lfs, &dir, &info) => 1;
56 lfs_dir_read(&lfs, &dir, &info) => 1;
57 strcmp(info.name, path) => 0;
59 lfs_dir_read(&lfs, &dir, &info) => 0;
[all …]
Dtest_superblocks.toml39 lfs_stat(&lfs, "dummy", &info) => 0;
40 assert(strcmp(info.name, "dummy") == 0);
41 assert(info.type == LFS_TYPE_REG);
51 lfs_stat(&lfs, "dummy", &info) => 0;
52 assert(strcmp(info.name, "dummy") == 0);
53 assert(info.type == LFS_TYPE_REG);
65 err = lfs_stat(&lfs, "dummy", &info);
68 assert(strcmp(info.name, "dummy") == 0);
69 assert(info.type == LFS_TYPE_REG);
76 lfs_stat(&lfs, "dummy", &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_evil.toml61 lfs_stat(&lfs, "dir_here", &info) => 0;
62 assert(strcmp(info.name, "dir_here") == 0);
63 assert(info.type == LFS_TYPE_DIR);
66 lfs_stat(&lfs, "dir_here/file_here", &info) => LFS_ERR_CORRUPT;
107 lfs_stat(&lfs, "file_here", &info) => 0;
108 assert(strcmp(info.name, "file_here") == 0);
109 assert(info.type == LFS_TYPE_REG);
110 assert(info.size == SIZE);
168 lfs_stat(&lfs, "file_here", &info) => 0;
169 assert(strcmp(info.name, "file_here") == 0);
[all …]
Dtest_badblocks.toml55 lfs_stat(&lfs, (char*)buffer, &info) => 0;
56 info.type => LFS_TYPE_DIR;
129 lfs_stat(&lfs, (char*)buffer, &info) => 0;
130 info.type => LFS_TYPE_DIR;
202 lfs_stat(&lfs, (char*)buffer, &info) => 0;
203 info.type => LFS_TYPE_DIR;
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_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/scripts/
Dstack.py58 for k, info in graph:
60 info = dict(info)
61 m = f_pattern.match(info['label'])
67 _, _, _, targets = results[info['title']]
68 results[info['title']] = (
71 info = dict(info)
72 _, _, _, targets = results[info['sourcename']]
73 targets.add(info['targetname'])
Dtest.py854 to accumulate coverage information into *.info files. May also \
855 a path to a *.info file to accumulate coverage info into.")
Dcoverage.py294 or list of paths. *.info files will be merged to show the total \
/littlefs-3.5.0-3.4.0/
DMakefile124 ./scripts/coverage.py $(BUILDDIR)tests/*.toml.info -s $(COVERAGEFLAGS)
147 ./scripts/coverage.py $(BUILDDIR)tests/*.toml.info \
161 $(CC) -c -MMD -fcallgraph-info=su $(CFLAGS) $< -o $|
Dlfs.h476 int lfs_stat(lfs_t *lfs, const char *path, struct lfs_info *info);
636 int lfs_dir_read(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info);
Dlfs.c1266 uint16_t id, struct lfs_info *info) { in lfs_dir_getinfo() argument
1269 strcpy(info->name, "/"); in lfs_dir_getinfo()
1270 info->type = LFS_TYPE_DIR; in lfs_dir_getinfo()
1275 LFS_MKTAG(LFS_TYPE_NAME, id, lfs->name_max+1), info->name); in lfs_dir_getinfo()
1280 info->type = lfs_tag_type3(tag); in lfs_dir_getinfo()
1291 info->size = ctz.size; in lfs_dir_getinfo()
1293 info->size = lfs_tag_size(tag); in lfs_dir_getinfo()
2548 static int lfs_dir_rawread(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info) { in lfs_dir_rawread() argument
2549 memset(info, 0, sizeof(*info)); in lfs_dir_rawread()
2553 info->type = LFS_TYPE_DIR; in lfs_dir_rawread()
[all …]
DSPEC.md6 design of the littlefs, for more info on how littlefs works check
201 that there are multiple levels of types which break down into more info:
694 The move state in littlefs is used to store info about operations that could