Lines Matching refs:rsize
400 c->rsize = 0; in rbuf_release()
415 c->rsize = READ_BUFFER_SIZE; in rbuf_alloc()
426 size_t size = c->rsize * 2; in rbuf_switch_to_malloc()
435 c->rsize = size; in rbuf_switch_to_malloc()
651 c->rsize = read_buffer_size; in conn_new()
654 if (c->rsize) { in conn_new()
655 c->rbuf = (char *)malloc((size_t)c->rsize); in conn_new()
658 if (c->rsize && c->rbuf == NULL) { in conn_new()
2381 assert(c->rcurr <= (c->rbuf + c->rsize));
2403 assert(c->rcurr <= (c->rbuf + c->rsize));
2424 res = recvfrom(c->sfd, c->rbuf, c->rsize,
2478 if (c->rbytes >= c->rsize && c->rbuf_malloced) {
2483 char *new_rbuf = realloc(c->rbuf, c->rsize * 2);
2497 c->rsize *= 2;
2500 int avail = c->rsize - c->rbytes;
3257 (int)c->rlbytes, (int)c->rsize);
3279 res = c->read(c, c->rbuf, c->rsize > c->sbytes ? c->sbytes : c->rsize);