Lines Matching defs:mem
224 char mem[sizeof(RWopsHelloWorldTestString)];
229 SDL_zero(mem);
232 rw = SDL_RWFromMem(mem, sizeof(RWopsHelloWorldTestString)-1);
543 SDLTest_AssertPass("Call to SDL_RWread(mem, size=%d)", size);
545 SDLTest_AssertPass("Call to SDL_RWseek(mem,SEEK_END)");
547 SDLTest_AssertPass("Call to SDL_RWclose(mem)");
562 SDLTest_AssertCheck(rv_mem == rv_file, "Verify returned read blocks matches for mem and file reads; got: rv_mem=%d rv_file=%d", rv_mem, rv_file);
563 SDLTest_AssertCheck(sv_mem == sv_file, "Verify SEEK_END position matches for mem and file seeks; got: sv_mem=%llu sv_file=%llu", sv_mem, sv_file);
564 SDLTest_AssertCheck(buffer_mem[slen] == 0, "Verify mem buffer termination; expected: 0, got: %d", buffer_mem[slen]);
568 "Verify mem buffer contain alphabet string; expected: %s, got: %s", RWopsAlphabetString, buffer_mem);