Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 57) sorted by relevance

123

/art/openjdkjvm/
DOpenjdkJvm.cc84 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()
264 JNIEXPORT jint JVM_SetSockOpt(jint fd, int level, int optname, in JVM_SetSockOpt()
269 JNIEXPORT jint JVM_SocketShutdown(jint fd, jint howto) { in JVM_SocketShutdown()
273 JNIEXPORT jint JVM_GetSockOpt(jint fd, int level, int optname, char* optval, in JVM_GetSockOpt()
281 JNIEXPORT jint JVM_GetSockName(jint fd, struct sockaddr* addr, int* addrlen) { in JVM_GetSockName()
[all …]
/art/libartbase/base/
Dfile_magic.cc34 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()
Dmemfd_test.cc23 int fd = art::memfd_create("memfd_create_test", 0); in TEST() local
Dzip_archive.cc213 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()
Dsocket_peer_is_trusted.cc30 bool SocketPeerIsTrusted(int fd) { in SocketPeerIsTrusted()
Dmem_map_unix.cc27 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
Dscoped_flock.h71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile()
Dscoped_flock.cc103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
Dzip_archive_test.cc53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F() local
Dmemfd.cc104 android::base::unique_fd fd(art::memfd_create("test_android_memfd", MFD_ALLOW_SEALING)); in IsSealFutureWriteSupportedInternal() local
Dmem_map_windows.cc44 void* MemMap::TargetMMap(void* start, size_t len, int prot, int flags, int fd, off_t fd_off) { in TargetMMap()
/art/runtime/jit/
Djit_memory_region_test.cc63 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in BasicTest() local
119 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestUnmapWritableAfterFork() local
216 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestMadviseDontFork() local
313 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestFromSharedToPrivate() local
506 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestVmMayWriteBefore() local
533 android::base::unique_fd fd(JitMemoryRegion::CreateZygoteMemory(size, &error_msg)); in TestVmMayWriteAfter() local
Djit_memory_region.cc517 int fd = art::memfd_create(kRegionName, MFD_ALLOW_SEALING); in CreateZygoteMemory() local
537 int fd; in CreateZygoteMemory() local
549 bool JitMemoryRegion::ProtectZygoteMemory(int fd, std::string* error_msg) { in ProtectZygoteMemory()
577 int fd = art::memfd_create(kRegionName, 0); in CreateZygoteMemory() local
/art/libartbase/base/unix_file/
Dfd_file.cc70 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()
646 bool FdFile::IsOpenFd(int fd) { in IsOpenFd()
/art/libarttools/tools/
Dart_exec.cc115 int fd; in ParseOptions() local
160 int fd; in CloseFds() local
169 for (int fd : open_fds) { in CloseFds() local
/art/libnativebridge/tests/
DCodeCacheStatFail_test.cpp29 int fd = creat(kCodeCache, O_RDWR); in TEST_F() local
/art/libprofile/profile/
Dprofile_helpers.h29 inline bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
Dprofile_boot_info.cc62 bool ProfileBootInfo::Load(int fd, const std::vector<const DexFile*>& dex_files) { in Load()
/art/dt_fd_forward/
Ddt_fd_forward.cc108 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/
Dcompile-jar.py154 def fdfile(fd): argument
/art/libartservice/service/javatests/com/android/server/art/
DArtManagerLocalTest.java722 ParcelFileDescriptor fd = in testSnapshotAppProfile() local
770 ParcelFileDescriptor fd = in testSnapshotAppProfileFromDm() local
805 ParcelFileDescriptor fd = in testSnapshotAppProfileEmpty() local
843 ParcelFileDescriptor fd = mArtManagerLocal.dumpAppProfile( in testDumpAppProfile() local
855 ParcelFileDescriptor fd = mArtManagerLocal.dumpAppProfile( in testDumpAppProfileDumpClassesAndMethods() local
/art/dex2oat/utils/
Dswap_space_test.cc37 int fd = scratch.GetFd(); in SwapTest() local
/art/runtime/
Dmonitor_android.cc49 int fd = open("/proc/self/cmdline", O_RDONLY | O_CLOEXEC); in LogContentionEvent() local
/art/libdexfile/dex/
Ddex_file_loader.h110 DexFileLoader(const char* filename, int fd, const std::string& location) in DexFileLoader()
126 DexFileLoader(int fd, const std::string& location) in DexFileLoader()
/art/libartservice/service/java/com/android/server/art/
DArtShellCommand.java508 ParcelFileDescriptor fd = mArtManagerLocal.snapshotBootImageProfile(snapshot); in handleSnapshotBootProfile() local
518 ParcelFileDescriptor fd = in handleSnapshotAppProfile() local
556 ParcelFileDescriptor fd = mArtManagerLocal.dumpAppProfile( in handleDumpProfile() local
881 @NonNull ParcelFileDescriptor fd, @NonNull String outputRelativePath) { in writeProfileFdContentsToFile()

123