Searched refs:namelen (Results 1 – 1 of 1) sorted by relevance
/littlefs-2.7.6/ |
D | lfs.c | 1109 lfs_size_t namelen = strcspn(name, "/"); in lfs_dir_find() local 1112 if ((namelen == 1 && memcmp(name, ".", 1) == 0) || in lfs_dir_find() 1113 (namelen == 2 && memcmp(name, "..", 2) == 0)) { in lfs_dir_find() 1114 name += namelen; in lfs_dir_find() 1119 const char *suffix = name + namelen; in lfs_dir_find() 1169 LFS_MKTAG(LFS_TYPE_NAME, 0, namelen), in lfs_dir_find() 1173 lfs, name, namelen}); in lfs_dir_find() 1188 name += namelen; in lfs_dir_find()
|