Home
last modified time | relevance | path

Searched refs:sizeLimit (Results 1 – 6 of 6) sorted by relevance

/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs145 this.state.sizeLimit = DefaultSizeLimit; in CodedInputStream()
161 …tStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLi… in CodedInputStream() argument
164 if (sizeLimit <= 0) in CodedInputStream()
172 this.state.sizeLimit = sizeLimit; 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()
229 public int SizeLimit { get { return state.sizeLimit; } }
DSegmentedBufferHelper.cs213 if (totalBytesRead < 0 || totalBytesRead > state.sizeLimit) in RefillFromReadOnlySequence()
264 if (totalBytesRead < 0 || totalBytesRead > state.sizeLimit) in RefillFromCodedInputStream()
DParserInternalState.cs98 internal int sizeLimit; field
DParseContext.cs96 ctx.state.sizeLimit = DefaultSizeLimit; in Initialize()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java73 int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStream
414 final int oldLimit = sizeLimit; in setSizeLimit()
415 sizeLimit = limit; in setSizeLimit()
2734 if (n > sizeLimit - totalBytesRetired - pos) { in refillBuffer()
2759 if (n > sizeLimit - totalBytesRetired - pos) { in tryRefillBuffer()
2792 sizeLimit - totalBytesRetired - bufferSize)); in tryRefillBuffer()
2892 if (currentMessageSize - sizeLimit > 0) { in readRawBytesSlowPathOneChunk()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp1084 const unsigned int sizeLimit = 65536; in checkIsValidArraySize() local
1086 if (size > sizeLimit) in checkIsValidArraySize()