Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrieBuilder.java190 private final char[] intUnits=new char[3]; field in CharsTrieBuilder
205 intUnits[0]=(char)(CharsTrie.kThreeUnitValueLead); in writeValueAndFinal()
206 intUnits[1]=(char)(i>>16); in writeValueAndFinal()
207 intUnits[2]=(char)i; in writeValueAndFinal()
213 intUnits[0]=(char)(CharsTrie.kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
214 intUnits[1]=(char)i; in writeValueAndFinal()
217 intUnits[0]=(char)(intUnits[0]|(isFinal ? CharsTrie.kValueIsFinal : 0)); in writeValueAndFinal()
218 return write(intUnits, length); in writeValueAndFinal()
233 intUnits[0]=(char)(CharsTrie.kThreeUnitNodeValueLead); in writeValueAndType()
234 intUnits[1]=(char)(value>>16); in writeValueAndType()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrieBuilder.java186 private final char[] intUnits=new char[3]; field in CharsTrieBuilder
201 intUnits[0]=(char)(CharsTrie.kThreeUnitValueLead); in writeValueAndFinal()
202 intUnits[1]=(char)(i>>16); in writeValueAndFinal()
203 intUnits[2]=(char)i; in writeValueAndFinal()
209 intUnits[0]=(char)(CharsTrie.kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
210 intUnits[1]=(char)i; in writeValueAndFinal()
213 intUnits[0]=(char)(intUnits[0]|(isFinal ? CharsTrie.kValueIsFinal : 0)); in writeValueAndFinal()
214 return write(intUnits, length); in writeValueAndFinal()
229 intUnits[0]=(char)(CharsTrie.kThreeUnitNodeValueLead); in writeValueAndType()
230 intUnits[1]=(char)(value>>16); in writeValueAndType()
[all …]
/external/icu/icu4c/source/common/
Ducharstriebuilder.cpp377 UChar intUnits[3]; in writeValueAndFinal() local
380 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitValueLead); in writeValueAndFinal()
381 intUnits[1]=(UChar)((uint32_t)i>>16); in writeValueAndFinal()
382 intUnits[2]=(UChar)i; in writeValueAndFinal()
388 intUnits[0]=(UChar)(UCharsTrie::kMinTwoUnitValueLead+(i>>16)); in writeValueAndFinal()
389 intUnits[1]=(UChar)i; in writeValueAndFinal()
392 intUnits[0]=(UChar)(intUnits[0]|(isFinal<<15)); in writeValueAndFinal()
393 return write(intUnits, length); in writeValueAndFinal()
401 UChar intUnits[3]; in writeValueAndType() local
404 intUnits[0]=(UChar)(UCharsTrie::kThreeUnitNodeValueLead); in writeValueAndType()
[all …]