Searched refs:dirPtr (Results 1 – 3 of 3) sorted by relevance
81 DIR* dirPtr = opendir(dir.c_str()); in ForceRemoveDirectory() local82 if (dirPtr == nullptr) { in ForceRemoveDirectory()86 while ((dirInfo = readdir(dirPtr)) != nullptr) { in ForceRemoveDirectory()93 closedir(dirPtr); in ForceRemoveDirectory()97 closedir(dirPtr); in ForceRemoveDirectory()109 DIR* dirPtr = opendir(dir.c_str()); in GetDirFiles() local110 if (dirPtr == nullptr) { in GetDirFiles()115 while ((ent = readdir(dirPtr)) != nullptr) { in GetDirFiles()124 closedir(dirPtr); in GetDirFiles()
140 DIR *dirPtr = opendir(dirName.c_str()); in RemoveDir() local141 if (!dirPtr) { in RemoveDir()146 while ((ptr = readdir(dirPtr)) != nullptr) { in RemoveDir()
1076 DIR* dirPtr = opendir(DEFAULT_OUTPUT_DIR.c_str()); in ClearRemainingTrace() local1077 if (dirPtr == nullptr) { in ClearRemainingTrace()1082 while ((ptr = readdir(dirPtr)) != nullptr) { in ClearRemainingTrace()1092 closedir(dirPtr); in ClearRemainingTrace()