Searched refs:byte_count (Results 1 – 2 of 2) sorted by relevance
/bootable/recovery/install/ |
D | package.cpp | 57 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override; 105 bool ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) override; 176 bool MemoryPackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() argument 177 if (byte_count > package_size_ || offset > package_size_ - byte_count) { in ReadFullyAtOffset() 178 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset() 182 memcpy(buffer, addr_ + offset, byte_count); in ReadFullyAtOffset() 227 bool FilePackage::ReadFullyAtOffset(uint8_t* buffer, uint64_t byte_count, uint64_t offset) { in ReadFullyAtOffset() argument 228 if (byte_count > package_size_ || offset > package_size_ - byte_count) { in ReadFullyAtOffset() 229 LOG(ERROR) << "Out of bound read, offset: " << offset << ", size: " << byte_count in ReadFullyAtOffset() 234 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;
|