Home
last modified time | relevance | path

Searched refs:WriteEnum (Results 1 – 25 of 25) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DWriteContext.cs224 public void WriteEnum(int value) in WriteEnum() method
226 WritingPrimitives.WriteEnum(ref buffer, ref state, value); in WriteEnum()
DCodedOutputStream.cs345 public void WriteEnum(int value) in WriteEnum() method in Google.Protobuf.CodedOutputStream
348 WritingPrimitives.WriteEnum(ref span, ref state, value); in WriteEnum()
DWritingPrimitives.cs233 … public static void WriteEnum(ref Span<byte> buffer, ref WriterInternalState state, int value) in WriteEnum() method in Google.Protobuf.WritingPrimitives
DFieldCodec.cs394 (ref WriteContext output, T value) => output.WriteEnum(toInt32(value)), in ForEnum()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs281 output.WriteEnum((int) Syntax); in WriteTo()
305 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo()
691 output.WriteEnum((int) Kind); in WriteTo()
695 output.WriteEnum((int) Cardinality); in WriteTo()
737 output.WriteEnum((int) Kind); in IBufferMessage.InternalWriteTo()
741 output.WriteEnum((int) Cardinality); in IBufferMessage.InternalWriteTo()
1244 output.WriteEnum((int) Syntax); in WriteTo()
1267 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo()
DApi.cs292 output.WriteEnum((int) Syntax); in WriteTo()
320 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo()
688 output.WriteEnum((int) Syntax); in WriteTo()
722 output.WriteEnum((int) Syntax); in IBufferMessage.InternalWriteTo()
DStruct.cs468 output.WriteEnum((int) NullValue); in WriteTo()
501 output.WriteEnum((int) NullValue); in IBufferMessage.InternalWriteTo()
/third_party/protobuf/src/google/protobuf/util/internal/
Dproto_writer.cc596 Status ProtoWriter::WriteEnum(int field_number, const DataPiece& data, in WriteEnum() function in google::protobuf::util::converter::ProtoWriter
607 WireFormatLite::WriteEnum(field_number, e.value(), stream); in WriteEnum()
702 status = WriteEnum( in RenderPrimitiveField()
Dproto_writer.h311 static util::Status WriteEnum(int field_number, const DataPiece& data,
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs543 output.WriteEnum((int) RequestedOutputFormat); in WriteTo()
551 output.WriteEnum((int) TestCategory); in WriteTo()
588 output.WriteEnum((int) RequestedOutputFormat); in IBufferMessage.InternalWriteTo()
596 output.WriteEnum((int) TestCategory); in IBufferMessage.InternalWriteTo()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssues.cs637 output.WriteEnum((int) Value); in WriteTo()
652 output.WriteEnum((int) Value); in IBufferMessage.InternalWriteTo()
1056 output.WriteEnum((int) EnumValue); in WriteTo()
1080 output.WriteEnum((int) EnumValue); in IBufferMessage.InternalWriteTo()
3031 output.WriteEnum((int) NullValue); in WriteTo()
3048 output.WriteEnum((int) NullValue); in IBufferMessage.InternalWriteTo()
3226 output.WriteEnum((int) NullValue); in WriteTo()
3239 output.WriteEnum((int) NullValue); in IBufferMessage.InternalWriteTo()
DUnittestProto3Optional.cs702 output.WriteEnum((int) OptionalNestedEnum); in WriteTo()
795 output.WriteEnum((int) OptionalNestedEnum); in IBufferMessage.InternalWriteTo()
DTestMessagesProto3.cs2495 output.WriteEnum((int) OptionalNestedEnum); in WriteTo()
2499 output.WriteEnum((int) OptionalForeignEnum); in WriteTo()
2503 output.WriteEnum((int) OptionalAliasedEnum); in WriteTo()
2619 output.WriteEnum((int) OneofEnum); in WriteTo()
2839 output.WriteEnum((int) OptionalNestedEnum); in IBufferMessage.InternalWriteTo()
2843 output.WriteEnum((int) OptionalForeignEnum); in IBufferMessage.InternalWriteTo()
2847 output.WriteEnum((int) OptionalAliasedEnum); in IBufferMessage.InternalWriteTo()
2963 output.WriteEnum((int) OneofEnum); in IBufferMessage.InternalWriteTo()
DUnittestProto3.cs1099 output.WriteEnum((int) SingleNestedEnum); in WriteTo()
1103 output.WriteEnum((int) SingleForeignEnum); in WriteTo()
1107 output.WriteEnum((int) SingleImportEnum); in WriteTo()
1234 output.WriteEnum((int) SingleNestedEnum); in IBufferMessage.InternalWriteTo()
1238 output.WriteEnum((int) SingleForeignEnum); in IBufferMessage.InternalWriteTo()
1242 output.WriteEnum((int) SingleImportEnum); in IBufferMessage.InternalWriteTo()
4048 output.WriteEnum((int) Value); in WriteTo()
4061 output.WriteEnum((int) Value); in IBufferMessage.InternalWriteTo()
4326 output.WriteEnum((int) EnumField); in WriteTo()
4355 output.WriteEnum((int) EnumField); in IBufferMessage.InternalWriteTo()
[all …]
DTestMessagesProto2.cs2637 output.WriteEnum((int) OptionalNestedEnum); in WriteTo()
2641 output.WriteEnum((int) OptionalForeignEnum); in WriteTo()
2757 output.WriteEnum((int) OneofEnum); in WriteTo()
2918 output.WriteEnum((int) OptionalNestedEnum); in IBufferMessage.InternalWriteTo()
2922 output.WriteEnum((int) OptionalForeignEnum); in IBufferMessage.InternalWriteTo()
3038 output.WriteEnum((int) OneofEnum); in IBufferMessage.InternalWriteTo()
DUnittest.cs2907 output.WriteEnum((int) OptionalNestedEnum); in WriteTo()
2911 output.WriteEnum((int) OptionalForeignEnum); in WriteTo()
2915 output.WriteEnum((int) OptionalImportEnum); in WriteTo()
3020 output.WriteEnum((int) DefaultNestedEnum); in WriteTo()
3024 output.WriteEnum((int) DefaultForeignEnum); in WriteTo()
3028 output.WriteEnum((int) DefaultImportEnum); in WriteTo()
3142 output.WriteEnum((int) OptionalNestedEnum); in IBufferMessage.InternalWriteTo()
3146 output.WriteEnum((int) OptionalForeignEnum); in IBufferMessage.InternalWriteTo()
3150 output.WriteEnum((int) OptionalImportEnum); in IBufferMessage.InternalWriteTo()
3255 output.WriteEnum((int) DefaultNestedEnum); in IBufferMessage.InternalWriteTo()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs539 output.WriteEnum(i); in TestNegativeEnumArray()
578 output.WriteEnum(i); in TestNegativeEnumPackedArray()
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs483 output.WriteEnum((int) Type); in WriteTo()
500 output.WriteEnum((int) Type); in IBufferMessage.InternalWriteTo()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs280 output.WriteEnum((int) SampleEnum.NegativeValue); in TestNegativeEnumNoTag()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs540 output.WriteEnum(i); in TestNegativeEnumArray()
579 output.WriteEnum(i); in TestNegativeEnumPackedArray()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs374 output.WriteEnum((int) SampleEnum.NegativeValue); in TestNegativeEnumNoTag()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs2550 output.WriteEnum((int) Label); in WriteTo()
2554 output.WriteEnum((int) Type); in WriteTo()
2603 output.WriteEnum((int) Label); in IBufferMessage.InternalWriteTo()
2607 output.WriteEnum((int) Type); in IBufferMessage.InternalWriteTo()
5437 output.WriteEnum((int) OptimizeFor); in WriteTo()
5530 output.WriteEnum((int) OptimizeFor); in IBufferMessage.InternalWriteTo()
6792 output.WriteEnum((int) Ctype); in WriteTo()
6808 output.WriteEnum((int) Jstype); in WriteTo()
6829 output.WriteEnum((int) Ctype); in IBufferMessage.InternalWriteTo()
6845 output.WriteEnum((int) Jstype); in IBufferMessage.InternalWriteTo()
[all …]
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.cc472 void WireFormatLite::WriteEnum(int field_number, int value, in WriteEnum() function in google::protobuf::internal::WireFormatLite
Dwire_format_lite.h425 static void WriteEnum(int field_number, int value,
/third_party/protobuf/
Dlibprotobuf_lite.map403 …"google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutput…