Lines Matching defs:ce
61 binarySearch(const UVector64 &list, int64_t ce) {
67 int32_t cmp = compareInt64AsUnsigned(ce, list.elementAti(i));
72 return ~start; // insert ce before i
77 return ~(start + 1); // insert ce after i
143 int64_t ce = Collation::makeCE(Collation::FIRST_UNASSIGNED_PRIMARY);
144 add(UnicodeString(), s, &ce, 1, errorCode);
147 ce = Collation::makeCE(Collation::FIRST_TRAILING_PRIMARY);
148 rootElements.addElement(ce, errorCode);
281 CollationBaseDataBuilder::addRootElement(int64_t ce, UErrorCode &errorCode) {
282 if(U_FAILURE(errorCode) || ce == 0) { return; }
284 ce &= INT64_C(0xffffffffffff3fff);
285 U_ASSERT((ce & 0xc0) == 0); // quaternary==0
288 uint32_t p = (uint32_t)(ce >> 32);
289 uint32_t secTer = (uint32_t)ce;
315 int32_t i = binarySearch(rootElements, ce);
317 rootElements.insertElementAt(ce, ~i, errorCode);
392 int64_t ce = rootElements.elementAti(i);
393 uint32_t p = (uint32_t)(ce >> 32);
394 uint32_t secTer = (uint32_t)ce & Collation::ONLY_SEC_TER_MASK;
459 ce = rootElements.elementAti(end);
460 p = (uint32_t)(ce >> 32);
461 secTer = (uint32_t)ce & Collation::ONLY_SEC_TER_MASK;
531 int64_t ce = rootElements.elementAti(i);
532 p = (uint32_t)(ce >> 32);
533 uint32_t secTer = (uint32_t)ce & Collation::ONLY_SEC_TER_MASK;