Lines Matching refs:pos_read
43 return (this->pos_read == this->pos_write) && !this->full; in midibuf_is_empty()
53 this->pos_read = this->pos_write = this->full = 0; in line6_midibuf_reset()
75 (this->pos_read - this->pos_write + this->size - 1) % this->size + in line6_midibuf_bytes_free()
84 (this->pos_write - this->pos_read + this->size - 1) % this->size + in line6_midibuf_bytes_used()
124 if (this->pos_write == this->pos_read) in line6_midibuf_write()
153 length1 = this->size - this->pos_read; in line6_midibuf_read()
156 command = this->buf[this->pos_read]; in line6_midibuf_read()
180 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
189 if (this->buf[this->pos_read + i] & 0x80) in line6_midibuf_read()
219 memcpy(data + repeat, this->buf + this->pos_read, length); in line6_midibuf_read()
220 this->pos_read += length; in line6_midibuf_read()
224 memcpy(data + repeat, this->buf + this->pos_read, length1); in line6_midibuf_read()
226 this->pos_read = length2; in line6_midibuf_read()
243 this->pos_read = (this->pos_read + length) % this->size; in line6_midibuf_ignore()