Home
last modified time | relevance | path

Searched refs:unreversedPrefix (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DContractionsAndExpansions.java33 private StringBuilder unreversedPrefix = new StringBuilder(); field in ContractionsAndExpansions
149 if (unreversedPrefix.length() == 0) { in handleCE32()
164 if (unreversedPrefix.length() == 0) { in handleCE32()
176 if (unreversedPrefix.length() == 0) { in handleCE32()
213 if (unreversedPrefix.length() == 0) { in handleCE32()
253 assert (unreversedPrefix.length() != 0); in handleContractions()
264 if (unreversedPrefix.length() != 0) { in handleContractions()
273 if (unreversedPrefix.length() == 0 && suffix == null) { in addExpansions()
286 StringBuilder s = new StringBuilder(unreversedPrefix); in addStrings()
293 s.setLength(unreversedPrefix.length()); in addStrings()
[all …]
DTailoredSet.java45 private StringBuilder unreversedPrefix = new StringBuilder(); field in TailoredSet
358 tailored.add(new StringBuilder(unreversedPrefix.appendCodePoint(c))); in addPrefix()
371 tailored.add(new StringBuilder(unreversedPrefix).appendCodePoint(c).append(sfx)); in addSuffix()
375 if (unreversedPrefix.length() == 0 && suffix == null) { in add()
378 StringBuilder s = new StringBuilder(unreversedPrefix); in add()
389 unreversedPrefix.setLength(0); in setPrefix()
390 unreversedPrefix.append(pfx).reverse(); in setPrefix()
394 unreversedPrefix.setLength(0); in resetPrefix()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DContractionsAndExpansions.java37 private StringBuilder unreversedPrefix = new StringBuilder(); field in ContractionsAndExpansions
156 if (unreversedPrefix.length() == 0) { in handleCE32()
171 if (unreversedPrefix.length() == 0) { in handleCE32()
183 if (unreversedPrefix.length() == 0) { in handleCE32()
220 if (unreversedPrefix.length() == 0) { in handleCE32()
260 assert (unreversedPrefix.length() != 0); in handleContractions()
271 if (unreversedPrefix.length() != 0) { in handleContractions()
280 if (unreversedPrefix.length() == 0 && suffix == null) { in addExpansions()
293 StringBuilder s = new StringBuilder(unreversedPrefix); in addStrings()
300 s.setLength(unreversedPrefix.length()); in addStrings()
[all …]
DTailoredSet.java47 private StringBuilder unreversedPrefix = new StringBuilder(); field in TailoredSet
360 tailored.add(new StringBuilder(unreversedPrefix.appendCodePoint(c))); in addPrefix()
373 tailored.add(new StringBuilder(unreversedPrefix).appendCodePoint(c).append(sfx)); in addSuffix()
377 if (unreversedPrefix.length() == 0 && suffix == null) { in add()
380 StringBuilder s = new StringBuilder(unreversedPrefix); in add()
391 unreversedPrefix.setLength(0); in setPrefix()
392 unreversedPrefix.append(pfx).reverse(); in setPrefix()
396 unreversedPrefix.setLength(0); in resetPrefix()
/external/icu/icu4c/source/i18n/
Dcollationsets.h72 unreversedPrefix = pfx; in setPrefix()
73 unreversedPrefix.reverse(); in setPrefix()
76 unreversedPrefix.remove(); in resetPrefix()
82 UnicodeString unreversedPrefix; variable
120 unreversedPrefix = pfx; in setPrefix()
121 unreversedPrefix.reverse(); in setPrefix()
124 unreversedPrefix.remove(); in resetPrefix()
135 UnicodeString unreversedPrefix; variable
Dcollationsets.cpp324 tailored->add(UnicodeString(unreversedPrefix).append(c)); in addPrefix()
338 tailored->add(UnicodeString(unreversedPrefix).append(c).append(sfx)); in addSuffix()
343 if(unreversedPrefix.isEmpty() && suffix == NULL) { in add()
346 UnicodeString s(unreversedPrefix); in add()
463 if(unreversedPrefix.isEmpty()) { in handleCE32()
478 if(unreversedPrefix.isEmpty()) { in handleCE32()
489 if(unreversedPrefix.isEmpty()) { in handleCE32()
526 if(unreversedPrefix.isEmpty()) { in handleCE32()
567 U_ASSERT(!unreversedPrefix.isEmpty()); in handleContractions()
577 if(!unreversedPrefix.isEmpty()) { in handleContractions()
[all …]