Lines Matching refs:bufcnt
90 int bufcnt; /* count of bytes in buffer */
128 * |------- bufcnt ------->| | |
139 * bufcnt counts how many bytes are in the buffer.
147 * Typically, gotnow = (buffer + bufcnt) - bufptr
268 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
344 oci->bufcnt = gotnow;
358 result = _XSERVTransRead(oc->trans_conn, oci->buffer + oci->bufcnt,
359 oci->size - oci->bufcnt);
374 oci->bufcnt += result;
378 (oci->bufcnt < BUFSIZE) && (needed < BUFSIZE)) {
385 oci->bufptr = ibuf + oci->bufcnt - gotnow;
529 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
538 oci->bufptr = ibuf + oci->bufcnt - gotnow;
545 oci->bufcnt += moveup;
580 gotnow = oci->bufcnt + oci->buffer - oci->bufptr;
998 oci->bufcnt = 0;
1039 oci->bufcnt = 0;