Searched refs:a_c_string (Results 1 – 4 of 4) sorted by relevance
39 const char* MyString::CloneCString(const char* a_c_string) { in CloneCString() argument40 if (a_c_string == NULL) return NULL; in CloneCString()42 const size_t len = strlen(a_c_string); in CloneCString()44 memcpy(clone, a_c_string, len + 1); in CloneCString()51 void MyString::Set(const char* a_c_string) { in Set() argument53 const char* const temp = MyString::CloneCString(a_c_string); in Set()
49 static const char* CloneCString(const char* a_c_string);59 explicit MyString(const char* a_c_string) : c_string_(NULL) { in MyString() argument60 Set(a_c_string); in MyString()
48 static const char* CloneCString(const char* a_c_string);58 explicit MyString(const char* a_c_string) : c_string_(NULL) { in MyString() argument59 Set(a_c_string); in MyString()