Home | History | Annotate | Download | only in data

Lines Matching refs:b_

24     : ByteArray(0, length), b_(NULL), allocated_(true) {
28 : ByteArray(filled_length, filled_length), b_(b), allocated_(false) {
40 os->Write(b_, offset, length);
45 if (allocated_ && b_ == NULL) {
46 b_ = new byte_t[Size()];
47 memset(b_, 0, Size());
53 b_[index] = b;
62 memcpy(b_ + index, b + offset, length);
68 return b_[index];
77 memcpy(b + offset, b_ + index, length);
82 if (allocated_ && b_) {
83 delete[] b_;
85 b_ = NULL;
90 return b_;