Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs115 private readonly int sizeLimit; field in Google.Protobuf.CodedInputStream
176 this.sizeLimit = DefaultSizeLimit; in CodedInputStream()
188 …tStream(Stream input, byte[] buffer, int bufferPos, int bufferSize, int sizeLimit, int recursionLi… in CodedInputStream() argument
191 if (sizeLimit <= 0) in CodedInputStream()
199 this.sizeLimit = sizeLimit; 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()
255 public int SizeLimit { get { return sizeLimit; } }
1054 if (totalBytesRead > sizeLimit || totalBytesRead < 0) in RefillBuffer()
/external/volley/src/main/java/com/android/volley/toolbox/
DByteArrayPool.java77 public ByteArrayPool(int sizeLimit) { in ByteArrayPool() argument
78 mSizeLimit = sizeLimit; in ByteArrayPool()
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DCodedInputStreamMicro.java459 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStreamMicro
517 final int oldLimit = sizeLimit; in setSizeLimit()
518 sizeLimit = limit; in setSizeLimit()
637 if (totalBytesRead > sizeLimit || totalBytesRead < 0) { in refillBuffer()
/external/skqp/src/core/
DSkDraw_text.cpp17 const SkMatrix& ctm, SkScalar sizeLimit) { in ShouldDrawTextAsPaths() argument
28 return SkFontPriv::TooBigToUseCache(ctm, SkFontPriv::MakeTextMatrix(font), sizeLimit); in ShouldDrawTextAsPaths()
DSkDraw.h126 SkScalar sizeLimit = 1024);
/external/skia/src/core/
DSkDraw_text.cpp17 const SkMatrix& ctm, SkScalar sizeLimit) { in ShouldDrawTextAsPaths() argument
28 return SkFontPriv::TooBigToUseCache(ctm, SkFontPriv::MakeTextMatrix(font), sizeLimit); in ShouldDrawTextAsPaths()
DSkDraw.h126 SkScalar sizeLimit = 1024);
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DCodedInputByteBufferNano.java412 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputByteBufferNano
461 final int oldLimit = sizeLimit; in setSizeLimit()
462 sizeLimit = limit; in setSizeLimit()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java885 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStream
952 final int oldLimit = sizeLimit; in setSizeLimit()
953 sizeLimit = limit; in setSizeLimit()
1110 if (totalBytesRetired + n - sizeLimit > 0) { in tryRefillBuffer()
1165 if (currentMessageSize > sizeLimit) { in readRawBytesSlowPath()