Lines Matching refs:current
222 int current = rstrm->in_boundry - rstrm->in_finger; in align_instream() local
224 (void) memcpy(rstrm->in_base, rstrm->in_finger, current); in align_instream()
226 rstrm->in_boundry = rstrm->in_finger + current; in align_instream()
321 int current; in xdrrec_getbytes() local
324 current = rstrm->fbtbc; in xdrrec_getbytes()
325 if (current == 0) { in xdrrec_getbytes()
332 current = (len < current) ? len : current; in xdrrec_getbytes()
333 if (!get_input_bytes(rstrm, addr, current, FALSE)) in xdrrec_getbytes()
335 addr += current; in xdrrec_getbytes()
336 rstrm->fbtbc -= current; in xdrrec_getbytes()
337 len -= current; in xdrrec_getbytes()
347 int current; in xdrrec_putbytes() local
351 current = (uintptr_t)rstrm->out_boundry - in xdrrec_putbytes()
353 current = (len < current) ? len : current; in xdrrec_putbytes()
354 (void) memcpy(rstrm->out_finger, addr, current); in xdrrec_putbytes()
355 rstrm->out_finger += current; in xdrrec_putbytes()
356 addr += current; in xdrrec_putbytes()
357 len -= current; in xdrrec_putbytes()
378 int current, len; in xdrrec_readbytes() local
382 current = rstrm->fbtbc; in xdrrec_readbytes()
383 if (current == 0) { in xdrrec_readbytes()
390 current = (len < current) ? len : current; in xdrrec_readbytes()
391 if (!get_input_bytes(rstrm, addr, current, FALSE)) in xdrrec_readbytes()
393 addr += current; in xdrrec_readbytes()
394 rstrm->fbtbc -= current; in xdrrec_readbytes()
395 len -= current; in xdrrec_readbytes()
672 int current; in get_input_bytes() local
679 current = (int)(rstrm->in_boundry - rstrm->in_finger); in get_input_bytes()
680 if (len > current) in get_input_bytes()
689 current = (intptr_t)rstrm->in_boundry - in get_input_bytes()
691 if (current == 0) { in get_input_bytes()
696 current = (len < current) ? len : current; in get_input_bytes()
697 (void) memcpy(addr, rstrm->in_finger, current); in get_input_bytes()
698 rstrm->in_finger += current; in get_input_bytes()
699 addr += current; in get_input_bytes()
700 len -= current; in get_input_bytes()
733 int current; in skip_input_bytes() local
736 current = (intptr_t)rstrm->in_boundry - in skip_input_bytes()
738 if (current == 0) { in skip_input_bytes()
743 current = (cnt < current) ? cnt : current; in skip_input_bytes()
744 rstrm->in_finger += current; in skip_input_bytes()
745 cnt -= current; in skip_input_bytes()