Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DParseRawPrimitivesBenchmark.cs495 while (CodedOutputStream.ComputeStringSize(str) > encodedSize) in CreateStringWithEncodedSize()
500 if (CodedOutputStream.ComputeStringSize(str) != encodedSize) in CreateStringWithEncodedSize()
515 while (CodedOutputStream.ComputeStringSize(str) > encodedSize) in CreateNonAsciiStringWithEncodedSize()
521 while (CodedOutputStream.ComputeStringSize(str) < encodedSize) in CreateNonAsciiStringWithEncodedSize()
529 if (CodedOutputStream.ComputeStringSize(str) != encodedSize) in CreateNonAsciiStringWithEncodedSize()
DBenchmarkMessage1Proto3.cs1053 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field1); in CalculateSize()
1056 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field9); in CalculateSize()
1059 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field18); in CalculateSize()
1083 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field4); in CalculateSize()
1090 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field7); in CalculateSize()
1120 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field102); in CalculateSize()
1123 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field103); in CalculateSize()
1168 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field129); in CalculateSize()
2219 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field15); in CalculateSize()
2261 size += 2 + pb::CodedOutputStream.ComputeStringSize(Field205); in CalculateSize()
DBenchmarks.cs219 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
222 size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageName); in CalculateSize()
DWrapperBenchmarkMessages.cs7857 size += 2 + pb::CodedOutputStream.ComputeStringSize(StringField73); in CalculateSize()
7860 size += 2 + pb::CodedOutputStream.ComputeStringSize(StringField74); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs627 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); in CalculateSize()
630 size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload); in CalculateSize()
633 size += 1 + pb::CodedOutputStream.ComputeStringSize(TextPayload); in CalculateSize()
639 size += 1 + pb::CodedOutputStream.ComputeStringSize(MessageType); in CalculateSize()
1161 size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError); in CalculateSize()
1164 size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError); in CalculateSize()
1167 size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError); in CalculateSize()
1173 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload); in CalculateSize()
1176 size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped); in CalculateSize()
1179 size += 1 + pb::CodedOutputStream.ComputeStringSize(JspbPayload); in CalculateSize()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DApi.cs332 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
337 size += 1 + pb::CodedOutputStream.ComputeStringSize(Version); in CalculateSize()
734 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
737 size += 1 + pb::CodedOutputStream.ComputeStringSize(RequestTypeUrl); in CalculateSize()
743 size += 1 + pb::CodedOutputStream.ComputeStringSize(ResponseTypeUrl); in CalculateSize()
1095 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
1098 size += 1 + pb::CodedOutputStream.ComputeStringSize(Root); in CalculateSize()
DType.cs317 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
791 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
794 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeUrl); in CalculateSize()
804 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName); in CalculateSize()
807 size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue); in CalculateSize()
1279 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
1557 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
1791 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
DSourceContext.cs164 size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); in CalculateSize()
DAny.cs289 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeUrl); in CalculateSize()
DStruct.cs539 size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue); in CalculateSize()
DWrappers.cs1436 size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs133 public static int ComputeStringSize(String value) in ComputeStringSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs222 …ext ctx, string value) => ctx.WriteString(value), CodedOutputStream.ComputeStringSize, tag, defaul… in ForString()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs732 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
735 size += 1 + pb::CodedOutputStream.ComputeStringSize(Package); in CalculateSize()
751 size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax); in CalculateSize()
1213 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
2643 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
2655 size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName); in CalculateSize()
2658 size += 1 + pb::CodedOutputStream.ComputeStringSize(Extendee); in CalculateSize()
2661 size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue); in CalculateSize()
2667 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName); in CalculateSize()
3068 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
[all …]
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs249 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
255 size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); in CalculateSize()
512 size += 1 + pb::CodedOutputStream.ComputeStringSize(Number); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssues.cs2046 size += 1 + pb::CodedOutputStream.ComputeStringSize(O1String); in CalculateSize()
2052 size += 1 + pb::CodedOutputStream.ComputeStringSize(PlainString); in CalculateSize()
2058 size += 1 + pb::CodedOutputStream.ComputeStringSize(O2String); in CalculateSize()
2338 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); in CalculateSize()
2341 size += 1 + pb::CodedOutputStream.ComputeStringSize(Description); in CalculateSize()
2344 size += 1 + pb::CodedOutputStream.ComputeStringSize(Guid); in CalculateSize()
2593 size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); in CalculateSize()
3060 size += 1 + pb::CodedOutputStream.ComputeStringSize(StringValue); in CalculateSize()
3455 size += 1 + pb::CodedOutputStream.ComputeStringSize(RegularField); in CalculateSize()
3458 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalField); in CalculateSize()
DUnittestProto3Optional.cs854 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
860 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); in CalculateSize()
DUnittest.cs3338 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
3365 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); in CalculateSize()
3368 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); in CalculateSize()
3441 size += 2 + pb::CodedOutputStream.ComputeStringSize(DefaultString); in CalculateSize()
3456 size += 2 + pb::CodedOutputStream.ComputeStringSize(DefaultStringPiece); in CalculateSize()
3459 size += 2 + pb::CodedOutputStream.ComputeStringSize(DefaultCord); in CalculateSize()
3468 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); in CalculateSize()
14317 size += 1 + pb::CodedOutputStream.ComputeStringSize(StringField); in CalculateSize()
14326 size += 1 + pb::CodedOutputStream.ComputeStringSize(StringPieceField); in CalculateSize()
14329 size += 1 + pb::CodedOutputStream.ComputeStringSize(CordField); in CalculateSize()
[all …]
DTestMessagesProto2.cs3169 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
3187 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); in CalculateSize()
3190 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); in CalculateSize()
3270 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); in CalculateSize()
5521 size += 2 + pb::CodedOutputStream.ComputeStringSize(Str); in CalculateSize()
6248 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
DUnittestProto3.cs1335 size += 1 + pb::CodedOutputStream.ComputeStringSize(SingleString); in CalculateSize()
1390 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); in CalculateSize()
4378 size += 1 + pb::CodedOutputStream.ComputeStringSize(StringField); in CalculateSize()
4712 size += 1 + pb::CodedOutputStream.ComputeStringSize(MyString); in CalculateSize()
5330 size += 1 + pb::CodedOutputStream.ComputeStringSize(Data); in CalculateSize()
6951 size += 1 + pb::CodedOutputStream.ComputeStringSize(FooString); in CalculateSize()
8511 size += 1 + pb::CodedOutputStream.ComputeStringSize(A); in CalculateSize()
9644 size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); in CalculateSize()
9834 size += 1 + pb::CodedOutputStream.ComputeStringSize(NestedText); in CalculateSize()
DTestMessagesProto3.cs3153 size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString); in CalculateSize()
3174 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece); in CalculateSize()
3177 size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord); in CalculateSize()
3257 size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString); in CalculateSize()
DUnittestCustomOptionsProto3.cs420 size += 1 + pb::CodedOutputStream.ComputeStringSize(Field1); in CalculateSize()
3245 size += 1 + pb::CodedOutputStream.ComputeStringSize(S); in CalculateSize()