Lines Matching refs:rlbytes
727 c->rlbytes = 0; in conn_new()
2920 while (c->rlbytes > 0) {
2928 c->ritem = (char *) do_item_alloc_chunk(ch, c->rlbytes +
2945 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes;
2951 c->rlbytes -= tocopy;
2955 if (c->rlbytes == 0) {
2961 (unused > c->rlbytes ? c->rlbytes : unused));
2968 c->rlbytes -= res;
2982 if (c->rlbytes == 0 && c->protocol == binary_prot && total >= 0) {
3174 if (c->rlbytes == 0) {
3180 if (c->rlbytes < 0) {
3182 fprintf(stderr, "Invalid rlbytes to read: len %d\n", c->rlbytes);
3191 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes;
3194 c->rlbytes -= tocopy;
3197 if (c->rlbytes == 0) {
3203 res = c->read(c, c->ritem, c->rlbytes);
3212 c->rlbytes -= res;
3241 c->sbytes = c->rlbytes;
3257 (int)c->rlbytes, (int)c->rsize);