Home
last modified time | relevance | path

Searched refs:foldCase (Results 1 – 25 of 49) sorted by relevance

12

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java108 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], true) != in TestFolding()
113 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
120 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], false) != in TestFolding()
125 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
136 if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], true))) { in TestFolding()
138 ", true)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], true)) + in TestFolding()
142 …if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FOLD_CASE_DEFAUL… in TestFolding()
144 …", UCharacter.FOLD_CASE_DEFAULT)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FO… in TestFolding()
149 UCharacter.foldCase(FOLDING_MIXED_[0], false))) { in TestFolding()
151 ", false)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], false)) in TestFolding()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java109 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], true) != in TestFolding()
114 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
121 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], false) != in TestFolding()
126 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
137 if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], true))) { in TestFolding()
139 ", true)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], true)) + in TestFolding()
143 …if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FOLD_CASE_DEFAUL… in TestFolding()
145 …", UCharacter.FOLD_CASE_DEFAULT)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FO… in TestFolding()
150 UCharacter.foldCase(FOLDING_MIXED_[0], false))) { in TestFolding()
152 ", false)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], false)) in TestFolding()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCaseInsensitiveString.java28 private static String foldCase(String foldee) in foldCase() method in CaseInsensitiveString
30 return UCharacter.foldCase(foldee, true); in foldCase()
36 folded = foldCase(string); in getFolded()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCaseInsensitiveString.java27 private static String foldCase(String foldee) in foldCase() method in CaseInsensitiveString
29 return UCharacter.foldCase(foldee, true); in foldCase()
35 folded = foldCase(string); in getFolded()
/external/clang/test/PCH/
Dcxx-templates.cpp66 static inline char foldCase(char) { in foldCase() function
71 return StringHasher::createHash<char, foldCase>(data, length); in hash()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetCloseOver.java90 String folded = UCharacter.foldCase(cp, DEFAULT_CASE_MAP); in createCaseFoldEquivalencyClasses()
254 String folded = UCharacter.foldCase(a, DEFAULT_CASE_MAP); in generateCaseData()
349 if (equivClasses.get(UCharacter.foldCase(cp, DEFAULT_CASE_MAP)) == null) { in generateCaseData()
391 case 3: s = UCharacter.foldCase(cp, DEFAULT_CASE_MAP); break; in getCaseSensitive()
413 case 3: d = UCharacter.foldCase(c, DEFAULT_CASE_MAP); break; in getCaseSensitive()
/external/icu/icu4c/source/common/
Dunistr_case.cpp146 UnicodeString::foldCase(uint32_t options) { in foldCase() function in UnicodeString
166 return copy.foldCase().hashCode(); in uhash_hashCaselessUnicodeString()
Duniset_closure.cpp243 str.foldCase(); in closeOver()
267 (str = *pStr).foldCase(); in closeOver()
Duprops.cpp603 UnicodeString kc2=nfkc->normalize(folded2String.foldCase(), *pErrorCode); in u_getFC_NFKC_Closure()
/external/icu/icu4c/source/test/intltest/
Dstrcase.cpp319 (t=s).foldCase(); in TestCaseConversion()
325 (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCaseConversion()
379 result.foldCase(options); in TestCasingImpl()
566 cf.foldCase(); in TestFullCaseFoldingIterator()
Dtstnorm.cpp861 r1.foldCase(options); in ref_norm_compare()
862 r2.foldCase(options); in ref_norm_compare()
899 t1.foldCase(options); in ref_case_compare()
900 t2.foldCase(options); in ref_case_compare()
1261 s.foldCase(foldingOptions); in countFoldFCDExceptions()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCaseFoldTransliterator.java124 return UCharacter.foldCase(source, true); in addSourceTargetSet()
DNormalizer.java1501 String kc2=nfkc.normalize(UCharacter.foldCase(kc1, 0)); in getFC_NFKC_Closure()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DCaseFoldTransliterator.java123 return UCharacter.foldCase(source, true); in addSourceTargetSet()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java4658 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter
4659 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
4678 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter
4679 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
4723 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter
4741 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter
5116 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
5119 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java5267 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter
5268 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
5288 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter
5289 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
5337 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter
5356 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter
5740 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
5743 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp400 printUnicodeString("full-case-folded/default: ", (t=s).foldCase(U_FOLD_CASE_DEFAULT)); in demoCaseMapInCPlusPlus()
402 printUnicodeString("full-case-folded/Turkic: ", (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I)); in demoCaseMapInCPlusPlus()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTextTrieMap.java149 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
DUCharacterProperty.java386 String folded=UCharacter.foldCase(nfd, true);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTextTrieMap.java147 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
DUCharacterProperty.java385 String folded=UCharacter.foldCase(nfd, true);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DBasicTest.java1743 r1 = UCharacter.foldCase(r1,options); in ref_norm_compare()
1744 r2 = UCharacter.foldCase(r2,options); in ref_norm_compare()
1788 t1 = UCharacter.foldCase(t1,((options&Normalizer.FOLD_CASE_EXCLUDE_SPECIAL_I)==0)); in ref_case_compare()
1789 t2 = UCharacter.foldCase(t2,((options&Normalizer.FOLD_CASE_EXCLUDE_SPECIAL_I)==0)); in ref_case_compare()
2204 UCharacter.foldCase(s,(foldingOptions==0)); in countFoldFCDExceptions()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DBasicTest.java1744 r1 = UCharacter.foldCase(r1,options); in ref_norm_compare()
1745 r2 = UCharacter.foldCase(r2,options); in ref_norm_compare()
1789 t1 = UCharacter.foldCase(t1,((options&Normalizer.FOLD_CASE_EXCLUDE_SPECIAL_I)==0)); in ref_case_compare()
1790 t2 = UCharacter.foldCase(t2,((options&Normalizer.FOLD_CASE_EXCLUDE_SPECIAL_I)==0)); in ref_case_compare()
2205 UCharacter.foldCase(s,(foldingOptions==0)); in countFoldFCDExceptions()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DCaseIterator.java229 String mapped = UCharacter.foldCase(cp, defaultmapping);
/external/icu/icu4c/source/i18n/
Dtznames_impl.cpp261 foldedKey.fastCopyFrom(key).foldCase(); in putImpl()
417 tmp.foldCase(); in search()

12