Lines Matching refs:bufpos
41 thefile->bufpos = 0;
54 if (thefile->bufpos >= thefile->dataRead) {
68 thefile->bufpos = 0;
71 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
72 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
73 thefile->bufpos += blocksize;
162 apr_int64_t offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
165 thefile->bufpos = thefile->dataRead = 0;
171 if (thefile->bufpos == thefile->bufsize) /* write buffer is full*/
174 blocksize = size > thefile->bufsize - thefile->bufpos ?
175 thefile->bufsize - thefile->bufpos : size;
176 memcpy(thefile->buffer + thefile->bufpos, pos, blocksize);
177 thefile->bufpos += blocksize;
246 thefile->bufpos;
249 thefile->bufpos = thefile->dataRead = 0;
313 if (thefile->direction == 1 && thefile->bufpos) {
318 thefile->bufpos - written);
321 } while (written < thefile->bufpos &&
327 thefile->bufpos = 0;
430 thefile->bufpos = 0;
436 if (thefile->bufpos < thefile->dataRead &&
438 *str = thefile->buffer[thefile->bufpos++];