Lines Matching refs:buffer_position
2493 size_t buffer_position; /* Position in buffer */ member
2893 pm->flush = pm->buffer_count = pm->buffer_position = 0; in modifier_reset()
2986 pm->buffer_position = 0; in modifier_setbuffer()
3002 if (pm->buffer_position >= pm->buffer_count) switch (pm->state) in modifier_read_imp()
3008 pm->buffer_position = 0; in modifier_read_imp()
3018 pm->buffer_position = 0; in modifier_read_imp()
3077 pm->buffer_position = 0; in modifier_read_imp()
3110 pm->buffer_position = 0; in modifier_read_imp()
3153 pm->buffer_count = pm->buffer_position = 0; in modifier_read_imp()
3164 pm->buffer_position = 0; in modifier_read_imp()
3185 cb = pm->buffer_count - pm->buffer_position; in modifier_read_imp()
3190 memcpy(pb, pm->buffer + pm->buffer_position, cb); in modifier_read_imp()
3193 pm->buffer_position += cb; in modifier_read_imp()
3242 if (pm->buffer_count > pm->buffer_position) in modifier_progressive_read()
3243 cbAvail += pm->buffer_count - pm->buffer_position; in modifier_progressive_read()
3261 if (pm->buffer_count > pm->buffer_position || in modifier_progressive_read()
3284 pm->buffer_position = 0; in set_modifier_for_read()
3470 pm->buffer_count = pm->buffer_position = 0; in sbit_modify()