Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
Dreader.cpp157 if (table.offset > header.tables_size) { in ValidateTableBounds()
161 if (header.tables_size - table.offset < table_size) { in ValidateTableBounds()
259 if (header.tables_size > geometry.metadata_max_size) { in ParseMetadata()
266 std::unique_ptr<uint8_t[]> buffer(new (std::nothrow) uint8_t[header.tables_size]); in ParseMetadata()
271 if (!reader->ReadFully(buffer.get(), header.tables_size)) { in ParseMetadata()
272 PERROR << __PRETTY_FUNCTION__ << " read " << header.tables_size << "bytes failed"; in ParseMetadata()
277 SHA256(buffer.get(), header.tables_size, checksum); in ParseMetadata()
Dwriter.cpp69 header.tables_size = header.block_devices.offset + block_devices.size(); in SerializeMetadata()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h209 uint32_t tables_size; member
389 uint32_t tables_size; member
/system/extras/partition_tools/
Dlpdump.cc309 cout << "Metadata size: " << (pt.header.header_size + pt.header.tables_size) << " bytes\n"; in PrintMetadata()