OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rwops
(Results
1 - 2
of
2
) sorted by null
/prebuilts/misc/windows/sdl2/test/
testfile.c
13
/* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio
rwops
) */
52
rwops_error_quit(unsigned line, SDL_RWops *
rwops
)
55
if (
rwops
) {
56
rwops
->close(
rwops
); /* This calls SDL_FreeRW(
rwops
); */
59
exit(1); /* quit with
rwops
error (test failed) */
69
SDL_RWops *
rwops
= NULL;
local
79
rwops
= SDL_RWFromFile(NULL, NULL);
80
if (
rwops
)
[
all
...]
testautomation_rwops.c
177
SDL_RWops *
rwops
;
local
180
rwops
= SDL_RWFromFile(NULL, NULL);
182
SDLTest_AssertCheck(
rwops
== NULL, "Verify SDL_RWFromFile(NULL, NULL) returns NULL");
184
rwops
= SDL_RWFromFile(NULL, "ab+");
186
SDLTest_AssertCheck(
rwops
== NULL, "Verify SDL_RWFromFile(NULL, \"ab+\") returns NULL");
188
rwops
= SDL_RWFromFile(NULL, "sldfkjsldkfj");
190
SDLTest_AssertCheck(
rwops
== NULL, "Verify SDL_RWFromFile(NULL, \"sldfkjsldkfj\") returns NULL");
192
rwops
= SDL_RWFromFile("something", "");
194
SDLTest_AssertCheck(
rwops
== NULL, "Verify SDL_RWFromFile(\"something\", \"\") returns NULL");
196
rwops
= SDL_RWFromFile("something", NULL)
[
all
...]
Completed in 497 milliseconds