Lines Matching refs:ce32
33 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumTailoredRange() argument
34 if(ce32 == Collation::FALLBACK_CE32) { in enumTailoredRange()
38 return ts->handleCE32(start, end, ce32); in enumTailoredRange()
55 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument
56 U_ASSERT(ce32 != Collation::FALLBACK_CE32); in handleCE32()
57 if(Collation::isSpecialCE32(ce32)) { in handleCE32()
58 ce32 = data->getIndirectCE32(ce32); in handleCE32()
59 if(ce32 == Collation::FALLBACK_CE32) { in handleCE32()
68 if(Collation::isSelfContainedCE32(ce32) && Collation::isSelfContainedCE32(baseCE32)) { in handleCE32()
70 if(ce32 != baseCE32) { in handleCE32()
74 compare(start, ce32, baseCE32); in handleCE32()
81 TailoredSet::compare(UChar32 c, uint32_t ce32, uint32_t baseCE32) { in compare() argument
82 if(Collation::isPrefixCE32(ce32)) { in compare()
83 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in compare()
84 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
98 if(Collation::isContractionCE32(ce32)) { in compare()
99 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in compare()
100 if((ce32 & Collation::CONTRACT_SINGLE_CP_NO_MATCH) != 0) { in compare()
101 ce32 = Collation::NO_CE32; in compare()
103 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
123 if(Collation::isSpecialCE32(ce32)) { in compare()
124 tag = Collation::tagFromCE32(ce32); in compare()
151 if(!Collation::isLongPrimaryCE32(ce32)) { in compare()
157 if(Collation::primaryFromLongPrimaryCE32(ce32) != p) { in compare()
169 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in compare()
170 int32_t length = Collation::lengthFromCE32(ce32); in compare()
186 const int64_t *ces = data->ces + Collation::indexFromCE32(ce32); in compare()
187 int32_t length = Collation::lengthFromCE32(ce32); in compare()
209 } else if(ce32 != baseCE32) { in compare()
315 TailoredSet::addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32) { in addPrefix() argument
317 ce32 = d->getFinalCE32(ce32); in addPrefix()
318 if(Collation::isContractionCE32(ce32)) { in addPrefix()
319 const UChar *p = d->contexts + Collation::indexFromCE32(ce32); in addPrefix()
358 enumCnERange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumCnERange() argument
365 if(ce32 == Collation::FALLBACK_CE32) { in enumCnERange()
379 cne->handleCE32(cne->ranges.getRangeStart(i), cne->ranges.getRangeEnd(i), ce32); in enumCnERange()
383 cne->handleCE32(start, end, ce32); in enumCnERange()
415 uint32_t ce32 = d->getCE32(c); in forCodePoint() local
416 if(ce32 == Collation::FALLBACK_CE32) { in forCodePoint()
418 ce32 = d->getCE32(c); in forCodePoint()
421 handleCE32(c, c, ce32); in forCodePoint()
426 ContractionsAndExpansions::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument
428 if((ce32 & 0xff) < Collation::SPECIAL_CE32_LOW_BYTE) { in handleCE32()
431 sink->handleCE(Collation::ceFromSimpleCE32(ce32)); in handleCE32()
435 switch(Collation::tagFromCE32(ce32)) { in handleCE32()
445 sink->handleCE(Collation::ceFromLongPrimaryCE32(ce32)); in handleCE32()
450 sink->handleCE(Collation::ceFromLongSecondaryCE32(ce32)); in handleCE32()
455 ces[0] = Collation::latinCE0FromCE32(ce32); in handleCE32()
456 ces[1] = Collation::latinCE1FromCE32(ce32); in handleCE32()
467 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in handleCE32()
468 int32_t length = Collation::lengthFromCE32(ce32); in handleCE32()
482 int32_t length = Collation::lengthFromCE32(ce32); in handleCE32()
483 sink->handleExpansion(data->ces + Collation::indexFromCE32(ce32), length); in handleCE32()
492 handlePrefixes(start, end, ce32); in handleCE32()
495 handleContractions(start, end, ce32); in handleCE32()
499 ce32 = data->ce32s[Collation::indexFromCE32(ce32)]; in handleCE32()
504 ce32 = data->ce32s[0]; in handleCE32()
540 UChar32 start, UChar32 end, uint32_t ce32) { in handlePrefixes() argument
541 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in handlePrefixes()
542 ce32 = CollationData::readCE32(p); // Default if no prefix match. in handlePrefixes()
543 handleCE32(start, end, ce32); in handlePrefixes()
559 UChar32 start, UChar32 end, uint32_t ce32) { in handleContractions() argument
560 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in handleContractions()
561 if((ce32 & Collation::CONTRACT_SINGLE_CP_NO_MATCH) != 0) { in handleContractions()
567 ce32 = CollationData::readCE32(p); // Default if no suffix match. in handleContractions()
568 U_ASSERT(!Collation::isContractionCE32(ce32)); in handleContractions()
569 handleCE32(start, end, ce32); in handleContractions()