Lines Matching refs:bufptr
87 char *bufptr; /* pointer to current start of data */ member
262 oci->bufptr += oci->lenLastReq; in ReadRequestFromClient()
266 gotnow = oci->bufcnt + oci->buffer - oci->bufptr; in ReadRequestFromClient()
285 request = (xReq *) oci->bufptr; in ReadRequestFromClient()
319 if ((gotnow == 0) || ((oci->bufptr - oci->buffer + needed) > oci->size)) { in ReadRequestFromClient()
322 if ((gotnow > 0) && (oci->bufptr != oci->buffer)) in ReadRequestFromClient()
324 memmove(oci->buffer, oci->bufptr, gotnow); in ReadRequestFromClient()
337 oci->bufptr = oci->buffer; in ReadRequestFromClient()
379 oci->bufptr = ibuf + oci->bufcnt - gotnow; in ReadRequestFromClient()
384 request = (xReq *) oci->bufptr; in ReadRequestFromClient()
419 oci->bufptr += gotnow; in ReadRequestFromClient()
424 oci->bufptr += needed; in ReadRequestFromClient()
449 request = (xReq *) oci->bufptr; in ReadRequestFromClient()
450 oci->bufptr += (sizeof(xBigReq) - sizeof(xReq)); in ReadRequestFromClient()
451 *(xReq *) oci->bufptr = *request; in ReadRequestFromClient()
455 client->requestBuffer = (void *) oci->bufptr; in ReadRequestFromClient()
519 oci->bufptr += oci->lenLastReq; in InsertFakeRequest()
521 gotnow = oci->bufcnt + oci->buffer - oci->bufptr; in InsertFakeRequest()
530 oci->bufptr = ibuf + oci->bufcnt - gotnow; in InsertFakeRequest()
532 moveup = count - (oci->bufptr - oci->buffer); in InsertFakeRequest()
535 memmove(oci->bufptr + moveup, oci->bufptr, gotnow); in InsertFakeRequest()
536 oci->bufptr += moveup; in InsertFakeRequest()
539 memmove(oci->bufptr - count, data, count); in InsertFakeRequest()
540 oci->bufptr -= count; in InsertFakeRequest()
543 (gotnow >= (int) (get_req_len((xReq *) oci->bufptr, client) << 2))) in InsertFakeRequest()
572 gotnow = oci->bufcnt + oci->buffer - oci->bufptr; in ResetCurrentRequest()
577 request = (xReq *) oci->bufptr; in ResetCurrentRequest()
580 oci->bufptr -= sizeof(xBigReq) - sizeof(xReq); in ResetCurrentRequest()
581 *(xReq *) oci->bufptr = *request; in ResetCurrentRequest()
582 ((xBigReq *) oci->bufptr)->length = client->req_len; in ResetCurrentRequest()
584 swapl(&((xBigReq *) oci->bufptr)->length); in ResetCurrentRequest()
989 oci->bufptr = oci->buffer; in AllocateInputBuffer()
1030 oci->bufptr = oci->buffer; in FreeOsBuffers()