Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc50 DIR* dirp = opendir("/proc"); in main() local
51 if (dirp == nullptr) { in main()
56 while ((entry = readdir(dirp)) != nullptr) { in main()
70 closedir(dirp); in main()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp833 DIR* dirp = opendir(file8); in android_os_Process_getPids() local
837 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()
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp349 std::string dirp = dir + "/"; in clean() local
352 (void)unlink((dirp + file).c_str()); in clean()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp3513 DIR *dirp; in dump_files() local
3527 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()