Lines Matching refs:bufptr

128  *   buffer   bufptr
131 * bufptr points to the start of the current request.
140 * Typically, gotnow = (buffer + bufcnt) - bufptr
250 oci->bufptr += oci->lenLastReq;
254 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
275 request = (xReq *)oci->bufptr;
314 ((oci->bufptr - oci->buffer + needed) > oci->size))
318 if ((gotnow > 0) && (oci->bufptr != oci->buffer))
320 memmove(oci->buffer, oci->bufptr, gotnow);
335 oci->bufptr = oci->buffer;
381 oci->bufptr = ibuf + oci->bufcnt - gotnow;
387 request = (xReq *)oci->bufptr;
425 oci->bufptr += gotnow;
429 oci->bufptr += needed;
448 request = (xReq *)(oci->bufptr + needed);
478 request = (xReq *)oci->bufptr;
479 oci->bufptr += (sizeof(xBigReq) - sizeof(xReq));
480 *(xReq *)oci->bufptr = *request;
484 client->requestBuffer = (pointer)oci->bufptr;
536 oci->bufptr += oci->lenLastReq;
538 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
548 oci->bufptr = ibuf + oci->bufcnt - gotnow;
550 moveup = count - (oci->bufptr - oci->buffer);
554 memmove(oci->bufptr + moveup, oci->bufptr, gotnow);
555 oci->bufptr += moveup;
558 memmove(oci->bufptr - count, data, count);
559 oci->bufptr -= count;
562 (gotnow >= (int)(get_req_len((xReq *)oci->bufptr, client) << 2)))
586 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
593 request = (xReq *)oci->bufptr;
597 oci->bufptr -= sizeof(xBigReq) - sizeof(xReq);
598 *(xReq *)oci->bufptr = *request;
599 ((xBigReq *)oci->bufptr)->length = client->req_len;
603 swapl(&((xBigReq *)oci->bufptr)->length, n);
1064 oci->bufptr = oci->buffer;
1109 oci->bufptr = oci->buffer;