Home
last modified time | relevance | path

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

/system/incremental_delivery/incfs/tests/
Dhardening_benchmark.cpp37 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in makeEmptyFileMapping()
52 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestSignal()
100 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestAccess()
110 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestAccessFast()
122 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestAccessVal()
132 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestAccessNested()
144 auto mapping = android::base::MappedFile::FromFd(tmp->fd, 0, 1, PROT_READ); in TestAccessDoubleNested()
/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/extras/simpleperf/
Dread_dex_file.cpp94 map = android::base::MappedFile::FromFd(fd, 0, file_size, PROT_READ); in ReadSymbolsFromDexFile()
/system/logging/logd/
DReplayMessages.cpp430 auto recorded_messages = MappedFile::FromFd(recorded_messages_fd, 0, in main()
/system/core/libsparse/
Doutput_file.cpp653 auto m = android::base::MappedFile::FromFd(fd, offset, len, PROT_READ); in write_fd_chunk()
/system/core/fastboot/
Dfastboot_driver.cpp535 auto mapping{android::base::MappedFile::FromFd(fd, offset, len, PROT_READ)}; in SendBuffer()
/system/libziparchive/
Dzip_archive_test.cc620 android::base::MappedFile::FromFd(fd, 0, static_cast<size_t>(sb.st_size), PROT_READ)}; in TEST()
Dzip_archive.cc1623 directory_map = android::base::MappedFile::FromFd(mapped_zip.GetFileDescriptor(), in InitializeCentralDirectory()