Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DFCDIterCollationIterator.java271 int fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
272 int leadCC = fcd16 >> 8; in nextSegment()
279 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
297 prevCC = fcd16 & 0xff; in nextSegment()
360 int fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
361 int trailCC = fcd16 & 0xff; in previousSegment()
369 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
371 while(fcd16 > 0xff) { in previousSegment()
374 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
375 if(fcd16 == 0) { in previousSegment()
[all …]
DFCDUTF16CollationIterator.java258 int fcd16 = nfcImpl.getFCD16(c);
259 int leadCC = fcd16 >> 8;
265 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
277 prevCC = fcd16 & 0xff;
334 int fcd16 = nfcImpl.getFCD16(c);
335 int trailCC = fcd16 & 0xff;
342 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
346 if(fcd16 <= 0xff || p == rawStart) { break; }
349 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
354 nextCC = fcd16 >> 8;
DCollationFCD.java113 static boolean isFCD16OfTibetanCompositeVowel(int fcd16) { in isFCD16OfTibetanCompositeVowel() argument
114 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
DCollationIterator.java786 int fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction() local
787 assert(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
795 int prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
796 fcd16 = d.getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
797 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
834 if(prevCC < (fcd16 >> 8) && (match = suffixes.nextForCodePoint(c)).hasValue()) { in nextCE32FromDiscontiguousContraction()
846 prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
850 fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction()
851 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
DCollationDataBuilder.java1085 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext() local
1086 if(fcd16 <= 0xff) { in buildContext()
1089 fcd16 = nfcImpl.getFCD16(suffix.codePointBefore(suffix.length())); in buildContext()
1090 if(fcd16 > 0xff) { in buildContext()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDIterCollationIterator.java269 int fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
270 int leadCC = fcd16 >> 8; in nextSegment()
277 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
295 prevCC = fcd16 & 0xff; in nextSegment()
358 int fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
359 int trailCC = fcd16 & 0xff; in previousSegment()
367 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
369 while(fcd16 > 0xff) { in previousSegment()
372 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
373 if(fcd16 == 0) { in previousSegment()
[all …]
DFCDUTF16CollationIterator.java256 int fcd16 = nfcImpl.getFCD16(c);
257 int leadCC = fcd16 >> 8;
263 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
275 prevCC = fcd16 & 0xff;
332 int fcd16 = nfcImpl.getFCD16(c);
333 int trailCC = fcd16 & 0xff;
340 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
344 if(fcd16 <= 0xff || p == rawStart) { break; }
347 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
352 nextCC = fcd16 >> 8;
DCollationFCD.java111 static boolean isFCD16OfTibetanCompositeVowel(int fcd16) { in isFCD16OfTibetanCompositeVowel() argument
112 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
DCollationIterator.java784 int fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction() local
785 assert(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
793 int prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
794 fcd16 = d.getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
795 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
832 if(prevCC < (fcd16 >> 8) && (match = suffixes.nextForCodePoint(c)).hasValue()) { in nextCE32FromDiscontiguousContraction()
844 prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
848 fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction()
849 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
DCollationDataBuilder.java1084 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext() local
1085 if(fcd16 <= 0xff) { in buildContext()
1088 fcd16 = nfcImpl.getFCD16(suffix.codePointBefore(suffix.length())); in buildContext()
1089 if(fcd16 > 0xff) { in buildContext()
/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.cpp1416 uint16_t fcd16 = nfcImpl.getFCD16(suffix.char32At(0)); in buildContext() local
1417 if(fcd16 <= 0xff) { in buildContext()
1420 fcd16 = nfcImpl.getFCD16(suffix.char32At(suffix.length() - 1)); in buildContext()
1421 if(fcd16 > 0xff) { in buildContext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java498 int fcd16=getFCD16(start); in enumLcccRange() local
499 if(fcd16>0xff) { set.add(start); } in enumLcccRange()
502 int fcd16=getFCD16(start); in enumLcccRange() local
503 if(fcd16>0xff) { set.add(start, end); } in enumLcccRange()
515 int fcd16=getFCD16(start); in enumNorm16PropertyStartsRange() local
516 if(fcd16!=prevFCD16) { in enumNorm16PropertyStartsRange()
518 prevFCD16=fcd16; in enumNorm16PropertyStartsRange()
743 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData() local
745 fcd16|=extraData.charAt(norm16-1)&0xff00; // lccc in getFCD16FromNormData()
747 return fcd16; in getFCD16FromNormData()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java502 int fcd16=getFCD16(start); in enumLcccRange() local
503 if(fcd16>0xff) { set.add(start); } in enumLcccRange()
506 int fcd16=getFCD16(start); in enumLcccRange() local
507 if(fcd16>0xff) { set.add(start, end); } in enumLcccRange()
519 int fcd16=getFCD16(start); in enumNorm16PropertyStartsRange() local
520 if(fcd16!=prevFCD16) { in enumNorm16PropertyStartsRange()
522 prevFCD16=fcd16; in enumNorm16PropertyStartsRange()
747 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData() local
749 fcd16|=extraData.charAt(norm16-1)&0xff00; // lccc in getFCD16FromNormData()
751 return fcd16; in getFCD16FromNormData()
[all …]
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp322 uint16_t fcd16=impl.getFCD16(start); in handleRange() local
323 if(fcd16>0xff) { set.add(start); } in handleRange()
326 uint16_t fcd16=impl.getFCD16(start); in handleRange() local
327 if(fcd16>0xff) { set.add(start, end); } in handleRange()
365 uint16_t fcd16=ctx->impl.getFCD16(start); in enumNorm16PropertyStartsRange() local
366 if(fcd16!=prevFCD16) { in enumNorm16PropertyStartsRange()
368 prevFCD16=fcd16; in enumNorm16PropertyStartsRange()
1649 uint16_t fcd16=0; in makeFCD() local
1674 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
1675 prevFCD16=fcd16; in makeFCD()
[all …]
Dnormalizer2impl.h476 uint16_t fcd16=getFCD16(c); in hasFCDBoundaryAfter() local
477 return fcd16<=1 || (fcd16&0xff)==0; in hasFCDBoundaryAfter()