Searched refs:imageBuf (Results 1 – 4 of 4) sorted by relevance
/base/update/updater/services/ptable_parse/ |
D | ufs_ptable.h | 59 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);
|
D | ptable_manager.cpp | 244 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()
|
D | ufs_ptable.cpp | 358 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()
|
D | ptable_manager.h | 75 … bool GetPtableBufferFromPkg(Hpackage::PkgManager *pkgManager, uint8_t *&imageBuf, uint32_t size);
|