Home
last modified time | relevance | path

Searched refs:ComputeMessageSize (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestWellKnownTypes.cs562 size += 1 + pb::CodedOutputStream.ComputeMessageSize(AnyField); in CalculateSize()
565 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ApiField); in CalculateSize()
568 size += 1 + pb::CodedOutputStream.ComputeMessageSize(DurationField); in CalculateSize()
571 size += 1 + pb::CodedOutputStream.ComputeMessageSize(EmptyField); in CalculateSize()
574 size += 1 + pb::CodedOutputStream.ComputeMessageSize(FieldMaskField); in CalculateSize()
577 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContextField); in CalculateSize()
580 size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructField); in CalculateSize()
583 size += 1 + pb::CodedOutputStream.ComputeMessageSize(TimestampField); in CalculateSize()
586 size += 1 + pb::CodedOutputStream.ComputeMessageSize(TypeField); in CalculateSize()
616 size += 2 + pb::CodedOutputStream.ComputeMessageSize(ValueField); in CalculateSize()
[all …]
DUnittestProto3.cs1110 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SingleNestedMessage); in CalculateSize()
1113 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SingleForeignMessage); in CalculateSize()
1116 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SingleImportMessage); in CalculateSize()
1128 size += 2 + pb::CodedOutputStream.ComputeMessageSize(SinglePublicImportMessage); in CalculateSize()
1156 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage); in CalculateSize()
1757 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Child); in CalculateSize()
1760 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Payload); in CalculateSize()
2178 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ForeignNested); in CalculateSize()
2441 size += 1 + pb::CodedOutputStream.ComputeMessageSize(A); in CalculateSize()
2563 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Bb); in CalculateSize()
[all …]
DUnittestIssues.cs702 size += 1 + pb::CodedOutputStream.ComputeMessageSize(MessageValue); in CalculateSize()
DMapUnittestProto3.cs649 size += 1 + pb::CodedOutputStream.ComputeMessageSize(TestMap); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs148 public static int ComputeMessageSize(IMessage value) in ComputeMessageSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs224 …value) => output.WriteMessage(value), message => CodedOutputStream.ComputeMessageSize(message), ta…
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs410 size += 1 + pb::CodedOutputStream.ComputeMessageSize(StructValue); in CalculateSize()
413 size += 1 + pb::CodedOutputStream.ComputeMessageSize(ListValue); in CalculateSize()
DType.cs264 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); in CalculateSize()
972 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); in CalculateSize()
1299 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Value); in CalculateSize()
DApi.cs269 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceContext); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs2490 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage); in CalculateSize()
2493 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage); in CalculateSize()
2508 size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage); in CalculateSize()
2554 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage); in CalculateSize()
2599 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration); in CalculateSize()
2602 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp); in CalculateSize()
2605 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask); in CalculateSize()
2608 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct); in CalculateSize()
2611 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny); in CalculateSize()
2614 size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue); in CalculateSize()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs545 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
548 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo); in CalculateSize()
868 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
1519 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
1901 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
2065 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
2225 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
2453 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DMapField.cs467 size += CodedOutputStream.ComputeMessageSize(message); in CalculateSize()