/art/openjdkjvm/ |
D | OpenjdkJvm.cc | 81 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); in JVM_Open() local 95 JNIEXPORT jint JVM_Close(jint fd) { in JVM_Close() 101 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read() 106 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write() 111 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { in JVM_Lseek() 196 JNIEXPORT jint JVM_Sync(jint fd) { in JVM_Sync() 234 JNIEXPORT jint JVM_SetSockOpt(jint fd, int level, int optname, in JVM_SetSockOpt() 239 JNIEXPORT jint JVM_SocketShutdown(jint fd, jint howto) { in JVM_SocketShutdown() 243 JNIEXPORT jint JVM_GetSockOpt(jint fd, int level, int optname, char* optval, in JVM_GetSockOpt() 251 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 | 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 | scoped_flock.cc | 103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
|
D | zip_archive_test.cc | 53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F() 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()
|
D | memfd.cc | 104 android::base::unique_fd fd(art::memfd_create("test_android_memfd", MFD_ALLOW_SEALING)); in IsSealFutureWriteSupportedInternal() local
|
D | mem_map.cc | 262 int fd, in TryMemMapLow4GB() 339 unique_fd fd; in MapAnonymous() local 485 int fd, in MapFileAtAddress() 719 int fd, in RemapAtEnd() 1041 int fd, in MapInternalArtLow4GBAllocator() 1135 int fd, in MapInternal()
|
D | mem_map_windows.cc | 45 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
|
/art/libartbase/base/unix_file/ |
D | fd_file.cc | 70 static ssize_t pread(int fd, void* data, size_t byte_count, off64_t offset) { in pread() 99 static ssize_t pwrite(int fd, const void* buf, size_t count, off64_t offset) { in pwrite() 128 static int fsync(int fd) { in fsync() 145 FdFile::FdFile(int fd, bool check_usage) in FdFile() 148 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile() 151 FdFile::FdFile(int fd, const std::string& path, bool check_usage, in FdFile() 243 void FdFile::Reset(int fd, bool check_usage) { in Reset() 415 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset() 421 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
|
/art/runtime/jit/ |
D | jit_memory_region_test.cc | 62 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in BasicTest() local 118 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestUnmapWritableAfterFork() local 215 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestMadviseDontFork() local 312 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestFromSharedToPrivate() local
|
D | jit_memory_region.cc | 516 int fd = art::memfd_create(kRegionName, MFD_ALLOW_SEALING); in CreateZygoteMemory() local 536 int fd; in CreateZygoteMemory() local 548 bool JitMemoryRegion::ProtectZygoteMemory(int fd, std::string* error_msg) { in ProtectZygoteMemory() 576 int fd = art::memfd_create(kRegionName, 0); in CreateZygoteMemory() local
|
/art/libdexfile/dex/ |
D | art_dex_file_loader.cc | 95 File fd; in GetMultiDexChecksums() local 230 File fd = OpenAndReadMagic(filename, &magic, error_msg); in Open() local 239 bool ArtDexFileLoader::Open(int fd, in Open() 254 int fd, in OpenWithMagic() 283 std::unique_ptr<const DexFile> ArtDexFileLoader::OpenDex(int fd, in OpenDex() 293 bool ArtDexFileLoader::OpenZip(int fd, in OpenZip() 310 std::unique_ptr<const DexFile> ArtDexFileLoader::OpenFile(int fd, in OpenFile()
|
/art/libnativebridge/tests/ |
D | CodeCacheStatFail_test.cpp | 29 int fd = creat(kCodeCache, 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/profman/ |
D | profman.cc | 77 static bool FdIsValid(int fd) { in FdIsValid() 612 std::unique_ptr<const ProfileCompilationInfo> LoadProfile(const std::string& filename, int fd) { in LoadProfile() 635 int fd, in DumpOneProfile() 728 bool GetClassNamesAndMethods(int fd, in GetClassNamesAndMethods() 788 int fd = open(profile_file.c_str(), flags); in GetClassNamesAndMethods() local 1219 int fd = reference_profile_file_fd_; in OpenReferenceProfile() local 1254 int fd = OpenReferenceProfile(); in CreateBootProfile() local 1309 int fd = OpenReferenceProfile(); in CreateProfile() local 1477 int fd; in ParseFdForCollection() local
|
/art/dt_fd_forward/ |
D | dt_fd_forward.cc | 106 static void SendListenMessage(const android::base::unique_fd& fd) { in SendListenMessage() 111 static int DupCloexec(int fd) { in DupCloexec() 131 static void SendListenEndMessage(const android::base::unique_fd& fd) { in SendListenEndMessage() 247 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock() 286 static void SendAcceptMessage(int fd) { in SendAcceptMessage() 411 void SendClosingMessage(int fd) { in SendClosingMessage()
|
/art/runtime/ |
D | monitor_android.cc | 46 int fd = open("/proc/self/cmdline", O_RDONLY | O_CLOEXEC); in LogContentionEvent() local
|
/art/libartpalette/apex/ |
D | palette.cc | 154 enum PaletteStatus PaletteAshmemCreateRegion(const char* name, size_t size, int* fd) { in PaletteAshmemCreateRegion() 160 enum PaletteStatus PaletteAshmemSetProtRegion(int fd, int prot) { in PaletteAshmemSetProtRegion()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 38 int fd = scratch.GetFd(); in SwapTest() local
|
/art/libartpalette/system/ |
D | palette_fake.cc | 81 int* fd) { in PaletteAshmemCreateRegion()
|