Lines Matching refs:tocopy
2945 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes; local
2946 tocopy = tocopy > unused ? unused : tocopy;
2948 memmove(ch->data + ch->used, c->rcurr, tocopy);
2950 total += tocopy;
2951 c->rlbytes -= tocopy;
2952 c->rcurr += tocopy;
2953 c->rbytes -= tocopy;
2954 ch->used += tocopy;
3191 int tocopy = c->rbytes > c->rlbytes ? c->rlbytes : c->rbytes; local
3192 memmove(c->ritem, c->rcurr, tocopy);
3193 c->ritem += tocopy;
3194 c->rlbytes -= tocopy;
3195 c->rcurr += tocopy;
3196 c->rbytes -= tocopy;
3271 int tocopy = c->rbytes > c->sbytes ? c->sbytes : c->rbytes; local
3272 c->sbytes -= tocopy;
3273 c->rcurr += tocopy;
3274 c->rbytes -= tocopy;