Searched refs:indexAfterLastStarter (Results 1 – 4 of 4) sorted by relevance
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationBuilder.java | 901 int indexAfterLastStarter = nfdString.length(); 903 if(indexAfterLastStarter == 0) { return; } // no starter at all 904 lastStarter = Character.codePointBefore(nfdString, indexAfterLastStarter); 906 indexAfterLastStarter -= Character.charCount(lastStarter); 924 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, 957 private boolean mergeCompositeIntoString(CharSequence nfdString, int indexAfterLastStarter, 960 assert(Character.codePointBefore(nfdString, indexAfterLastStarter) == 968 if(equalSubSequences(nfdString, indexAfterLastStarter, decomp, lastStarterLength)) { 977 newNFDString.append(nfdString, 0, indexAfterLastStarter); 979 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 905 int indexAfterLastStarter = nfdString.length(); 907 if(indexAfterLastStarter == 0) { return; } // no starter at all 908 lastStarter = Character.codePointBefore(nfdString, indexAfterLastStarter); 910 indexAfterLastStarter -= Character.charCount(lastStarter); 928 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, 961 private boolean mergeCompositeIntoString(CharSequence nfdString, int indexAfterLastStarter, 964 assert(Character.codePointBefore(nfdString, indexAfterLastStarter) == 972 if(equalSubSequences(nfdString, indexAfterLastStarter, decomp, lastStarterLength)) { 981 newNFDString.append(nfdString, 0, indexAfterLastStarter); 983 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 1158 int32_t indexAfterLastStarter = nfdString.length(); in addTailComposites() local 1160 if(indexAfterLastStarter == 0) { return; } // no starter at all in addTailComposites() 1161 lastStarter = nfdString.char32At(indexAfterLastStarter - 1); in addTailComposites() 1163 indexAfterLastStarter -= U16_LENGTH(lastStarter); in addTailComposites() 1182 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, in addTailComposites() 1217 int32_t indexAfterLastStarter, 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() [all …]
|
D | collationbuilder.h | 137 UBool mergeCompositeIntoString(const UnicodeString &nfdString, int32_t indexAfterLastStarter,
|