Searched refs:total_need (Results 1 – 1 of 1) sorted by relevance
164 int total_need; in win32_file_read() local169 total_need = size*maxnum; in win32_file_read()171 if (!context || context->hidden.win32io.h == INVALID_HANDLE_VALUE || total_need<=0 || !size) in win32_file_read()178 read_ahead = SDL_min(total_need, context->hidden.win32io.buffer.left); in win32_file_read()182 if (read_ahead == total_need) { in win32_file_read()186 total_need -= read_ahead; in win32_file_read()190 if (total_need < READAHEAD_BUFFER_SIZE) { in win32_file_read()195 read_ahead = SDL_min(total_need, (int)byte_read); in win32_file_read()201 if (!ReadFile(context->hidden.win32io.h,ptr,total_need,&byte_read,NULL)) { in win32_file_read()