Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp483 static int ParseFd(dirent* dir_entry, int dir_fd);
508 dirent* dir_entry; in GetOpenFdsIgnoring() local
509 while ((dir_entry = readdir(proc_fd_dir)) != nullptr) { in GetOpenFdsIgnoring()
510 const int fd = ParseFd(dir_entry, dir_fd); in GetOpenFdsIgnoring()
630 static int ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd() argument
632 const int fd = strtol(dir_entry->d_name, &end, 10); in ParseFd()
/frameworks/native/cmds/installd/
Dutils.cpp1343 struct dirent* dir_entry; in collect_profiles() local
1344 while ((dir_entry = readdir(d))) { in collect_profiles()
1345 std::string name = dir_entry->d_name; in collect_profiles()
1348 if (dir_entry->d_type == DT_REG) { in collect_profiles()
1360 } else if (dir_entry->d_type == DT_DIR) { in collect_profiles()