Home
last modified time | relevance | path

Searched refs:FromFd (Results 1 – 12 of 12) sorted by relevance

/system/libbase/
Dmapped_file_test.cpp34 auto m = android::base::MappedFile::FromFd(tf.fd, 3, 2, PROT_READ); in TEST()
46 auto m = android::base::MappedFile::FromFd(tf.fd, 4096, 0, PROT_READ); in TEST()
Dabi_compatibility.cpp73 return MappedFile::FromFd(fd, offset, length, prot); in MAPPEDFILE_FROMFD()
Dmapped_file.cpp38 std::unique_ptr<MappedFile> MappedFile::FromFd(borrowed_fd fd, off64_t offset, size_t length, in FromFd() function in android::base::MappedFile
/system/libbase/include/android-base/
Dmapped_file.h50 static std::unique_ptr<MappedFile> FromFd(borrowed_fd fd, off64_t offset, size_t length,
/system/core/adb/
Dtransport_fd.cpp239 std::unique_ptr<Connection> Connection::FromFd(unique_fd fd) { in FromFd() function in Connection
Dtransport_benchmark.cpp51 return Connection::FromFd(std::move(fd)); in MakeConnection()
Dtransport.h139 static std::unique_ptr<Connection> FromFd(unique_fd fd);
/system/core/logd/
DReplayMessages.cpp397 auto recorded_messages = MappedFile::FromFd(recorded_messages_fd, 0, in main()
/system/core/libsparse/
Doutput_file.cpp652 auto m = android::base::MappedFile::FromFd(fd, offset, len, PROT_READ); in write_fd_chunk()
/system/core/fastboot/
Dfastboot_driver.cpp485 auto mapping{android::base::MappedFile::FromFd(fd, offset, len, PROT_READ)}; in SendBuffer()
/system/libziparchive/
Dzip_archive.cc1543 directory_map = android::base::MappedFile::FromFd(mapped_zip.GetFileDescriptor(), in InitializeCentralDirectory()
Dzip_archive_test.cc620 android::base::MappedFile::FromFd(fd, 0, static_cast<size_t>(sb.st_size), PROT_READ)}; in TEST()