Home
last modified time | relevance | path

Searched refs:dirfd (Results 1 – 10 of 10) sorted by relevance

/frameworks/libs/binary_translation/kernel_api/
Dopen_emulation.cc122 int OpenatProcSelfMapsForGuest(int dirfd, int flags, mode_t mode) { in OpenatProcSelfMapsForGuest() argument
130 return openat(dirfd, PROC_SELF_MAPS, flags, mode); in OpenatProcSelfMapsForGuest()
232 int OpenatForGuest(int dirfd, const char* path, int guest_flags, mode_t mode) { in OpenatForGuest() argument
236 return OpenatProcSelfMapsForGuest(dirfd, host_flags, mode); in OpenatForGuest()
248 return openat(dirfd, real_path != nullptr ? real_path : path, host_flags, mode); in OpenatForGuest()
Dunistd_emulation.cc28 ssize_t ReadLinkAtForGuest(int dirfd, const char* path, char* buf, size_t buf_size) { in ReadLinkAtForGuest() argument
31 return readlinkat(dirfd, path, buf, buf_size); in ReadLinkAtForGuest()
/frameworks/libs/binary_translation/kernel_api/include/berberis/kernel_api/
Dunistd_emulation.h27 ssize_t ReadLinkAtForGuest(int dirfd, const char* path, char* buf, size_t buf_size);
Dopen_emulation.h33 int OpenatForGuest(int dirfd, const char* pathname, int flags, mode_t mode);
/frameworks/libs/binary_translation/kernel_api/riscv64/
Dsyscall_emulation.cc46 int FstatatForGuest(int dirfd, const char* path, struct stat* buf, int flags) { in FstatatForGuest() argument
51 return syscall(__NR_newfstatat, dirfd, real_path ? real_path : path, buf, flags); in FstatatForGuest()
/frameworks/native/cmds/installd/
Dutils.cpp571 dfd = dirfd(d); in _delete_dir_contents()
744 int dfd = dirfd(dir.get()); in foreach_subdir()
772 int dfd = dirfd(dir.get()); in cleanup_invalid_package_dirs_under_path()
910 int sdfd = dirfd(ds); in copy_dir_files()
911 int ddfd = dirfd(dd); in copy_dir_files()
1337 int32_t dir_fd = dirfd(d); in collect_profiles()
DInstalldNativeService.cpp2435 dfd = dirfd(d); in collectManualStats()
2495 dfd = dirfd(d); in collectManualStatsForUser()
/frameworks/native/cmds/dumpstate/
DDumpPool.cpp137 int dir_fd = dirfd(dir_ptr.get()); in deleteTempFiles()
/frameworks/base/core/jni/
Dfd_utils.cpp507 int dir_fd = dirfd(proc_fd_dir); in GetOpenFdsIgnoring()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1715 int dir_fd = dirfd(dir_ptr.get()); in getTempFileCounts()