Lines Matching refs:PCIDMain
70 int32_t SetOsSyscap(PCIDMain *pcidBuffer, uint32_t osCapSize,
104 int32_t SetPriSyscap(PCIDMain *pcidBuffer, cJSON *jsonPriSyscapObj,
131 int32_t SetPCIDHeader(PCIDMain *pcidBuffer, const cJSON *jsonRootObj)
219 static int32_t CheckConvertedContextSaveAsFile(char *outDirPath, PCIDMain *pcidBuffer, uint16_t pcidLength, int32_t ret)
229 static int32_t FreeAfterCreatePCID(PCIDMain *pcidBuffer, cJSON *allOsSyscapObj, char *contextBuffer,
240 static int32_t PreFreeAfterCreatePCID(PCIDMain *pcidBuffer, cJSON *allOsSyscapObj, cJSON *jsonRootObj,
285 uint16_t pcidLength = sizeof(PCIDMain) + allPriSyscapStrLen + 1;
286 PCIDMain *pcidBuffer = (PCIDMain *)malloc(pcidLength);
306 int32_t GetOsSyscap(PCIDMain *pcidMain, cJSON *sysCapObject)
361 static int32_t GetPriSyscap(PCIDMain *pcidMain, cJSON *sysCapObject, int32_t contextBufLen)
369 int32_t privateSyscapLen = contextBufLen - sizeof(PCIDMain) - 1;
406 static int32_t CheckSysCapObj(struct FreeDecodePcidJsonInfo freePcidJsonInfo, PCIDMain *pcidMain,
424 static int32_t CheckJsonRootObj(struct FreeDecodePcidJsonInfo freePcidJsonInfo, PCIDMain *pcidMain, char *systemType)
489 PCIDMain *pcidMain = (PCIDMain *)freePcidJsonInfo.contextBuffer;
876 PCIDMain *pcidMain = NULL;
888 pcidMain = (PCIDMain *)freePcidInfo.contextBuffer;