Home
last modified time | relevance | path

Searched refs:PlainString (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs295 var message = new TestJsonFieldOrdering { PlainString = "p1", PlainInt32 = 2 }; in OutputIsInNumericFieldOrder_NoDefaults()
297 …new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_NoDefaults()
299 …= new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_NoDefaults()
309 …new TestJsonFieldOrdering { O1Int32 = 5, O2String = "o2", PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_WithDefaults()
311 …= new TestJsonFieldOrdering { O1String = "", O2Int32 = 0, PlainInt32 = 10, PlainString = "plain" }; in OutputIsInNumericFieldOrder_WithDefaults()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs1325 public string PlainString { property in UnitTest.Issues.TestProtos.TestJsonFieldOrdering
1408 if (PlainString != other.PlainString) return false; in Equals()
1422 if (PlainString.Length != 0) hash ^= PlainString.GetHashCode(); in GetHashCode()
1437 if (PlainString.Length != 0) { in WriteTo()
1439 output.WriteString(PlainString); in WriteTo()
1475 if (PlainString.Length != 0) { in CalculateSize()
1476 size += 1 + pb::CodedOutputStream.ComputeStringSize(PlainString); in CalculateSize()
1495 if (other.PlainString.Length != 0) { in MergeFrom()
1496 PlainString = other.PlainString; in MergeFrom()
1527 PlainString = input.ReadString(); in MergeFrom()