/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | JsonFormatterTest.cs | 55 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: false)); in DefaultValues_WhenOmitted() 65 … var formatter = new JsonFormatter(new JsonFormatter.Settings(formatDefaultValues: true)); in DefaultValues_WhenIncluded() 97 var actualText = JsonFormatter.Default.Format(message); in AllSingleFields() 131 … JsonFormatter.Default.Format(new TestAllTypes { RepeatedInt32 = { 1, 2, 3, 4, 5 } })); in RepeatedField() 138 …JsonFormatter.Default.Format(new TestMap { MapStringString = { { "with spaces", "bar" }, { "a", "b… in MapField_StringString() 146 … JsonFormatter.Default.Format(new TestMap { MapInt32Int32 = { { 0, 1 }, { 2, 3 } } })); in MapField_Int32Int32() 154 … JsonFormatter.Default.Format(new TestMap { MapBoolBool = { { false, true }, { true, false } } })); in MapField_BoolBool() 164 string actualText = JsonFormatter.Default.Format(message); in DoubleRepresentations() 173 AssertJson("{ 'singleForeignEnum': 100 }", JsonFormatter.Default.Format(message)); in UnknownEnumValueNumeric_SingleField() 180 …n("{ 'repeatedForeignEnum': [ 'FOREIGN_BAZ', 100, 'FOREIGN_FOO' ] }", JsonFormatter.Default.Format… in UnknownEnumValueNumeric_RepeatedField() [all …]
|
D | JsonParserTest.cs | 130 var json = new JsonFormatter(new JsonFormatter.Settings(true)).Format(message); in SingularWrappers_ExplicitNulls() 236 var json = JsonFormatter.Default.Format(message); 806 …var formatter = new JsonFormatter(new JsonFormatter.Settings(false, TypeRegistry.FromMessages(Test… in Any_RegularMessage() 845 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_WellKnownType() 859 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_Nested()
|
D | IssuesTest.cs | 79 JsonFormatter.Default.Format(message)); in JsonNameFormatTest()
|
D | GeneratedMessageTest.cs | 703 Assert.AreEqual("{ \"c\": 31 }", JsonFormatter.Default.Format(message)); in CustomDiagnosticMessage_DirectToStringCall() 711 …Assert.AreEqual("{ \"singleForeignMessage\": { \"c\": 16 } }", JsonFormatter.Default.Format(messag… in CustomDiagnosticMessage_Nested() 719 JsonFormatter.Default.Format(message, writer); in CustomDiagnosticMessage_DirectToTextWriterCall()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | FieldMaskPartial.cs | 63 var query = paths.Select(JsonFormatter.ToCamelCase); in ToJson() 64 JsonFormatter.WriteString(writer, string.Join(",", query.ToArray())); in ToJson() 66 … JsonFormatter.WriteString(writer, string.Join(",", paths.Select(JsonFormatter.ToCamelCase))); in ToJson() 76 JsonFormatter.Default.WriteList(writer, (IList)paths); in ToJson()
|
D | Wrappers.cs | 130 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 255 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 380 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 505 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 630 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 755 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 880 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1005 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1130 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Empty.cs | 106 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Struct.cs | 149 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 395 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 603 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | FieldMask.cs | 312 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | SourceContext.cs | 117 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Type.cs | 248 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 580 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 999 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1203 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1365 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Timestamp.cs | 189 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Duration.cs | 178 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Api.cs | 248 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 541 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 835 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | Any.cs | 219 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | JsonFormatter.cs | 59 public sealed class JsonFormatter class 71 public static JsonFormatter Default { get; } = new JsonFormatter(Settings.Default); 74 … private static readonly JsonFormatter diagnosticFormatter = new JsonFormatter(Settings.Default); 115 static JsonFormatter() in JsonFormatter() method in Google.Protobuf.JsonFormatter 134 public JsonFormatter(Settings settings) in JsonFormatter() method in Google.Protobuf.JsonFormatter
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Program.cs | 113 … var formatter = new JsonFormatter(new JsonFormatter.Settings(false, typeRegistry)); in PerformRequest()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestIssues.cs | 140 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 231 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 322 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 461 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 580 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 756 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 933 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1064 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1186 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1432 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() [all …]
|
D | UnittestProto3.cs | 988 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1675 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1827 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1978 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2099 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2202 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2308 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2452 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2597 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2737 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() [all …]
|
D | UnittestImportPublicProto3.cs | 108 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | UnittestImportProto3.cs | 122 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
D | MapUnittestProto3.cs | 453 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 675 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 797 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 922 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1220 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1431 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1554 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 245 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 534 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 895 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1104 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1260 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1557 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 1890 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2057 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2232 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 2413 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() [all …]
|
D | FieldDescriptor.cs | 100 … JsonName = Proto.JsonName == "" ? JsonFormatter.ToCamelCase(Proto.Name) : Proto.JsonName; in FieldDescriptor()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/ |
D | Addressbook.cs | 161 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 335 return pb::JsonFormatter.ToDiagnosticString(this); in ToString() 473 return pb::JsonFormatter.ToDiagnosticString(this); in ToString()
|