• Home
  • Raw
  • Download

Lines Matching refs:NULL

65     FILE *fp = NULL;  in GetFileContext()
67 char *contextBuffer = NULL; in GetFileContext()
76 if (strlen(inputFile) > PATH_MAX || realpath(inputFile, path) == NULL) { in GetFileContext()
92 if (contextBuffer == NULL) { in GetFileContext()
97 if (fp == NULL) { in GetFileContext()
121 FILE *fp = NULL; in ConvertedContextSaveAsFile()
130 if (strlen(outDirPath) >= PATH_MAX || realpath(outDirPath, path) == NULL) { in ConvertedContextSaveAsFile()
153 if (fp == NULL) { in ConvertedContextSaveAsFile()
183 char *contextBuffer = NULL; in RPCIDEncode()
185 char *convertedBuffer = NULL; in RPCIDEncode()
187 RPCIDHead *headPtr = NULL; in RPCIDEncode()
188 char *fillTmpPtr = NULL; in RPCIDEncode()
189 cJSON *cjsonObjectRoot = NULL; in RPCIDEncode()
190 cJSON *apiVerItem = NULL; in RPCIDEncode()
191 cJSON *sysCapPtr = NULL; in RPCIDEncode()
192 cJSON *arrayItemPtr = NULL; in RPCIDEncode()
201 if (cjsonObjectRoot == NULL) { in RPCIDEncode()
208 if (sysCapPtr == NULL || !cJSON_IsArray(sysCapPtr)) { in RPCIDEncode()
225 if (convertedBuffer == NULL) { in RPCIDEncode()
234 if (apiVerItem == NULL || !cJSON_IsNumber(apiVerItem)) { in RPCIDEncode()
252 if (pointPos == NULL) { in RPCIDEncode()
342 char *contextBuffer = NULL; in CheckRpcidFormat()
343 RPCIDHead *rpcidHeader = NULL; in CheckRpcidFormat()
377 char *contextBuffer = NULL; in RPCIDDecode()
378 char *convertedBuffer = NULL; in RPCIDDecode()
437 char *contextBuffer = NULL; in EncodeRpcidscToString()
438 char *priSyscapArray = NULL; in EncodeRpcidscToString()
439 char *priSyscap = NULL; in EncodeRpcidscToString()
440 cJSON *cJsonTemp = NULL; in EncodeRpcidscToString()
441 cJSON *rpcidRoot = NULL; in EncodeRpcidscToString()
442 cJSON *sysCapDefine = NULL; in EncodeRpcidscToString()
443 cJSON *sysCapArray = NULL; in EncodeRpcidscToString()
461 if (sysCapArray == NULL || !cJSON_IsArray(sysCapArray)) { in EncodeRpcidscToString()
472 if (osSysCapIndex == NULL) { in EncodeRpcidscToString()
480 if (priSyscapArray == NULL) { in EncodeRpcidscToString()
492 if (cJsonTemp != NULL) { in EncodeRpcidscToString()
516 if (outBuffer == NULL) { in EncodeRpcidscToString()
568 if (inputString == NULL || *inputString == '\0') { in CopyInputString()
570 return NULL; in CopyInputString()
575 return NULL; in CopyInputString()
578 if (input == NULL) { in CopyInputString()
580 return NULL; in CopyInputString()
586 return NULL; in CopyInputString()
604 if (priSysCapOut == NULL) { in GetPriSyscapData()
611 char *tok = NULL; in GetPriSyscapData()
621 temp = strtok_r(NULL, ",", &tok); in GetPriSyscapData()
639 if (input == NULL) { in SeparateSyscapFromString()
738 char *pcidContent = NULL; in ComparePcidWithRpcidString()
739 char *rpcidContent = NULL; in ComparePcidWithRpcidString()
740 char *pcidPriSyscap = NULL; in ComparePcidWithRpcidString()
741 char *rpcidPriSyscap = NULL; in ComparePcidWithRpcidString()