Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/unicode/
Ducharstrie.h224 int32_t leadUnit=*pos++; in getValue() local
226 return leadUnit&kValueIsFinal ? in getValue()
227 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit); in getValue()
384 static inline int32_t readValue(const char16_t *pos, int32_t leadUnit) { in readValue() argument
386 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
387 value=leadUnit; in readValue()
388 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
389 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos; in readValue()
395 static inline const char16_t *skipValue(const char16_t *pos, int32_t leadUnit) { in skipValue() argument
396 if(leadUnit>=kMinTwoUnitValueLead) { in skipValue()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrie.java319 int leadUnit=chars_.charAt(pos++); in getValue() local
320 assert(leadUnit>=kMinValueLead); in getValue()
321 return (leadUnit&kValueIsFinal)!=0 ? in getValue()
322 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue()
653 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument
655 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
656 value=leadUnit; in readValue()
657 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
658 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue()
664 private static int skipValue(int pos, int leadUnit) { in skipValue() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrie.java307 int leadUnit=chars_.charAt(pos++); in getValue() local
308 assert(leadUnit>=kMinValueLead); in getValue()
309 return (leadUnit&kValueIsFinal)!=0 ? in getValue()
310 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue()
630 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument
632 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
633 value=leadUnit; in readValue()
634 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
635 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue()
641 private static int skipValue(int pos, int leadUnit) { in skipValue() argument
[all …]