Home
last modified time | relevance | path

Searched refs:fcd16 (Results 1 – 10 of 10) sorted by relevance

/external/icu/icu4c/source/i18n/
Duitercollationiterator.cpp315 uint16_t fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
316 uint8_t leadCC = (uint8_t)(fcd16 >> 8); in nextSegment()
323 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
341 prevCC = (uint8_t)fcd16; in nextSegment()
396 uint16_t fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
397 uint8_t trailCC = (uint8_t)fcd16; in previousSegment()
405 CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
407 while(fcd16 > 0xff) { in previousSegment()
410 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
411 if(fcd16 == 0) { in previousSegment()
[all …]
Dutf8collationiterator.cpp398 uint16_t fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
399 uint8_t leadCC = (uint8_t)(fcd16 >> 8); in nextSegment()
406 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
424 prevCC = (uint8_t)fcd16; in nextSegment()
477 uint16_t fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
478 uint8_t trailCC = (uint8_t)fcd16; in previousSegment()
486 CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
488 while(fcd16 > 0xff && pos != 0) { in previousSegment()
491 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
492 if(fcd16 == 0) { in previousSegment()
[all …]
Dutf16collationiterator.cpp381 uint16_t fcd16 = nfcImpl.nextFCD16(p, rawLimit); in nextSegment() local
382 uint8_t leadCC = (uint8_t)(fcd16 >> 8); in nextSegment()
388 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
397 prevCC = (uint8_t)fcd16; in nextSegment()
445 uint16_t fcd16 = nfcImpl.previousFCD16(rawStart, p); in previousSegment() local
446 uint8_t trailCC = (uint8_t)fcd16; in previousSegment()
453 CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
457 } while(fcd16 > 0xff && p != rawStart && in previousSegment()
458 (fcd16 = nfcImpl.previousFCD16(rawStart, p)) != 0); in previousSegment()
463 nextCC = (uint8_t)(fcd16 >> 8); in previousSegment()
Dcollationfcd.h119 static inline UBool isFCD16OfTibetanCompositeVowel(uint16_t fcd16) { in isFCD16OfTibetanCompositeVowel() argument
120 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
Dcollationiterator.cpp578 uint16_t fcd16 = d->getFCD16(c); in nextCE32FromDiscontiguousContraction() local
579 U_ASSERT(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
587 uint8_t prevCC = (uint8_t)fcd16; in nextCE32FromDiscontiguousContraction()
588 fcd16 = d->getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
589 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
630 if(prevCC < (fcd16 >> 8) && USTRINGTRIE_HAS_VALUE(match = suffixes.nextForCodePoint(c))) { in nextCE32FromDiscontiguousContraction()
642 prevCC = (uint8_t)fcd16; in nextCE32FromDiscontiguousContraction()
646 fcd16 = d->getFCD16(c); in nextCE32FromDiscontiguousContraction()
647 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
Dcollationdatabuilder.cpp1411 uint16_t fcd16 = nfcImpl.getFCD16(suffix.char32At(0)); in buildContext() local
1412 if(fcd16 <= 0xff) { in buildContext()
1415 fcd16 = nfcImpl.getFCD16(suffix.char32At(suffix.length() - 1)); in buildContext()
1416 if(fcd16 > 0xff) { in buildContext()
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp371 uint16_t fcd16=impl.getFCD16(start); in handleRange() local
372 if(fcd16>0xff) { set.add(start); } in handleRange()
375 uint16_t fcd16=impl.getFCD16(start); in handleRange() local
376 if(fcd16>0xff) { set.add(start, end); } in handleRange()
414 uint16_t fcd16=ctx->impl.getFCD16(start); in enumNorm16PropertyStartsRange() local
415 if(fcd16!=prevFCD16) { in enumNorm16PropertyStartsRange()
417 prevFCD16=fcd16; in enumNorm16PropertyStartsRange()
1698 uint16_t fcd16=0; in makeFCD() local
1723 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
1724 prevFCD16=fcd16; in makeFCD()
[all …]
Dnormalizer2impl.h476 uint16_t fcd16=getFCD16(c); in hasFCDBoundaryAfter() local
477 return fcd16<=1 || (fcd16&0xff)==0; in hasFCDBoundaryAfter()
/external/chromium_org/third_party/icu/source/common/
Dnormalizer2impl.h458 uint16_t fcd16=getFCD16(c); in hasFCDBoundaryAfter() local
459 return fcd16<=1 || (fcd16&0xff)==0; in hasFCDBoundaryAfter()
Dnormalizer2impl.cpp1596 uint16_t fcd16=0; in makeFCD() local
1621 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
1622 prevFCD16=fcd16; in makeFCD()
1668 if((prevFCD16&0xff)<=(fcd16>>8)) { in makeFCD()
1670 if((fcd16&0xff)<=1) { in makeFCD()
1676 prevFCD16=fcd16; in makeFCD()