Home
last modified time | relevance | path

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

12

/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/samples/
Dsample2_unittest.cc46 TEST(MyString, DefaultConstructor) { in TEST() argument
47 const MyString s; in TEST()
77 TEST(MyString, ConstructorFromCString) { in TEST() argument
78 const MyString s(kHelloString); in TEST()
85 TEST(MyString, CopyConstructor) { in TEST() argument
86 const MyString s1(kHelloString); in TEST()
87 const MyString s2 = s1; in TEST()
92 TEST(MyString, Set) { in TEST() argument
93 MyString s; in TEST()
Dsample2.h39 class MyString {
42 const MyString& operator=(const MyString& rhs);
53 MyString() : c_string_(nullptr) {} in MyString() function
56 explicit MyString(const char* a_c_string) : c_string_(nullptr) { in MyString() function
61 MyString(const MyString& string) : c_string_(nullptr) { in MyString() function
69 ~MyString() { delete[] c_string_; } in ~MyString()
Dsample2.cc37 const char* MyString::CloneCString(const char* a_c_string) { in CloneCString()
49 void MyString::Set(const char* a_c_string) { in Set()
51 const char* const temp = MyString::CloneCString(a_c_string); in Set()
/external/googletest/googletest/samples/
Dsample2_unittest.cc46 TEST(MyString, DefaultConstructor) { in TEST() argument
47 const MyString s; in TEST()
77 TEST(MyString, ConstructorFromCString) { in TEST() argument
78 const MyString s(kHelloString); in TEST()
85 TEST(MyString, CopyConstructor) { in TEST() argument
86 const MyString s1(kHelloString); in TEST()
87 const MyString s2 = s1; in TEST()
92 TEST(MyString, Set) { in TEST() argument
93 MyString s; in TEST()
Dsample2.h39 class MyString {
42 const MyString& operator=(const MyString& rhs);
53 MyString() : c_string_(nullptr) {} in MyString() function
56 explicit MyString(const char* a_c_string) : c_string_(nullptr) { in MyString() function
61 MyString(const MyString& string) : c_string_(nullptr) { in MyString() function
69 ~MyString() { delete[] c_string_; } in ~MyString()
Dsample2.cc37 const char* MyString::CloneCString(const char* a_c_string) { in CloneCString()
49 void MyString::Set(const char* a_c_string) { in Set()
51 const char* const temp = MyString::CloneCString(a_c_string); in Set()
/external/llvm-project/lldb/test/API/lang/objc/radar-9691614/
Dmain.m4 @interface MyString : NSObject { interface
14 @implementation MyString implementation
48 MyString *my = [[MyString alloc] initWithNSString:str];
56 NSLog(@"MyString instance: %@", [my description]);
/external/llvm-project/lldb/test/API/lang/objc/foundation/
Dmain.m5 @interface MyString : MyBase { interface
17 @implementation MyString implementation
41 // Set a breakpoint on '-[MyString description]' and test expressions:
95 MyString *my = [[MyString alloc] initWithNSString:str];
96 NSLog(@"MyString instance: %@", [my description]);
98 NSLog(@"MyString instance: %@", [my description]);
/external/llvm-project/lldb/test/API/lang/objcxx/sample/
Dmain.mm4 @interface MyString : NSObject { interface
16 @implementation MyString implementation
54MyString *myStr = [[MyString alloc] initWithNSString: [NSString stringWithFormat:@"string %i", 1]];
/external/llvm-project/lldb/test/API/lang/objc/sample/
Dmain.m4 @interface MyString : NSObject { interface
16 @implementation MyString implementation
54MyString *myStr = [[MyString alloc] initWithNSString: [NSString stringWithFormat:@"string %i", 1]];
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestAbstractTypes.java14 static class MyString implements CharSequence class in TestAbstractTypes
18 public MyString(String s) { value = s; } in MyString() method in TestAbstractTypes.MyString
144 mod.addAbstractTypeMapping(CharSequence.class, MyString.class); in testInterfaceDefaulting()
147 assertEquals(MyString.class, result.getClass()); in testInterfaceDefaulting()
148 assertEquals("abc", ((MyString) result).value); in testInterfaceDefaulting()
/external/clang/test/SemaTemplate/
Dinstantiate-static-var.cpp127 typedef char MyString[100]; typedef
130 static MyString str;
133 MyString StaticVarWithTypedefString<T>::str = "";
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-static-var.cpp127 typedef char MyString[100]; typedef
130 static MyString str;
133 MyString StaticVarWithTypedefString<T>::str = "";
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-redundant-string-init.cpp167 typedef std::string MyString; typedef
168 #define STRING MyString
172 MyString a = ""; in i()
178 MyString c = "" "" ""; in i()
187 MyString f = "u"; in i()
Dgoogle-objc-global-variable-declaration.m12 static NSString* MyString = @"hi";
13 // CHECK-MESSAGES: :[[@LINE-1]]:18: warning: non-const global variable 'MyString' must have a name …
/external/lzma/CPP/7zip/Bundles/LzmaCon/
Dmakefile.gcc56 MyString.o \
135 MyString.o: ../../../Common/MyString.cpp
136 $(CXX) $(CFLAGS) ../../../Common/MyString.cpp
Dmakefile18 $O\MyString.obj \
/external/python/cpython2/Lib/test/
Dtest_opcodes.py106 class MyString(str): class
109 self.assertEqual(MyString() % 3, 42)
/external/python/cpython3/Lib/test/
Dtest_opcodes.py131 class MyString(str): class
134 self.assertEqual(MyString() % 3, 42)
/external/llvm-project/clang/test/PCH/
Dthread-safety-attrs.cpp90 class MyString { class
92 MyString(const char* s);
93 ~MyString();
/external/clang/test/PCH/
Dthread-safety-attrs.cpp90 class MyString { class
92 MyString(const char* s);
93 ~MyString();
/external/lzma/CPP/7zip/UI/Client7z/
Dmakefile10 $O\MyString.obj \
/external/lzma/CPP/7zip/UI/Console/
Dmakefile18 $O\MyString.obj \
/external/lzma/CPP/7zip/Bundles/Format7zExtractR/
Dmakefile12 $O\MyString.obj \
/external/lzma/CPP/7zip/Bundles/SFXSetup/
Dmakefile21 $O\MyString.obj \

12