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()
833 DIR* dirp = opendir(file8); in android_os_Process_getPids() local837 if(dirp == NULL) { in android_os_Process_getPids()851 while ((entry=readdir(dirp)) != NULL) { in android_os_Process_getPids()866 closedir(dirp); in android_os_Process_getPids()884 closedir(dirp); in android_os_Process_getPids()
349 std::string dirp = dir + "/"; in clean() local352 (void)unlink((dirp + file).c_str()); in clean()
3513 DIR *dirp; in dump_files() local3527 dirp = opendir(dir); in dump_files()3528 if (dirp == nullptr) { in dump_files()3537 for (; ((d = readdir(dirp))); free(newpath), newpath = nullptr) { in dump_files()3567 closedir(dirp); in dump_files()