Home
last modified time | relevance | path

Searched refs:MyString (Results 1 – 12 of 12) sorted by relevance

/external/gtest/samples/
Dsample2_unittest.cc49 TEST(MyString, DefaultConstructor) { in TEST() argument
50 const MyString s; in TEST()
80 TEST(MyString, ConstructorFromCString) { in TEST() argument
81 const MyString s(kHelloString); in TEST()
88 TEST(MyString, CopyConstructor) { in TEST() argument
89 const MyString s1(kHelloString); in TEST()
90 const MyString s2 = s1; in TEST()
95 TEST(MyString, Set) { in TEST() argument
96 MyString s; in TEST()
Dsample2.h41 class MyString {
44 const MyString& operator=(const MyString& rhs);
56 MyString() : c_string_(NULL) {} in MyString() function
59 explicit MyString(const char * c_string) : c_string_(NULL) { in MyString() function
64 MyString(const MyString& string) : c_string_(NULL) { in MyString() function
72 ~MyString() { delete[] c_string_; } in ~MyString()
Dsample2.cc39 const char * MyString::CloneCString(const char * c_string) { in CloneCString()
51 void MyString::Set(const char * c_string) { in Set()
53 const char * const temp = MyString::CloneCString(c_string); in Set()
/external/chromium/testing/gtest/samples/
Dsample2_unittest.cc49 TEST(MyString, DefaultConstructor) { in TEST() argument
50 const MyString s; in TEST()
80 TEST(MyString, ConstructorFromCString) { in TEST() argument
81 const MyString s(kHelloString); in TEST()
88 TEST(MyString, CopyConstructor) { in TEST() argument
89 const MyString s1(kHelloString); in TEST()
90 const MyString s2 = s1; in TEST()
95 TEST(MyString, Set) { in TEST() argument
96 MyString s; in TEST()
Dsample2.h41 class MyString {
44 const MyString& operator=(const MyString& rhs);
56 MyString() : c_string_(NULL) {} in MyString() function
59 explicit MyString(const char* a_c_string) : c_string_(NULL) { in MyString() function
64 MyString(const MyString& string) : c_string_(NULL) { in MyString() function
72 ~MyString() { delete[] c_string_; } in ~MyString()
Dsample2.cc39 const char* MyString::CloneCString(const char* a_c_string) { in CloneCString()
51 void MyString::Set(const char* a_c_string) { in Set()
53 const char* const temp = MyString::CloneCString(a_c_string); in Set()
/external/protobuf/gtest/samples/
Dsample2_unittest.cc49 TEST(MyString, DefaultConstructor) { in TEST() argument
50 const MyString s; in TEST()
80 TEST(MyString, ConstructorFromCString) { in TEST() argument
81 const MyString s(kHelloString); in TEST()
88 TEST(MyString, CopyConstructor) { in TEST() argument
89 const MyString s1(kHelloString); in TEST()
90 const MyString s2 = s1; in TEST()
95 TEST(MyString, Set) { in TEST() argument
96 MyString s; in TEST()
Dsample2.h41 class MyString {
44 const MyString& operator=(const MyString& rhs);
56 MyString() : c_string_(NULL) {} in MyString() function
59 explicit MyString(const char * c_string) : c_string_(NULL) { in MyString() function
64 MyString(const MyString& string) : c_string_(NULL) { in MyString() function
72 ~MyString() { delete[] c_string_; } in ~MyString()
Dsample2.cc39 const char * MyString::CloneCString(const char * c_string) { in CloneCString()
51 void MyString::Set(const char * c_string) { in Set()
53 const char * const temp = MyString::CloneCString(c_string); in Set()
/external/clang/lib/AST/
DTypePrinter.cpp763 std::string MyString; in printElaborated() local
766 llvm::raw_string_ostream OS(MyString); in printElaborated()
781 MyString += TypeStr; in printElaborated()
783 S.swap(MyString); in printElaborated()
785 S = MyString + ' ' + S; in printElaborated()
795 std::string MyString; in printDependentName() local
798 llvm::raw_string_ostream OS(MyString); in printDependentName()
809 S.swap(MyString); in printDependentName()
811 S = MyString + ' ' + S; in printDependentName()
817 std::string MyString; in printDependentTemplateSpecialization() local
[all …]
/external/llvm/test/Transforms/ScalarRepl/
D2007-05-29-MemcpyPreserve.ll8 %struct.MyString = type { i32 }
/external/clang/test/Analysis/
DNSString.m193 @interface MyString : NSString interface
196 void f14(MyString *s) {
197 [s compare:0]; // expected-warning {{Argument to 'MyString' method 'compare:' cannot be nil.}}