Lines Matching refs:end_offs
61 if(_this->offs+_this->end_offs>=_this->storage)return -1; in ec_write_byte()
67 if(_this->offs+_this->end_offs>=_this->storage)return -1; in ec_write_byte_at_end()
68 _this->buf[_this->storage-++(_this->end_offs)]=(unsigned char)_value; in ec_write_byte_at_end()
114 _this->end_offs=0; in ec_enc_init()
238 celt_assert(_this->offs+_this->end_offs<=_size); in ec_enc_shrink()
239 OPUS_MOVE(_this->buf+_size-_this->end_offs, in ec_enc_shrink()
240 _this->buf+_this->storage-_this->end_offs,_this->end_offs); in ec_enc_shrink()
278 _this->storage-_this->offs-_this->end_offs); in ec_enc_done()
281 if(_this->end_offs>=_this->storage)_this->error=-1; in ec_enc_done()
286 if(_this->offs+_this->end_offs>=_this->storage&&l<used){ in ec_enc_done()
290 _this->buf[_this->storage-_this->end_offs-1]|=(unsigned char)window; in ec_enc_done()