Home
last modified time | relevance | path

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

123

/external/icu/android_icu4j/src/main/java/android/icu/impl/
DStringSegment.java26 private boolean foldCase; field in StringSegment
28 public StringSegment(String str, boolean foldCase) { in StringSegment() argument
32 this.foldCase = foldCase; in StringSegment()
124 return codePointsEqual(getCodePoint(), otherCp, foldCase);
150 return codePointsEqual(cp1, cp2, foldCase);
168 return getPrefixLengthInternal(other, foldCase);
179 private int getPrefixLengthInternal(CharSequence other, boolean foldCase) {
186 if (!codePointsEqual(cp1, cp2, foldCase)) {
194 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
198 if (!foldCase) {
[all …]
DTextTrieMap.java169 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DStringSegment.java24 private boolean foldCase; field in StringSegment
26 public StringSegment(String str, boolean foldCase) { in StringSegment() argument
30 this.foldCase = foldCase; in StringSegment()
122 return codePointsEqual(getCodePoint(), otherCp, foldCase);
148 return codePointsEqual(cp1, cp2, foldCase);
166 return getPrefixLengthInternal(other, foldCase);
177 private int getPrefixLengthInternal(CharSequence other, boolean foldCase) {
184 if (!codePointsEqual(cp1, cp2, foldCase)) {
192 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) {
196 if (!foldCase) {
[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/icu/icu4c/source/i18n/
Dstring_segment.cpp112 int32_t StringSegment::getPrefixLengthInternal(const UnicodeString& other, bool foldCase) { in getPrefixLengthInternal() argument
119 if (!codePointsEqual(c1, c2, foldCase)) { in getPrefixLengthInternal()
127 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument
131 if (!foldCase) { in codePointsEqual()
Dstring_segment.h125 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase);
127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterCaseTest.java112 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], true) != in TestFolding()
117 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
124 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], false) != in TestFolding()
129 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
140 if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], true))) { in TestFolding()
142 ", true)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], true)) + in TestFolding()
146 …if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FOLD_CASE_DEFAUL… in TestFolding()
148 …", UCharacter.FOLD_CASE_DEFAULT)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FO… in TestFolding()
153 UCharacter.foldCase(FOLDING_MIXED_[0], false))) { in TestFolding()
155 ", false)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], false)) in TestFolding()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java115 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], true) != in TestFolding()
120 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
127 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], false) != in TestFolding()
132 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding()
143 if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], true))) { in TestFolding()
145 ", true)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], true)) + in TestFolding()
149 …if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FOLD_CASE_DEFAUL… in TestFolding()
151 …", UCharacter.FOLD_CASE_DEFAULT)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FO… in TestFolding()
156 UCharacter.foldCase(FOLDING_MIXED_[0], false))) { in TestFolding()
158 ", false)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], false)) in TestFolding()
[all …]
/external/icu/libicu/cts_headers/
Dstring_segment.h125 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase);
127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
/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/llvm-project/clang/test/PCH/
Dcxx-templates.cpp71 static inline char foldCase(char) { in foldCase() function
76 return StringHasher::createHash<char, foldCase>(data, length); in hash()
/external/cldr/tools/java/org/unicode/cldr/util/
DVariantFolder.java27 final boolean casefold1 = UCharacter.foldCase(s1, true).equals(s1);
28 final boolean casefold2 = UCharacter.foldCase(s2, true).equals(s2);
119 equivalents.add(item, UCharacter.foldCase(item, true)); in equivalents.add()
/external/icu/icu4c/source/common/
Dunistr_case.cpp217 UnicodeString::foldCase(uint32_t options) { in foldCase() function in UnicodeString
234 return copy.foldCase().hashCode(); in uhash_hashCaselessUnicodeString()
Duniset_closure.cpp211 str.foldCase(); in closeOver()
235 (str = *pStr).foldCase(); in closeOver()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DPathNormalization.java76 return UCharacter.foldCase(string, true); in apply()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCaseFoldTransliterator.java124 return UCharacter.foldCase(source, true); in addSourceTargetSet()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DCaseFoldTransliterator.java123 return UCharacter.foldCase(source, true); in addSourceTargetSet()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DICUPropertyFactory.java65 return UCharacter.foldCase(UTF16.valueOf(codePoint), true); in _getValue()
73 return UTF16.valueOf(UCharacter.foldCase(codePoint, true)); in _getValue()
110 return String.valueOf(UCharacter.foldCase(UTF16.valueOf(codePoint), true).equals( in _getValue()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java5483 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter
5484 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
5504 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter
5505 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
5553 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter
5572 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter
5947 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
5950 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java4870 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter
4871 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
4890 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter
4891 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase()
4935 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter
4953 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter
5317 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
5320 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
/external/icu/icu4c/source/samples/ustring/
Dustring.cpp409 printUnicodeString("full-case-folded/default: ", (t=s).foldCase(U_FOLD_CASE_DEFAULT)); in demoCaseMapInCPlusPlus()
411 printUnicodeString("full-case-folded/Turkic: ", (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I)); in demoCaseMapInCPlusPlus()
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp888 r1.foldCase(options); in ref_norm_compare()
889 r2.foldCase(options); in ref_norm_compare()
926 t1.foldCase(options); in ref_case_compare()
927 t2.foldCase(options); in ref_case_compare()
1288 s.foldCase(foldingOptions); in countFoldFCDExceptions()
Dstrcase.cpp386 (t=s).foldCase(); in TestCaseConversion()
392 (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCaseConversion()
446 result.foldCase(options); in TestCasingImpl()
688 cf.foldCase(); in TestFullCaseFoldingIterator()

123