Lines Matching defs:ce32

233 CollationIterator::getCE32FromBuilderData(uint32_t /*ce32*/, UErrorCode &errorCode) {
239 CollationIterator::nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
242 appendCEsFromCE32(d, c, ce32, TRUE, errorCode);
251 CollationIterator::appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
253 while(Collation::isSpecialCE32(ce32)) {
254 switch(Collation::tagFromCE32(ce32)) {
260 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode);
263 ceBuffer.append(Collation::ceFromLongSecondaryCE32(ce32), errorCode);
267 ceBuffer.set(ceBuffer.length, Collation::latinCE0FromCE32(ce32));
268 ceBuffer.set(ceBuffer.length + 1, Collation::latinCE1FromCE32(ce32));
273 const uint32_t *ce32s = d->ce32s + Collation::indexFromCE32(ce32);
274 int32_t length = Collation::lengthFromCE32(ce32);
283 const int64_t *ces = d->ces + Collation::indexFromCE32(ce32);
284 int32_t length = Collation::lengthFromCE32(ce32);
293 ce32 = getCE32FromBuilderData(ce32, errorCode);
295 if(ce32 == Collation::FALLBACK_CE32) {
297 ce32 = d->getCE32(c);
302 ce32 = getCE32FromPrefix(d, ce32, errorCode);
306 const UChar *p = d->contexts + Collation::indexFromCE32(ce32);
311 ce32 = defaultCE32;
321 ce32 = defaultCE32;
323 } else if((ce32 & Collation::CONTRACT_NEXT_CCC) != 0 &&
328 ce32 = defaultCE32;
335 ce32 = defaultCE32;
337 } else if((ce32 & Collation::CONTRACT_NEXT_CCC) != 0 &&
342 ce32 = defaultCE32;
346 ce32 = nextCE32FromContraction(d, ce32, p + 2, defaultCE32, nextCp, errorCode);
347 if(ce32 == Collation::NO_CE32) {
356 appendNumericCEs(ce32, forward, errorCode);
360 ce32 = d->ce32s[Collation::indexFromCE32(ce32)];
370 // Fetch the normal ce32 for U+0000 and continue.
371 ce32 = d->ce32s[0];
381 if((ce32 & Collation::HANGUL_NO_SPECIAL_JAMO) != 0) {
395 // In particular, there should be no offset or implicit ce32.
403 ce32 = jamoCE32s[39 + t];
414 ce32 &= Collation::LEAD_TYPE_MASK;
415 if(ce32 == Collation::LEAD_ALL_UNASSIGNED) {
416 ce32 = Collation::UNASSIGNED_CE32; // unassigned-implicit
417 } else if(ce32 == Collation::LEAD_ALL_FALLBACK ||
418 (ce32 = d->getCE32FromSupplementary(c)) == Collation::FALLBACK_CE32) {
421 ce32 = d->getCE32FromSupplementary(c);
425 ce32 = Collation::UNASSIGNED_CE32;
431 ceBuffer.append(d->getCEFromOffsetCE32(c, ce32), errorCode);
436 ce32 = Collation::FFFD_CE32;
444 ceBuffer.append(Collation::ceFromSimpleCE32(ce32), errorCode);
448 CollationIterator::getCE32FromPrefix(const CollationData *d, uint32_t ce32,
450 const UChar *p = d->contexts + Collation::indexFromCE32(ce32);
451 ce32 = CollationData::readCE32(p); // Default if no prefix match.
462 ce32 = (uint32_t)prefixes.getValue();
467 return ce32;
491 const UChar *p, uint32_t ce32, UChar32 c,
509 ce32 = (uint32_t)suffixes.getValue();
511 return ce32;
537 d, suffixes, ce32, lookAhead, c, errorCode);
553 return ce32;
558 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32,
586 return ce32;
594 return ce32;
635 ce32 = (uint32_t)suffixes.getValue();
660 // Append CEs from the contraction ce32
664 appendCEsFromCE32(d, c, ce32, TRUE, errorCode);
669 ce32 = getDataCE32(c);
670 if(ce32 == Collation::FALLBACK_CE32) {
672 ce32 = d->getCE32(c);
681 ce32 = Collation::NO_CE32; // Signal to the caller that the result is in the ceBuffer.
683 return ce32;
687 CollationIterator::appendNumericCEs(uint32_t ce32, UBool forward, UErrorCode &errorCode) {
692 char digit = Collation::digitFromCE32(ce32);
697 ce32 = data->getCE32(c);
698 if(ce32 == Collation::FALLBACK_CE32) {
699 ce32 = data->base->getCE32(c);
701 if(!Collation::hasCE32Tag(ce32, Collation::DIGIT_TAG)) {
709 char digit = Collation::digitFromCE32(ce32);
713 ce32 = data->getCE32(c);
714 if(ce32 == Collation::FALLBACK_CE32) {
715 ce32 = data->base->getCE32(c);
717 if(!Collation::hasCE32Tag(ce32, Collation::DIGIT_TAG)) {
856 uint32_t ce32 = data->getCE32(c);
858 if(ce32 == Collation::FALLBACK_CE32) {
860 ce32 = d->getCE32(c);
864 if(Collation::isSimpleOrLongCE32(ce32)) {
865 return Collation::ceFromCE32(ce32);
867 appendCEsFromCE32(d, c, ce32, FALSE, errorCode);