Searched refs:g_arraySyscap (Results 1 – 6 of 6) sorted by relevance
/developtools/syscap_codec/test/ |
D | syscap_define_check.c | 23 int size = (int)sizeof(g_arraySyscap) / sizeof(SyscapWithNum); in CheckSortBySyscapNum() 27 if (g_arraySyscap[i].num != i) { in CheckSortBySyscapNum() 29 g_arraySyscap[i].str, g_arraySyscap[i].num, i); in CheckSortBySyscapNum()
|
/developtools/syscap_codec/src/ |
D | create_pcid.c | 157 size_t numOfSyscapAll = sizeof(g_arraySyscap) / sizeof(SyscapWithNum); in CreateWholeSyscapJsonObj() 160 cJSON_AddItemToObject(root, g_arraySyscap[i].str, cJSON_CreateNumber(g_arraySyscap[i].num)); in CreateWholeSyscapJsonObj() 392 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in DecodePCID() 393 if (g_arraySyscap[j].num == indexOfSyscap[i]) { in DecodePCID() 394 if (!cJSON_AddItemToArray(capVectorPtr, cJSON_CreateString(g_arraySyscap[j].str))) { in DecodePCID() 613 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in AddOsSyscapToJsonObj() 614 if (index[i] != g_arraySyscap[j].num) { in AddOsSyscapToJsonObj() 617 if (!cJSON_AddItemToArray(sysCapArray, cJSON_CreateString(g_arraySyscap[j].str))) { in AddOsSyscapToJsonObj()
|
D | syscap_tool.c | 167 size_t allSyscapNum = sizeof(g_arraySyscap) / sizeof(SyscapWithNum); in CreateWholeSyscapJsonObj() 170 cJSON_AddItemToObject(root, g_arraySyscap[i].str, cJSON_CreateNumber(g_arraySyscap[i].num)); in CreateWholeSyscapJsonObj() 668 const size_t allSyscapNum = sizeof(g_arraySyscap) / sizeof(SyscapWithNum); in ComparePcidWithRpcidString() 717 printf("Missing: %s\n", g_arraySyscap[pos].str); in ComparePcidWithRpcidString()
|
/developtools/syscap_codec/interfaces/inner_api/ |
D | syscap_interface.c | 221 for (j = 0; j < sizeof(g_arraySyscap) / sizeof(SyscapWithNum); j++) { in DecodeOsSyscap() 222 if (g_arraySyscap[j].num == indexOfSyscap[i]) { in DecodeOsSyscap() 223 nRet = strcpy_s(*strSyscap, SINGLE_SYSCAP_LEN, g_arraySyscap[j].str); in DecodeOsSyscap() 324 size_t numOfSyscapAll = sizeof(g_arraySyscap) / sizeof(SyscapWithNum); in CreateWholeSyscapJsonObj() 327 cJSON_AddItemToObject(root, g_arraySyscap[i].str, cJSON_CreateNumber(g_arraySyscap[i].num)); in CreateWholeSyscapJsonObj() 594 … g_arraySyscap[(i - 2) * INT_BIT + k].str); // 2, header of pcid & rpcid in ComparePcidString()
|
/developtools/syscap_codec/ |
D | README_ZH.md | 176 - 添加 syscap,请在 SyscapNum 和 g_arraySyscap 末尾添加相应数据。 177 - 数组 g_arraySyscap 按照 SyscapNum 枚举值从小到大排序。
|
/developtools/syscap_codec/include/ |
D | syscap_define.h | 278 const static SyscapWithNum g_arraySyscap[] = { variable
|