Lines Matching refs:props
86 #define GET_EXCEPTIONS(csp, props) ((csp)->exceptions+((props)>>UCASE_EXC_SHIFT)) argument
88 #define PROPS_HAS_EXCEPTION(props) ((props)&UCASE_EXCEPTION) argument
136 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_tolower() local
137 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_tolower()
138 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_tolower()
139 c+=UCASE_GET_DELTA(props); in ucase_tolower()
142 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower()
153 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toupper() local
154 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toupper()
155 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_toupper()
156 c+=UCASE_GET_DELTA(props); in ucase_toupper()
159 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper()
170 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_totitle() local
171 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_totitle()
172 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_totitle()
173 c+=UCASE_GET_DELTA(props); in ucase_totitle()
176 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_totitle()
201 uint16_t props; in ucase_addCaseClosure() local
231 props=UTRIE2_GET16(&csp->trie, c); in ucase_addCaseClosure()
232 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_addCaseClosure()
233 if(UCASE_GET_TYPE(props)!=UCASE_NONE) { in ucase_addCaseClosure()
235 int32_t delta=UCASE_GET_DELTA(props); in ucase_addCaseClosure()
245 const uint16_t *pe0, *pe=GET_EXCEPTIONS(csp, props); in ucase_addCaseClosure()
433 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_getType() local
434 return UCASE_GET_TYPE(props); in ucase_getType()
440 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_getTypeOrIgnorable() local
441 return UCASE_GET_TYPE_AND_IGNORABLE(props); in ucase_getTypeOrIgnorable()
447 uint16_t props=UTRIE2_GET16(&csp->trie, c); in getDotType() local
448 if(!PROPS_HAS_EXCEPTION(props)) { in getDotType()
449 return props&UCASE_DOT_MASK; in getDotType()
451 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in getDotType()
463 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_isCaseSensitive() local
464 return (UBool)((props&UCASE_SENSITIVE)!=0); in ucase_isCaseSensitive()
808 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toFullLower() local
809 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toFullLower()
810 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_toFullLower()
811 result=c+UCASE_GET_DELTA(props); in ucase_toFullLower()
814 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in ucase_toFullLower()
952 uint16_t props=UTRIE2_GET16(&csp->trie, c); in toUpperOrTitle() local
953 if(!PROPS_HAS_EXCEPTION(props)) { in toUpperOrTitle()
954 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in toUpperOrTitle()
955 result=c+UCASE_GET_DELTA(props); in toUpperOrTitle()
958 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in toUpperOrTitle()
1098 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_fold() local
1099 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_fold()
1100 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_fold()
1101 c+=UCASE_GET_DELTA(props); in ucase_fold()
1104 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_fold()
1162 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toFullFolding() local
1163 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toFullFolding()
1164 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_toFullFolding()
1165 result=c+UCASE_GET_DELTA(props); in ucase_toFullFolding()
1168 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in ucase_toFullFolding()