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 | 898 int indexAfterLastStarter = nfdString.length(); 900 if(indexAfterLastStarter == 0) { return; } // no starter at all 901 lastStarter = Character.codePointBefore(nfdString, indexAfterLastStarter); 903 indexAfterLastStarter -= Character.charCount(lastStarter); 921 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, 954 private boolean mergeCompositeIntoString(CharSequence nfdString, int indexAfterLastStarter, 957 assert(Character.codePointBefore(nfdString, indexAfterLastStarter) == 965 if(equalSubSequences(nfdString, indexAfterLastStarter, decomp, lastStarterLength)) { 974 newNFDString.append(nfdString, 0, indexAfterLastStarter); 976 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | CollationBuilder.java | 902 int indexAfterLastStarter = nfdString.length(); 904 if(indexAfterLastStarter == 0) { return; } // no starter at all 905 lastStarter = Character.codePointBefore(nfdString, indexAfterLastStarter); 907 indexAfterLastStarter -= Character.charCount(lastStarter); 925 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, 958 private boolean mergeCompositeIntoString(CharSequence nfdString, int indexAfterLastStarter, 961 assert(Character.codePointBefore(nfdString, indexAfterLastStarter) == 969 if(equalSubSequences(nfdString, indexAfterLastStarter, decomp, lastStarterLength)) { 978 newNFDString.append(nfdString, 0, indexAfterLastStarter); 980 newString.append(nfdString, 0, indexAfterLastStarter - lastStarterLength) [all …]
|
/external/icu/icu4c/source/i18n/ |
D | collationbuilder.cpp | 1156 int32_t indexAfterLastStarter = nfdString.length(); in addTailComposites() local 1158 if(indexAfterLastStarter == 0) { return; } // no starter at all in addTailComposites() 1159 lastStarter = nfdString.char32At(indexAfterLastStarter - 1); in addTailComposites() 1161 indexAfterLastStarter -= U16_LENGTH(lastStarter); in addTailComposites() 1180 if(!mergeCompositeIntoString(nfdString, indexAfterLastStarter, composite, decomp, in addTailComposites() 1215 int32_t indexAfterLastStarter, in mergeCompositeIntoString() argument 1220 U_ASSERT(nfdString.char32At(indexAfterLastStarter - 1) == decomp.char32At(0)); in mergeCompositeIntoString() 1227 if(nfdString.compare(indexAfterLastStarter, 0x7fffffff, in mergeCompositeIntoString() 1236 newNFDString.setTo(nfdString, 0, indexAfterLastStarter); in mergeCompositeIntoString() 1237 newString.setTo(nfdString, 0, indexAfterLastStarter - lastStarterLength).append(composite); in mergeCompositeIntoString() [all …]
|
D | collationbuilder.h | 135 UBool mergeCompositeIntoString(const UnicodeString &nfdString, int32_t indexAfterLastStarter,
|