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.cpp778 DIR* dirp = opendir(file8); in android_os_Process_getPids() local
782 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()
/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.cpp3501 DIR *dirp; in dump_files() local
3515 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()