Home
last modified time | relevance | path

Searched refs:DefaultRecursionLimit (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs316 …teString atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteStr… in MaliciousRecursion()
317 …ring beyondRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByt… in MaliciousRecursion()
319 …h(TestRecursiveMessage.Parser.ParseFrom(atRecursiveLimit), CodedInputStream.DefaultRecursionLimit); in MaliciousRecursion()
323 …MemoryStream(atRecursiveLimit.ToByteArray()), 1000000, CodedInputStream.DefaultRecursionLimit - 1); in MaliciousRecursion()
541 for (int i = 0; i < CodedInputStream.DefaultRecursionLimit + 1; i++) in RecursionLimitAppliedWhileSkippingGroup()
545 for (int i = 0; i < CodedInputStream.DefaultRecursionLimit + 1; i++) in RecursionLimitAppliedWhileSkippingGroup()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs330 …teString atRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit).ToByteStr… in MaliciousRecursion()
331 …ring beyondRecursiveLimit = MakeRecursiveMessage(CodedInputStream.DefaultRecursionLimit + 1).ToByt… in MaliciousRecursion()
333 …h(TestRecursiveMessage.Parser.ParseFrom(atRecursiveLimit), CodedInputStream.DefaultRecursionLimit); in MaliciousRecursion()
337 …MemoryStream(atRecursiveLimit.ToByteArray()), 1000000, CodedInputStream.DefaultRecursionLimit - 1); in MaliciousRecursion()
591 for (int i = 0; i < CodedInputStream.DefaultRecursionLimit + 1; i++) in RecursionLimitAppliedWhileSkippingGroup()
595 for (int i = 0; i < CodedInputStream.DefaultRecursionLimit + 1; i++) in RecursionLimitAppliedWhileSkippingGroup()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs96 internal const int DefaultRecursionLimit = 100; field in Google.Protobuf.CodedInputStream
176 this.recursionLimit = DefaultRecursionLimit; in CodedInputStream()
DJsonParser.cs989 Default = new Settings(CodedInputStream.DefaultRecursionLimit); in Settings()