Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrieBuilder.java188 private final char[] intUnits=new char[3]; field in CharsTrieBuilder
203 intUnits[0]=(char)(CharsTrie.kThreeUnitValueLead); in writeValueAndFinal()
204 intUnits[1]=(char)(i>>16); in writeValueAndFinal()
205 intUnits[2]=(char)i; in writeValueAndFinal()
211 intUnits[0]=(char)(CharsTrie.kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
212 intUnits[1]=(char)i; in writeValueAndFinal()
215 intUnits[0]=(char)(intUnits[0]|(isFinal ? CharsTrie.kValueIsFinal : 0)); in writeValueAndFinal()
216 return write(intUnits, length); in writeValueAndFinal()
231 intUnits[0]=(char)(CharsTrie.kThreeUnitNodeValueLead); in writeValueAndType()
232 intUnits[1]=(char)(value>>16); in writeValueAndType()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrieBuilder.java192 private final char[] intUnits=new char[3]; field in CharsTrieBuilder
207 intUnits[0]=(char)(CharsTrie.kThreeUnitValueLead); in writeValueAndFinal()
208 intUnits[1]=(char)(i>>16); in writeValueAndFinal()
209 intUnits[2]=(char)i; in writeValueAndFinal()
215 intUnits[0]=(char)(CharsTrie.kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
216 intUnits[1]=(char)i; in writeValueAndFinal()
219 intUnits[0]=(char)(intUnits[0]|(isFinal ? CharsTrie.kValueIsFinal : 0)); in writeValueAndFinal()
220 return write(intUnits, length); in writeValueAndFinal()
235 intUnits[0]=(char)(CharsTrie.kThreeUnitNodeValueLead); in writeValueAndType()
236 intUnits[1]=(char)(value>>16); in writeValueAndType()
[all …]
/external/icu/icu4c/source/common/
Ducharstriebuilder.cpp379 UChar intUnits[3]; in writeValueAndFinal() local
382 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
383 intUnits[1]=(UChar)((uint32_t)i>>16); in writeValueAndFinal()
384 intUnits[2]=(UChar)i; in writeValueAndFinal()
390 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
391 intUnits[1]=(UChar)i; in writeValueAndFinal()
394 intUnits[0]=(UChar)(intUnits[0]|(isFinal<<15)); in writeValueAndFinal()
395 return write(intUnits, length); in writeValueAndFinal()
403 UChar intUnits[3]; in writeValueAndType() local
406 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
[all …]