Home
last modified time | relevance | path

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

/ohos5.0/base/update/sys_installer_lite/frameworks/source/updater/
H A Dhota_updater.c523 unsigned int tempBuffSize = buffSize; in HotaDefaultWrite() local
525 … if (tempOffset < sizeof(PkgBasicInfo) && tempOffset + tempBuffSize >= sizeof(PkgBasicInfo)) { in HotaDefaultWrite()
534 tempBuffSize -= (sizeof(PkgBasicInfo) - tempOffset); in HotaDefaultWrite()
536 } else if (tempOffset + tempBuffSize < sizeof(PkgBasicInfo)) { in HotaDefaultWrite()
537 if (CopyToDloadCompBuffer(tempBuffer, tempBuffSize) != OHOS_SUCCESS) { in HotaDefaultWrite()
540 g_currentDloadComp.currentSize += tempBuffSize; in HotaDefaultWrite()
545 … (g_currentDloadComp.offset + g_currentDloadComp.totalSize) < (tempOffset + tempBuffSize) ? in HotaDefaultWrite()
547 (tempOffset + tempBuffSize); in HotaDefaultWrite()
552 tempBuffSize -= (endAddr - tempOffset); in HotaDefaultWrite()
556 } while (tempBuffSize > 0); in HotaDefaultWrite()