/littlefs-3.5.0-3.4.0/tests/ |
D | test_dirs.toml | 6 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 …]
|
D | test_move.toml | 22 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 …]
|
D | test_paths.toml | 11 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 …]
|
D | test_interspersed.toml | 27 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 …]
|
D | test_relocations.toml | 29 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 …]
|
D | test_superblocks.toml | 39 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 …]
|
D | test_orphans.toml | 33 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 …]
|
D | test_evil.toml | 61 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 …]
|
D | test_badblocks.toml | 55 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;
|
D | test_exhaustion.toml | 78 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;
|
D | test_entries.toml | 494 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/ |
D | stack.py | 58 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'])
|
D | test.py | 854 to accumulate coverage information into *.info files. May also \ 855 a path to a *.info file to accumulate coverage info into.")
|
D | coverage.py | 294 or list of paths. *.info files will be merged to show the total \
|
/littlefs-3.5.0-3.4.0/ |
D | Makefile | 124 ./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 $|
|
D | lfs.h | 476 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);
|
D | lfs.c | 1266 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 …]
|
D | SPEC.md | 6 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
|