Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp459 dirent* dir_entry; in Create() local
462 while ((dir_entry = readdir(proc_fd_dir)) != nullptr) { in Create()
463 const int fd = ParseFd(dir_entry, dir_fd); in Create()
494 dirent* dir_entry; in Restat() local
495 while ((dir_entry = readdir(proc_fd_dir)) != nullptr) { in Restat()
496 const int fd = ParseFd(dir_entry, dir_fd); in Restat()
592 int FileDescriptorTable::ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd() argument
594 const int fd = strtol(dir_entry->d_name, &end, 10); in ParseFd()
/frameworks/native/cmds/installd/
Dutils.cpp1076 struct dirent* dir_entry; in collect_profiles() local
1077 while ((dir_entry = readdir(d))) { in collect_profiles()
1078 std::string name = dir_entry->d_name; in collect_profiles()
1081 if (dir_entry->d_type == DT_REG) { in collect_profiles()
1093 } else if (dir_entry->d_type == DT_DIR) { in collect_profiles()