Home
last modified time | relevance | path

Searched refs:ForString (Results 1 – 22 of 22) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs697 …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()
DJsonFormatterTest.cs525 { "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()
DFieldCodecTest.cs47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DValuePartial.cs42 public static Value ForString(string value) in ForString() method in Google.Protobuf.WellKnownTypes.Value
DFieldMask.cs284 = pb::FieldCodec.ForString(10);
DStruct.cs121 …ing, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10, ""), pb::Fie…
DType.cs170 = pb::FieldCodec.ForString(26);
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs54 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/
DUnittestIssue6936A.cs41 …l::Google.Protobuf.Reflection.MessageOptions, string>(50000, pb::FieldCodec.ForString(400002, ""));
DTestMessagesProto3.cs861 = 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…
DTestMessagesProto2.cs1054 = 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…
DUnittest.cs783 …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 …]
DMapUnittestProto3.cs366 …new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString
DUnittestProto3.cs737 = pb::FieldCodec.ForString(354);
4238 = pb::FieldCodec.ForString(66);
5430 = pb::FieldCodec.ForString(10);
DUnittestCustomOptionsProto3.cs212 …oogle.Protobuf.Reflection.MessageOptions, string>(7673285, pb::FieldCodec.ForString(61386282, ""));
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DJsonParserTest.cs695 …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()
DFieldCodecTest.cs47 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs604 …apCodec = new MapField<string,string>.Codec(FieldCodec.ForString(keyTag, ""), FieldCodec.ForString in AddEntriesFrom_CodedInputStream()
DRepeatedFieldTest.cs379 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/
DRepeatedFieldTest.cs378 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/
DConformance.cs151 = pb::FieldCodec.ForString(10);
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs465 = pb::FieldCodec.ForString(26);
1096 = pb::FieldCodec.ForString(82);
3257 = pb::FieldCodec.ForString(42);
9583 = pb::FieldCodec.ForString(50);