Searched refs:LpMetadataGeometry (Results 1 – 14 of 14) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | reader.h | 31 bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry); 34 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, int fd); 35 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, const void* buffer, 37 bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geometry); 38 bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry); 39 bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry); 44 std::unique_ptr<LpMetadata> ReadPrimaryMetadata(int fd, const LpMetadataGeometry& geometry, 46 std::unique_ptr<LpMetadata> ReadBackupMetadata(int fd, const LpMetadataGeometry& geometry,
|
D | reader.cpp | 75 bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry) { in ParseGeometry() 87 if (geometry->struct_size > sizeof(LpMetadataGeometry)) { in ParseGeometry() 93 LpMetadataGeometry temp = *geometry; in ParseGeometry() 103 if (geometry->struct_size != sizeof(LpMetadataGeometry)) { in ParseGeometry() 118 bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry) { in ReadPrimaryGeometry() 131 bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry) { in ReadBackupGeometry() 148 bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geometry) { in ReadLogicalPartitionGeometry() 246 static std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, in ParseMetadata() 365 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, const void* buffer, in ParseMetadata() 371 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, int fd) { in ParseMetadata() [all …]
|
D | writer.cpp | 34 std::string SerializeGeometry(const LpMetadataGeometry& input) { in SerializeGeometry() 35 LpMetadataGeometry geometry = input; in SerializeGeometry() 44 static bool CompareGeometry(const LpMetadataGeometry& g1, const LpMetadataGeometry& g2) { in CompareGeometry() 89 const LpMetadataGeometry& geometry = metadata.geometry; in ValidateAndSerializeMetadata() 345 const LpMetadataGeometry& geometry = metadata.geometry; in UpdatePartitionTable() 346 LpMetadataGeometry old_geometry; in UpdatePartitionTable()
|
D | utility.h | 53 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 57 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
|
D | writer.h | 28 std::string SerializeGeometry(const LpMetadataGeometry& input);
|
D | images.h | 59 const LpMetadataGeometry& geometry_;
|
D | images.cpp | 49 LpMetadataGeometry geometry = {}; in IsEmptySuperImage() 80 LpMetadataGeometry geometry; in ReadFromImageFile() 93 LpMetadataGeometry geometry; in ReadFromImageBlob()
|
D | utility.cpp | 83 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetPrimaryMetadataOffset() 90 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetBackupMetadataOffset()
|
D | utility_test.cpp | 44 LpMetadataGeometry geometry = {LP_METADATA_GEOMETRY_MAGIC, in TEST()
|
D | io_test.cpp | 308 LpMetadataGeometry geometry; in TEST_F() 312 LpMetadataGeometry bad_geometry = geometry; in TEST_F() 619 LpMetadataGeometry geometry; in TEST_F()
|
D | builder_test.cpp | 340 const LpMetadataGeometry& geometry = exported->geometry; in TEST_F()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 116 typedef struct LpMetadataGeometry { struct 144 } __attribute__((packed)) LpMetadataGeometry; typedef
|
D | liblp.h | 38 LpMetadataGeometry geometry;
|
D | builder.h | 419 LpMetadataGeometry geometry_;
|