Home
last modified time | relevance | path

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

/third_party/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()
/third_party/typescript/tests/baselines/reference/
DstringIndexerConstrainsPropertyDeclarations.types4 interface MyString extends String {
44 f: MyString; // error
45 >f : MyString
119 f: MyString; // error
120 >f : MyString
124 …tring; e: number; 1: string; 2: number; foo(): string; "3.0": string; "4.0": number; f: MyString; }
163 f: MyString; // error
164 >f : MyString
171MyString>null, get X() { return ''; }, set X(v) { }, foo() { return …
209 f: <MyString>null,
[all …]
DstringIndexerConstrainsPropertyDeclarations.symbols4 interface MyString extends String {
5 >MyString : Symbol(MyString, Decl(stringIndexerConstrainsPropertyDeclarations.ts, 0, 0))
9 >foo : Symbol(MyString.foo, Decl(stringIndexerConstrainsPropertyDeclarations.ts, 2, 35))
47 f: MyString; // error
49 >MyString : Symbol(MyString, Decl(stringIndexerConstrainsPropertyDeclarations.ts, 0, 0))
122 f: MyString; // error
124 >MyString : Symbol(MyString, Decl(stringIndexerConstrainsPropertyDeclarations.ts, 0, 0))
167 f: MyString; // error
169 >MyString : Symbol(MyString, Decl(stringIndexerConstrainsPropertyDeclarations.ts, 0, 0))
204 f: <MyString>null,
[all …]
DstringIndexerConstrainsPropertyDeclarations.js4 interface MyString extends String {
22 f: MyString; // error
57 f: MyString; // error
75 f: MyString; // error
89 f: <MyString>null,
DstringIndexerConstrainsPropertyDeclarations.errors.txt6 …rainsPropertyDeclarations.ts(21,5): error TS2411: Property 'f' of type 'MyString' is not assignabl…
17 …rainsPropertyDeclarations.ts(56,5): error TS2411: Property 'f' of type 'MyString' is not assignabl…
24 …rainsPropertyDeclarations.ts(74,5): error TS2411: Property 'f' of type 'MyString' is not assignabl…
30 …ringIndexerConstrainsPropertyDeclarations.ts(88,5): error TS2322: Type 'MyString' is not assignabl…
39 interface MyString extends String {
67 f: MyString; // error
69 !!! error TS2411: Property 'f' of type 'MyString' is not assignable to string index type 'string'.
124 f: MyString; // error
126 !!! error TS2411: Property 'f' of type 'MyString' is not assignable to string index type 'string'.
156 f: MyString; // error
[all …]
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/indexSignatures/
DstringIndexerConstrainsPropertyDeclarations.ts3 interface MyString extends String { interface
21 f: MyString; // error
56 f: MyString; // error
74 f: MyString; // error
88 f: <MyString>null,
/third_party/boost/libs/interprocess/example/
Ddoc_vectorstream.cpp31 <char, std::char_traits<char>, CharAllocator> MyString; typedef
32 typedef basic_vectorstream<MyString> MyVectorStream;
114 MyString stringcopy (myvectorstream.vector()); in main()
117 MyString *mystring = in main()
118 segment.construct<MyString>("MyString") in main()
/third_party/node/test/parallel/
Dtest-buffer-from.js11 class MyString extends String { class
30 deepStrictEqual(Buffer.from(new MyString()), check);
/third_party/python/Lib/test/
Dtest_opcodes.py130 class MyString(str): class
133 self.assertEqual(MyString() % 3, 42)
/third_party/typescript_eslint/packages/eslint-plugin/docs/rules/
Drestrict-template-expressions.md10 const stringWithKindProp: string & { _kind?: 'MyString' } = 'foo';
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestProto3.cs4578 public string MyString { property in Google.Protobuf.TestProtos.TestFieldOrderings
4631 if (MyString != other.MyString) return false; in Equals()
4641 if (MyString.Length != 0) hash ^= MyString.GetHashCode(); in GetHashCode()
4665 if (MyString.Length != 0) { in WriteTo()
4667 output.WriteString(MyString); in WriteTo()
4690 if (MyString.Length != 0) { in IBufferMessage.InternalWriteTo()
4692 output.WriteString(MyString); in IBufferMessage.InternalWriteTo()
4711 if (MyString.Length != 0) { in CalculateSize()
4712 size += 1 + pb::CodedOutputStream.ComputeStringSize(MyString); in CalculateSize()
4734 if (other.MyString.Length != 0) { in MergeFrom()
[all …]
DUnittest.cs14572 public string MyString { property in Google.Protobuf.TestProtos.Proto2.TestFieldOrderings
14661 if (MyString != other.MyString) return false; in Equals()
14674 if (HasMyString) hash ^= MyString.GetHashCode(); in GetHashCode()
14703 output.WriteString(MyString); in WriteTo()
14731 output.WriteString(MyString); in IBufferMessage.InternalWriteTo()
14754 size += 1 + pb::CodedOutputStream.ComputeStringSize(MyString); in CalculateSize()
14780 MyString = other.MyString; in MergeFrom()
14816 MyString = input.ReadString(); in MergeFrom()
14851 MyString = input.ReadString(); in IBufferMessage.InternalMergeFrom()
15186 public string MyString { property in Google.Protobuf.TestProtos.Proto2.TestExtensionOrderings1
[all …]
/third_party/boost/libs/log/doc/
Drationale.qbk110 …BOOST_LOG(logger) << logging::add_value("MyInt", 10) << logging::add_value("MyString", "string att…
113 However, filters will not be able to use MyInt and MyString attributes. The reason for this behavio…
Dattributes.qbk45 lg.add_attribute("MyString", attrs::constant< std::string >("Hello world!"));