Home | History | Annotate | Download | only in utils

Lines Matching refs:buf_

46   memcpy(new_buf, bw->buf_, bw->pos_);
47 free(bw->buf_);
48 bw->buf_ = new_buf;
65 if (pos > 0) bw->buf_[pos - 1]++;
69 for (; bw->run_ > 0; --bw->run_) bw->buf_[pos++] = value;
71 bw->buf_[pos++] = bits;
167 bw->buf_ = NULL;
175 return bw->buf_;
183 memcpy(bw->buf_ + bw->pos_, data, size);
190 free(bw->buf_);
219 memcpy(allocated_buf, bw->buf_, current_size);
220 free(bw->buf_);
221 bw->buf_ = allocated_buf;
234 free(bw->buf_);
245 uint8_t* const p = &bw->buf_[bw->bit_pos_ >> 3];
253 uint8_t* p = &bw->buf_[bw->bit_pos_ >> 3];