Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DAndroidBinXmlParser.java677 int lengthChars = getUnsignedInt16(encoded); in getLengthPrefixedUtf16EncodedString() local
678 if ((lengthChars & 0x8000) != 0) { in getLengthPrefixedUtf16EncodedString()
679 lengthChars = ((lengthChars & 0x7fff) << 16) | getUnsignedInt16(encoded); in getLengthPrefixedUtf16EncodedString()
681 if (lengthChars > Integer.MAX_VALUE / 2) { in getLengthPrefixedUtf16EncodedString()
682 throw new XmlParserException("String too long: " + lengthChars + " uint16s"); in getLengthPrefixedUtf16EncodedString()
684 int lengthBytes = lengthChars * 2; in getLengthPrefixedUtf16EncodedString()