Lines Matching refs:bufptr
89 char *bufptr; /* pointer to current start of data */
135 * buffer bufptr
138 * bufptr points to the start of the current request.
147 * Typically, gotnow = (buffer + bufcnt) - bufptr
264 oci->bufptr += oci->lenLastReq;
268 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
287 request = (xReq *) oci->bufptr;
325 if ((gotnow == 0) || ((oci->bufptr - oci->buffer + needed) > oci->size)) {
328 if ((gotnow > 0) && (oci->bufptr != oci->buffer))
330 memmove(oci->buffer, oci->bufptr, gotnow);
343 oci->bufptr = oci->buffer;
385 oci->bufptr = ibuf + oci->bufcnt - gotnow;
390 request = (xReq *) oci->bufptr;
427 oci->bufptr += gotnow;
432 oci->bufptr += needed;
457 request = (xReq *) oci->bufptr;
458 oci->bufptr += (sizeof(xBigReq) - sizeof(xReq));
459 *(xReq *) oci->bufptr = *request;
463 client->requestBuffer = (void *) oci->bufptr;
527 oci->bufptr += oci->lenLastReq;
529 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
538 oci->bufptr = ibuf + oci->bufcnt - gotnow;
540 moveup = count - (oci->bufptr - oci->buffer);
543 memmove(oci->bufptr + moveup, oci->bufptr, gotnow);
544 oci->bufptr += moveup;
547 memmove(oci->bufptr - count, data, count);
548 oci->bufptr -= count;
551 (gotnow >= (int) (get_req_len((xReq *) oci->bufptr, client) << 2)))
580 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
585 request = (xReq *) oci->bufptr;
588 oci->bufptr -= sizeof(xBigReq) - sizeof(xReq);
589 *(xReq *) oci->bufptr = *request;
590 ((xBigReq *) oci->bufptr)->length = client->req_len;
592 swapl(&((xBigReq *) oci->bufptr)->length);
997 oci->bufptr = oci->buffer;
1038 oci->bufptr = oci->buffer;