Lines Matching refs:current

238 	int current;  in xdrrec_getbytes()  local
242 current = frag_len = rstrm->fbtbc; in xdrrec_getbytes()
243 if (current == 0) { in xdrrec_getbytes()
251 current = (len < current) ? len : current; in xdrrec_getbytes()
252 if (!get_input_bytes(rstrm, addr, frag_len, current)) in xdrrec_getbytes()
254 addr += current; in xdrrec_getbytes()
255 rstrm->fbtbc -= current; in xdrrec_getbytes()
256 len -= current; in xdrrec_getbytes()
265 ptrdiff_t current; in xdrrec_putbytes() local
268 current = rstrm->out_boundry - rstrm->out_finger; in xdrrec_putbytes()
269 current = (len < current) ? len : current; in xdrrec_putbytes()
270 bcopy(addr, rstrm->out_finger, current); in xdrrec_putbytes()
271 rstrm->out_finger += current; in xdrrec_putbytes()
272 addr += current; in xdrrec_putbytes()
273 len -= current; in xdrrec_putbytes()
504 ptrdiff_t current; in get_input_bytes() local
507 current = rstrm->in_boundry - rstrm->in_finger; in get_input_bytes()
510 len, frag_len, current); in get_input_bytes()
519 if (current == 0) { in get_input_bytes()
525 current = (len < current) ? len : current; in get_input_bytes()
526 bcopy(rstrm->in_finger, addr, current); in get_input_bytes()
527 rstrm->in_finger += current; in get_input_bytes()
528 addr += current; in get_input_bytes()
529 len -= current; in get_input_bytes()
554 ptrdiff_t current; in skip_input_bytes() local
559 current = rstrm->in_boundry - rstrm->in_finger; in skip_input_bytes()
560 if (current == 0) { in skip_input_bytes()
565 current = (cnt < current) ? cnt : current; in skip_input_bytes()
566 rstrm->in_finger += current; in skip_input_bytes()
567 cnt -= current; in skip_input_bytes()