Home
last modified time | relevance | path

Searched refs:recursionLimit (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs114 private readonly int recursionLimit; field in Google.Protobuf.CodedInputStream
177 this.recursionLimit = DefaultRecursionLimit; in CodedInputStream()
188 …ream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLimit) in CodedInputStream() argument
195 if (recursionLimit <= 0) in CodedInputStream()
200 this.recursionLimit = recursionLimit; in CodedInputStream()
218 … public static CodedInputStream CreateWithLimits(Stream input, int sizeLimit, int recursionLimit) in CreateWithLimits() argument
220 … return new CodedInputStream(input, new byte[BufferSize], 0, 0, sizeLimit, recursionLimit); in CreateWithLimits()
267 public int RecursionLimit { get { return recursionLimit; } }
431 if (recursionDepth >= recursionLimit) in SkipGroup()
568 if (recursionDepth >= recursionLimit) in ReadMessage()
DJsonParser.cs1002 public Settings(int recursionLimit) : this(recursionLimit, TypeRegistry.Empty) in Settings() argument
1011 public Settings(int recursionLimit, TypeRegistry typeRegistry) in Settings() argument
1013 RecursionLimit = recursionLimit; in Settings()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java205 if (recursionDepth >= recursionLimit) { in readGroup()
218 if (recursionDepth >= recursionLimit) { in readMessage()
409 private int recursionLimit = DEFAULT_RECURSION_LIMIT; field in CodedInputByteBufferNano
436 final int oldLimit = recursionLimit; in setRecursionLimit()
437 recursionLimit = limit; in setRecursionLimit()
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java213 if (recursionDepth >= recursionLimit) { in readGroup()
226 if (recursionDepth >= recursionLimit) { in readMessage()
456 private int recursionLimit = DEFAULT_RECURSION_LIMIT; field in CodedInputStreamMicro
491 final int oldLimit = recursionLimit; in setRecursionLimit()
492 recursionLimit = limit; in setRecursionLimit()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java422 if (recursionDepth >= recursionLimit) { in readGroup()
439 if (recursionDepth >= recursionLimit) { in readGroup()
474 if (recursionDepth >= recursionLimit) { in readMessage()
492 if (recursionDepth >= recursionLimit) { in readMessage()
882 private int recursionLimit = DEFAULT_RECURSION_LIMIT; field in CodedInputStream
926 final int oldLimit = recursionLimit; in setRecursionLimit()
927 recursionLimit = limit; in setRecursionLimit()