Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs115 private readonly int sizeLimit; field in Google.Protobuf.CodedInputStream
175 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
221 … return new CodedInputStream(input, new byte[BufferSize], 0, 0, sizeLimit, recursionLimit, false); in CreateWithLimits()
256 public int SizeLimit { get { return sizeLimit; } }
1084 if (totalBytesRead < 0 || totalBytesRead > sizeLimit) in RefillBuffer()
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/util/
DTestFileUtil.java65 public static char[] readUtf8File(String fileName, int sizeLimit) throws in readUtf8File() argument
70 if (f.length() > sizeLimit) { in readUtf8File()
72 + " exceeds limit " + sizeLimit); in readUtf8File()
/external/OpenCL-CTS/test_common/harness/
DkernelHelpers.cpp991 size_t sizeLimit[] = { 1, 1, 1 }; in get_max_allowed_work_group_size() local
1026 sizeLimit[0] = 1; in get_max_allowed_work_group_size()
1028 numDims * sizeof(size_t), sizeLimit, NULL); in get_max_allowed_work_group_size()
1036 for (j = 0; j < 3; j++) outLimits[j] = sizeLimit[j]; in get_max_allowed_work_group_size()
1042 if (sizeLimit[j] < outLimits[j]) in get_max_allowed_work_group_size()
1043 outLimits[j] = sizeLimit[j]; in get_max_allowed_work_group_size()
1104 size_t sizeLimit[3]; in get_max_common_work_group_size() local
1106 get_max_allowed_work_group_size(context, kernel, outMaxSize, sizeLimit); in get_max_common_work_group_size()
1115 (globalThreadSize % *outMaxSize) != 0 || (*outMaxSize > sizeLimit[0]); in get_max_common_work_group_size()
1125 size_t sizeLimit[3]; in get_max_common_2D_work_group_size() local
[all …]
/external/volley/src/main/java/com/android/volley/toolbox/
DByteArrayPool.java77 public ByteArrayPool(int sizeLimit) { in ByteArrayPool() argument
78 mSizeLimit = sizeLimit; in ByteArrayPool()
/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/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/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/llvm-project/pstl/test/support/
Dutils.h790 constexpr std::ptrdiff_t sizeLimit = 1000;
932 invoke_if<Iterator>()(n <= sizeLimit, op, exec, make_iterator<Iterator>()(begin), n,
942 invoke_if<Iterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
953 invoke_if<InputIterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
964 invoke_if<InputIterator>()(std::distance(inputBegin, inputEnd) <= sizeLimit, op, exec,
978 …std::distance(inputBegin1, inputEnd1) <= sizeLimit, op, exec, make_iterator<InputIterator1>()(inpu…
1019 if (n <= sizeLimit)
1029 if (std::distance(inputBegin, inputEnd) <= sizeLimit)
1040 if (std::distance(inputBegin, inputEnd) <= sizeLimit)
1051 if (std::distance(inputBegin, inputEnd) <= sizeLimit)
[all …]
/external/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()
2732 if (n > sizeLimit - totalBytesRetired - pos) { in refillBuffer()
2757 if (n > sizeLimit - totalBytesRetired - pos) { in tryRefillBuffer()
2790 sizeLimit - totalBytesRetired - bufferSize)); in tryRefillBuffer()
2890 if (currentMessageSize - sizeLimit > 0) { in readRawBytesSlowPathOneChunk()
/external/angle/src/compiler/translator/
DParseContext.cpp1086 const unsigned int sizeLimit = 65536; in checkIsValidArraySize() local
1088 if (size > sizeLimit) in checkIsValidArraySize()