Lines Matching refs:NULL

102 char* PathPtr = NULL;
129 TCAssertMsg( (fp != NULL), "TCReadTplTextFile: couldn't open %s for read\n", fileName ); in TCReadTplTxtFile()
133 while( (buffPtr = fgets(lineBuff, NAME_SIZE, fp)) != NULL ) in TCReadTplTxtFile()
209 PathPtr = NULL; in TCProcessKeyName()
262 TCAssertMsg( (fileName != NULL), "TCProcessSiKey: NULL fileName for file %d\n", index ); in TCProcessSiKey()
267 if( pathName != NULL ) in TCProcessSiKey()
288 …TCAssertMsg( (newSi != NULL),"ProcessSiKey: couldn't allocate memory for new source image %d\n", i… in TCProcessSiKey()
300 char* icPtr = NULL, *iaPtr = NULL, *fmtPtr = NULL; in TCProcessImKey()
301 char* minLODPtr = NULL, *maxLODPtr = NULL, *baseLODPtr = NULL; in TCProcessImKey()
302 char* wrapSPtr = NULL, *wrapTPtr = NULL; in TCProcessImKey()
314 …TCAssertMsg( (attList != NULL), "TCProcessImKey: missing attribute list for image %d in script fi… in TCProcessImKey()
321 …TCAssertMsg( (icPtr != NULL), "ProcessImKey: problem reading color index for image %d in script fi… in TCProcessImKey()
323 iaPtr = strtok( NULL, "," ); in TCProcessImKey()
324 …TCAssertMsg( (iaPtr != NULL), "ProcessImKey: problem reading alpha index for image %d in script fi… in TCProcessImKey()
326 fmtPtr = strtok( NULL, "," ); in TCProcessImKey()
327 …TCAssertMsg( (fmtPtr != NULL), "ProcessImKey: problem reading output format for image %d in script… in TCProcessImKey()
331 if( (minLODPtr = strtok( NULL, "," )) != 0 ) in TCProcessImKey()
337 maxLODPtr = strtok( NULL, "," ); in TCProcessImKey()
338 …TCAssertMsg( (maxLODPtr != NULL), "ProcessImKey: problem reading max LOD for image %d in script fi… in TCProcessImKey()
342 baseLODPtr = strtok( NULL, "," ); in TCProcessImKey()
343 …TCAssertMsg( (baseLODPtr != NULL), "ProcessImKey: problem reading remap base LOD for image %d in s… in TCProcessImKey()
348 if( (wrapSPtr = strtok( NULL, "," )) != 0 ) in TCProcessImKey()
350 wrapTPtr = strtok( NULL, "" ); in TCProcessImKey()
351 …TCAssertMsg( (wrapTPtr != NULL), "ProcessImKey: problem reading wrapT mode for image %d in script … in TCProcessImKey()
358 minLODPtr = NULL; in TCProcessImKey()
360 wrapTPtr = strtok( NULL, "" ); in TCProcessImKey()
361 …TCAssertMsg( (wrapTPtr != NULL), "ProcessImKey: problem reading wrapT mode for image %d in script … in TCProcessImKey()
471 TCAssertMsg( (newIm != NULL), "ProcessImKey: couldn't allocate new image %d\n", index ); in TCProcessImKey()
495 …TCAssertMsg( (attList != NULL), "TCProcessPlKey: missing attribute list for palette %d in script … in TCProcessPlKey()
502 …TCAssertMsg( (psPtr != NULL), "ProcessPlKey: problem reading file index for palette %d in script f… in TCProcessPlKey()
504 fmtPtr = strtok( NULL, "" ); in TCProcessPlKey()
505 …TCAssertMsg( (fmtPtr != NULL), "ProcessPlKey: problem reading output format for palette %d in scri… in TCProcessPlKey()
539 TCAssertMsg( (newPl != NULL), "ProcessPlKey: couldn't allocate palette %d\n", index ); in TCProcessPlKey()
561 …TCAssertMsg( (attList != NULL), "TCProcessTxKey: missing attribute list for texture %d in script … in TCProcessTxKey()
568 …TCAssertMsg( (imPtr != NULL), "ProcessTxKey: problem reading image index for texture %d in script … in TCProcessTxKey()
570 plPtr = strtok( NULL, "," ); in TCProcessTxKey()
571 …TCAssertMsg( (plPtr != NULL), "ProcessTxKey: problem reading palette index for texture %d in scrip… in TCProcessTxKey()
588 TCAssertMsg( (newTx != NULL), "ProcessTxKey(): couldn't allocate new Texture %d\n", index ); in TCProcessTxKey()
610 if( (lineBuff == NULL) || (leftSide == NULL) || (rightSide == NULL) ) in TCGetKeyTokens()
632 if( (right = strtok( NULL, "" )) == 0 ) in TCGetKeyTokens()
651 char* numPtr = NULL; in TCGetKeyNum()
653 char* subPtr = NULL; in TCGetKeyNum()
660 if( (srcStr == NULL) || (*srcStr == '\0') ) // no string; return TC_UNUSED in TCGetKeyNum()
706 if( (srcStr == NULL) || (dstStr == NULL) ) in TCGetKeyString()
754 if( srcStr == NULL ) in TCStripBlanks()