Searched refs:ours_ (Results 1 – 2 of 2) sorted by relevance
28 if (ours_ && data_) delete[] data_; // If we owned the old buffer, free it. in PointTo()32 ours_ = false; in PointTo()44 if (!ours_ || new_size > capacity_) reserve(new_size); in resize()48 ours_ = true; in resize()54 if (capacity_ >= new_capacity && ours_) return; in reserve()63 if (ours_) delete[] data_; // If we owned the old buffer, free it. in reserve()66 ours_ = true; // We own the new buffer. in reserve()77 if (ours_) delete[] data_; in clear()80 ours_ = true; in clear()
163 bool ours_; // Do we own data_? variable165 Repr() : data_(NULL), size_(0), capacity_(0), ours_(true) {} in Repr()167 if (ours_) delete[] data_; in ~Repr()