Searched refs:FromFd (Results 1 – 11 of 11) sorted by relevance
/system/incremental_delivery/incfs/tests/ |
D | hardening_benchmark.cpp | 37 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/ |
D | mapped_file_test.cpp | 34 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()
|
D | abi_compatibility.cpp | 73 return MappedFile::FromFd(fd, offset, length, prot); in MAPPEDFILE_FROMFD()
|
D | mapped_file.cpp | 38 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/ |
D | mapped_file.h | 50 static std::unique_ptr<MappedFile> FromFd(borrowed_fd fd, off64_t offset, size_t length,
|
/system/extras/simpleperf/ |
D | read_dex_file.cpp | 94 map = android::base::MappedFile::FromFd(fd, 0, file_size, PROT_READ); in ReadSymbolsFromDexFile()
|
/system/logging/logd/ |
D | ReplayMessages.cpp | 430 auto recorded_messages = MappedFile::FromFd(recorded_messages_fd, 0, in main()
|
/system/core/libsparse/ |
D | output_file.cpp | 653 auto m = android::base::MappedFile::FromFd(fd, offset, len, PROT_READ); in write_fd_chunk()
|
/system/core/fastboot/ |
D | fastboot_driver.cpp | 535 auto mapping{android::base::MappedFile::FromFd(fd, offset, len, PROT_READ)}; in SendBuffer()
|
/system/libziparchive/ |
D | zip_archive_test.cc | 620 android::base::MappedFile::FromFd(fd, 0, static_cast<size_t>(sb.st_size), PROT_READ)}; in TEST()
|
D | zip_archive.cc | 1623 directory_map = android::base::MappedFile::FromFd(mapped_zip.GetFileDescriptor(), in InitializeCentralDirectory()
|