Lines Matching refs:buffer_pos
72 size_t buffer_pos; /* end of data in buffer*/ member
101 rembuff=url->buffer_len - url->buffer_pos; /* remaining space in buffer */ in write_callback()
117 memcpy(&url->buffer[url->buffer_pos], buffer, size); in write_callback()
118 url->buffer_pos += size; in write_callback()
136 if((!file->still_running) || (file->buffer_pos > want)) in fill_buffer()
203 } while(file->still_running && (file->buffer_pos < want)); in fill_buffer()
211 if((file->buffer_pos - want) <=0) { in use_buffer()
215 file->buffer_pos=0; in use_buffer()
222 (file->buffer_pos - want)); in use_buffer()
224 file->buffer_pos -= want; in use_buffer()
263 if((file->buffer_pos == 0) && (!file->still_running)) { in url_fopen()
319 if((file->buffer_pos == 0) && (!file->still_running)) in url_feof()
347 if(!file->buffer_pos) in url_fread()
351 if(file->buffer_pos < want) in url_fread()
352 want = file->buffer_pos; in url_fread()
386 if(!file->buffer_pos) in url_fgets()
390 if(file->buffer_pos < want) in url_fgets()
391 want = file->buffer_pos; in url_fgets()
436 file->buffer_pos=0; in url_rewind()