Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/jni/
H A Dfd_utils.cpp478 static int ParseFd(dirent* dir_entry, int dir_fd);
503 dirent* dir_entry; in GetOpenFdsIgnoring() local
504 while ((dir_entry = readdir(proc_fd_dir)) != nullptr) { in GetOpenFdsIgnoring()
505 const int fd = ParseFd(dir_entry, dir_fd); in GetOpenFdsIgnoring()
631 static int ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd() argument
633 const int fd = strtol(dir_entry->d_name, &end, 10); in ParseFd()
/aosp14/system/core/libprocessgroup/setup/
H A Dcgroup_map_write.cpp92 struct dirent* dir_entry; in ChangeDirModeAndOwner() local
93 while ((dir_entry = readdir(dir.get()))) { in ChangeDirModeAndOwner()
94 if (!strcmp("..", dir_entry->d_name)) { in ChangeDirModeAndOwner()
98 std::string file_path = path + "/" + dir_entry->d_name; in ChangeDirModeAndOwner()
/aosp14/system/core/libprocessgroup/
H A Dprocessgroup.cpp343 struct dirent* dir_entry; in MkdirAndChown() local
344 while ((dir_entry = readdir(dir.get()))) { in MkdirAndChown()
345 if (!strcmp("..", dir_entry->d_name)) { in MkdirAndChown()
349 std::string file_path = path + "/" + dir_entry->d_name; in MkdirAndChown()