Searched refs:rwops (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/SDL2/test/ |
A D | testfile.c | 109 rwops->close(rwops); in main() 114 rwops->close(rwops); in main() 119 rwops->close(rwops); in main() 124 rwops->close(rwops); in main() 142 if (0 != rwops->read(rwops, test_buf, 1, 1)) in main() 144 rwops->close(rwops); in main() 153 if (7 != rwops->read(rwops, test_buf, 1, 7)) in main() 169 rwops->close(rwops); in main() 203 rwops->close(rwops); in main() 238 rwops->close(rwops); in main() [all …]
|
A D | testautomation_rwops.c | 177 SDL_RWops *rwops; in rwops_testParamNegative() local 180 rwops = SDL_RWFromFile(NULL, NULL); in rwops_testParamNegative() 184 rwops = SDL_RWFromFile(NULL, "ab+"); in rwops_testParamNegative() 188 rwops = SDL_RWFromFile(NULL, "sldfkjsldkfj"); in rwops_testParamNegative() 192 rwops = SDL_RWFromFile("something", ""); in rwops_testParamNegative() 196 rwops = SDL_RWFromFile("something", NULL); in rwops_testParamNegative() 200 rwops = SDL_RWFromMem((void *)NULL, 10); in rwops_testParamNegative() 202 SDLTest_AssertCheck(rwops == NULL, "Verify SDL_RWFromMem(NULL, 10) returns NULL"); in rwops_testParamNegative() 204 rwops = SDL_RWFromMem((void *)RWopsAlphabetString, 0); in rwops_testParamNegative() 206 SDLTest_AssertCheck(rwops == NULL, "Verify SDL_RWFromMem(data, 0) returns NULL"); in rwops_testParamNegative() [all …]
|
/AliOS-Things-master/components/SDL2/src/file/ |
A D | SDL_rwops.c | 567 if (!rwops) in SDL_RWFromFile() 582 if (!rwops) in SDL_RWFromFile() 617 return rwops; in SDL_RWFromFile() 637 return rwops; in SDL_RWFromFP() 654 return rwops; in SDL_RWFromMem() 669 rwops->hidden.mem.here = rwops->hidden.mem.base; in SDL_RWFromMem() 670 rwops->hidden.mem.stop = rwops->hidden.mem.base + size; in SDL_RWFromMem() 673 return rwops; in SDL_RWFromMem() 697 rwops->hidden.mem.here = rwops->hidden.mem.base; in SDL_RWFromConstMem() 698 rwops->hidden.mem.stop = rwops->hidden.mem.base + size; in SDL_RWFromConstMem() [all …]
|
Completed in 9 milliseconds