Lines Matching refs:buffer_position
2110 size_t buffer_position; /* Position in buffer */
2510 pm->flush = pm->buffer_count = pm->buffer_position = 0;
2614 pm->buffer_position = 0;
2630 if (pm->buffer_position >= pm->buffer_count) switch (pm->state)
2636 pm->buffer_position = 0;
2646 pm->buffer_position = 0;
2705 pm->buffer_position = 0;
2738 pm->buffer_position = 0;
2781 pm->buffer_count = pm->buffer_position = 0;
2792 pm->buffer_position = 0;
2813 cb = pm->buffer_count - pm->buffer_position;
2818 memcpy(pb, pm->buffer + pm->buffer_position, cb);
2821 pm->buffer_position += cb;
2870 if (pm->buffer_count > pm->buffer_position)
2871 cbAvail += pm->buffer_count - pm->buffer_position;
2889 if (pm->buffer_count > pm->buffer_position ||
2912 pm->buffer_position = 0;
3098 pm->buffer_count = pm->buffer_position = 0;