Lines Matching refs:dp
997 struct dirent *dp = NULL;
1048 while ((dp = readdir(dirp)) != NULL) {
1049 if ((dp->d_name[0] == '.' && dp->d_name[1] == '\0') ||
1050 (dp->d_name[0] == '.' && dp->d_name[1] == '.' &&
1051 dp->d_name[2] == '\0'))
1053 if ((renameat(fromdir, dp->d_name, todir, dp->d_name)) == -1) {
1056 from, dp->d_name);