Home
last modified time | relevance | path

Searched refs:SDL_RWops (Results 1 – 11 of 11) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/include/
DSDL_rwops.h42 typedef struct SDL_RWops { struct
47 int (SDLCALL *seek)(struct SDL_RWops *context, int offset, int whence); argument
53 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum); argument
59 int (SDLCALL *write)(struct SDL_RWops *context, const void *ptr, int size, int num); argument
62 int (SDLCALL *close)(struct SDL_RWops *context); argument
93 } SDL_RWops; argument
99 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFile(const char *file, const char *mode);
102 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromFP(FILE *fp, int autoclose);
105 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromMem(void *mem, int size);
106 extern DECLSPEC SDL_RWops * SDLCALL SDL_RWFromConstMem(const void *mem, int size);
[all …]
DSDL_audio.h215 extern DECLSPEC SDL_AudioSpec * SDLCALL SDL_LoadWAV_RW(SDL_RWops *src, int freesrc, SDL_AudioSpec *…
DSDL_video.h589 extern DECLSPEC SDL_Surface * SDLCALL SDL_LoadBMP_RW(SDL_RWops *src, int freesrc);
600 (SDL_Surface *surface, SDL_RWops *dst, int freedst);
/external/qemu/distrib/sdl-1.2.15/src/file/
DSDL_rwops.c48 static int SDLCALL win32_file_open(SDL_RWops *context, const char *filename, const char *mode) in win32_file_open()
186 static int SDLCALL win32_file_seek(SDL_RWops *context, int offset, int whence) in win32_file_seek()
222 static int SDLCALL win32_file_read(SDL_RWops *context, void *ptr, int size, int maxnum) in win32_file_read()
269 static int SDLCALL win32_file_write(SDL_RWops *context, const void *ptr, int size, int num) in win32_file_write()
301 static int SDLCALL win32_file_close(SDL_RWops *context) in win32_file_close()
323 static int SDLCALL stdio_seek(SDL_RWops *context, int offset, int whence) in stdio_seek()
332 static int SDLCALL stdio_read(SDL_RWops *context, void *ptr, int size, int maxnum) in stdio_read()
342 static int SDLCALL stdio_write(SDL_RWops *context, const void *ptr, int size, int num) in stdio_write()
352 static int SDLCALL stdio_close(SDL_RWops *context) in stdio_close()
367 static int SDLCALL mem_seek(SDL_RWops *context, int offset, int whence) in mem_seek()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/audio/disk/
DSDL_diskaudio.h35 SDL_RWops *output;
/external/qemu/distrib/sdl-1.2.15/test/
Dtestfile.c31 static void rwops_error_quit( unsigned line, SDL_RWops *rwops) { in rwops_error_quit()
47 SDL_RWops *rwops = NULL; in main()
Dtestoverlay2.c282 SDL_RWops* handle; in main()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_wave.c30 static int ReadChunk(SDL_RWops *src, Chunk *chunk);
392 SDL_AudioSpec * SDL_LoadWAV_RW (SDL_RWops *src, int freesrc, in SDL_LoadWAV_RW()
580 static int ReadChunk(SDL_RWops *src, Chunk *chunk) in ReadChunk()
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_bmp.c48 SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc) in SDL_LoadBMP_RW()
360 int SDL_SaveBMP_RW (SDL_Surface *saveme, SDL_RWops *dst, int freedst) in SDL_SaveBMP_RW()
/external/qemu/distrib/sdl-1.2.15/
DWhatsNew568 these abstractions, SDL_RWops, in the endian read/write functions,
587 The endian read/write functions now take an SDL_RWops pointer
592 SDL_LoadWAV_RW() function that takes a SDL_RWops pointer as it's
599 with a single function that takes a SDL_RWops pointer as it's
/external/qemu/distrib/sdl-1.2.15/src/video/quartz/
DSDL_QuartzVideo.m1488 SDL_RWops *rw;