Lines Matching refs:current
42 * of the used region to the byte before the 'current' offset (if any). The
43 * 'remaining' region the current pointer to the end of the used
48 * It extends from the current offset to an offset in the remaining region
50 * is empty. If the current offset advances beyond the chosen offset, the
62 * b == current pointer. Can be anywhere between a and d.
83 * 0 <= current <= used
86 * (although active < current implies empty active region)
143 ((void *)((unsigned char *)(b)->base + (b)->current)) /*b*/
156 #define isc_buffer_consumedlength(b) ((b)->current) /* b-a */
157 #define isc_buffer_remaininglength(b) ((b)->used - (b)->current) /* d-b */
158 #define isc_buffer_activelength(b) ((b)->active - (b)->current) /* c-b */
175 unsigned int current;
386 * \brief Sets the end of the active region 'n' bytes after current.
392 *\li current + n <= used
406 *\li current == 0
419 *\li current + n <= used
432 *\li n <= current
449 *\li current == 0
469 *\li The current pointer in 'b' is advanced by 1.
504 *\li The current pointer in 'b' is advanced by 2.
540 *\li The current pointer in 'b' is advanced by 4.
576 *\li The current pointer in 'b' is advanced by 6.
692 (_b)->current = 0; \
707 (_b)->current = 0; \
737 if ((_b)->current > (_b)->used) \
738 (_b)->current = (_b)->used; \
746 (_b)->current = 0; \
753 (_r)->length = (_b)->current; \
764 if ((_b)->current < (_b)->active) { \
775 (_b)->active = (_b)->current + (_n); \
780 (_b)->current = 0; \
785 (_b)->current += (_n); \
790 (_b)->current -= (_n); \