Searched refs:LpMetadataHeaderV1_0 (Results 1 – 6 of 6) sorted by relevance
302 metadata->header.header_size = sizeof(LpMetadataHeaderV1_0); in SetMetadataHeaderV0()311 static_assert(sizeof(metadata->header) > sizeof(LpMetadataHeaderV1_0)); in SetMetadataHeaderV0()312 memset(reinterpret_cast<uint8_t*>(&metadata->header) + sizeof(LpMetadataHeaderV1_0), 0, in SetMetadataHeaderV0()313 sizeof(metadata->header) - sizeof(LpMetadataHeaderV1_0)); in SetMetadataHeaderV0()
34 static_assert(sizeof(LpMetadataHeaderV1_0) == offsetof(LpMetadataHeader, flags),172 if (!reader->ReadFully(&header, sizeof(LpMetadataHeaderV1_0))) { in ReadMetadataHeader()191 expected_struct_size = sizeof(LpMetadataHeaderV1_0); in ReadMetadataHeader()199 if (size_t remaining_bytes = header.header_size - sizeof(LpMetadataHeaderV1_0)) { in ReadMetadataHeader()200 uint8_t* offset = reinterpret_cast<uint8_t*>(&header) + sizeof(LpMetadataHeaderV1_0); in ReadMetadataHeader()
379 static const size_t kMaxPartitionTableSize = kMetadataSize - sizeof(LpMetadataHeaderV1_0) - in TEST_F()
309 header_.header_size = sizeof(LpMetadataHeaderV1_0); in MetadataBuilder()
358 EXPECT_EQ(header.header_size, sizeof(LpMetadataHeaderV1_0)); in TEST_F()
383 typedef struct LpMetadataHeaderV1_0 { struct395 } __attribute__((packed)) LpMetadataHeaderV1_0; typedef