Lines Matching refs:SDL_RWFromFile
52 /* test 1 : basic argument test: all those calls to SDL_RWFromFile should fail */
54 rwops = SDL_RWFromFile(NULL,NULL);
56 rwops = SDL_RWFromFile(NULL,"ab+");
58 rwops = SDL_RWFromFile(NULL,"sldfkjsldkfj");
60 rwops = SDL_RWFromFile("something","");
62 rwops = SDL_RWFromFile("something",NULL);
71 rwops = SDL_RWFromFile(FBASENAME2,"rb"); /* this file doesn't exist that call must fail */
73 rwops = SDL_RWFromFile(FBASENAME2,"rb+"); /* this file doesn't exist that call must fail */
75 rwops = SDL_RWFromFile(FBASENAME2,"wb");
78 rwops = SDL_RWFromFile(FBASENAME2,"wb+");
81 rwops = SDL_RWFromFile(FBASENAME2,"ab");
84 rwops = SDL_RWFromFile(FBASENAME2,"ab+");
92 rwops = SDL_RWFromFile(FBASENAME1,"wb"); /* write only */
101 rwops = SDL_RWFromFile(FBASENAME1,"rb"); /* read mode, file must exists */
116 rwops = SDL_RWFromFile(FBASENAME1,"wb+"); /* write + read + truncation */
136 rwops = SDL_RWFromFile(FBASENAME1,"rb+"); /* write + read + file must exists, no truncation */
156 rwops = SDL_RWFromFile(FBASENAME1,"ab+"); /* write + read + append */