Home
last modified time | relevance | path

Searched refs:buffer_offset_ (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_consumer/
Ddelta_performer.cc596 if (manifest_.signatures_offset() != buffer_offset_) { in Write()
599 << " but signatures are expected at offset " << buffer_offset_; in Write()
838 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation()
844 buffer_offset_ + buffer_.size()); in CanPerformInstallOperation()
949 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformSourceBsdiffOperation()
966 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformPuffDiffOperation()
976 TEST_AND_RETURN_FALSE(buffer_offset_ == manifest_.signatures_offset()); in ExtractSignatureMessage()
1268 metadata_size_ + metadata_signature_size_ + buffer_offset_) { in VerifyPayload()
1272 << ") + buffer_offset (" << buffer_offset_ << ")."; in VerifyPayload()
1315 buffer_offset_ += buffer_.size(); in DiscardBuffer()
[all …]
Ddelta_performer.h385 uint64_t buffer_offset_{0};
/system/core/fs_mgr/libsnapshot/
Dsnapuserd.h98 void UpdateBufferOffset(size_t size) { buffer_offset_ += size; } in UpdateBufferOffset()
101 void ResetBufferOffset() { buffer_offset_ = 0; } in ResetBufferOffset()
106 loff_t buffer_offset_; variable
Dsnapuserd_worker.cpp37 buffer_offset_ = 0; in Initialize()
42 if ((buffer_size_ - buffer_offset_) < size) return nullptr; in GetPayloadBuffer()
46 return (char*)msg->payload.buf + buffer_offset_; in GetPayloadBuffer()