Home
last modified time | relevance | path

Searched refs:maxChars (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUtf8.java1323 byte[] bytes, long offset, final int maxChars) { in unsafeEstimateConsecutiveAscii() argument
1324 int remaining = maxChars; in unsafeEstimateConsecutiveAscii()
1348 return maxChars - remaining; in unsafeEstimateConsecutiveAscii()
1355 private static int unsafeEstimateConsecutiveAscii(long address, final int maxChars) { in unsafeEstimateConsecutiveAscii() argument
1356 int remaining = maxChars; in unsafeEstimateConsecutiveAscii()
1378 return maxChars - remaining; in unsafeEstimateConsecutiveAscii()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java747 private static long extractRadix(byte[] data, int offset, int maxChars, int radix) in extractRadix() argument
750 final int end = offset + maxChars; in extractRadix()
766 private static String extractString(byte[] data, int offset, int maxChars) throws IOException { in extractString() argument
767 final int end = offset + maxChars; in extractString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java354 int maxChars = (int) (decoder.maxCharsPerByte() * numBytes) + 1;
356 int maxBytes = (int) (encoder.maxBytesPerChar() * maxChars) + 1;