Home
last modified time | relevance | path

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

12

/art/openjdkjvm/
DOpenjdkJvm.cc81 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/
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
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
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()
Dmemfd.cc104 android::base::unique_fd fd(art::memfd_create("test_android_memfd", MFD_ALLOW_SEALING)); in IsSealFutureWriteSupportedInternal() local
Dmem_map.cc262 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()
Dmem_map_windows.cc45 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/
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()
/art/runtime/jit/
Djit_memory_region_test.cc62 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
Djit_memory_region.cc516 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/
Dart_dex_file_loader.cc95 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/
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/profman/
Dprofman.cc77 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/
Ddt_fd_forward.cc106 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/
Dmonitor_android.cc46 int fd = open("/proc/self/cmdline", O_RDONLY | O_CLOEXEC); in LogContentionEvent() local
/art/libartpalette/apex/
Dpalette.cc154 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/
Dswap_space_test.cc38 int fd = scratch.GetFd(); in SwapTest() local
/art/libartpalette/system/
Dpalette_fake.cc81 int* fd) { in PaletteAshmemCreateRegion()

12