Lines Matching refs:excWord
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()
162 uint16_t excWord=*pe++; in ucase_toupper() local
163 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_toupper()
165 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_toupper()
166 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toupper()
168 if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in ucase_toupper()
169 GET_SLOT_VALUE(excWord, UCASE_EXC_UPPER, pe, c); in ucase_toupper()
184 uint16_t excWord=*pe++; in ucase_totitle() local
185 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_totitle()
187 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_totitle()
188 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_totitle()
191 if(HAS_SLOT(excWord, UCASE_EXC_TITLE)) { in ucase_totitle()
193 } else if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in ucase_totitle()
198 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_totitle()
259 uint16_t excWord=*pe++; in ucase_addCaseClosure() local
266 if(HAS_SLOT(excWord, idx)) { in ucase_addCaseClosure()
268 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_addCaseClosure()
272 if(HAS_SLOT(excWord, UCASE_EXC_DELTA)) { in ucase_addCaseClosure()
275 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_addCaseClosure()
276 sa->add(sa->set, (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta); in ucase_addCaseClosure()
280 if(HAS_SLOT(excWord, UCASE_EXC_CLOSURE)) { in ucase_addCaseClosure()
282 GET_SLOT_VALUE(excWord, UCASE_EXC_CLOSURE, pe, closureLength); in ucase_addCaseClosure()
291 if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_addCaseClosure()
293 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, fullLength); in ucase_addCaseClosure()
1048 uint16_t excWord=*pe++; in ucase_toFullLower() local
1053 if(excWord&UCASE_EXC_CONDITIONAL_SPECIAL) { in ucase_toFullLower()
1157 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_toFullLower()
1158 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in ucase_toFullLower()
1169 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_toFullLower()
1171 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in ucase_toFullLower()
1172 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toFullLower()
1174 if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_toFullLower()
1175 GET_SLOT_VALUE(excWord, UCASE_EXC_LOWER, pe2, result); in ucase_toFullLower()
1199 uint16_t excWord=*pe++; in toUpperOrTitle() local
1204 if(excWord&UCASE_EXC_CONDITIONAL_SPECIAL) { in toUpperOrTitle()
1234 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in toUpperOrTitle()
1235 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in toUpperOrTitle()
1263 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_GET_TYPE(props)==UCASE_LOWER) { in toUpperOrTitle()
1265 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in toUpperOrTitle()
1266 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in toUpperOrTitle()
1268 if(!upperNotTitle && HAS_SLOT(excWord, UCASE_EXC_TITLE)) { in toUpperOrTitle()
1270 } else if(HAS_SLOT(excWord, UCASE_EXC_UPPER)) { in toUpperOrTitle()
1276 GET_SLOT_VALUE(excWord, idx, pe2, result); in toUpperOrTitle()
1349 uint16_t excWord=*pe++; in ucase_fold() local
1351 if(excWord&UCASE_EXC_CONDITIONAL_FOLD) { in ucase_fold()
1373 if((excWord&UCASE_EXC_NO_SIMPLE_CASE_FOLDING)!=0) { in ucase_fold()
1376 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_fold()
1378 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe, delta); in ucase_fold()
1379 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_fold()
1381 if(HAS_SLOT(excWord, UCASE_EXC_FOLD)) { in ucase_fold()
1383 } else if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_fold()
1388 GET_SLOT_VALUE(excWord, idx, pe, c); in ucase_fold()
1422 uint16_t excWord=*pe++; in ucase_toFullFolding() local
1427 if(excWord&UCASE_EXC_CONDITIONAL_FOLD) { in ucase_toFullFolding()
1449 } else if(HAS_SLOT(excWord, UCASE_EXC_FULL_MAPPINGS)) { in ucase_toFullFolding()
1450 GET_SLOT_VALUE(excWord, UCASE_EXC_FULL_MAPPINGS, pe, full); in ucase_toFullFolding()
1468 if((excWord&UCASE_EXC_NO_SIMPLE_CASE_FOLDING)!=0) { in ucase_toFullFolding()
1471 if(HAS_SLOT(excWord, UCASE_EXC_DELTA) && UCASE_IS_UPPER_OR_TITLE(props)) { in ucase_toFullFolding()
1473 GET_SLOT_VALUE(excWord, UCASE_EXC_DELTA, pe2, delta); in ucase_toFullFolding()
1474 return (excWord&UCASE_EXC_DELTA_IS_NEGATIVE)==0 ? c+delta : c-delta; in ucase_toFullFolding()
1476 if(HAS_SLOT(excWord, UCASE_EXC_FOLD)) { in ucase_toFullFolding()
1478 } else if(HAS_SLOT(excWord, UCASE_EXC_LOWER)) { in ucase_toFullFolding()
1483 GET_SLOT_VALUE(excWord, idx, pe2, result); in ucase_toFullFolding()