Lines Matching refs:end1
71 int end1; in speex_buffer_write() local
79 end1 = end; in speex_buffer_write()
80 if (end1 > st->size) in speex_buffer_write()
81 end1 = st->size; in speex_buffer_write()
82 SPEEX_COPY(st->data + st->write_ptr, data, end1 - st->write_ptr); in speex_buffer_write()
86 SPEEX_COPY(st->data, data+end1 - st->write_ptr, end); in speex_buffer_write()
105 int end1; in speex_buffer_writezeros() local
111 end1 = end; in speex_buffer_writezeros()
112 if (end1 > st->size) in speex_buffer_writezeros()
113 end1 = st->size; in speex_buffer_writezeros()
114 SPEEX_MEMSET(st->data + st->write_ptr, 0, end1 - st->write_ptr); in speex_buffer_writezeros()
134 int end, end1; in speex_buffer_read() local
142 end1 = end; in speex_buffer_read()
143 if (end1 > st->size) in speex_buffer_read()
144 end1 = st->size; in speex_buffer_read()
145 SPEEX_COPY(data, st->data + st->read_ptr, end1 - st->read_ptr); in speex_buffer_read()
150 SPEEX_COPY(data+end1 - st->read_ptr, st->data, end); in speex_buffer_read()