Home | History | Annotate | Download | only in CL

Lines Matching full:str_

335     char * str_;
337 string(void) : size_(0), str_(NULL)
343 str_(NULL)
345 str_ = new char[size_+1];
346 if (str_ != NULL) {
347 memcpy(str_, str, size_ * sizeof(char));
348 str_[size_] = '\0';
356 str_(NULL)
359 str_ = new char[size_ + 1];
360 if (str_ != NULL) {
361 memcpy(str_, str, (size_ + 1) * sizeof(char));
374 if (rhs.size_ == 0 || rhs.str_ == NULL) {
376 str_ = NULL;
380 str_ = new char[size_ + 1];
381 if (str_ != NULL) {
382 memcpy(str_, rhs.str_, (size_ + 1) * sizeof(char));
399 if (str_ != NULL) {
400 delete[] str_;
407 const char * c_str(void) const { return (str_) ? str_ : "";}