Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1OctetString.java79 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
85 if (aligned) { in encodePerImpl()
99 if (aligned && maximumSize > 2) { in encodePerImpl()
105 if (aligned) { in encodePerImpl()
122 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
124 if (aligned) { in decodePerImpl()
136 if (aligned && maximumSize > 2) { in decodePerImpl()
145 if (aligned) { in decodePerImpl()
DAsn1GeneralString.java77 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
91 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
105 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
112 if (aligned) { in encodePerImpl()
130 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
138 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
154 if (aligned) { in decodePerImpl()
162 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()
DAsn1IA5String.java115 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
118 int characterBitCount = calculateBitsPerCharacter(aligned); in encodePerImpl()
125 if (aligned && (maximumSize == null || maximumSize * characterBitCount > 16)) { in encodePerImpl()
139 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
147 count = aligned in encodePerImpl()
151 if (aligned) { in encodePerImpl()
190 private int calculateBitsPerCharacter(boolean aligned) { in calculateBitsPerCharacter() argument
192 int characterBitCount = aligned ? 8 : 7; in calculateBitsPerCharacter()
194 for (int i = 1; i < characterBitCount; i += aligned ? i : 1) { in calculateBitsPerCharacter()
204 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
[all …]
DAsn1Choice.java192 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
205 if (aligned) { in encodePerImpl()
214 if (aligned) { in encodePerImpl()
228 if (aligned) { in encodePerImpl()
235 if (aligned) { in encodePerImpl()
253 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
260 if (aligned) { in decodePerImpl()
266 if (aligned) { in decodePerImpl()
276 if (aligned) { in decodePerImpl()
283 if (aligned) { in decodePerImpl()
DAsn1BMPString.java78 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
90 if (aligned && maximumSize * characterBitCount > 16) { in encodePerImpl()
104 if (aligned && maximumSize * characterBitCount == 16) { in encodePerImpl()
111 if (aligned) { in encodePerImpl()
145 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
153 if (aligned && maximumSize * characterBitCount > 16) { in decodePerImpl()
166 if (aligned) { in decodePerImpl()
174 if (aligned && maximumSize * characterBitCount >= 16) { in decodePerImpl()
DAsn1SetOf.java34 private Iterable<BitStream> encodePerImpl(final boolean aligned) { in encodePerImpl() argument
41 if (aligned) { in encodePerImpl()
48 if (aligned) { in encodePerImpl()
74 if (aligned) { in encodePerImpl()
DAsn1SequenceOf.java106 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
114 if (aligned) { in encodePerImpl()
120 if (aligned) { in encodePerImpl()
131 if (aligned) { in encodePerImpl()
148 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
151 if (aligned) { in decodePerImpl()
157 if (aligned) { in decodePerImpl()
167 if (aligned) { in decodePerImpl()
DAsn1Enumerated.java94 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
102 if (aligned) { in encodePerImpl()
112 if (aligned) { in encodePerImpl()
133 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
135 if (aligned) { in decodePerImpl()
141 if (aligned) { in decodePerImpl()
DAsn1BitString.java100 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
118 if (aligned && maximumSize > 16) { in encodePerImpl()
132 if (aligned) { in encodePerImpl()
140 if (aligned) { in encodePerImpl()
157 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
168 if (aligned && maximumSize > 16) { in decodePerImpl()
184 if (aligned) { in decodePerImpl()
DAsn1Integer.java112 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
118 return aligned in encodePerImpl()
123 return aligned in encodePerImpl()
130 return aligned in encodePerImpl()
181 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
185 BigInteger normalizedValue = aligned in decodePerImpl()
191 byte[] intBytes = aligned in decodePerImpl()
197 value = new BigInteger(aligned in decodePerImpl()
DAsn1Utf8String.java83 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
89 if (aligned) { in encodePerImpl()
104 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
105 if (aligned) { in decodePerImpl()
DAsn1Sequence.java153 private Iterable<BitStream> encodePerImpl(boolean aligned) { in encodePerImpl() argument
181 if (aligned) { in encodePerImpl()
220 if (aligned) { in encodePerImpl()
234 if (aligned) { in encodePerImpl()
267 private void decodePerImpl(BitStreamReader reader, boolean aligned) { in decodePerImpl() argument
290 if (aligned) { in decodePerImpl()
303 if (aligned) { in decodePerImpl()
330 if (aligned) { in decodePerImpl()
342 if (aligned) { in decodePerImpl()