Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcollation.cpp33 Collation::incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incTwoBytePrimaryByOffset() argument
38 if(isCompressible) { in incTwoBytePrimaryByOffset()
52 Collation::incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incThreeBytePrimaryByOffset() argument
60 if(isCompressible) { in incThreeBytePrimaryByOffset()
74 Collation::decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decTwoBytePrimaryByOneStep() argument
81 if(isCompressible) { in decTwoBytePrimaryByOneStep()
96 Collation::decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decThreeBytePrimaryByOneStep() argument
108 if(isCompressible) { in decThreeBytePrimaryByOneStep()
128 UBool isCompressible = (lower32 & 0x80) != 0; in getThreeBytePrimaryForOffsetData() local
129 return Collation::incThreeBytePrimaryByOffset(p, isCompressible, offset); in getThreeBytePrimaryForOffsetData()
Dcollationrootelements.cpp89 CollationRootElements::getPrimaryBefore(uint32_t p, UBool isCompressible) const { in getPrimaryBefore()
112 return Collation::decTwoBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
114 return Collation::decThreeBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
173 CollationRootElements::getPrimaryAfter(uint32_t p, int32_t index, UBool isCompressible) const { in getPrimaryAfter()
180 return Collation::incTwoBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
182 return Collation::incThreeBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
Dcollation.h460 static uint32_t incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible,
466 static uint32_t incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible,
472 …static uint32_t decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t ste…
477 …static uint32_t decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t s…
Dcollationrootelements.h172 uint32_t getPrimaryBefore(uint32_t p, UBool isCompressible) const;
190 uint32_t getPrimaryAfter(uint32_t p, int32_t index, UBool isCompressible) const;
Dcollationkeys.cpp310 UBool isCompressible = compressibleBytes[p >> 24]; in writeSortKeyUpToQuaternary() local
315 if(!isCompressible || p1 != (prevReorderedPrimary >> 24)) { in writeSortKeyUpToQuaternary()
328 if(isCompressible) { in writeSortKeyUpToQuaternary()
Dcollationbuilder.cpp605 UBool isCompressible = baseData->isCompressiblePrimary(p); in getSpecialResetPosition() local
606 p = rootElements.getPrimaryAfter(p, pIndex, isCompressible); in getSpecialResetPosition()
1531 UBool isCompressible = baseData->isCompressiblePrimary(p); in makeTailoredCEs() local
1533 rootElements.getPrimaryAfter(p, pIndex, isCompressible); in makeTailoredCEs()
1534 primaries.initForPrimary(isCompressible); in makeTailoredCEs()
Dcollationdatabuilder.cpp380 UBool isCompressible = isCompressiblePrimary(primary); in setPrimaryRangeAndReturnNext() local
382 return Collation::incThreeBytePrimaryByOffset(primary, isCompressible, in setPrimaryRangeAndReturnNext()
389 primary = Collation::incThreeBytePrimaryByOffset(primary, isCompressible, step); in setPrimaryRangeAndReturnNext()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java463 public static long incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible,
469 if(isCompressible) {
485 public static long incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible,
494 if(isCompressible) {
510 static long decTwoBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
517 if(isCompressible) {
534 static long decThreeBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
546 if(isCompressible) {
568 boolean isCompressible = (lower32 & 0x80) != 0;
569 return Collation.incThreeBytePrimaryByOffset(p, isCompressible, offset);
DCollationRootElements.java220 long getPrimaryBefore(long p, boolean isCompressible) { in getPrimaryBefore() argument
243 return Collation.decTwoBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
245 return Collation.decThreeBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
323 long getPrimaryAfter(long p, int index, boolean isCompressible) { in getPrimaryAfter() argument
330 return Collation.incTwoBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
332 return Collation.incThreeBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
DCollationKeys.java423 boolean isCompressible = compressibleBytes[(int) p >>> 24]; in writeSortKeyUpToQuaternary()
428 if (!isCompressible || p1 != ((int) prevReorderedPrimary >>> 24)) { in writeSortKeyUpToQuaternary()
441 if(isCompressible) { in writeSortKeyUpToQuaternary()
DCollationBuilder.java399 boolean isCompressible = baseData.isCompressiblePrimary(p); in getSpecialResetPosition()
400 p = rootElements.getPrimaryAfter(p, pIndex, isCompressible); in getSpecialResetPosition()
1274 boolean isCompressible = baseData.isCompressiblePrimary(p);
1276 rootElements.getPrimaryAfter(p, pIndex, isCompressible);
1277 primaries.initForPrimary(isCompressible);
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java461 public static long incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible,
467 if(isCompressible) {
483 public static long incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible,
492 if(isCompressible) {
508 static long decTwoBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
515 if(isCompressible) {
532 static long decThreeBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
544 if(isCompressible) {
566 boolean isCompressible = (lower32 & 0x80) != 0;
567 return Collation.incThreeBytePrimaryByOffset(p, isCompressible, offset);
DCollationRootElements.java218 long getPrimaryBefore(long p, boolean isCompressible) { in getPrimaryBefore() argument
241 return Collation.decTwoBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
243 return Collation.decThreeBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
321 long getPrimaryAfter(long p, int index, boolean isCompressible) { in getPrimaryAfter() argument
328 return Collation.incTwoBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
330 return Collation.incThreeBytePrimaryByOffset(p, isCompressible, step); in getPrimaryAfter()
DCollationKeys.java413 boolean isCompressible = compressibleBytes[(int) p >>> 24]; in writeSortKeyUpToQuaternary()
418 if (!isCompressible || p1 != ((int) prevReorderedPrimary >>> 24)) { in writeSortKeyUpToQuaternary()
431 if(isCompressible) { in writeSortKeyUpToQuaternary()
DCollationBuilder.java395 boolean isCompressible = baseData.isCompressiblePrimary(p); in getSpecialResetPosition()
396 p = rootElements.getPrimaryAfter(p, pIndex, isCompressible); in getSpecialResetPosition()
1270 boolean isCompressible = baseData.isCompressiblePrimary(p);
1272 rootElements.getPrimaryAfter(p, pIndex, isCompressible);
1273 primaries.initForPrimary(isCompressible);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeCompressor.java441 else if( ! isCompressible(curUC) ) { in compress()
443 if(nextUC != INVALIDCHAR && isCompressible(nextUC)) { in compress()
632 if( ! isCompressible(curUC) in compress()
633 || (nextUC != INVALIDCHAR && ! isCompressible(nextUC))) { in compress()
933 private static boolean isCompressible(int c) in isCompressible() method in UnicodeCompressor
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeCompressor.java444 else if( ! isCompressible(curUC) ) { in compress()
446 if(nextUC != INVALIDCHAR && isCompressible(nextUC)) { in compress()
635 if( ! isCompressible(curUC) in compress()
636 || (nextUC != INVALIDCHAR && ! isCompressible(nextUC))) { in compress()
937 private static boolean isCompressible(int c) in isCompressible() method in UnicodeCompressor
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java787 boolean isCompressible = data.isCompressiblePrimary(pri); in next() argument
789 pri = Collation.incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
791 pri = Collation.incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java790 boolean isCompressible = data.isCompressiblePrimary(pri); in next() argument
792 pri = Collation.incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
794 pri = Collation.incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()
/external/icu/icu4c/source/test/intltest/
Dcollationtest.cpp710 UBool isCompressible = data.isCompressiblePrimary(pri); in next() local
712 pri = Collation::incTwoBytePrimaryByOffset(pri, isCompressible, step); in next()
714 pri = Collation::incThreeBytePrimaryByOffset(pri, isCompressible, step); in next()