Lines Matching refs:current

220 	int current = rstrm->in_boundry - rstrm->in_finger;  in align_instream()  local
222 (void) memcpy(rstrm->in_base, rstrm->in_finger, current); in align_instream()
224 rstrm->in_boundry = rstrm->in_finger + current; in align_instream()
319 int current; in xdrrec_getbytes() local
322 current = rstrm->fbtbc; in xdrrec_getbytes()
323 if (current == 0) { in xdrrec_getbytes()
330 current = (len < current) ? len : current; in xdrrec_getbytes()
331 if (!get_input_bytes(rstrm, addr, current, FALSE)) in xdrrec_getbytes()
333 addr += current; in xdrrec_getbytes()
334 rstrm->fbtbc -= current; in xdrrec_getbytes()
335 len -= current; in xdrrec_getbytes()
345 int current; in xdrrec_putbytes() local
349 current = (uintptr_t)rstrm->out_boundry - in xdrrec_putbytes()
351 current = (len < current) ? len : current; in xdrrec_putbytes()
352 (void) memcpy(rstrm->out_finger, addr, current); in xdrrec_putbytes()
353 rstrm->out_finger += current; in xdrrec_putbytes()
354 addr += current; in xdrrec_putbytes()
355 len -= current; in xdrrec_putbytes()
376 int current, len; in xdrrec_readbytes() local
380 current = rstrm->fbtbc; in xdrrec_readbytes()
381 if (current == 0) { in xdrrec_readbytes()
388 current = (len < current) ? len : current; in xdrrec_readbytes()
389 if (!get_input_bytes(rstrm, addr, current, FALSE)) in xdrrec_readbytes()
391 addr += current; in xdrrec_readbytes()
392 rstrm->fbtbc -= current; in xdrrec_readbytes()
393 len -= current; in xdrrec_readbytes()
670 int current; in get_input_bytes() local
677 current = (int)(rstrm->in_boundry - rstrm->in_finger); in get_input_bytes()
678 if (len > current) in get_input_bytes()
687 current = (intptr_t)rstrm->in_boundry - in get_input_bytes()
689 if (current == 0) { in get_input_bytes()
694 current = (len < current) ? len : current; in get_input_bytes()
695 (void) memcpy(addr, rstrm->in_finger, current); in get_input_bytes()
696 rstrm->in_finger += current; in get_input_bytes()
697 addr += current; in get_input_bytes()
698 len -= current; in get_input_bytes()
731 int current; in skip_input_bytes() local
734 current = (intptr_t)rstrm->in_boundry - in skip_input_bytes()
736 if (current == 0) { in skip_input_bytes()
741 current = (cnt < current) ? cnt : current; in skip_input_bytes()
742 rstrm->in_finger += current; in skip_input_bytes()
743 cnt -= current; in skip_input_bytes()