/external/gtest/samples/ |
D | sample2_unittest.cc | 49 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()
|
D | sample2.h | 41 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()
|
D | sample2.cc | 39 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/ |
D | sample2_unittest.cc | 49 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()
|
D | sample2.h | 41 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()
|
D | sample2.cc | 39 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/ |
D | sample2_unittest.cc | 49 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()
|
D | sample2.h | 41 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()
|
D | sample2.cc | 39 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/ |
D | TypePrinter.cpp | 763 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/ |
D | 2007-05-29-MemcpyPreserve.ll | 8 %struct.MyString = type { i32 }
|
/external/clang/test/Analysis/ |
D | NSString.m | 193 @interface MyString : NSString interface 196 void f14(MyString *s) { 197 [s compare:0]; // expected-warning {{Argument to 'MyString' method 'compare:' cannot be nil.}}
|