/third_party/icu/icu4j/main/classes/core/src/com/ibm/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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | StringSegment.java | 26 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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|
/third_party/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()
|
/third_party/icu/icu4c/source/i18n/ |
D | string_segment.cpp | 112 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()
|
D | string_segment.h | 125 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase); 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/node/deps/icu-small/source/i18n/ |
D | string_segment.cpp | 112 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()
|
D | string_segment.h | 125 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase); 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | string_segment.cpp | 112 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()
|
D | string_segment.h | 125 int32_t getPrefixLengthInternal(const UnicodeString& other, bool foldCase); 127 static bool codePointsEqual(UChar32 cp1, UChar32 cp2, bool foldCase);
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 114 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], true) != in TestFolding() 119 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding() 126 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], false) != in TestFolding() 131 if (UCharacter.foldCase(FOLDING_SIMPLE_[i], in TestFolding() 142 if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], true))) { in TestFolding() 144 ", true)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], true)) + in TestFolding() 148 …if (!FOLDING_DEFAULT_[0].equals(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FOLD_CASE_DEFAUL… in TestFolding() 150 …", UCharacter.FOLD_CASE_DEFAULT)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], UCharacter.FO… in TestFolding() 155 UCharacter.foldCase(FOLDING_MIXED_[0], false))) { in TestFolding() 157 ", false)=" + prettify(UCharacter.foldCase(FOLDING_MIXED_[0], false)) in TestFolding() [all …]
|
/third_party/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()
|
/third_party/node/deps/icu-small/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 | 287 str.foldCase(); in closeOverCaseInsensitive() 347 (str = *pStr).foldCase(); in closeOverAddCaseMappings()
|
/third_party/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()
|
/third_party/skia/third_party/externals/icu/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()
|
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | CaseFoldTransliterator.java | 123 return UCharacter.foldCase(source, true); in addSourceTargetSet()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CaseFoldTransliterator.java | 124 return UCharacter.foldCase(source, true); in addSourceTargetSet()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/lang/ |
D | UCharacter.java | 4885 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter 4886 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 4905 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter 4906 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 4950 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter 4968 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter 5334 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue() 5337 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/ |
D | UCharacter.java | 5620 public static int foldCase(int ch, boolean defaultmapping) { in foldCase() method in UCharacter 5621 return foldCase(ch, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 5641 public static String foldCase(String str, boolean defaultmapping) { in foldCase() method in UCharacter 5642 return foldCase(str, defaultmapping ? FOLD_CASE_DEFAULT : FOLD_CASE_EXCLUDE_SPECIAL_I); in foldCase() 5690 public static int foldCase(int ch, int options) { in foldCase() method in UCharacter 5709 public static final String foldCase(String str, int options) { in foldCase() method in UCharacter 6121 case UProperty.CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue() 6124 case UProperty.SIMPLE_CASE_FOLDING: return toString(foldCase(codepoint, true)); in getStringPropertyValue()
|
/third_party/icu/icu4c/source/samples/ustring/ |
D | ustring.cpp | 409 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()
|
/third_party/skia/third_party/externals/icu/source/samples/ustring/ |
D | ustring.cpp | 409 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()
|