Searched refs:dirp (Results 1 – 4 of 4) sorted by relevance
50 DIR* dirp = opendir("/proc"); in main() local51 if (dirp == nullptr) { in main()56 while ((entry = readdir(dirp)) != nullptr) { in main()70 closedir(dirp); in main()
778 DIR* dirp = opendir(file8); in android_os_Process_getPids() local782 if(dirp == NULL) { in android_os_Process_getPids()796 while ((entry=readdir(dirp)) != NULL) { in android_os_Process_getPids()811 closedir(dirp); in android_os_Process_getPids()829 closedir(dirp); in android_os_Process_getPids()
349 std::string dirp = dir + "/"; in clean() local352 (void)unlink((dirp + file).c_str()); in clean()
3501 DIR *dirp; in dump_files() local3515 dirp = opendir(dir); in dump_files()3516 if (dirp == nullptr) { in dump_files()3525 for (; ((d = readdir(dirp))); free(newpath), newpath = nullptr) { in dump_files()3555 closedir(dirp); in dump_files()