Lines Matching refs:sysCapArraySize
347 int32_t sysCapArraySize, cJSON *sysCapArray, char *outDirPath) in OutputSetMemAndPrintToFile() argument
355 (void)memset_s(freeAfterEncodeRpcidscInfo.osSysCapIndex, sizeof(uint16_t) * sysCapArraySize, in OutputSetMemAndPrintToFile()
356 0, sizeof(uint16_t) * sysCapArraySize); in OutputSetMemAndPrintToFile()
358 …freeAfterEncodeRpcidscInfo.priSyscapArray = (char *)malloc((uint32_t)sysCapArraySize * SINGLE_SYSC… in OutputSetMemAndPrintToFile()
360 PRINT_ERR("malloc(%d) failed.\n", sysCapArraySize * SINGLE_SYSCAP_LEN); in OutputSetMemAndPrintToFile()
364 …(void)memset_s(freeAfterEncodeRpcidscInfo.priSyscapArray, (size_t)(sysCapArraySize * SINGLE_SYSCAP… in OutputSetMemAndPrintToFile()
365 0, (size_t)(sysCapArraySize * SINGLE_SYSCAP_LEN)); in OutputSetMemAndPrintToFile()
369 for (int i = 0; i < sysCapArraySize; i++) { in OutputSetMemAndPrintToFile()
445 int32_t sysCapArraySize; in EncodeRpcidscToString() local
479 sysCapArraySize = cJSON_GetArraySize(sysCapArray); in EncodeRpcidscToString()
480 if (sysCapArraySize < 0) { in EncodeRpcidscToString()
485 … freeAfterEncodeRpcidscInfo.osSysCapIndex = (uint16_t *)malloc(sizeof(uint16_t) * sysCapArraySize); in EncodeRpcidscToString()
491 …ret = OutputSetMemAndPrintToFile(freeAfterEncodeRpcidscInfo, sysCapArraySize, sysCapArray, outDirP… in EncodeRpcidscToString()