Searched refs:byte_count (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/install/ |
D | package.cpp | 49 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override; 89 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override; 160 bool MemoryPackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() argument 161 if (byte_count > package_size_ || offset > package_size_ - byte_count) { in ReadFullyAtOffset() 162 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset() 166 memcpy(buffer, addr_ + offset, byte_count); in ReadFullyAtOffset() 211 bool FilePackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() argument 212 if (byte_count > package_size_ || offset > package_size_ - byte_count) { in ReadFullyAtOffset() 213 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset() 218 if (!android::base::ReadFullyAtOffset(fd_.get(), buffer, byte_count, offset)) { in ReadFullyAtOffset() [all …]
|
/bootable/recovery/install/include/install/ |
D | verifier.h | 70 virtual bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) = 0;
|