Searched refs:sizeLimit (Results 1 - 6 of 6) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | CodedInputStream.cs | 145 this.state.sizeLimit = DefaultSizeLimit;
in CodedInputStream() 161 internal CodedInputStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLimit, bool leaveOpen)
in CodedInputStream() argument 164 if (sizeLimit <= 0)
in CodedInputStream() 166 throw new ArgumentOutOfRangeException("sizeLimit", "Size limit must be positive");
in CodedInputStream() 172 this.state.sizeLimit = sizeLimit;
in CodedInputStream() 187 /// <param name="sizeLimit">The total limit of data to read from the stream.</param>
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; } }
[all...] |
H A D | SegmentedBufferHelper.cs | 213 if (totalBytesRead < 0 || totalBytesRead > state.sizeLimit) in RefillFromReadOnlySequence() 264 if (totalBytesRead < 0 || totalBytesRead > state.sizeLimit) in RefillFromCodedInputStream()
|
H A D | ParserInternalState.cs | 98 internal int sizeLimit; field
|
H A D | ParseContext.cs | 96 ctx.state.sizeLimit = DefaultSizeLimit; in Initialize()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | CodedInputStream.java | 73 int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStream 414 final int oldLimit = sizeLimit; in setSizeLimit() 415 sizeLimit = limit; in setSizeLimit() 2733 // we just throw an sizeLimitExceeded exception here if it exceeds the sizeLimit in refillBuffer() 2734 if (n > sizeLimit - totalBytesRetired - pos) { in refillBuffer() 2759 if (n > sizeLimit - totalBytesRetired - pos) { in tryRefillBuffer() 2792 sizeLimit - totalBytesRetired - bufferSize)); in tryRefillBuffer() 2890 // Integer-overflow-conscious check that the message size so far has not exceeded sizeLimit. in readRawBytesSlowPathOneChunk() 2892 if (currentMessageSize - sizeLimit > 0) { in readRawBytesSlowPathOneChunk()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ParseContext.cpp | 1084 const unsigned int sizeLimit = 65536; in checkIsValidArraySize() local 1086 if (size > sizeLimit) in checkIsValidArraySize()
|
Completed in 16 milliseconds