Searched refs:ReadFullyAtOffset (Results 1 – 8 of 8) sorted by relevance
/system/core/fs_mgr/libvbmeta/ |
D | reader.cpp | 61 if (!android::base::ReadFullyAtOffset(fd, header_buffer.get(), SUPER_VBMETA_HEADER_SIZE, in ReadVBMetaTable() 74 if (!android::base::ReadFullyAtOffset(fd, descriptors_buffer.get(), in ReadVBMetaTable() 98 if (!android::base::ReadFullyAtOffset(fd, buffer.get(), VBMETA_IMAGE_MAX_SIZE, offset)) { in ReadVBMetaImage()
|
/system/libbase/ |
D | abi_compatibility.cpp | 56 bool ReadFullyAtOffset(int fd, void* data, size_t byte_count, off64_t offset) { in ReadFullyAtOffset() function 57 return ReadFullyAtOffset(borrowed_fd(fd), data, byte_count, offset); in ReadFullyAtOffset()
|
D | file.cpp | 341 bool ReadFullyAtOffset(borrowed_fd fd, void* data, size_t byte_count, off64_t offset) { in ReadFullyAtOffset() function
|
/system/libbase/include/android-base/ |
D | file.h | 105 bool ReadFullyAtOffset(borrowed_fd fd, void* data, size_t byte_count, off64_t offset);
|
/system/apex/apexd/ |
D | apex_file.cpp | 42 using android::base::ReadFullyAtOffset; 258 if (!ReadFullyAtOffset(fd, vbmeta_buf.get(), footer.vbmeta_size, offset)) { in verifyVbMeta()
|
/system/gsid/ |
D | gsi_service.cpp | 54 using android::base::ReadFullyAtOffset; 1011 if (!ReadFullyAtOffset(fd, footer_bytes.data(), AVB_FOOTER_SIZE, footer_offset)) { in GetAvbPublicKeyFromFd() 1023 if (!ReadFullyAtOffset(fd, vbmeta_bytes.data(), vbmeta_bytes.size(), footer.vbmeta_offset)) { in GetAvbPublicKeyFromFd()
|
/system/extras/simpleperf/ |
D | read_elf.cpp | 85 if (!android::base::ReadFullyAtOffset(fd, buf, 4, file_offset)) { in IsValidElfFile()
|
/system/libziparchive/ |
D | zip_archive.cc | 1520 if (!android::base::ReadFullyAtOffset(fd_, buf, len, read_offset)) { in ReadAtOffset()
|