Searched refs:leadUnit (Results 1 – 3 of 3) sorted by relevance
/external/icu/icu4c/source/common/unicode/ |
D | ucharstrie.h | 222 int32_t leadUnit=*pos++; in getValue() local 224 return leadUnit&kValueIsFinal ? in getValue() 225 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit); in getValue() 382 static inline int32_t readValue(const UChar *pos, int32_t leadUnit) { in readValue() argument 384 if(leadUnit<kMinTwoUnitValueLead) { in readValue() 385 value=leadUnit; in readValue() 386 } else if(leadUnit<kThreeUnitValueLead) { in readValue() 387 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos; in readValue() 393 static inline const UChar *skipValue(const UChar *pos, int32_t leadUnit) { in skipValue() argument 394 if(leadUnit>=kMinTwoUnitValueLead) { in skipValue() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CharsTrie.java | 317 int leadUnit=chars_.charAt(pos++); in getValue() local 318 assert(leadUnit>=kMinValueLead); in getValue() 319 return (leadUnit&kValueIsFinal)!=0 ? in getValue() 320 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue() 647 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 649 if(leadUnit<kMinTwoUnitValueLead) { in readValue() 650 value=leadUnit; in readValue() 651 } else if(leadUnit<kThreeUnitValueLead) { in readValue() 652 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 658 private static int skipValue(int pos, int leadUnit) { in skipValue() argument [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CharsTrie.java | 304 int leadUnit=chars_.charAt(pos++); in getValue() local 305 assert(leadUnit>=kMinValueLead); in getValue() 306 return (leadUnit&kValueIsFinal)!=0 ? in getValue() 307 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue() 621 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument 623 if(leadUnit<kMinTwoUnitValueLead) { in readValue() 624 value=leadUnit; in readValue() 625 } else if(leadUnit<kThreeUnitValueLead) { in readValue() 626 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue() 632 private static int skipValue(int pos, int leadUnit) { in skipValue() argument [all …]
|