Searched refs:apiCnt (Results 1 – 1 of 1) sorted by relevance
235 CalledApiCntStruct *apiCnt = (CalledApiCntStruct *)SoftBusMalloc(sizeof(CalledApiCntStruct)); in GetNewApiCnt() local236 if (apiCnt == NULL) { in GetNewApiCnt()240 if (strcpy_s(apiCnt->apiName, SOFTBUS_HISYSEVT_PARAM_LEN, apiName) != EOK) { in GetNewApiCnt()242 SoftBusFree(apiCnt); in GetNewApiCnt()245 ListInit(&apiCnt->node); in GetNewApiCnt()246 apiCnt->calledtotalCnt = API_CALLED_DEFAULT; in GetNewApiCnt()247 return apiCnt; in GetNewApiCnt()266 CalledApiCntStruct *apiCnt = GetNewApiCnt(apiName); in GetNewApiInfo() local267 if (apiCnt == NULL) { in GetNewApiInfo()272 ListAdd(&apiInfo->apiCntList, &apiCnt->node); in GetNewApiInfo()