Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCaseProps.java162 private final long getSlotValueAndOffset(int excWord, int index, int excOffset) { in getSlotValueAndOffset() argument
164 if((excWord&EXC_DOUBLE_SLOTS)==0) { in getSlotValueAndOffset()
165 excOffset+=slotOffset(excWord, index); in getSlotValueAndOffset()
168 excOffset+=2*slotOffset(excWord, index); in getSlotValueAndOffset()
176 private final int getSlotValue(int excWord, int index, int excOffset) { in getSlotValue() argument
178 if((excWord&EXC_DOUBLE_SLOTS)==0) { in getSlotValue()
179 excOffset+=slotOffset(excWord, index); in getSlotValue()
182 excOffset+=2*slotOffset(excWord, index); in getSlotValue()
199 int excWord=exceptions.charAt(excOffset++); in tolower() local
200 if(hasSlot(excWord, EXC_DELTA) && isUpperOrTitleFromProps(props)) { in tolower()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCaseProps.java158 private final long getSlotValueAndOffset(int excWord, int index, int excOffset) { in getSlotValueAndOffset() argument
160 if((excWord&EXC_DOUBLE_SLOTS)==0) { in getSlotValueAndOffset()
161 excOffset+=slotOffset(excWord, index); in getSlotValueAndOffset()
164 excOffset+=2*slotOffset(excWord, index); in getSlotValueAndOffset()
172 private final int getSlotValue(int excWord, int index, int excOffset) { in getSlotValue() argument
174 if((excWord&EXC_DOUBLE_SLOTS)==0) { in getSlotValue()
175 excOffset+=slotOffset(excWord, index); in getSlotValue()
178 excOffset+=2*slotOffset(excWord, index); in getSlotValue()
195 int excWord=exceptions.charAt(excOffset++); in tolower() local
196 if(hasSlot(excWord, EXC_DELTA) && isUpperOrTitleFromProps(props)) { in tolower()
[all …]
/external/icu/icu4c/source/common/
Ducase.cpp119 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) \ argument
120 if(((excWord)&UCASE_EXC_DOUBLE_SLOTS)==0) { \
121 (pExc16)+=SLOT_OFFSET(excWord, idx); \
124 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \
140 uint16_t excWord=*pe++; in ucase_tolower() local
141 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_tolower()
143 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_tolower()
144 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_tolower()
146 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_tolower()
147 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower()
[all …]