Lines Matching refs:ce32
35 enumTailoredRange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumTailoredRange() argument
36 if(ce32 == Collation::FALLBACK_CE32) { in enumTailoredRange()
40 return ts->handleCE32(start, end, ce32); in enumTailoredRange()
57 TailoredSet::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument
58 U_ASSERT(ce32 != Collation::FALLBACK_CE32); in handleCE32()
59 if(Collation::isSpecialCE32(ce32)) { in handleCE32()
60 ce32 = data->getIndirectCE32(ce32); in handleCE32()
61 if(ce32 == Collation::FALLBACK_CE32) { in handleCE32()
70 if(Collation::isSelfContainedCE32(ce32) && Collation::isSelfContainedCE32(baseCE32)) { in handleCE32()
72 if(ce32 != baseCE32) { in handleCE32()
76 compare(start, ce32, baseCE32); in handleCE32()
83 TailoredSet::compare(UChar32 c, uint32_t ce32, uint32_t baseCE32) { in compare() argument
84 if(Collation::isPrefixCE32(ce32)) { in compare()
85 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in compare()
86 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
100 if(Collation::isContractionCE32(ce32)) { in compare()
101 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in compare()
102 if((ce32 & Collation::CONTRACT_SINGLE_CP_NO_MATCH) != 0) { in compare()
103 ce32 = Collation::NO_CE32; in compare()
105 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
125 if(Collation::isSpecialCE32(ce32)) { in compare()
126 tag = Collation::tagFromCE32(ce32); in compare()
153 if(!Collation::isLongPrimaryCE32(ce32)) { in compare()
159 if(Collation::primaryFromLongPrimaryCE32(ce32) != p) { in compare()
171 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in compare()
172 int32_t length = Collation::lengthFromCE32(ce32); in compare()
188 const int64_t *ces = data->ces + Collation::indexFromCE32(ce32); in compare()
189 int32_t length = Collation::lengthFromCE32(ce32); in compare()
211 } else if(ce32 != baseCE32) { in compare()
317 TailoredSet::addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32) { in addPrefix() argument
319 ce32 = d->getFinalCE32(ce32); in addPrefix()
320 if(Collation::isContractionCE32(ce32)) { in addPrefix()
321 const UChar *p = d->contexts + Collation::indexFromCE32(ce32); in addPrefix()
360 enumCnERange(const void *context, UChar32 start, UChar32 end, uint32_t ce32) { in enumCnERange() argument
367 if(ce32 == Collation::FALLBACK_CE32) { in enumCnERange()
381 cne->handleCE32(cne->ranges.getRangeStart(i), cne->ranges.getRangeEnd(i), ce32); in enumCnERange()
385 cne->handleCE32(start, end, ce32); in enumCnERange()
417 uint32_t ce32 = d->getCE32(c); in forCodePoint() local
418 if(ce32 == Collation::FALLBACK_CE32) { in forCodePoint()
420 ce32 = d->getCE32(c); in forCodePoint()
423 handleCE32(c, c, ce32); in forCodePoint()
428 ContractionsAndExpansions::handleCE32(UChar32 start, UChar32 end, uint32_t ce32) { in handleCE32() argument
430 if((ce32 & 0xff) < Collation::SPECIAL_CE32_LOW_BYTE) { in handleCE32()
433 sink->handleCE(Collation::ceFromSimpleCE32(ce32)); in handleCE32()
437 switch(Collation::tagFromCE32(ce32)) { in handleCE32()
447 sink->handleCE(Collation::ceFromLongPrimaryCE32(ce32)); in handleCE32()
452 sink->handleCE(Collation::ceFromLongSecondaryCE32(ce32)); in handleCE32()
457 ces[0] = Collation::latinCE0FromCE32(ce32); in handleCE32()
458 ces[1] = Collation::latinCE1FromCE32(ce32); in handleCE32()
469 const uint32_t *ce32s = data->ce32s + Collation::indexFromCE32(ce32); in handleCE32()
470 int32_t length = Collation::lengthFromCE32(ce32); in handleCE32()
484 int32_t length = Collation::lengthFromCE32(ce32); in handleCE32()
485 sink->handleExpansion(data->ces + Collation::indexFromCE32(ce32), length); in handleCE32()
494 handlePrefixes(start, end, ce32); in handleCE32()
497 handleContractions(start, end, ce32); in handleCE32()
501 ce32 = data->ce32s[Collation::indexFromCE32(ce32)]; in handleCE32()
506 ce32 = data->ce32s[0]; in handleCE32()
542 UChar32 start, UChar32 end, uint32_t ce32) { in handlePrefixes() argument
543 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in handlePrefixes()
544 ce32 = CollationData::readCE32(p); // Default if no prefix match. in handlePrefixes()
545 handleCE32(start, end, ce32); in handlePrefixes()
561 UChar32 start, UChar32 end, uint32_t ce32) { in handleContractions() argument
562 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in handleContractions()
563 if((ce32 & Collation::CONTRACT_SINGLE_CP_NO_MATCH) != 0) { in handleContractions()
569 ce32 = CollationData::readCE32(p); // Default if no suffix match. in handleContractions()
570 U_ASSERT(!Collation::isContractionCE32(ce32)); in handleContractions()
571 handleCE32(start, end, ce32); in handleContractions()