Lines Matching refs:rep_
63 TiXmlString () : rep_(&nullrep_) in TiXmlString()
127 const char * c_str () const { return rep_->str; } in c_str()
130 const char * data () const { return rep_->str; } in data()
133 size_type length () const { return rep_->size; } in length()
136 size_type size () const { return rep_->size; } in size()
139 bool empty () const { return rep_->size == 0; } in empty()
142 size_type capacity () const { return rep_->capacity; } in capacity()
149 return rep_->str[ index ]; in at()
156 return rep_->str[ index ];
198 Rep* r = rep_; in swap()
199 rep_ = other.rep_; in swap()
200 other.rep_ = r; in swap()
206 void set_size(size_type sz) { rep_->str[ rep_->size = sz ] = '\0'; } in set_size()
207 char* start() const { return rep_->str; } in start()
208 char* finish() const { return rep_->str + rep_->size; } in finish()
220 rep_ = static_cast<Rep*>(operator new(sizeof(Rep) + cap)); in init()
221 rep_->str[ rep_->size = sz ] = '\0'; in init()
222 rep_->capacity = cap; in init()
226 rep_ = &nullrep_; in init()
232 if (rep_ != &nullrep_) in quit()
234 operator delete(rep_); in quit()
238 Rep * rep_; variable