Home
last modified time | relevance | path

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

/ohos5.0/base/update/sys_installer_lite/frameworks/source/updater/
H A Dhota_updater.c99 static unsigned char *g_infoCompBuff = NULL; /* info component buffer */ variable
116 g_infoCompBuff = NULL; in HotaResetStatus()
128 if (g_infoCompBuff != NULL) { in UpdateStatus()
129 free(g_infoCompBuff); in UpdateStatus()
130 g_infoCompBuff = NULL; in UpdateStatus()
403 result = ParseHotaInfoComponent(g_infoCompBuff, g_infoCompAndSignSize); in ProcessOneComponent()
428 …if (memcpy_s(g_infoCompBuff + g_currentDloadComp.currentSize, MAX_BUFFER_SIZE - g_currentDloadComp… in CopyToDloadCompBuffer()
530 … if (ProcessInfoCompHeader(g_infoCompBuff, g_currentDloadComp.currentSize) != OHOS_SUCCESS) { in HotaDefaultWrite()
594 g_infoCompBuff = (unsigned char *)malloc(MAX_BUFFER_SIZE); in HotaInit()
595 if (g_infoCompBuff == NULL) { in HotaInit()