/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | StringSegment.java | 22 private boolean foldCase; field in StringSegment 24 public StringSegment(String str, boolean foldCase) { in StringSegment() argument 28 this.foldCase = foldCase; in StringSegment() 120 return codePointsEqual(getCodePoint(), otherCp, foldCase); 146 return codePointsEqual(cp1, cp2, foldCase); 164 return getPrefixLengthInternal(other, foldCase); 175 private int getPrefixLengthInternal(CharSequence other, boolean foldCase) { 182 if (!codePointsEqual(cp1, cp2, foldCase)) { 190 private static final boolean codePointsEqual(int cp1, int cp2, boolean foldCase) { 194 if (!foldCase) { [all …]
|
D | TextTrieMap.java | 161 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | StringSegment.java | 24 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 …]
|
D | TextTrieMap.java | 169 int cp = UCharacter.foldCase(Character.codePointAt(_text, _nextIdx), true); in next()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CaseInsensitiveString.java | 28 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/ |
D | CaseInsensitiveString.java | 27 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/ |
D | numparse_stringsegment.cpp | 114 int32_t StringSegment::getPrefixLengthInternal(const UnicodeString& other, bool foldCase) { in getPrefixLengthInternal() argument 121 if (!codePointsEqual(c1, c2, foldCase)) { in getPrefixLengthInternal() 129 bool StringSegment::codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase) { in codePointsEqual() argument 133 if (!foldCase) { in codePointsEqual()
|
D | numparse_types.h | 274 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase); 276 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 112 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/ |
D | UCharacterCaseTest.java | 115 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/clang/test/PCH/ |
D | cxx-templates.cpp | 66 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/ |
D | UnicodeSetCloseOver.java | 90 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/cldr/tools/java/org/unicode/cldr/util/ |
D | VariantFolder.java | 26 final boolean casefold1 = UCharacter.foldCase(s1, true).equals(s1); 27 final boolean casefold2 = UCharacter.foldCase(s2, true).equals(s2); 115 equivalents.add(item, UCharacter.foldCase(item, true)); in equivalents.add()
|
D | CaseIterator.java | 232 String mapped = UCharacter.foldCase(cp, defaultmapping);
|
/external/icu/icu4c/source/common/ |
D | unistr_case.cpp | 217 UnicodeString::foldCase(uint32_t options) { in foldCase() function in UnicodeString 234 return copy.foldCase().hashCode(); in uhash_hashCaselessUnicodeString()
|
D | uniset_closure.cpp | 211 str.foldCase(); in closeOver() 235 (str = *pStr).foldCase(); in closeOver()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CaseFoldTransliterator.java | 124 return UCharacter.foldCase(source, true); in addSourceTargetSet()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | CaseFoldTransliterator.java | 123 return UCharacter.foldCase(source, true); in addSourceTargetSet()
|
/external/cldr/tools/java/org/unicode/cldr/util/props/ |
D | ICUPropertyFactory.java | 64 return UCharacter.foldCase(UTF16.valueOf(codePoint), true); in _getValue() 72 return UTF16.valueOf(UCharacter.foldCase(codePoint, true)); in _getValue() 109 return String.valueOf(UCharacter.foldCase(UTF16.valueOf(codePoint), true).equals( in _getValue()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UCharacter.java | 5386 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter 5387 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 5407 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter 5408 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 5456 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter 5475 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter 5850 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue() 5853 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
|
/external/icu/android_icu4j/src/main/java/android/icu/lang/ |
D | UCharacter.java | 4773 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter 4774 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 4793 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter 4794 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 4838 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter 4856 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter 5222 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue() 5225 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
|
/external/icu/icu4c/source/samples/ustring/ |
D | ustring.cpp | 406 printUnicodeString("full-case-folded/default: ", (t=s).foldCase(U_FOLD_CASE_DEFAULT)); in demoCaseMapInCPlusPlus() 408 printUnicodeString("full-case-folded/Turkic: ", (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I)); in demoCaseMapInCPlusPlus()
|
/external/icu/icu4c/source/test/intltest/ |
D | tstnorm.cpp | 887 r1.foldCase(options); in ref_norm_compare() 888 r2.foldCase(options); in ref_norm_compare() 925 t1.foldCase(options); in ref_case_compare() 926 t2.foldCase(options); in ref_case_compare() 1287 s.foldCase(foldingOptions); in countFoldFCDExceptions()
|
D | strcase.cpp | 384 (t=s).foldCase(); in TestCaseConversion() 390 (t=s).foldCase(U_FOLD_CASE_EXCLUDE_SPECIAL_I); in TestCaseConversion() 444 result.foldCase(options); in TestCasingImpl() 686 cf.foldCase(); in TestFullCaseFoldingIterator()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | CaseIterator.java | 229 String mapped = UCharacter.foldCase(cp, defaultmapping);
|