/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | UCaseProps.java | 162 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 …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UCaseProps.java | 158 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 …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | ucase.cpp | 119 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) UPRV_BLOCK_MACRO_BEGIN { \ argument 120 if(((excWord)&UCASE_EXC_DOUBLE_SLOTS)==0) { \ 121 (pExc16)+=SLOT_OFFSET(excWord, idx); \ 124 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \ 141 uint16_t excWord=*pe++; in ucase_tolower() local 142 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_tolower() 144 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_tolower() 145 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_tolower() 147 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_tolower() 148 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | ucase.cpp | 119 #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 …]
|
/third_party/node/deps/icu-small/source/common/ |
D | ucase.cpp | 119 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) UPRV_BLOCK_MACRO_BEGIN { \ argument 120 if(((excWord)&UCASE_EXC_DOUBLE_SLOTS)==0) { \ 121 (pExc16)+=SLOT_OFFSET(excWord, idx); \ 124 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \ 141 uint16_t excWord=*pe++; in ucase_tolower() local 142 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_tolower() 144 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_tolower() 145 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_tolower() 147 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_tolower() 148 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | ucase.cpp | 119 #define GET_SLOT_VALUE(excWord, idx, pExc16, value) UPRV_BLOCK_MACRO_BEGIN { \ argument 120 if(((excWord)&UCASE_EXC_DOUBLE_SLOTS)==0) { \ 121 (pExc16)+=SLOT_OFFSET(excWord, idx); \ 124 (pExc16)+=2*SLOT_OFFSET(excWord, idx); \ 141 uint16_t excWord=*pe++; in ucase_tolower() local 142 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_tolower() 144 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_tolower() 145 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_tolower() 147 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_tolower() 148 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe, c); in ucase_tolower() [all …]
|
/third_party/icu/tools/unicode/c/genprops/ |
D | casepropsbuilder.cpp | 920 UChar excWord=(UChar)((value&(UCASE_DOT_MASK|UCASE_SENSITIVE))<<UCASE_EXC_DOT_SHIFT); in makeException() local 926 excWord|=UCASE_EXC_CONDITIONAL_SPECIAL; in makeException() 932 excWord|=UCASE_EXC_CONDITIONAL_FOLD; in makeException() 936 excWord|=UCASE_EXC_NO_SIMPLE_CASE_FOLDING; in makeException() 962 excWord|=UCASE_EXC_DELTA_IS_NEGATIVE; in makeException() 968 excWord|=U_MASK(UCASE_EXC_DELTA); in makeException() 974 excWord|=U_MASK(UCASE_EXC_LOWER); in makeException() 983 excWord|=U_MASK(UCASE_EXC_FOLD); in makeException() 989 excWord|=U_MASK(UCASE_EXC_UPPER); in makeException() 999 excWord|=U_MASK(UCASE_EXC_TITLE); in makeException() [all …]
|