Lines Matching defs:fp
396 FILE *fp;
401 fp = fopen(RWopsReadTestFilename, "r");
402 SDLTest_AssertCheck(fp != NULL, "Verify handle from opening file '%s' in read mode is not NULL", RWopsReadTestFilename);
405 if (fp == NULL) return TEST_ABORTED;
408 rw = SDL_RWFromFP( fp, SDL_TRUE );
414 fclose(fp);
446 FILE *fp;
451 fp = fopen(RWopsWriteTestFilename, "w+");
452 SDLTest_AssertCheck(fp != NULL, "Verify handle from opening file '%s' in write mode is not NULL", RWopsWriteTestFilename);
455 if (fp == NULL) return TEST_ABORTED;
458 rw = SDL_RWFromFP( fp, SDL_TRUE );
464 fclose(fp);