Home
last modified time | relevance | path

Searched refs:imgBufSize (Results 1 – 5 of 5) sorted by relevance

/base/update/updater/services/ptable_parse/
Dptable_manager.cpp239 uint32_t imgBufSize = pPtable_->GetDefaultImageSize(); in LoadPartitionInfo() local
240 if (imgBufSize <= 0) { in LoadPartitionInfo()
244 uint8_t *imageBuf = new(std::nothrow) uint8_t[imgBufSize](); in LoadPartitionInfo()
250 if (!GetPtableBufferFromPkg(pkgManager, imageBuf, imgBufSize)) { in LoadPartitionInfo()
256 if (!pPtable_->ParsePartitionFromBuffer(imageBuf, imgBufSize)) { in LoadPartitionInfo()
Dufs_ptable.h29 bool ParsePartitionFromBuffer(uint8_t *ptbImgBuffer, const uint32_t imgBufSize) override;
Dufs_ptable.cpp179 bool UfsPtable::ParsePartitionFromBuffer(uint8_t *ptbImgBuffer, const uint32_t imgBufSize) in ParsePartitionFromBuffer() argument
188 if (imgBufSize < ptableData_.emmcGptDataLen + ptableData_.imgLuSize) { in ParsePartitionFromBuffer()
Dptable.h50 virtual bool ParsePartitionFromBuffer(uint8_t *ptbImgBuffer, const uint32_t imgBufSize) = 0;
/base/update/updater/test/unittest/ptable_parse_test/
Dptable_unittest.cpp31 bool ParsePartitionFromBuffer(uint8_t *ptbImgBuffer, const uint32_t imgBufSize) override in ParsePartitionFromBuffer() argument