Searched refs:maxnum (Results 1 – 2 of 2) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/file/ |
D | SDL_rwops.c | 162 static int SDLCALL win32_file_read(SDL_RWops *context, void *ptr, int size, int maxnum) in win32_file_read() argument 169 total_need = size*maxnum; in win32_file_read() 183 return maxnum; in win32_file_read() 272 static int SDLCALL stdio_read(SDL_RWops *context, void *ptr, int size, int maxnum) in stdio_read() argument 276 nread = fread(ptr, size, maxnum, context->hidden.stdio.fp); in stdio_read() 334 static int SDLCALL mem_read(SDL_RWops *context, void *ptr, int size, int maxnum) in mem_read() argument 339 total_bytes = (maxnum * size); in mem_read() 340 if ( (maxnum <= 0) || (size <= 0) || ((total_bytes / maxnum) != (size_t) size) ) { in mem_read()
|
/external/qemu/distrib/sdl-1.2.12/include/ |
D | SDL_rwops.h | 52 int (SDLCALL *read)(struct SDL_RWops *context, void *ptr, int size, int maxnum);
|