Lines Matching refs:nfdString
305 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()
1014 CollationBuilder::setCaseBits(const UnicodeString &nfdString, in setCaseBits() argument
1028 const UChar *s = nfdString.getBuffer(); in setCaseBits()
1029 UTF16CollationIterator baseCEs(baseData, FALSE, s, s, s + nfdString.length()); in setCaseBits()
1101 CollationBuilder::addWithClosure(const UnicodeString &nfdPrefix, const UnicodeString &nfdString, in addWithClosure() argument
1105 ce32 = addIfDifferent(nfdPrefix, nfdString, newCEs, newCEsLength, ce32, errorCode); in addWithClosure()
1106 ce32 = addOnlyClosure(nfdPrefix, nfdString, newCEs, newCEsLength, ce32, errorCode); in addWithClosure()
1107 addTailComposites(nfdPrefix, nfdString, errorCode); in addWithClosure()
1112 CollationBuilder::addOnlyClosure(const UnicodeString &nfdPrefix, const UnicodeString &nfdString, in addOnlyClosure() argument
1119 CanonicalIterator stringIter(nfdString, errorCode); in addOnlyClosure()
1125 if(ignoreString(str, errorCode) || str == nfdString) { continue; } in addOnlyClosure()
1131 CanonicalIterator stringIter(nfdString, errorCode); in addOnlyClosure()
1141 if(ignoreString(str, errorCode) || (samePrefix && str == nfdString)) { continue; } in addOnlyClosure()
1152 CollationBuilder::addTailComposites(const UnicodeString &nfdPrefix, const UnicodeString &nfdString, in addTailComposites() argument
1158 int32_t indexAfterLastStarter = nfdString.length(); in addTailComposites()
1161 lastStarter = nfdString.char32At(indexAfterLastStarter - 1); in addTailComposites()
1182 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, in addTailComposites()
1216 CollationBuilder::mergeCompositeIntoString(const UnicodeString &nfdString, in mergeCompositeIntoString() argument
1222 U_ASSERT(nfdString.char32At(indexAfterLastStarter - 1) == decomp.char32At(0)); in mergeCompositeIntoString()
1229 if(nfdString.compare(indexAfterLastStarter, 0x7fffffff, in mergeCompositeIntoString()
1238 newNFDString.setTo(nfdString, 0, indexAfterLastStarter); in mergeCompositeIntoString()
1239 newString.setTo(nfdString, 0, indexAfterLastStarter - lastStarterLength).append(composite); in mergeCompositeIntoString()
1255 if(sourceIndex >= nfdString.length()) { break; } in mergeCompositeIntoString()
1256 sourceChar = nfdString.char32At(sourceIndex); in mergeCompositeIntoString()
1292 newNFDString.append(nfdString, sourceIndex, 0x7fffffff); in mergeCompositeIntoString()
1293 newString.append(nfdString, sourceIndex, 0x7fffffff); in mergeCompositeIntoString()
1328 UnicodeString nfdString; in closeOverComposites() local
1332 nfd.getDecomposition(iter.getCodepoint(), nfdString); in closeOverComposites()
1333 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in closeOverComposites()