Lines Matching refs:excWord
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()
163 uint16_t excWord=*pe++; in ucase_toupper() local
164 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_toupper()
166 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_toupper()
167 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toupper()
169 if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in ucase_toupper()
170 GET_SLOT_VALUE(excWord, UCASE_EXC_UPPER, pe, c); in ucase_toupper()
185 uint16_t excWord=*pe++; in ucase_totitle() local
186 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_totitle()
188 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_totitle()
189 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_totitle()
192 if(HAS_SLOT(excWord, UCASE_EXC_TITLE)) { in ucase_totitle()
194 } else if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in ucase_totitle()
199 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_totitle()
260 uint16_t excWord=*pe++; in ucase_addCaseClosure() local
267 if(HAS_SLOT(excWord, idx)) { in ucase_addCaseClosure()
269 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_addCaseClosure()
273 if(HAS_SLOT(excWord, UCASE_EXC_DELTA)) { in ucase_addCaseClosure()
276 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_addCaseClosure()
277 sa->add(sa->set, (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta); in ucase_addCaseClosure()
281 if(HAS_SLOT(excWord, UCASE_EXC_CLOSURE)) { in ucase_addCaseClosure()
283 GET_SLOT_VALUE(excWord, UCASE_EXC_CLOSURE, pe, closureLength); in ucase_addCaseClosure()
292 if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_addCaseClosure()
294 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, fullLength); in ucase_addCaseClosure()
1074 uint16_t excWord=*pe++; in ucase_toFullLower() local
1079 if(excWord&UCASE_EXC_CONDITIONAL_SPECIAL) { in ucase_toFullLower()
1183 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_toFullLower()
1184 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in ucase_toFullLower()
1195 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_toFullLower()
1197 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in ucase_toFullLower()
1198 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toFullLower()
1200 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_toFullLower()
1201 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe2, result); in ucase_toFullLower()
1225 uint16_t excWord=*pe++; in toUpperOrTitle() local
1230 if(excWord&UCASE_EXC_CONDITIONAL_SPECIAL) { in toUpperOrTitle()
1271 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in toUpperOrTitle()
1272 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in toUpperOrTitle()
1300 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in toUpperOrTitle()
1302 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in toUpperOrTitle()
1303 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in toUpperOrTitle()
1305 if(!upperNotTitle && HAS_SLOT(excWord, UCASE_EXC_TITLE)) { in toUpperOrTitle()
1307 } else if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in toUpperOrTitle()
1313 GET_SLOT_VALUE(excWord, idx, pe2, result); in toUpperOrTitle()
1386 uint16_t excWord=*pe++; in ucase_fold() local
1388 if(excWord&UCASE_EXC_CONDITIONAL_FOLD) { in ucase_fold()
1410 if((excWord&UCASE_EXC_NO_SIMPLE_CASE_FOLDING)!=0) { in ucase_fold()
1413 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_fold()
1415 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_fold()
1416 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_fold()
1418 if(HAS_SLOT(excWord, UCASE_EXC_FOLD)) { in ucase_fold()
1420 } else if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_fold()
1425 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_fold()
1459 uint16_t excWord=*pe++; in ucase_toFullFolding() local
1464 if(excWord&UCASE_EXC_CONDITIONAL_FOLD) { in ucase_toFullFolding()
1486 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_toFullFolding()
1487 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in ucase_toFullFolding()
1505 if((excWord&UCASE_EXC_NO_SIMPLE_CASE_FOLDING)!=0) { in ucase_toFullFolding()
1508 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_toFullFolding()
1510 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in ucase_toFullFolding()
1511 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toFullFolding()
1513 if(HAS_SLOT(excWord, UCASE_EXC_FOLD)) { in ucase_toFullFolding()
1515 } else if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_toFullFolding()
1520 GET_SLOT_VALUE(excWord, idx, pe2, result); in ucase_toFullFolding()