Home
last modified time | relevance | path

Searched refs:dent (Results 1 – 2 of 2) sorted by relevance

/base/msdp/device_status/services/device_manager/src/
Denumerator.cpp51 struct dirent *dent; in ScanAndAddDevices() local
53 while ((dent = readdir(dir)) != nullptr) { in ScanAndAddDevices()
54 const std::string devNode { dent->d_name }; in ScanAndAddDevices()
/base/msdp/device_status/tools/vdev/src/
Dvirtual_device_builder.cpp121 struct dirent *dent; in Unmount() local
123 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() local
411 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()