Home
last modified time | relevance | path

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

12

/art/openjdkjvm/
DOpenjdkJvm.cc85 int fd = TEMP_FAILURE_RETRY(open(fname, flags & ~JVM_O_DELETE, mode)); in JVM_Open() local
99 JNIEXPORT jint JVM_Close(jint fd) { in JVM_Close()
105 JNIEXPORT jint JVM_Read(jint fd, char* buf, jint nbytes) { in JVM_Read()
110 JNIEXPORT jint JVM_Write(jint fd, char* buf, jint nbytes) { in JVM_Write()
115 JNIEXPORT jlong JVM_Lseek(jint fd, jlong offset, jint whence) { in JVM_Lseek()
200 JNIEXPORT jint JVM_Sync(jint fd) { in JVM_Sync()
238 JNIEXPORT jint JVM_SetSockOpt(jint fd, int level, int optname, in JVM_SetSockOpt()
243 JNIEXPORT jint JVM_SocketShutdown(jint fd, jint howto) { in JVM_SocketShutdown()
247 JNIEXPORT jint JVM_GetSockOpt(jint fd, int level, int optname, char* optval, in JVM_GetSockOpt()
255 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()
Dscoped_flock.h71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile()
Dscoped_flock.cc93 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
/art/compiler/utils/mips64/
Dassembler_mips64.cc164 void Mips64Assembler::EmitFR(int opcode, int fmt, FpuRegister ft, FpuRegister fs, FpuRegister fd, in EmitFR()
977 void Mips64Assembler::AddS(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in AddS()
981 void Mips64Assembler::SubS(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in SubS()
985 void Mips64Assembler::MulS(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in MulS()
989 void Mips64Assembler::DivS(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in DivS()
993 void Mips64Assembler::AddD(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in AddD()
997 void Mips64Assembler::SubD(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in SubD()
1001 void Mips64Assembler::MulD(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in MulD()
1005 void Mips64Assembler::DivD(FpuRegister fd, FpuRegister fs, FpuRegister ft) { in DivD()
1009 void Mips64Assembler::SqrtS(FpuRegister fd, FpuRegister fs) { in SqrtS()
[all …]
/art/runtime/dex/
Dart_dex_file_loader.cc94 File fd; in GetMultiDexChecksums() local
227 File fd = OpenAndReadMagic(filename, &magic, error_msg); in Open() local
253 std::unique_ptr<const DexFile> ArtDexFileLoader::OpenDex(int fd, in OpenDex()
263 bool ArtDexFileLoader::OpenZip(int fd, in OpenZip()
280 std::unique_ptr<const DexFile> ArtDexFileLoader::OpenFile(int fd, in OpenFile()
/art/libartbase/base/unix_file/
Dfd_file.cc43 FdFile::FdFile(int fd, bool check_usage) in FdFile()
48 FdFile::FdFile(int fd, const std::string& path, bool check_usage) in FdFile()
52 FdFile::FdFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in FdFile()
251 static ssize_t ReadIgnoreOffset(int fd, void *buf, size_t count, off_t offset) { in ReadIgnoreOffset()
257 static bool ReadFullyGeneric(int fd, void* buffer, size_t byte_count, size_t offset) { in ReadFullyGeneric()
Dfd_file.h71 void Reset(int fd, bool check_usage) { in Reset()
/art/compiler/utils/mips/
Dassembler_mips.cc306 FRegister fd, in EmitFR()
1226 void MipsAssembler::AddS(FRegister fd, FRegister fs, FRegister ft) { in AddS()
1230 void MipsAssembler::SubS(FRegister fd, FRegister fs, FRegister ft) { in SubS()
1234 void MipsAssembler::MulS(FRegister fd, FRegister fs, FRegister ft) { in MulS()
1238 void MipsAssembler::DivS(FRegister fd, FRegister fs, FRegister ft) { in DivS()
1242 void MipsAssembler::AddD(FRegister fd, FRegister fs, FRegister ft) { in AddD()
1246 void MipsAssembler::SubD(FRegister fd, FRegister fs, FRegister ft) { in SubD()
1250 void MipsAssembler::MulD(FRegister fd, FRegister fs, FRegister ft) { in MulD()
1254 void MipsAssembler::DivD(FRegister fd, FRegister fs, FRegister ft) { in DivD()
1258 void MipsAssembler::SqrtS(FRegister fd, FRegister fs) { in SqrtS()
[all …]
/art/profman/
Dprofman.cc71 static bool FdIsValid(int fd) { in FdIsValid()
473 std::unique_ptr<const ProfileCompilationInfo> LoadProfile(const std::string& filename, int fd) { in LoadProfile()
491 int fd, in DumpOneProfile()
573 bool GetClassNamesAndMethods(int fd, in GetClassNamesAndMethods()
628 int fd = open(profile_file.c_str(), O_RDONLY); in GetClassNamesAndMethods() local
1011 int fd = reference_profile_file_fd_; in OpenReferenceProfile() local
1048 int fd = OpenReferenceProfile(); in CreateProfile() local
1226 int fd; in ParseFdForCollection() local
/art/runtime/
Dzip_archive_test.cc52 int fd = open(tmp.GetFilename().c_str(), O_RDONLY); in TEST_F() local
Dzip_archive.cc209 static void SetCloseOnExec(int fd) { in SetCloseOnExec()
238 ZipArchive* ZipArchive::OpenFromFd(int fd, const char* filename, std::string* error_msg) { in OpenFromFd()
Dmem_map.cc278 int fd, in TryMemMapLow4GB()
332 unique_fd fd; in MapAnonymous() local
488 int fd, in MapFileAtAddress()
656 unique_fd fd; in RemapAtEnd() local
905 int fd, in MapInternalArtLow4GBAllocator()
999 int fd, in MapInternal()
Dmonitor_android.cc46 int fd = open("/proc/self/cmdline", O_RDONLY); in LogContentionEvent() local
Dmem_map.h116 int fd, in MapFile()
Dsignal_catcher.cc136 int fd = open(stack_trace_file_.c_str(), O_APPEND | O_CREAT | O_WRONLY, 0666); in OpenStackTraceFile() local
Dcommon_runtime_test.cc85 int fd = mkstemp(&filename_[0]); in ScratchFile() local
94 int fd = open(filename_.c_str(), O_RDWR | O_CREAT, 0666); in ScratchFile() local
/art/compiler/utils/
Dswap_space_test.cc38 int fd = scratch.GetFd(); in SwapTest() local
Dswap_space.cc62 SwapSpace::SwapSpace(int fd, size_t initial_size) in SwapSpace()
/art/runtime/jdwp/
Djdwp_socket.cc202 static int SetNoDelay(int fd) { in SetNoDelay()
390 int fd; in ProcessIncoming() local
Djdwp_adb.cc353 int fd; in ProcessIncoming() local
/art/runtime/jit/
Dprofile_compilation_info.cc199 int fd = profile_file->Fd(); in MergeWith() local
230 int fd = profile_file->Fd(); in Load() local
267 int fd = profile_file->Fd(); in Save() local
295 static bool WriteBuffer(int fd, const uint8_t* buffer, size_t byte_count) { in WriteBuffer()
346 bool ProfileCompilationInfo::Save(int fd) { in Save()
883 static int testEOF(int fd) { in testEOF()
1063 int fd, bool merge_classes, const ProfileLoadFilterFn& filter_fn) { in Load()
1169 int32_t fd, in OpenSource()
1260 int32_t fd, in LoadInternal()
1815 bool ProfileCompilationInfo::GenerateTestProfile(int fd, in GenerateTestProfile()
[all …]
Dprofile_compilation_info.h634 static ProfileSource* Create(int32_t fd) { in Create()
663 ProfileSource(int32_t fd, std::unique_ptr<MemMap>&& mem_map) in ProfileSource()
/art/dt_fd_forward/
Ddt_fd_forward.cc104 static void SendListenMessage(const android::base::unique_fd& fd) { in SendListenMessage()
120 static void SendListenEndMessage(const android::base::unique_fd& fd) { in SendListenEndMessage()
236 explicit ScopedEventFdLock(const android::base::unique_fd& fd) : fd_(fd), data_(0) { in ScopedEventFdLock()
275 static void SendAcceptMessage(int fd) { in SendAcceptMessage()
400 void SendClosingMessage(int fd) { in SendClosingMessage()
/art/tools/hiddenapi/
Dhiddenapi.cc268 File fd(filename.c_str(), O_RDWR, /* check_usage */ false); in OpenDexFiles() local

12