Searched refs:proc_dir (Results 1 - 2 of 2) sorted by relevance

/system/extras/memtrack/
H A Dmemtrack.cpp164 DIR *proc_dir = opendir(kProc); local
165 if (proc_dir == NULL) {
180 while ((dir_data = readdir(proc_dir))) {
196 closedir(proc_dir);
/system/core/toolbox/
H A Dtop.c225 DIR *proc_dir, *task_dir; local
235 proc_dir = opendir("/proc");
236 if (!proc_dir) die("Could not open /proc.\n");
248 while ((pid_dir = readdir(proc_dir))) {
322 closedir(proc_dir);

Completed in 92 milliseconds