Searched refs:sizeLimit (Results 1 – 7 of 7) sorted by relevance
58 public static char[] readUtf8File(String fileName, int sizeLimit) throws in readUtf8File() argument63 if (f.length() > sizeLimit) { in readUtf8File()65 " exceeds limit " + sizeLimit); in readUtf8File()
457 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStreamMicro515 final int oldLimit = sizeLimit; in setSizeLimit()516 sizeLimit = limit; in setSizeLimit()635 if (totalBytesRead > sizeLimit || totalBytesRead < 0) { in refillBuffer()
212 private static char[] readUtf8FileFully(String fileName, int sizeLimit) { in readUtf8FileFully() argument221 if (fileLength > sizeLimit) { in readUtf8FileFully()223 + sizeLimit); in readUtf8FileFully()
503 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStream563 final int oldLimit = sizeLimit; in setSizeLimit()564 sizeLimit = limit; in setSizeLimit()699 if (totalBytesRead > sizeLimit || totalBytesRead < 0) { in refillBuffer()
410 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputByteBufferNano459 final int oldLimit = sizeLimit; in setSizeLimit()460 sizeLimit = limit; in setSizeLimit()
558 private int sizeLimit = DEFAULT_SIZE_LIMIT; field in CodedInputStream618 final int oldLimit = sizeLimit; in setSizeLimit()619 sizeLimit = limit; in setSizeLimit()754 if (totalBytesRead > sizeLimit || totalBytesRead < 0) { in refillBuffer()
735 const unsigned int sizeLimit = 65536; in arraySizeErrorCheck() local737 if (unsignedSize > sizeLimit) in arraySizeErrorCheck()