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 | 71 bool ParseGeometry(const void* buffer, LpMetadataGeometry* geometry) { in ParseGeometry() 83 if (geometry->struct_size > sizeof(LpMetadataGeometry)) { in ParseGeometry() 89 LpMetadataGeometry temp = *geometry; in ParseGeometry() 99 if (geometry->struct_size != sizeof(LpMetadataGeometry)) { in ParseGeometry() 114 bool ReadPrimaryGeometry(int fd, LpMetadataGeometry* geometry) { in ReadPrimaryGeometry() 127 bool ReadBackupGeometry(int fd, LpMetadataGeometry* geometry) { in ReadBackupGeometry() 144 bool ReadLogicalPartitionGeometry(int fd, LpMetadataGeometry* geometry) { in ReadLogicalPartitionGeometry() 213 static std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, in ParseMetadata() 324 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, const void* buffer, in ParseMetadata() 330 std::unique_ptr<LpMetadata> ParseMetadata(const LpMetadataGeometry& geometry, int fd) { in ParseMetadata() [all …]
|
D | utility.h | 49 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number); 53 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
|
D | writer.cpp | 33 std::string SerializeGeometry(const LpMetadataGeometry& input) { in SerializeGeometry() 34 LpMetadataGeometry geometry = input; in SerializeGeometry() 43 static bool CompareGeometry(const LpMetadataGeometry& g1, const LpMetadataGeometry& g2) { in CompareGeometry() 87 const LpMetadataGeometry& geometry = metadata.geometry; in ValidateAndSerializeMetadata() 338 const LpMetadataGeometry& geometry = metadata.geometry; in UpdatePartitionTable() 339 LpMetadataGeometry old_geometry; in UpdatePartitionTable()
|
D | writer.h | 28 std::string SerializeGeometry(const LpMetadataGeometry& input);
|
D | utility.cpp | 77 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetPrimaryMetadataOffset() 84 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number) { in GetBackupMetadataOffset()
|
D | utility_test.cpp | 41 LpMetadataGeometry geometry = {LP_METADATA_GEOMETRY_MAGIC, in TEST()
|
D | images.h | 61 const LpMetadataGeometry& geometry_;
|
D | images.cpp | 46 LpMetadataGeometry geometry; in ReadFromImageFile() 59 LpMetadataGeometry geometry; in ReadFromImageBlob()
|
D | io_test.cpp | 305 LpMetadataGeometry geometry; in TEST() 309 LpMetadataGeometry bad_geometry = geometry; in TEST() 616 LpMetadataGeometry geometry; in TEST()
|
D | builder_test.cpp | 331 const LpMetadataGeometry& geometry = exported->geometry; in TEST_F()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 93 typedef struct LpMetadataGeometry { struct 121 } __attribute__((packed)) LpMetadataGeometry; argument
|
D | liblp.h | 38 LpMetadataGeometry geometry;
|
D | builder.h | 342 LpMetadataGeometry geometry_;
|