Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1IA5String.java118 int characterBitCount = calculateBitsPerCharacter(aligned); in encodePerImpl() local
121 boolean recodeValues = largestCanonicalValue >= (1 << characterBitCount); in encodePerImpl()
124 BitStream result = encodeValueCharacters(characterBitCount, recodeValues); in encodePerImpl()
125 if (aligned && (maximumSize == null || maximumSize * characterBitCount > 16)) { in encodePerImpl()
139 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
170 private BitStream encodeValueCharacters(int characterBitCount, in encodeValueCharacters() argument
178 if (characterBitCount == 8) { in encodeValueCharacters()
181 result.appendLowBits(characterBitCount, b); in encodeValueCharacters()
192 int characterBitCount = aligned ? 8 : 7; in calculateBitsPerCharacter() local
194 for (int i = 1; i < characterBitCount; i += aligned ? i : 1) { in calculateBitsPerCharacter()
[all …]
DAsn1GeneralString.java82 int characterBitCount = 8; in encodePerImpl() local
91 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
105 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
131 int characterBitCount = 8; in decodePerImpl() local
138 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
162 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()
DAsn1BMPString.java84 int characterBitCount = 16; // Unless tight alphabet constraint. in encodePerImpl() local
90 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
104 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
146 int characterBitCount = 16; // Unless tight alphabet constraint. in decodePerImpl() local
153 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
174 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()