Lines Matching defs:value
146 10 the delta in the optional value slot is negative
148 8 if set, then for each optional-value slot there are 2 uint16_t values
151 7.. 0 bits for which optional value is present
153 Optional-value slots:
163 the length of each is encoded in a nibble of this optional value,
164 and the strings follow this optional value in the same order:
167 The optional closure mappings value is used as follows:
169 The string immediately follows the full case mappings, or the closure value
281 uint32_t makeExcProps(UChar32 c, uint32_t value, UErrorCode &errorCode);
285 UBool addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value,
288 int32_t makeException(UChar32 c, uint32_t value, ExcProps &ep, UErrorCode &errorCode);
414 uint32_t value=type;
425 value|=UCASE_EXCEPTION;
435 value|=UCASE_EXCEPTION;
443 value|=UCASE_EXCEPTION;
451 value|=UCASE_EXCEPTION;
463 value|=UCASE_EXCEPTION;
471 value|=UCASE_EXCEPTION;
479 value|=UCASE_EXCEPTION;
485 value|=UCASE_EXCEPTION;
489 value|=UCASE_SOFT_DOTTED;
499 value|=UCASE_ABOVE;
501 value|=UCASE_OTHER_ACCENT;
506 value|=UCASE_IGNORABLE;
509 if((hasMapping || (value&UCASE_EXCEPTION)) && start!=end) {
519 if(value&UCASE_EXCEPTION) {
543 value|=(uint32_t)excPropsCount<<UGENCASE_EXC_SHIFT;
547 value|=((uint32_t)delta<<UCASE_DELTA_SHIFT)&UCASE_DELTA_MASK;
550 utrie2_setRange32(pTrie, start, end, value, true, &errorCode);
583 CasePropsBuilder::makeExcProps(UChar32 c, uint32_t value, UErrorCode &errorCode) {
599 if((value&UCASE_TYPE_MASK)>UCASE_NONE) {
601 UChar32 next=c+UCASE_GET_DELTA(value);
604 if((value&UCASE_TYPE_MASK)==UCASE_LOWER) {
612 value&=~(UGENCASE_EXC_MASK|UCASE_DELTA_MASK); // remove previous simple mapping
613 value|=(uint32_t)excPropsCount<<UGENCASE_EXC_SHIFT;
614 value|=UCASE_EXCEPTION;
616 return value;
696 uint32_t value=utrie2_get32(pTrie, src);
697 if((value&UCASE_EXCEPTION)==0) {
699 * decode value into p2 (enough for makeException() to work properly),
703 value=makeExcProps(src, value, errorCode);
704 utrie2_set32(pTrie, src, value, &errorCode);
711 excProps[value>>UGENCASE_EXC_SHIFT]->closure.add(dest);
759 CasePropsBuilder::addClosure(UChar32 orig, UChar32 prev2, UChar32 prev, UChar32 c, uint32_t value,
768 value=utrie2_get32(pTrie, c);
770 /* else if c==orig then c's value was passed in */
772 if(value&UCASE_EXCEPTION) {
775 ExcProps &ep=*excProps[value>>UGENCASE_EXC_SHIFT];
823 if((value&UCASE_TYPE_MASK)>UCASE_NONE) {
825 next=c+UCASE_GET_DELTA(value);
886 uint32_t value=utrie2_get32(pTrie, c);
887 if(value!=0) {
888 someMappingsAdded|=addClosure(c, U_SENTINEL, U_SENTINEL, c, value, errorCode);
909 CasePropsBuilder::makeException(UChar32 c, uint32_t value, ExcProps &ep, UErrorCode &errorCode) {
920 UChar excWord=(UChar)((value&(UCASE_DOT_MASK|UCASE_SENSITIVE))<<UCASE_EXC_DOT_SHIFT);
1100 uint32_t value=utrie2_get32(pTrie, c);
1101 if(value&UCASE_EXCEPTION) {
1102 int32_t excIndex=makeException(c, value, *excProps[value>>UGENCASE_EXC_SHIFT], errorCode);
1103 value=(value&~(UGENCASE_EXC_MASK|UCASE_EXC_MASK))|((uint32_t)excIndex<<UCASE_EXC_SHIFT);
1104 utrie2_set32(pTrie, c, value, &errorCode);
1141 uint32_t value=utrie2_get32(pTrie, c);
1142 if((value&UCASE_SENSITIVE)==0) {
1143 utrie2_set32(pTrie, c, value|UCASE_SENSITIVE, &errorCode);