Home | History | Annotate | Download | only in i18n

Lines Matching refs:ce32

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