Searched refs:dirp (Results 1 – 2 of 2) sorted by relevance
52 struct dirent* dirp; in ListHals() local54 while ((dirp = readdir(dp)) != NULL) { in ListHals()55 len = strlen(dirp->d_name); in ListHals()56 if (len > 3 && !strcmp(&dirp->d_name[len - 3], ".so")) { in ListHals()57 string found_path = path + "/" + string(dirp->d_name); in ListHals()
61 std::unique_ptr<DIR, int (*)(DIR *)> dirp(opendir(path.c_str()), closedir); in DeleteRecursively() local65 if (dirp != nullptr) { in DeleteRecursively()67 while ((entry = readdir(dirp.get())) != nullptr) { in DeleteRecursively()