Home
last modified time | relevance | path

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

/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/native/cmds/dumpstate/
Dutils.cpp515 DIR *dirp; in dump_files() local
529 dirp = opendir(dir); in dump_files()
530 if (dirp == NULL) { in dump_files()
539 for (; ((d = readdir(dirp))); free(newpath), newpath = NULL) { in dump_files()
569 closedir(dirp); in dump_files()