Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/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.java268 int fcd16 = nfcImpl.getFCD16(c);
269 int leadCC = fcd16 >> 8;
275 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
287 prevCC = fcd16 & 0xff;
344 int fcd16 = nfcImpl.getFCD16(c);
345 int trailCC = fcd16 & 0xff;
352 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
356 if(fcd16 <= 0xff || p == rawStart) { break; }
359 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
364 nextCC = fcd16 >> 8;
DCollationFCD.java113 static boolean isFCD16OfTibetanCompositeVowel(int fcd16) { in isFCD16OfTibetanCompositeVowel() argument
114 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
DCollationIterator.java792 int fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction() local
793 assert(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
801 int prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
802 fcd16 = d.getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
803 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
840 if(prevCC < (fcd16 >> 8) && (match = suffixes.nextForCodePoint(c)).hasValue()) { in nextCE32FromDiscontiguousContraction()
852 prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
856 fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction()
857 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
DCollationDataBuilder.java1086 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext() local
1087 if(fcd16 <= 0xff) { in buildContext()
1090 fcd16 = nfcImpl.getFCD16(suffix.codePointBefore(suffix.length())); in buildContext()
1091 if(fcd16 > 0xff) { in buildContext()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DFCDIterCollationIterator.java273 int fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
274 int leadCC = fcd16 >> 8; in nextSegment()
281 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
299 prevCC = fcd16 & 0xff; in nextSegment()
362 int fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
363 int trailCC = fcd16 & 0xff; in previousSegment()
371 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
373 while(fcd16 > 0xff) { in previousSegment()
376 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
377 if(fcd16 == 0) { in previousSegment()
[all …]
DFCDUTF16CollationIterator.java270 int fcd16 = nfcImpl.getFCD16(c);
271 int leadCC = fcd16 >> 8;
277 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
289 prevCC = fcd16 & 0xff;
346 int fcd16 = nfcImpl.getFCD16(c);
347 int trailCC = fcd16 & 0xff;
354 CollationFCD.isFCD16OfTibetanCompositeVowel(fcd16))) {
358 if(fcd16 <= 0xff || p == rawStart) { break; }
361 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
366 nextCC = fcd16 >> 8;
DCollationFCD.java115 static boolean isFCD16OfTibetanCompositeVowel(int fcd16) { in isFCD16OfTibetanCompositeVowel() argument
116 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
DCollationIterator.java794 int fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction() local
795 assert(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
803 int prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
804 fcd16 = d.getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
805 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
842 if(prevCC < (fcd16 >> 8) && (match = suffixes.nextForCodePoint(c)).hasValue()) { in nextCE32FromDiscontiguousContraction()
854 prevCC = fcd16 & 0xff; in nextCE32FromDiscontiguousContraction()
858 fcd16 = d.getFCD16(c); in nextCE32FromDiscontiguousContraction()
859 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
DCollationDataBuilder.java1087 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext() local
1088 if(fcd16 <= 0xff) { in buildContext()
1091 fcd16 = nfcImpl.getFCD16(suffix.codePointBefore(suffix.length())); in buildContext()
1092 if(fcd16 > 0xff) { in buildContext()
/external/icu/icu4c/source/i18n/
Duitercollationiterator.cpp317 uint16_t fcd16 = nfcImpl.getFCD16(c); in nextSegment() local
318 uint8_t leadCC = (uint8_t)(fcd16 >> 8); in nextSegment()
325 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
343 prevCC = (uint8_t)fcd16; in nextSegment()
398 uint16_t fcd16 = nfcImpl.getFCD16(c); in previousSegment() local
399 uint8_t trailCC = (uint8_t)fcd16; in previousSegment()
407 CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
409 while(fcd16 > 0xff) { in previousSegment()
412 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
413 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.cpp383 uint16_t fcd16 = nfcImpl.nextFCD16(p, rawLimit); in nextSegment() local
384 uint8_t leadCC = (uint8_t)(fcd16 >> 8); in nextSegment()
390 … if(leadCC != 0 && (prevCC > leadCC || CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in nextSegment()
399 prevCC = (uint8_t)fcd16; in nextSegment()
447 uint16_t fcd16 = nfcImpl.previousFCD16(rawStart, p); in previousSegment() local
448 uint8_t trailCC = (uint8_t)fcd16; in previousSegment()
455 CollationFCD::isFCD16OfTibetanCompositeVowel(fcd16))) { in previousSegment()
459 } while(fcd16 > 0xff && p != rawStart && in previousSegment()
460 (fcd16 = nfcImpl.previousFCD16(rawStart, p)) != 0); in previousSegment()
465 nextCC = (uint8_t)(fcd16 >> 8); in previousSegment()
Dcollationfcd.h121 static inline UBool isFCD16OfTibetanCompositeVowel(uint16_t fcd16) { in isFCD16OfTibetanCompositeVowel() argument
122 return fcd16 == 0x8182 || fcd16 == 0x8184; in isFCD16OfTibetanCompositeVowel()
Dcollationiterator.cpp580 uint16_t fcd16 = d->getFCD16(c); in nextCE32FromDiscontiguousContraction() local
581 U_ASSERT(fcd16 > 0xff); // The caller checked this already, as a shortcut. in nextCE32FromDiscontiguousContraction()
589 uint8_t prevCC = (uint8_t)fcd16; in nextCE32FromDiscontiguousContraction()
590 fcd16 = d->getFCD16(nextCp); in nextCE32FromDiscontiguousContraction()
591 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
632 if(prevCC < (fcd16 >> 8) && USTRINGTRIE_HAS_VALUE(match = suffixes.nextForCodePoint(c))) { in nextCE32FromDiscontiguousContraction()
644 prevCC = (uint8_t)fcd16; in nextCE32FromDiscontiguousContraction()
648 fcd16 = d->getFCD16(c); in nextCE32FromDiscontiguousContraction()
649 if(fcd16 <= 0xff) { in nextCE32FromDiscontiguousContraction()
Dcollationdatabuilder.cpp1418 uint16_t fcd16 = nfcImpl.getFCD16(suffix.char32At(0)); in buildContext() local
1419 if(fcd16 <= 0xff) { in buildContext()
1422 fcd16 = nfcImpl.getFCD16(suffix.char32At(suffix.length() - 1)); in buildContext()
1423 if(fcd16 > 0xff) { in buildContext()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java532 int fcd16 = getFCD16(start); in addLcccChars() local
533 if (fcd16 > 0xff) { set.add(start, end); } in addLcccChars()
554 int fcd16 = getFCD16(start); in addPropertyStarts() local
555 if (fcd16 != prevFCD16) { in addPropertyStarts()
557 prevFCD16 = fcd16; in addPropertyStarts()
786 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData() local
788 fcd16|=extraData.charAt(mapping-1)&0xff00; // lccc in getFCD16FromNormData()
790 return fcd16; in getFCD16FromNormData()
1486 int fcd16=0; in makeFCD() local
1504 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java523 int fcd16 = getFCD16(start); in addLcccChars() local
524 if (fcd16 > 0xff) { set.add(start, end); } in addLcccChars()
545 int fcd16 = getFCD16(start); in addPropertyStarts() local
546 if (fcd16 != prevFCD16) { in addPropertyStarts()
548 prevFCD16 = fcd16; in addPropertyStarts()
777 int fcd16=firstUnit>>8; // tccc in getFCD16FromNormData() local
779 fcd16|=extraData.charAt(mapping-1)&0xff00; // lccc in getFCD16FromNormData()
781 return fcd16; in getFCD16FromNormData()
1477 int fcd16=0; in makeFCD() local
1495 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
[all …]
/external/icu/icu4c/source/common/
Dnormalizer2impl.cpp475 uint16_t fcd16 = getFCD16(start); in addLcccChars() local
476 if (fcd16 > 0xff) { set.add(start, end); } in addLcccChars()
496 uint16_t fcd16 = getFCD16(start); in addPropertyStarts() local
497 if (fcd16 != prevFCD16) { in addPropertyStarts()
499 prevFCD16 = fcd16; in addPropertyStarts()
2162 uint16_t fcd16=0; in makeFCD() local
2180 if((fcd16=getFCD16FromNormData(c))<=0xff) { in makeFCD()
2181 prevFCD16=fcd16; in makeFCD()
2231 if((prevFCD16&0xff)<=(fcd16>>8)) { in makeFCD()
2233 if((fcd16&0xff)<=1) { in makeFCD()
[all …]