Home
last modified time | relevance | path

Searched refs:SingleString (Results 1 – 10 of 10) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs122 SingleString = "test\twith\ttabs", in AllSingleFields()
232 var message = new TestAllTypes { SingleString = text }; in SimpleNonAscii()
239 var message = new TestAllTypes { SingleString = "a\uD801\uDC01b" }; in SurrogatePairEscaping()
250 var message = new TestAllTypes { SingleString = "a\uDC01b" }; in InvalidSurrogatePairsFail()
254 message = new TestAllTypes { SingleString = "a\uD801b" }; in InvalidSurrogatePairsFail()
DSampleMessages.cs70 SingleString = "test", in CreateFullTestAllTypes()
DGeneratedMessageTest.cs82 Assert.AreEqual("", message.SingleString); in DefaultValues()
120 Assert.Throws<ArgumentNullException>(() => message.SingleString = null); in NullStringAndBytesRejected()
161 SingleString = "test", in RoundTrip_SingleValues()
457 SingleString = "test", in CloneSingleNonMessageValues()
DJsonParserTest.cs962 var expected = new TestAllTypes { SingleString = "x" }; in UnknownField_Ignored()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs65 …Assert.AreEqual(message.SingleString, fields[TestAllTypes.SingleStringFieldNumber].Accessor.GetVal… in GetValue()
105 SingleString = "", in Clear()
139 SingleString = "It's a string", in SetValue_SingleFields()
/external/protobuf/csharp/src/Google.Protobuf.Test/Reflection/
DFieldAccessTest.cs65 …Assert.AreEqual(message.SingleString, fields[TestAllTypes.SingleStringFieldNumber].Accessor.GetVal… in GetValue()
105 SingleString = "", in Clear()
139 SingleString = "It's a string", in SetValue_SingleFields()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DSampleMessages.cs70 SingleString = "test", in CreateFullTestAllTypes()
DGeneratedMessageTest.cs82 Assert.AreEqual("", message.SingleString); in DefaultValues()
120 Assert.Throws<ArgumentNullException>(() => message.SingleString = null); in NullStringAndBytesRejected()
161 SingleString = "test", in RoundTrip_SingleValues()
457 SingleString = "test", in CloneSingleNonMessageValues()
/external/perfetto/src/tracing/
Dtraced_proto_unittest.cc64 TEST_F(TracedProtoTest, SingleString) { in TEST_F() argument
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs499 public string SingleString { property in Google.Protobuf.TestProtos.TestAllTypes
914 if (SingleString != other.SingleString) return false; in Equals()
969 if (SingleString.Length != 0) hash ^= SingleString.GetHashCode(); in GetHashCode()
1070 if (SingleString.Length != 0) { in WriteTo()
1072 output.WriteString(SingleString); in WriteTo()
1191 if (SingleString.Length != 0) { in CalculateSize()
1192 size += 1 + pb::CodedOutputStream.ComputeStringSize(SingleString); in CalculateSize()
1302 if (other.SingleString.Length != 0) { in MergeFrom()
1303 SingleString = other.SingleString; in MergeFrom()
1445 SingleString = input.ReadString(); in MergeFrom()