Searched refs:metadata_size_ (Results 1 – 7 of 7) sorted by relevance
93 metadata_size_ = manifest_offset + manifest_size_; in ParsePayloadHeader()94 if (metadata_size_ < manifest_size_) { in ParsePayloadHeader()111 if (metadata_size_ + metadata_signature_size_ < metadata_size_) { in ParsePayloadHeader()137 if (payload.size() < metadata_size_ + metadata_signature_size_) in ValidateMetadataSignature()155 payload.begin() + metadata_size_, in ValidateMetadataSignature()156 payload.begin() + metadata_size_ + metadata_signature_size_); in ValidateMetadataSignature()167 payload.data(), metadata_size_, &metadata_hash)) { in ValidateMetadataSignature()
80 uint64_t GetMetadataSize() const { return metadata_size_; } in GetMetadataSize()106 uint64_t metadata_size_{0};
440 return metadata_size_ != 0; in IsHeaderParsed()453 metadata_size_ = payload_metadata_.GetMetadataSize(); in ParsePayloadMetadata()462 if (payload_->metadata_size != metadata_size_) { in ParsePayloadMetadata()465 << ") is missing/incorrect, actual = " << metadata_size_; in ParsePayloadMetadata()477 if (metadata_size_ + metadata_signature_size_ > payload_->size) { in ParsePayloadMetadata()478 LOG(ERROR) << "The size of the metadata_size(" << metadata_size_ << ")" in ParsePayloadMetadata()489 if (payload.size() < metadata_size_ + metadata_signature_size_) in ParsePayloadMetadata()496 if (payload_->metadata_size == metadata_size_) { in ParsePayloadMetadata()504 << "Trusting metadata size in payload = " << metadata_size_; in ParsePayloadMetadata()571 : metadata_size_ + metadata_signature_size_)); in Write()[all …]
365 uint64_t metadata_size_{0};
416 EXPECT_EQ(payload_.metadata_size, performer_.metadata_size_); in DoMetadataSignatureTest()933 EXPECT_EQ(24 + manifest_size, performer_.metadata_size_); // 4 + 8 + 8 + 4 in TEST_F()
62 properties.SetInteger(kPayloadPropertyJsonMetadataSize, metadata_size_); in GetPropertiesAsJson()82 std::to_string(metadata_size_)); in GetPropertiesAsKeyValue()97 metadata_size_ = payload_metadata.GetMetadataSize(); in LoadFromPayload()102 payload_path_, metadata_size_, &metadata_hash) == in LoadFromPayload()103 static_cast<off_t>(metadata_size_)); in LoadFromPayload()
55 size_t metadata_size_; variable