Searched refs:dent (Results 1 – 2 of 2) sorted by relevance
51 struct dirent *dent; in ScanAndAddDevices() local53 while ((dent = readdir(dir)) != nullptr) { in ScanAndAddDevices()54 const std::string devNode { dent->d_name }; in ScanAndAddDevices()
121 struct dirent *dent; in Unmount() local123 while ((dent = readdir(procDir)) != nullptr) { in Unmount()124 if (!Utility::IsInteger(std::string(dent->d_name))) { in Unmount()129 spath << "/proc/" << dent->d_name; in Unmount()169 std::cout << "\tfound: \'" << dent->d_name << "\'" << std::endl; in Unmount()170 int32_t pid = std::atoi(dent->d_name); in Unmount()409 struct dirent *dent; in ScanFor() local411 while ((dent = readdir(dir)) != nullptr) { in ScanFor()412 const std::string devNode { dent->d_name }; in ScanFor()416 if ((std::strcmp(dent->d_name, ".") == 0) || (std::strcmp(dent->d_name, "..") == 0)) { in ScanFor()