Home
last modified time | relevance | path

Searched refs:PartitionRecordInfo (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/update/updater/services/applypatch/
H A Dpartition_record.cpp56 …_t *p = buffer; p < buffer + PARTITION_UPDATER_RECORD_MSG_SIZE; p += sizeof(PartitionRecordInfo)) { in IsPartitionUpdated()
57 PartitionRecordInfo *pri = reinterpret_cast<PartitionRecordInfo*>(p); in IsPartitionUpdated()
99 …if (write(fd, &info_, sizeof(PartitionRecordInfo)) != static_cast<ssize_t>(sizeof(PartitionRecordI… in RecordPartitionSetInfo()
103 offset_ += static_cast<off_t>(sizeof(PartitionRecordInfo)); in RecordPartitionSetInfo()
134 … if (offset_ + static_cast<off_t>(sizeof(PartitionRecordInfo)) < PARTITION_UPDATER_RECORD_SIZE) { in RecordPartitionUpdateStatus()
/ohos5.0/base/update/updater/services/include/applypatch/
H A Dpartition_record.h41 struct PartitionRecordInfo { struct
48 static_assert(sizeof(PartitionRecordInfo) == PARTITION_RECORD_INFO_LEN, argument
75 PartitionRecordInfo info_ {};
/ohos5.0/base/update/updater/services/
H A Dupdater_utils.cpp150 struct PartitionRecordInfo cleanPartition {}; in ClearMisc()
152 sizeof(PartitionRecordInfo)) { in ClearMisc()
157 if (fwrite(&cleanPartition, sizeof(PartitionRecordInfo), 1, fp.get()) != 1) { in ClearMisc()