Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs146 this.state.recursionLimit = DefaultRecursionLimit; in CodedInputStream()
161 …ut, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLimit, bool leaveOpe… in CodedInputStream() argument
168 if (recursionLimit <= 0) in CodedInputStream()
173 this.state.recursionLimit = recursionLimit; in CodedInputStream()
191 … public static CodedInputStream CreateWithLimits(Stream input, int sizeLimit, int recursionLimit) in CreateWithLimits() argument
194 … return new CodedInputStream(input, new byte[BufferSize], 0, 0, sizeLimit, recursionLimit, false); in CreateWithLimits()
241 public int RecursionLimit { get { return state.recursionLimit; } }
DParsingPrimitivesMessages.cs85 if (state.recursionDepth >= state.recursionLimit) in SkipGroup()
118 if (ctx.state.recursionDepth >= ctx.state.recursionLimit) in ReadMessage()
139 if (ctx.state.recursionDepth >= ctx.state.recursionLimit) in ReadGroup()
155 if (ctx.state.recursionDepth >= ctx.state.recursionLimit) in ReadGroup()
DJsonParser.cs1023 … private Settings(int recursionLimit, TypeRegistry typeRegistry, bool ignoreUnknownFields) in Settings() argument
1025 RecursionLimit = recursionLimit; in Settings()
1034 public Settings(int recursionLimit) : this(recursionLimit, TypeRegistry.Empty) in Settings() argument
1043 …public Settings(int recursionLimit, TypeRegistry typeRegistry) : this(recursionLimit, typeRegistry… in Settings() argument
1059 public Settings WithRecursionLimit(int recursionLimit) => in WithRecursionLimit() argument
1060 new Settings(recursionLimit, TypeRegistry, IgnoreUnknownFields); in WithRecursionLimit()
DParseContext.cs90 …internal static void Initialize(ReadOnlySequence<byte> input, int recursionLimit, out ParseContext… in Initialize()
97 ctx.state.recursionLimit = recursionLimit; in Initialize()
DParserInternalState.cs99 internal int recursionLimit; field
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java411 private final int recursionLimit; field in JsonFormat.Parser
420 int recursionLimit) { in Parser() argument
424 this.recursionLimit = recursionLimit; in Parser()
442 recursionLimit); in usingTypeRegistry()
456 return new Parser(registry, oldRegistry, ignoringUnknownFields, recursionLimit); in usingTypeRegistry()
464 return new Parser(this.registry, oldRegistry, true, recursionLimit); in ignoringUnknownFields()
476 new ParserImpl(registry, oldRegistry, ignoringUnknownFields, recursionLimit) in merge()
490 new ParserImpl(registry, oldRegistry, ignoringUnknownFields, recursionLimit) in merge()
495 Parser usingRecursionLimit(int recursionLimit) { in usingRecursionLimit() argument
496 return new Parser(registry, oldRegistry, ignoringUnknownFields, recursionLimit); in usingRecursionLimit()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java70 int recursionLimit = DEFAULT_RECURSION_LIMIT; field in CodedInputStream
391 final int oldLimit = recursionLimit; in setRecursionLimit()
392 recursionLimit = limit; in setRecursionLimit()
829 if (recursionDepth >= recursionLimit) { in readGroup()
845 if (recursionDepth >= recursionLimit) { in readGroup()
867 if (recursionDepth >= recursionLimit) { in readMessage()
883 if (recursionDepth >= recursionLimit) { in readMessage()
1548 if (recursionDepth >= recursionLimit) { in readGroup()
1564 if (recursionDepth >= recursionLimit) { in readGroup()
1586 if (recursionDepth >= recursionLimit) { in readMessage()
[all …]
DCodedInputStreamReader.java204 if (input.recursionDepth >= input.recursionLimit) { in readMessage()