Searched refs:metadata_size_ (Results 1 – 7 of 7) sorted by relevance
60 properties.SetInteger(kPayloadPropertyJsonMetadataSize, metadata_size_); in GetPropertiesAsJson()76 std::to_string(metadata_size_)); in GetPropertiesAsKeyValue()91 metadata_size_ = payload_metadata.GetMetadataSize(); in LoadFromPayload()96 payload_path_, metadata_size_, &metadata_hash) == in LoadFromPayload()97 static_cast<off_t>(metadata_size_)); in LoadFromPayload()
55 size_t metadata_size_; variable
110 metadata_size_ = manifest_offset + manifest_size_; in ParsePayloadHeader()111 if (metadata_size_ < manifest_size_) { in ParsePayloadHeader()128 if (metadata_size_ + metadata_signature_size_ < metadata_size_) { in ParsePayloadHeader()160 if (payload.size() < metadata_size_ + metadata_signature_size_) in ValidateMetadataSignature()178 payload.begin() + metadata_size_, in ValidateMetadataSignature()179 payload.begin() + metadata_size_ + metadata_signature_size_); in ValidateMetadataSignature()190 payload.data(), metadata_size_, &metadata_hash)) { in ValidateMetadataSignature()
83 uint64_t GetMetadataSize() const { return metadata_size_; } in GetMetadataSize()113 uint64_t metadata_size_{0};
289 return metadata_size_ != 0; in IsHeaderParsed()302 metadata_size_ = payload_metadata_.GetMetadataSize(); in ParsePayloadMetadata()311 if (payload_->metadata_size != metadata_size_) { in ParsePayloadMetadata()314 << ") is missing/incorrect, actual = " << metadata_size_; in ParsePayloadMetadata()326 if (metadata_size_ + metadata_signature_size_ > payload_->size) { in ParsePayloadMetadata()327 LOG(ERROR) << "The size of the metadata_size(" << metadata_size_ << ")" in ParsePayloadMetadata()338 if (payload.size() < metadata_size_ + metadata_signature_size_) in ParsePayloadMetadata()345 if (payload_->metadata_size == metadata_size_) { in ParsePayloadMetadata()353 << "Trusting metadata size in payload = " << metadata_size_; in ParsePayloadMetadata()421 : metadata_size_ + metadata_signature_size_)); in Write()[all …]
354 uint64_t metadata_size_{0};
432 EXPECT_EQ(payload_.metadata_size, performer_.metadata_size_); in DoMetadataSignatureTest()861 EXPECT_EQ(24 + manifest_size, performer_.metadata_size_); // 4 + 8 + 8 + 4 in TEST_F()