Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/unicode/
Ducharstrie.h262 int32_t leadUnit=*pos++; in getValue() local
264 return leadUnit&kValueIsFinal ? in getValue()
265 readValue(pos, leadUnit&0x7fff) : readNodeValue(pos, leadUnit); in getValue()
422 static inline int32_t readValue(const char16_t *pos, int32_t leadUnit) { in readValue() argument
424 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
425 value=leadUnit; in readValue()
426 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
427 value=((leadUnit-kMinTwoUnitValueLead)<<16)|*pos; in readValue()
433 static inline const char16_t *skipValue(const char16_t *pos, int32_t leadUnit) { in skipValue() argument
434 if(leadUnit>=kMinTwoUnitValueLead) { in skipValue()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCharsTrie.java356 int leadUnit=chars_.charAt(pos++); in getValue() local
357 assert(leadUnit>=kMinValueLead); in getValue()
358 return (leadUnit&kValueIsFinal)!=0 ? in getValue()
359 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue()
679 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument
681 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
682 value=leadUnit; in readValue()
683 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
684 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue()
690 private static int skipValue(int pos, int leadUnit) { in skipValue() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCharsTrie.java371 int leadUnit=chars_.charAt(pos++); in getValue() local
372 assert(leadUnit>=kMinValueLead); in getValue()
373 return (leadUnit&kValueIsFinal)!=0 ? in getValue()
374 readValue(chars_, pos, leadUnit&0x7fff) : readNodeValue(chars_, pos, leadUnit); in getValue()
705 private static int readValue(CharSequence chars, int pos, int leadUnit) { in readValue() argument
707 if(leadUnit<kMinTwoUnitValueLead) { in readValue()
708 value=leadUnit; in readValue()
709 } else if(leadUnit<kThreeUnitValueLead) { in readValue()
710 value=((leadUnit-kMinTwoUnitValueLead)<<16)|chars.charAt(pos); in readValue()
716 private static int skipValue(int pos, int leadUnit) { in skipValue() argument
[all …]