Searched refs:sysCapArraySize (Results 1 – 2 of 2) sorted by relevance
| /developtools/syscap_codec/interfaces/inner_api/ |
| D | syscap_interface.c | 69 int32_t sysCapArraySize; member 346 freeAfterDecodeRpcidInfo.sysCapArraySize = cJSON_GetArraySize(sysCapArray); in TransStringFormatAndSaveSyscap() 347 if (freeAfterDecodeRpcidInfo.sysCapArraySize < 0) { in TransStringFormatAndSaveSyscap() 353 … * freeAfterDecodeRpcidInfo.sysCapArraySize); in TransStringFormatAndSaveSyscap() 419 (void)memset_s(priSyscapArray, freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN, in PartSysCapAndOutBuffer() 420 0, freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN); in PartSysCapAndOutBuffer() 423 for (i = 0; i < (uint32_t)freeAfterDecodeRpcidInfo.sysCapArraySize; i++) { in PartSysCapAndOutBuffer() 493 freeAfterDecodeRpcidInfo.sysCapArraySize = 0; in DecodeRpcidToStringFormat() 518 .sysCapArraySize, 0, sizeof(uint16_t) * freeAfterDecodeRpcidInfo.sysCapArraySize); in DecodeRpcidToStringFormat() 520 priSyscapArray = (char *)malloc(freeAfterDecodeRpcidInfo.sysCapArraySize * SINGLE_SYSCAP_LEN); in DecodeRpcidToStringFormat() [all …]
|
| /developtools/syscap_codec/src/ |
| D | syscap_tool.c | 376 int32_t sysCapArraySize, cJSON *sysCapArray, char *outDirPath) in OutputSetMemAndPrintToFile() argument 384 (void)memset_s(freeAfterEncodeRpcidscInfo.osSysCapIndex, sizeof(uint16_t) * sysCapArraySize, in OutputSetMemAndPrintToFile() 385 0, sizeof(uint16_t) * sysCapArraySize); in OutputSetMemAndPrintToFile() 387 …freeAfterEncodeRpcidscInfo.priSyscapArray = (char *)malloc((uint32_t)sysCapArraySize * SINGLE_SYSC… in OutputSetMemAndPrintToFile() 389 PRINT_ERR("malloc(%d) failed.\n", sysCapArraySize * SINGLE_SYSCAP_LEN); in OutputSetMemAndPrintToFile() 393 …(void)memset_s(freeAfterEncodeRpcidscInfo.priSyscapArray, (size_t)(sysCapArraySize * SINGLE_SYSCAP… in OutputSetMemAndPrintToFile() 394 0, (size_t)(sysCapArraySize * SINGLE_SYSCAP_LEN)); in OutputSetMemAndPrintToFile() 398 for (int i = 0; i < sysCapArraySize; i++) { in OutputSetMemAndPrintToFile() 474 int32_t sysCapArraySize; in EncodeRpcidscToString() local 513 sysCapArraySize = cJSON_GetArraySize(sysCapArray); in EncodeRpcidscToString() [all …]
|