Home
last modified time | relevance | path

Searched refs:imageBuf (Results 1 – 4 of 4) sorted by relevance

/base/update/updater/services/ptable_parse/
Dufs_ptable.h59 uint8_t *GetPtableImageUfsLunPmbrStart(uint8_t *imageBuf, const uint32_t lunIndex);
60 uint8_t *GetPtableImageUfsLunGptHeaderStart(uint8_t *imageBuf, const uint32_t lunIndex);
61 uint8_t *GetPtableImageUfsLunEntryStart(uint8_t *imageBuf, const uint32_t lunIndex);
Dptable_manager.cpp244 uint8_t *imageBuf = new(std::nothrow) uint8_t[imgBufSize](); in LoadPartitionInfo() local
246 if (imageBuf == nullptr) { in LoadPartitionInfo()
250 if (!GetPtableBufferFromPkg(pkgManager, imageBuf, imgBufSize)) { in LoadPartitionInfo()
252 delete [] imageBuf; in LoadPartitionInfo()
256 if (!pPtable_->ParsePartitionFromBuffer(imageBuf, imgBufSize)) { in LoadPartitionInfo()
258 delete [] imageBuf; in LoadPartitionInfo()
261 delete [] imageBuf; in LoadPartitionInfo()
267 bool PackagePtable::GetPtableBufferFromPkg(Hpackage::PkgManager *pkgManager, uint8_t *&imageBuf, ui… in GetPtableBufferFromPkg() argument
300 if (memcpy_s(imageBuf, size, buffer, std::min(static_cast<size_t>(size), bufSize))) { in GetPtableBufferFromPkg()
Dufs_ptable.cpp358 uint8_t *UfsPtable::GetPtableImageUfsLunPmbrStart(uint8_t *imageBuf, const uint32_t lunIndex) in GetPtableImageUfsLunPmbrStart() argument
362 return imageBuf + pmbrStart; in GetPtableImageUfsLunPmbrStart()
365 uint8_t *UfsPtable::GetPtableImageUfsLunGptHeaderStart(uint8_t *imageBuf, const uint32_t lunIndex) in GetPtableImageUfsLunGptHeaderStart() argument
369 return imageBuf + gptHeaderStart; in GetPtableImageUfsLunGptHeaderStart()
372 uint8_t *UfsPtable::GetPtableImageUfsLunEntryStart(uint8_t *imageBuf, const uint32_t lunIndex) in GetPtableImageUfsLunEntryStart() argument
377 return imageBuf + entryStart; in GetPtableImageUfsLunEntryStart()
Dptable_manager.h75 … bool GetPtableBufferFromPkg(Hpackage::PkgManager *pkgManager, uint8_t *&imageBuf, uint32_t size);