Home
last modified time | relevance | path

Searched refs:nfdString (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationBuilder.java116 String nfdString = nfd.normalize(str); in addReset() local
117 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset()
445 String nfdString = nfd.normalize(str); in addRelation() local
450 int nfdLength = nfdString.length(); in addRelation()
452 char c = nfdString.charAt(0); in addRelation()
459 c = nfdString.charAt(nfdLength - 1); in addRelation()
461 (Hangul.isJamoV(c) && Hangul.isJamoL(nfdString.charAt(nfdLength - 2)))) { in addRelation()
501 setCaseBits(nfdString); in addRelation()
513 if((!nfdPrefix.contentEquals(prefix) || !nfdString.contentEquals(str)) && in addRelation()
520 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32); in addRelation()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationBuilder.java120 String nfdString = nfd.normalize(str); in addReset() local
121 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset()
449 String nfdString = nfd.normalize(str); in addRelation() local
454 int nfdLength = nfdString.length(); in addRelation()
456 char c = nfdString.charAt(0); in addRelation()
463 c = nfdString.charAt(nfdLength - 1); in addRelation()
465 (Hangul.isJamoV(c) && Hangul.isJamoL(nfdString.charAt(nfdLength - 2)))) { in addRelation()
505 setCaseBits(nfdString); in addRelation()
517 if((!nfdPrefix.contentEquals(prefix) || !nfdString.contentEquals(str)) && in addRelation()
524 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32); in addRelation()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationbuilder.cpp305 UnicodeString nfdString = nfd.normalize(str, errorCode); in addReset() local
310 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset()
660 UnicodeString nfdString = nfd.normalize(str, errorCode); in addRelation() local
669 int32_t nfdLength = nfdString.length(); in addRelation()
671 UChar c = nfdString.charAt(0); in addRelation()
679 c = nfdString.charAt(nfdLength - 1); in addRelation()
681 (Hangul::isJamoV(c) && Hangul::isJamoL(nfdString.charAt(nfdLength - 2)))) { in addRelation()
728 setCaseBits(nfdString, parserErrorReason, errorCode); in addRelation()
747 if((prefix != nfdPrefix || str != nfdString) && in addRelation()
754 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32, errorCode); in addRelation()
[all …]
Dcollationbuilder.h113 void setCaseBits(const UnicodeString &nfdString,
129 uint32_t addWithClosure(const UnicodeString &nfdPrefix, const UnicodeString &nfdString,
132 uint32_t addOnlyClosure(const UnicodeString &nfdPrefix, const UnicodeString &nfdString,
135 void addTailComposites(const UnicodeString &nfdPrefix, const UnicodeString &nfdString,
137 UBool mergeCompositeIntoString(const UnicodeString &nfdString, int32_t indexAfterLastStarter,