Home
last modified time | relevance | path

Searched refs:LpMetadataGeometry (Results 1 – 14 of 14) sorted by relevance

/system/core/fs_mgr/liblp/
Dreader.h31 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,
Dreader.cpp75 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 …]
Dwriter.cpp34 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()
Dutility.h53 int64_t GetPrimaryMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
57 int64_t GetBackupMetadataOffset(const LpMetadataGeometry& geometry, uint32_t slot_number);
Dwriter.h28 std::string SerializeGeometry(const LpMetadataGeometry& input);
Dimages.h59 const LpMetadataGeometry& geometry_;
Dimages.cpp49 LpMetadataGeometry geometry = {}; in IsEmptySuperImage()
80 LpMetadataGeometry geometry; in ReadFromImageFile()
93 LpMetadataGeometry geometry; in ReadFromImageBlob()
Dutility.cpp83 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()
Dutility_test.cpp44 LpMetadataGeometry geometry = {LP_METADATA_GEOMETRY_MAGIC, in TEST()
Dio_test.cpp308 LpMetadataGeometry geometry; in TEST_F()
312 LpMetadataGeometry bad_geometry = geometry; in TEST_F()
619 LpMetadataGeometry geometry; in TEST_F()
Dbuilder_test.cpp340 const LpMetadataGeometry& geometry = exported->geometry; in TEST_F()
/system/core/fs_mgr/liblp/include/liblp/
Dmetadata_format.h116 typedef struct LpMetadataGeometry { struct
144 } __attribute__((packed)) LpMetadataGeometry; typedef
Dliblp.h38 LpMetadataGeometry geometry;
Dbuilder.h419 LpMetadataGeometry geometry_;