Home | History | Annotate | Download | only in i18n

Lines Matching defs:ce32

29 CollationData::getIndirectCE32(uint32_t ce32) const {
30 U_ASSERT(Collation::isSpecialCE32(ce32));
31 int32_t tag = Collation::tagFromCE32(ce32);
33 // Fetch the non-numeric-collation CE32.
34 ce32 = ce32s[Collation::indexFromCE32(ce32)];
36 ce32 = Collation::UNASSIGNED_CE32;
38 // Fetch the normal ce32 for U+0000.
39 ce32 = ce32s[0];
41 return ce32;
45 CollationData::getFinalCE32(uint32_t ce32) const {
46 if(Collation::isSpecialCE32(ce32)) {
47 ce32 = getIndirectCE32(ce32);
49 return ce32;
57 uint32_t ce32 = getCE32(c);
58 if(ce32 == Collation::FALLBACK_CE32) {
60 ce32 = base->getCE32(c);
64 while(Collation::isSpecialCE32(ce32)) {
65 switch(Collation::tagFromCE32(ce32)) {
79 return Collation::ceFromLongPrimaryCE32(ce32);
81 return Collation::ceFromLongSecondaryCE32(ce32);
83 if(Collation::lengthFromCE32(ce32) == 1) {
84 ce32 = d->ce32s[Collation::indexFromCE32(ce32)];
91 if(Collation::lengthFromCE32(ce32) == 1) {
92 return d->ces[Collation::indexFromCE32(ce32)];
99 // Fetch the non-numeric-collation CE32 and continue.
100 ce32 = d->ce32s[Collation::indexFromCE32(ce32)];
104 // Fetch the normal ce32 for U+0000 and continue.
105 ce32 = d->ce32s[0];
108 return d->getCEFromOffsetCE32(c, ce32);
113 return Collation::ceFromSimpleCE32(ce32);