Lines Matching refs:props

87 #define GET_EXCEPTIONS(csp, props) ((csp)->exceptions+((props)>>UCASE_EXC_SHIFT))  argument
89 #define PROPS_HAS_EXCEPTION(props) ((props)&UCASE_EXCEPTION) argument
137 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_tolower() local
138 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_tolower()
139 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_tolower()
140 c+=UCASE_GET_DELTA(props); in ucase_tolower()
143 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_tolower()
154 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toupper() local
155 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toupper()
156 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_toupper()
157 c+=UCASE_GET_DELTA(props); in ucase_toupper()
160 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_toupper()
171 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_totitle() local
172 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_totitle()
173 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in ucase_totitle()
174 c+=UCASE_GET_DELTA(props); in ucase_totitle()
177 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_totitle()
202 uint16_t props; in ucase_addCaseClosure() local
232 props=UTRIE2_GET16(&csp->trie, c); in ucase_addCaseClosure()
233 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_addCaseClosure()
234 if(UCASE_GET_TYPE(props)!=UCASE_NONE) { in ucase_addCaseClosure()
236 int32_t delta=UCASE_GET_DELTA(props); in ucase_addCaseClosure()
246 const uint16_t *pe0, *pe=GET_EXCEPTIONS(csp, props); in ucase_addCaseClosure()
434 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_getType() local
435 return UCASE_GET_TYPE(props); in ucase_getType()
441 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_getTypeOrIgnorable() local
442 return UCASE_GET_TYPE_AND_IGNORABLE(props); in ucase_getTypeOrIgnorable()
448 uint16_t props=UTRIE2_GET16(&csp->trie, c); in getDotType() local
449 if(!PROPS_HAS_EXCEPTION(props)) { in getDotType()
450 return props&UCASE_DOT_MASK; in getDotType()
452 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in getDotType()
464 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_isCaseSensitive() local
465 return (UBool)((props&UCASE_SENSITIVE)!=0); in ucase_isCaseSensitive()
822 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toFullLower() local
823 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toFullLower()
824 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_toFullLower()
825 result=c+UCASE_GET_DELTA(props); in ucase_toFullLower()
828 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in ucase_toFullLower()
968 uint16_t props=UTRIE2_GET16(&csp->trie, c); in toUpperOrTitle() local
969 if(!PROPS_HAS_EXCEPTION(props)) { in toUpperOrTitle()
970 if(UCASE_GET_TYPE(props)==UCASE_LOWER) { in toUpperOrTitle()
971 result=c+UCASE_GET_DELTA(props); in toUpperOrTitle()
974 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in toUpperOrTitle()
1114 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_fold() local
1115 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_fold()
1116 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_fold()
1117 c+=UCASE_GET_DELTA(props); in ucase_fold()
1120 const uint16_t *pe=GET_EXCEPTIONS(csp, props); in ucase_fold()
1179 uint16_t props=UTRIE2_GET16(&csp->trie, c); in ucase_toFullFolding() local
1180 if(!PROPS_HAS_EXCEPTION(props)) { in ucase_toFullFolding()
1181 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { in ucase_toFullFolding()
1182 result=c+UCASE_GET_DELTA(props); in ucase_toFullFolding()
1185 const uint16_t *pe=GET_EXCEPTIONS(csp, props), *pe2; in ucase_toFullFolding()