Lines Matching refs:write_ptr
47 int write_ptr;
57 st->write_ptr = 0;
78 end = st->write_ptr + len;
82 SPEEX_COPY(st->data + st->write_ptr, data, end1 - st->write_ptr);
86 SPEEX_COPY(st->data, data+end1 - st->write_ptr, end);
92 st->read_ptr = st->write_ptr;
94 st->write_ptr += len;
95 if (st->write_ptr > st->size)
96 st->write_ptr -= st->size;
110 end = st->write_ptr + len;
114 SPEEX_MEMSET(st->data + st->write_ptr, 0, end1 - st->write_ptr);
124 st->read_ptr = st->write_ptr;
126 st->write_ptr += len;
127 if (st->write_ptr > st->size)
128 st->write_ptr -= st->size;