Home
last modified time | relevance | path

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

/developtools/syscap_codec/interfaces/inner_api/
Dsyscap_interface.c68 int32_t sysCapArraySize; member
335 freeAfterDecodeRpcidInfo.sysCapArraySize = cJSON_GetArraySize(sysCapArray); in TransStringFormatAndSaveSyscap()
336 if (freeAfterDecodeRpcidInfo.sysCapArraySize < 0) { in TransStringFormatAndSaveSyscap()
342 * freeAfterDecodeRpcidInfo.sysCapArraySize); in TransStringFormatAndSaveSyscap()
407 (void)memset_s(priSyscapArray, freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN, in PartSysCapAndOutBuffer()
408 0, freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN); in PartSysCapAndOutBuffer()
411 for (i = 0; i < (uint32_t)freeAfterDecodeRpcidInfo.sysCapArraySize; i++) { in PartSysCapAndOutBuffer()
481 freeAfterDecodeRpcidInfo.sysCapArraySize = 0; in DecodeRpcidToStringFormat()
501 .sysCapArraySize, 0, sizeof(uint16_t) * freeAfterDecodeRpcidInfo.sysCapArraySize); in DecodeRpcidToStringFormat()
503 priSyscapArray = (char *)malloc(freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN); in DecodeRpcidToStringFormat()
[all …]
/developtools/syscap_codec/src/
Dsyscap_tool.c347 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()
[all …]