Home
last modified time | relevance | path

Searched refs:child (Results 1 – 5 of 5) sorted by relevance

/littlefs-3.5.0-3.4.0/tests/
Dtest_relocations.toml16 // make a child dir to use in bounded space
17 lfs_mkdir(&lfs, "child") => 0;
23 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
28 lfs_dir_open(&lfs, &dir, "child") => 0;
44 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
51 lfs_dir_open(&lfs, &dir, "child") => 0;
62 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
82 // make a child dir to use in bounded space
83 lfs_mkdir(&lfs, "child") => 0;
89 sprintf(path, "child/test%03d_loooooooooooooooooong_name", i);
[all …]
Dtest_orphans.toml9 lfs_mkdir(&lfs, "parent/child") => 0;
13 // corrupt the child's most recent commit, this should be the update
17 lfs_dir_open(&lfs, &dir, "parent/child") => 0;
34 lfs_stat(&lfs, "parent/child", &info) => 0;
40 lfs_stat(&lfs, "parent/child", &info) => 0;
46 lfs_stat(&lfs, "parent/child", &info) => 0;
53 lfs_stat(&lfs, "parent/child", &info) => 0;
Dtest_evil.toml234 // create littlefs with child dir
237 lfs_mkdir(&lfs, "child") => 0;
240 // find child
261 [[case]] # metadata-pair threaded-list 1-length child loop test
264 // create littlefs with child dir
267 lfs_mkdir(&lfs, "child") => 0;
270 // find child
Dtest_move.toml1530 lfs_mkdir(&lfs, "/parent/child") => 0;
1546 lfs_file_open(&lfs, &file, "/parent/child/0.before",
1550 lfs_file_open(&lfs, &file, "/parent/child/2.after",
1560 lfs_file_open(&lfs, &files[2], "/parent/child/0.before",
1562 lfs_file_open(&lfs, &files[3], "/parent/child/2.after",
1577 lfs_dir_open(&lfs, &dir, "/parent/child");
1588 lfs_rename(&lfs, "/parent/1.move_me", "/parent/child/1.move_me") => 0;
1612 assert(strcmp(info.name, "child") == 0);
1617 lfs_dir_open(&lfs, &dir, "/parent/child") => 0;
1647 lfs_file_open(&lfs, &file, "/parent/child/0.before", LFS_O_RDONLY) => 0;
[all …]
/littlefs-3.5.0-3.4.0/
Dlfs.c4392 lfs_block_t child[2]; local
4395 disk->block, disk->off, &child, sizeof(child));
4400 lfs_pair_fromle32(child);
4401 return (lfs_pair_cmp(child, find->pair) == 0) ? LFS_CMP_EQ : LFS_CMP_LT;