/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 697 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List() 703 … var expected = Value.ForList(Value.ForString("x"), Value.ForNull(), Value.ForString("y")); in Value_List_WithNullElement() 719 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue() 726 ….ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }), in StructValue_Struct() 733 …rt.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }, in ParseStruct()
|
D | JsonFormatterTest.cs | 525 { "d", Value.ForString("text") }, in StructSample() 526 { "e", Value.ForList(Value.ForString("t1"), Value.ForNumber(5)) }, in StructSample() 527 … { "f", Value.ForStruct(new Struct { Fields = { { "nested", Value.ForString("value") } } }) } in StructSample()
|
D | FieldCodecTest.cs | 47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
|
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | ValuePartial.cs | 42 public static Value ForString(string value) in ForString() method in Google.Protobuf.WellKnownTypes.Value
|
D | FieldMask.cs | 284 = pb::FieldCodec.ForString(10);
|
D | Struct.cs | 121 …ing, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie…
|
D | Type.cs | 170 = pb::FieldCodec.ForString(26);
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | FieldCodec.cs | 54 public static FieldCodec<string> ForString(uint tag) in ForString() method in Google.Protobuf.FieldCodec 56 return FieldCodec.ForString(tag, ""); in ForString() 220 public static FieldCodec<string> ForString(uint tag, string defaultValue) in ForString() method in Google.Protobuf.FieldCodec 539 …{ typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | UnittestIssue6936A.cs | 41 …l::Google.Protobuf.Reflection.MessageOptions, string>(50000, pb::FieldCodec.ForString(400002, ""));
|
D | TestMessagesProto3.cs | 861 = pb::FieldCodec.ForString(354); 921 = pb::FieldCodec.ForString(434); 931 = pb::FieldCodec.ForString(442); 1360 …new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString… 1370 …= new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec… 1380 …ges.Proto3.TestAllTypesProto3.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1390 …lobal::ProtobufTestMessages.Proto3.ForeignMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1400 …ssages.Proto3.TestAllTypesProto3.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1410 …, global::ProtobufTestMessages.Proto3.ForeignEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie…
|
D | TestMessagesProto2.cs | 1054 = pb::FieldCodec.ForString(354); 1114 = pb::FieldCodec.ForString(434); 1124 = pb::FieldCodec.ForString(442); 1553 …new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString… 1563 …= new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec… 1573 …ges.Proto2.TestAllTypesProto2.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1583 …:ProtobufTestMessages.Proto2.ForeignMessageProto2>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1593 …ssages.Proto2.TestAllTypesProto2.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie… 1603 …al::ProtobufTestMessages.Proto2.ForeignEnumProto2>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie…
|
D | Unittest.cs | 783 …oogle.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(14, pb::FieldCodec.ForString(114, "")); 801 …oogle.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(24, pb::FieldCodec.ForString(194, "")); 803 …oogle.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(25, pb::FieldCodec.ForString(202, "")); 838 …l::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(44, pb::FieldCodec.ForString(354)); 856 …l::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(54, pb::FieldCodec.ForString(434)); 858 …l::Google.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(55, pb::FieldCodec.ForString(442)); 891 …rotobuf.TestProtos.Proto2.TestAllExtensions, string>(74, pb::FieldCodec.ForString(594, global::Sys… 901 …rotobuf.TestProtos.Proto2.TestAllExtensions, string>(84, pb::FieldCodec.ForString(674, global::Sys… 903 …rotobuf.TestProtos.Proto2.TestAllExtensions, string>(85, pb::FieldCodec.ForString(682, global::Sys… 912 …ogle.Protobuf.TestProtos.Proto2.TestAllExtensions, string>(113, pb::FieldCodec.ForString(906, "")); [all …]
|
D | MapUnittestProto3.cs | 366 …new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString…
|
D | UnittestProto3.cs | 737 = pb::FieldCodec.ForString(354); 4238 = pb::FieldCodec.ForString(66); 5430 = pb::FieldCodec.ForString(10);
|
D | UnittestCustomOptionsProto3.cs | 212 …oogle.Protobuf.Reflection.MessageOptions, string>(7673285, pb::FieldCodec.ForString(61386282, ""));
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 695 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List() 701 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue() 708 ….ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }), in StructValue_Struct() 715 …rt.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }, in ParseStruct()
|
D | FieldCodecTest.cs | 47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 604 …apCodec = new MapField<string,string>.Codec(FieldCodec.ForString(keyTag, ""), FieldCodec.ForString… in AddEntriesFrom_CodedInputStream()
|
D | RepeatedFieldTest.cs | 379 field.AddEntriesFrom(input, FieldCodec.ForString(tag)); in AddEntriesFrom_String() 457 field.WriteTo(output, FieldCodec.ForString(tag)); in WriteTo_String()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 378 field.AddEntriesFrom(input, FieldCodec.ForString(tag)); in AddEntriesFrom_String() 456 field.WriteTo(output, FieldCodec.ForString(tag)); in WriteTo_String()
|
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 151 = pb::FieldCodec.ForString(10);
|
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 465 = pb::FieldCodec.ForString(26); 1096 = pb::FieldCodec.ForString(82); 3257 = pb::FieldCodec.ForString(42); 9583 = pb::FieldCodec.ForString(50);
|