/external/protobuf/csharp/src/Google.Protobuf/ |
D | CodedInputStream.cs | 115 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/ |
D | TestFileUtil.java | 65 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/ |
D | kernelHelpers.cpp | 991 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/ |
D | ByteArrayPool.java | 77 public ByteArrayPool(int sizeLimit) { in ByteArrayPool() argument 78 mSizeLimit = sizeLimit; in ByteArrayPool()
|
/external/skqp/src/core/ |
D | SkDraw_text.cpp | 17 const SkMatrix& ctm, SkScalar sizeLimit) { in ShouldDrawTextAsPaths() argument 28 return SkFontPriv::TooBigToUseCache(ctm, SkFontPriv::MakeTextMatrix(font), sizeLimit); in ShouldDrawTextAsPaths()
|
D | SkDraw.h | 126 SkScalar sizeLimit = 1024);
|
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/ |
D | CodedInputStreamMicro.java | 459 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/ |
D | CodedInputByteBufferNano.java | 412 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/ |
D | utils.h | 790 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/ |
D | CodedInputStream.java | 73 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/ |
D | ParseContext.cpp | 1086 const unsigned int sizeLimit = 65536; in checkIsValidArraySize() local 1088 if (size > sizeLimit) in checkIsValidArraySize()
|