Lines Matching refs:NULL
107 char* PathPtr = NULL;
134 TCAssertMsg( (fp != NULL), "TCReadTplTextFile: couldn't open %s for read\n", fileName ); in TCReadTplTxtFile()
138 while( (buffPtr = fgets(lineBuff, NAME_SIZE, fp)) != NULL ) in TCReadTplTxtFile()
214 PathPtr = NULL; in TCProcessKeyName()
267 TCAssertMsg( (fileName != NULL), "TCProcessSiKey: NULL fileName for file %d\n", index ); in TCProcessSiKey()
272 if( pathName != NULL ) in TCProcessSiKey()
293 …TCAssertMsg( (newSi != NULL),"ProcessSiKey: couldn't allocate memory for new source image %d\n", i… in TCProcessSiKey()
305 char* icPtr = NULL, *iaPtr = NULL, *fmtPtr = NULL; in TCProcessImKey()
306 char* minLODPtr = NULL, *maxLODPtr = NULL, *baseLODPtr = NULL; in TCProcessImKey()
307 char* wrapSPtr = NULL, *wrapTPtr = NULL; in TCProcessImKey()
319 …TCAssertMsg( (attList != NULL), "TCProcessImKey: missing attribute list for image %d in script fi… in TCProcessImKey()
326 …TCAssertMsg( (icPtr != NULL), "ProcessImKey: problem reading color index for image %d in script fi… in TCProcessImKey()
328 iaPtr = strtok( NULL, "," ); in TCProcessImKey()
329 …TCAssertMsg( (iaPtr != NULL), "ProcessImKey: problem reading alpha index for image %d in script fi… in TCProcessImKey()
331 fmtPtr = strtok( NULL, "," ); in TCProcessImKey()
332 …TCAssertMsg( (fmtPtr != NULL), "ProcessImKey: problem reading output format for image %d in script… in TCProcessImKey()
336 if( (minLODPtr = strtok( NULL, "," )) != 0 ) in TCProcessImKey()
342 maxLODPtr = strtok( NULL, "," ); in TCProcessImKey()
343 …TCAssertMsg( (maxLODPtr != NULL), "ProcessImKey: problem reading max LOD for image %d in script fi… in TCProcessImKey()
347 baseLODPtr = strtok( NULL, "," ); in TCProcessImKey()
348 …TCAssertMsg( (baseLODPtr != NULL), "ProcessImKey: problem reading remap base LOD for image %d in s… in TCProcessImKey()
353 if( (wrapSPtr = strtok( NULL, "," )) != 0 ) in TCProcessImKey()
355 wrapTPtr = strtok( NULL, "" ); in TCProcessImKey()
356 …TCAssertMsg( (wrapTPtr != NULL), "ProcessImKey: problem reading wrapT mode for image %d in script … in TCProcessImKey()
363 minLODPtr = NULL; in TCProcessImKey()
365 wrapTPtr = strtok( NULL, "" ); in TCProcessImKey()
366 …TCAssertMsg( (wrapTPtr != NULL), "ProcessImKey: problem reading wrapT mode for image %d in script … in TCProcessImKey()
476 TCAssertMsg( (newIm != NULL), "ProcessImKey: couldn't allocate new image %d\n", index ); in TCProcessImKey()
500 …TCAssertMsg( (attList != NULL), "TCProcessPlKey: missing attribute list for palette %d in script … in TCProcessPlKey()
507 …TCAssertMsg( (psPtr != NULL), "ProcessPlKey: problem reading file index for palette %d in script f… in TCProcessPlKey()
509 fmtPtr = strtok( NULL, "" ); in TCProcessPlKey()
510 …TCAssertMsg( (fmtPtr != NULL), "ProcessPlKey: problem reading output format for palette %d in scri… in TCProcessPlKey()
544 TCAssertMsg( (newPl != NULL), "ProcessPlKey: couldn't allocate palette %d\n", index ); in TCProcessPlKey()
566 …TCAssertMsg( (attList != NULL), "TCProcessTxKey: missing attribute list for texture %d in script … in TCProcessTxKey()
573 …TCAssertMsg( (imPtr != NULL), "ProcessTxKey: problem reading image index for texture %d in script … in TCProcessTxKey()
575 plPtr = strtok( NULL, "," ); in TCProcessTxKey()
576 …TCAssertMsg( (plPtr != NULL), "ProcessTxKey: problem reading palette index for texture %d in scrip… in TCProcessTxKey()
593 TCAssertMsg( (newTx != NULL), "ProcessTxKey(): couldn't allocate new Texture %d\n", index ); in TCProcessTxKey()
615 if( (lineBuff == NULL) || (leftSide == NULL) || (rightSide == NULL) ) in TCGetKeyTokens()
637 if( (right = strtok( NULL, "" )) == 0 ) in TCGetKeyTokens()
656 char* numPtr = NULL; in TCGetKeyNum()
658 char* subPtr = NULL; in TCGetKeyNum()
665 if( (srcStr == NULL) || (*srcStr == '\0') ) // no string; return TC_UNUSED in TCGetKeyNum()
711 if( (srcStr == NULL) || (dstStr == NULL) ) in TCGetKeyString()
759 if( srcStr == NULL ) in TCStripBlanks()