Lines Matching refs:result
134 // add the result of a full case mapping to the set
137 addCaseMapping(UnicodeSet &set, int32_t result, const UChar *full, UnicodeString &str) {
138 if(result >= 0) {
139 if(result > UCASE_MAX_STRING_LENGTH) {
141 set.add(result);
143 // add a string case mapping from full with length result
144 str.setTo((UBool)false, full, result);
148 // result < 0: the code point mapped to itself, no need to add it
177 UChar32 result;
193 result = ucase_toFullLower(cp, NULL, NULL, &full, UCASE_LOC_ROOT);
194 addCaseMapping(foldSet, result, full, str);
196 result = ucase_toFullTitle(cp, NULL, NULL, &full, UCASE_LOC_ROOT);
197 addCaseMapping(foldSet, result, full, str);
199 result = ucase_toFullUpper(cp, NULL, NULL, &full, UCASE_LOC_ROOT);
200 addCaseMapping(foldSet, result, full, str);
202 result = ucase_toFullFolding(cp, &full, 0);
203 addCaseMapping(foldSet, result, full, str);