Home
last modified time | relevance | path

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

12

/external/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs890 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); in CalculateSize()
893 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3); in CalculateSize()
896 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field280); in CalculateSize()
899 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field6); in CalculateSize()
915 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16); in CalculateSize()
918 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field130); in CalculateSize()
933 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field104); in CalculateSize()
936 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field100); in CalculateSize()
939 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field101); in CalculateSize()
948 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field29); in CalculateSize()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs89 public static int ComputeInt32Size(int value) in ComputeInt32Size() method in Google.Protobuf.CodedOutputStream
184 return ComputeInt32Size(value); in ComputeEnumSize()
DFieldCodec.cs254 …ReadInt32(), (output, value) => output.WriteInt32(value), CodedOutputStream.ComputeInt32Size, tag); in ForInt32()
/external/grpc-grpc/examples/csharp/RouteGuide/RouteGuide/
DRouteGuide.cs173 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Latitude); in CalculateSize()
176 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Longitude); in CalculateSize()
910 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PointCount); in CalculateSize()
913 size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeatureCount); in CalculateSize()
916 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Distance); in CalculateSize()
919 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ElapsedTime); in CalculateSize()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DPayloads.cs159 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqSize); in CalculateSize()
162 size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); in CalculateSize()
316 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReqSize); in CalculateSize()
319 size += 1 + pb::CodedOutputStream.ComputeInt32Size(RespSize); in CalculateSize()
DControl.cs961 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntValue); in CalculateSize()
1422 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OutstandingRpcsPerChannel); in CalculateSize()
1425 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientChannels); in CalculateSize()
1428 size += 1 + pb::CodedOutputStream.ComputeInt32Size(AsyncClientThreads); in CalculateSize()
1444 size += 1 + pb::CodedOutputStream.ComputeInt32Size(CoreLimit); in CalculateSize()
1451 size += 2 + pb::CodedOutputStream.ComputeInt32Size(ThreadsPerCq); in CalculateSize()
1454 size += 2 + pb::CodedOutputStream.ComputeInt32Size(MessagesPerStream); in CalculateSize()
2396 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Port); in CalculateSize()
2399 size += 1 + pb::CodedOutputStream.ComputeInt32Size(AsyncServerThreads); in CalculateSize()
2402 size += 1 + pb::CodedOutputStream.ComputeInt32Size(CoreLimit); in CalculateSize()
[all …]
DEchoMessages.cs346 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); in CalculateSize()
780 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ClientCancelAfterUs); in CalculateSize()
783 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerCancelAfterUs); in CalculateSize()
792 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseMessageLength); in CalculateSize()
819 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ServerSleepUs); in CalculateSize()
822 size += 2 + pb::CodedOutputStream.ComputeInt32Size(BackendChannelIdx); in CalculateSize()
DMessages.cs509 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); in CalculateSize()
808 size += 1 + pb::CodedOutputStream.ComputeInt32Size(ResponseSize); in CalculateSize()
1419 size += 1 + pb::CodedOutputStream.ComputeInt32Size(AggregatedPayloadSize); in CalculateSize()
1600 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Size); in CalculateSize()
1603 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntervalUs); in CalculateSize()
2135 size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxReconnectBackoffMs); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs2343 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
2540 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
2543 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
2546 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
2549 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
2552 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
2555 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
2558 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
2561 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
2564 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
[all …]
DUnittestIssues.cs856 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrimitiveValue); in CalculateSize()
1034 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item); in CalculateSize()
1181 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Types_); in CalculateSize()
1184 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Descriptor_); in CalculateSize()
1589 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlainInt32); in CalculateSize()
1595 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O1Int32); in CalculateSize()
1601 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O2Int32); in CalculateSize()
2183 size += 1 + pb::CodedOutputStream.ComputeInt32Size(X); in CalculateSize()
2186 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y); in CalculateSize()
DUnittestImportPublicProto3.cs133 size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); in CalculateSize()
DUnittestImportProto3.cs145 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
DUnittestCustomOptionsProto3.cs398 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofField); in CalculateSize()
1728 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize()
1731 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo2); in CalculateSize()
1734 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo3); in CalculateSize()
1937 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Baz); in CalculateSize()
2103 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Waldo); in CalculateSize()
2246 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qux); in CalculateSize()
2521 size += 1 + pb::CodedOutputStream.ComputeInt32Size(I); in CalculateSize()
2676 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Fieldname); in CalculateSize()
2916 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NestedField); in CalculateSize()
DUnittestProto3.cs1153 size += 1 + pb::CodedOutputStream.ComputeInt32Size(SingleInt32); in CalculateSize()
1733 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
2060 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32); in CalculateSize()
2193 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); in CalculateSize()
2586 size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
2589 size += 5 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
2746 size += 1 + pb::CodedOutputStream.ComputeInt32Size(I); in CalculateSize()
3047 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3432 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrimitiveField); in CalculateSize()
3874 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
[all …]
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs312 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
313 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DTimestamp.cs250 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
DDuration.cs229 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
DType.cs657 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
666 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex); in CalculateSize()
1273 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs312 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
313 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
DCodedOutputStreamTest.cs275 Assert.AreEqual(10, CodedOutputStream.ComputeInt32Size(-2)); in TestNegativeEnumNoTag()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
DCodedOutputStreamTest.cs275 Assert.AreEqual(10, CodedOutputStream.ComputeInt32Size(-2)); in TestNegativeEnumNoTag()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs1326 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); in CalculateSize()
1329 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); in CalculateSize()
1538 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); in CalculateSize()
1541 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); in CalculateSize()
2169 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
2187 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex); in CalculateSize()
2965 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); in CalculateSize()
2968 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); in CalculateSize()
3188 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
8336 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Begin); in CalculateSize()
[all …]
/external/protobuf/csharp/src/AddressBook/
DAddressbook.cs218 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); in CalculateSize()

12