Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DValuePartial.cs42 public static Value ForString(string value) in ForString() method in Google.Protobuf.WellKnownTypes.Value
DFieldMask.cs220 = pb::FieldCodec.ForString(10);
DStruct.cs109 …ing, global::Google.Protobuf.WellKnownTypes.Value>.Codec(pb::FieldCodec.ForString(10), pb::FieldCo…
DType.cs155 = pb::FieldCodec.ForString(26);
/external/protobuf/csharp/src/Google.Protobuf.Test/
DJsonFormatterTest.cs421 { "d", Value.ForString("text") }, in StructSample()
422 { "e", Value.ForList(Value.ForString("t1"), Value.ForNumber(5)) }, in StructSample()
423 … { "f", Value.ForStruct(new Struct { Fields = { { "nested", Value.ForString("value") } } }) } in StructSample()
DJsonParserTest.cs692 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List()
698 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue()
705 ….ForStruct(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }), in StructValue_Struct()
712 …rt.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") } } }, in ParseStruct()
DFieldCodecTest.cs46 new FieldCodecTestData<string>(FieldCodec.ForString(100), "sample", "String"),
/external/protobuf/csharp/src/Google.Protobuf/
DFieldCodec.cs52 public static FieldCodec<string> ForString(uint tag) in ForString() method in Google.Protobuf.FieldCodec
275 …{ typeof(string), ForString(WireFormat.MakeTag(WrappersReflection.WrapperValueFieldNumber, WireFor…
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs1218 = pb::FieldCodec.ForString(354);
1272 = pb::FieldCodec.ForString(434);
1281 = pb::FieldCodec.ForString(442);
1410 …= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(1…
1419 …= new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.For…
1428 …bal::Conformance.TestAllTypes.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCo…
1437 …pField<string, global::Conformance.ForeignMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCo…
1446 …global::Conformance.TestAllTypes.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCo…
1455 …= new pbc::MapField<string, global::Conformance.ForeignEnum>.Codec(pb::FieldCodec.ForString(10), p…
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs292 field.AddEntriesFrom(input, FieldCodec.ForString(tag)); in AddEntriesFrom_String()
370 field.WriteTo(output, FieldCodec.ForString(tag)); in WriteTo_String()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DMapUnittestProto3.cs341 …= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(1…
DUnittestProto3.cs672 = pb::FieldCodec.ForString(354);
2826 = pb::FieldCodec.ForString(66);
3583 = pb::FieldCodec.ForString(10);
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs339 = pb::FieldCodec.ForString(26);
784 = pb::FieldCodec.ForString(82);
4991 = pb::FieldCodec.ForString(50);