Lines Matching refs:dirent
21 #include <dirent.h>
416 dirent *dirent = nullptr;
417 while ((dirent = readdir(dir)) != nullptr) {
418 if (strcmp(dirent->d_name, ".") == 0 || strcmp(dirent->d_name, "..") == 0) {
421 if (dirent->d_type == DT_DIR) {
422 std::string fullSourcePath = srcPath + dirent->d_name + "/";
423 std::string fullDestPath = dstPath + dirent->d_name + "/";
430 std::string fullSourcePath = srcPath + dirent->d_name;
431 std::string fullDestPath = dstPath + dirent->d_name;
661 struct dirent* entry;
703 struct dirent* entry;