Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatinBuilder.java69 uniqueCEs = new UVector64(); in CollationFastLatinBuilder()
111 uniqueCEs.removeAllElements(); in forData()
187 uniqueCEs.removeAllElements(); in resetCEs()
391 int i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
393 uniqueCEs.insertElementAt(ce, ~i); in addUniqueCE()
399 int index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
405 miniCEs = new char[uniqueCEs.size()]; in encodeUniqueCEs()
409 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
415 for(int i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
416 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatinBuilder.java68 uniqueCEs = new UVector64(); in CollationFastLatinBuilder()
110 uniqueCEs.removeAllElements(); in forData()
186 uniqueCEs.removeAllElements(); in resetCEs()
390 int i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
392 uniqueCEs.insertElementAt(ce, ~i); in addUniqueCE()
398 int index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
404 miniCEs = new char[uniqueCEs.size()]; in encodeUniqueCEs()
408 assert(((int)uniqueCEs.elementAti(0) >>> 16) != 0); in encodeUniqueCEs()
414 for(int i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
415 long ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationfastlatinbuilder.cpp89 contractionCEs(errorCode), uniqueCEs(errorCode), in CollationFastLatinBuilder()
132 uniqueCEs.removeAllElements(); in forData()
197 uniqueCEs.removeAllElements(); in resetCEs()
413 int32_t i = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in addUniqueCE()
415 uniqueCEs.insertElementAt(ce, ~i, errorCode); in addUniqueCE()
422 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE()
431 miniCEs = (uint16_t *)uprv_malloc(uniqueCEs.size() * 2); in encodeUniqueCEs()
439 U_ASSERT(((uint32_t)uniqueCEs.elementAti(0) >> 16) != 0); in encodeUniqueCEs()
445 for(int32_t i = 0; i < uniqueCEs.size(); ++i) { in encodeUniqueCEs()
446 int64_t ce = uniqueCEs.elementAti(i); in encodeUniqueCEs()
[all …]
Dcollationfastlatinbuilder.h74 UVector64 uniqueCEs; variable