/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 84 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); in JVM_Open() local 98 JNIEXPORT jint JVM_Close(jint fd) { in JVM_Close() 104 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read() 109 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write() 114 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { in JVM_Lseek() 199 JNIEXPORT jint JVM_Sync(jint fd) { in JVM_Sync() 263 JNIEXPORT jint JVM_SetSockOpt(jint fd, int level, int optname, in JVM_SetSockOpt() 268 JNIEXPORT jint JVM_SocketShutdown(jint fd, jint howto) { in JVM_SocketShutdown() 272 JNIEXPORT jint JVM_GetSockOpt(jint fd, int level, int optname, char* optval, in JVM_GetSockOpt() 280 JNIEXPORT jint JVM_GetSockName(jint fd, struct sockaddr* addr, int* addrlen) { in JVM_GetSockName() [all …]
|
/art/libartbase/base/ |
D | file_magic.cc | 34 File fd(filename, O_RDONLY, /* check_usage= */ false); in OpenAndReadMagic() local 46 bool ReadMagicAndReset(int fd, uint32_t* magic, std::string* error_msg) { in ReadMagicAndReset()
|
D | memfd_test.cc | 23 int fd = art::memfd_create("memfd_create_test", 0); in TEST() local
|
D | zip_archive.cc | 213 static void SetCloseOnExec(int fd) { in SetCloseOnExec() 248 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { in OpenFromFd() 252 ZipArchive* ZipArchive::OpenFromOwnedFd(int fd, const char* filename, std::string* error_msg) { in OpenFromOwnedFd() 274 ZipArchive* ZipArchive::OpenFromFdInternal(int fd, in OpenFromFdInternal()
|
D | socket_peer_is_trusted.cc | 30 bool SocketPeerIsTrusted(int fd) { in SocketPeerIsTrusted()
|
D | mem_map_unix.cc | 27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
D | scoped_flock.h | 71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile()
|
D | zip_archive_test.cc | 53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F() local
|
D | scoped_flock.cc | 103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
|
D | memfd.cc | 93 android::base::unique_fd fd(art::memfd_create("test_android_memfd", MFD_ALLOW_SEALING)); in IsSealFutureWriteSupportedInternal() local
|
D | mem_map_windows.cc | 50 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
/art/runtime/jit/ |
D | jit_memory_region_test.cc | 62 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in BasicTest() local 118 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestUnmapWritableAfterFork() local 215 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestMadviseDontFork() local 312 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestFromSharedToPrivate() local 505 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestVmMayWriteBefore() local 532 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(page_size, &error_msg)); in TestVmMayWriteAfter() local
|
D | jit_memory_region.cc | 513 int fd = art::memfd_create(kRegionName, MFD_ALLOW_SEALING); in CreateZygoteMemory() local 533 int fd; in CreateZygoteMemory() local 545 bool JitMemoryRegion::ProtectZygoteMemory(int fd, std::string* error_msg) { in ProtectZygoteMemory() 573 int fd = art::memfd_create(kRegionName, 0); in CreateZygoteMemory() local 589 bool JitMemoryRegion::ProtectZygoteMemory([[maybe_unused]] int fd, in ProtectZygoteMemory()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 74 static ssize_t pread(int fd, void* data, size_t byte_count, off64_t offset) { in pread() 103 static ssize_t pwrite(int fd, const void* buf, size_t count, off64_t offset) { in pwrite() 132 static int fsync(int fd) { in fsync() 149 FdFile::FdFile(int fd, bool check_usage) in FdFile() 152 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() 155 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() 247 void FdFile::Reset(int fd, bool check_usage) { in Reset() 424 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset() 430 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric() 793 bool FdFile::IsOpenFd(int fd) { in IsOpenFd()
|
/art/libarttools/ |
D | art_exec.cc | 116 int fd; in ParseOptions() local 165 int fd; in CloseFds() local 174 for (int fd : open_fds) { in CloseFds() local
|
/art/libnativebridge/tests/ |
D | CodeCacheStatFail_test.cpp | 29 int fd = creat(codeCache(), O_RDWR); in TEST_F() local
|
/art/libprofile/profile/ |
D | profile_helpers.h | 29 inline bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
|
D | profile_boot_info.cc | 62 bool ProfileBootInfo::Load(int fd, const std::vector<const DexFile*>& dex_files) { in Load()
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 108 static void SendListenMessage(const android::base::unique_fd& fd) { in SendListenMessage() 113 static int DupCloexec(int fd) { in DupCloexec() 133 static void SendListenEndMessage(const android::base::unique_fd& fd) { in SendListenEndMessage() 249 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock() 288 static void SendAcceptMessage(int fd) { in SendAcceptMessage() 292 static void SendHandshakeCompleteMessage(int fd) { in SendHandshakeCompleteMessage() 420 void SendClosingMessage(int fd) { in SendClosingMessage()
|
/art/tools/ |
D | compile-jar.py | 154 def fdfile(fd): argument
|
/art/dex2oat/utils/ |
D | swap_space_test.cc | 37 int fd = scratch.GetFd(); in SwapTest() local
|
/art/runtime/ |
D | monitor_android.cc | 49 int fd = open("/proc/self/cmdline", O_RDONLY | O_CLOEXEC); in LogContentionEvent() local
|
/art/test/ |
D | standalone_test_lib_check.cc | 98 android::base::unique_fd fd(open(filename.c_str(), O_RDONLY)); in GetDynamicLibDeps() local
|
/art/libartpalette/system/ |
D | palette_fake.cc | 76 int* fd) { in PaletteAshmemCreateRegion() 81 palette_status_t PaletteAshmemSetProtRegion([[maybe_unused]] int fd, [[maybe_unused]] int prot) { in PaletteAshmemSetProtRegion()
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | ArtManagerLocalTest.java | 893 ParcelFileDescriptor fd = in testSnapshotAppProfile() local 942 ParcelFileDescriptor fd = in testSnapshotAppProfileFromDm() local 1018 ParcelFileDescriptor fd = in testSnapshotAppProfileEmpty() local 1056 ParcelFileDescriptor fd = mArtManagerLocal.dumpAppProfile( in testDumpAppProfile() local 1068 ParcelFileDescriptor fd = mArtManagerLocal.dumpAppProfile( in testDumpAppProfileDumpClassesAndMethods() local
|