Searched refs:newpath (Results 1 – 3 of 3) sorted by relevance
/littlefs-3.5.0-3.4.0/tests/ |
D | test_dirs.toml | 131 char newpath[128]; 133 sprintf(newpath, "tedd%03d", i); 134 lfs_rename(&lfs, oldpath, newpath) => 0; 197 char newpath[128]; 199 sprintf(newpath, "hello%03d", i); 200 // YES this can overwrite an existing newpath 201 lfs_rename(&lfs, oldpath, newpath) => 0; 357 char newpath[128]; 359 sprintf(newpath, "tedd%03d", i); 360 lfs_rename(&lfs, oldpath, newpath) => 0; [all …]
|
/littlefs-3.5.0-3.4.0/ |
D | lfs.h | 469 int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath);
|
D | lfs.c | 3701 static int lfs_rawrename(lfs_t *lfs, const char *oldpath, const char *newpath) { argument 3718 lfs_stag_t prevtag = lfs_dir_find(lfs, &newcwd, &newpath, &newid); 3732 lfs_size_t nlen = strlen(newpath); 3790 {LFS_MKTAG(lfs_tag_type3(oldtag), newid, strlen(newpath)), newpath}, 5399 int lfs_rename(lfs_t *lfs, const char *oldpath, const char *newpath) { argument 5404 LFS_TRACE("lfs_rename(%p, \"%s\", \"%s\")", (void*)lfs, oldpath, newpath); 5406 err = lfs_rawrename(lfs, oldpath, newpath);
|