Searched refs:SDL_min (Results 1 – 3 of 3) sorted by relevance
238 read_ahead = SDL_min(total_need, context->hidden.win32io.buffer.left); in win32_file_read()255 read_ahead = SDL_min(total_need, (int)byte_read); in win32_file_read()
240 #define SDL_min(x, y) (((x) < (y)) ? (x) : (y)) macro
333 size_t len = SDL_min(srclen, maxlen-1); in SDL_strlcpy()