Home
last modified time | relevance | path

Searched refs:basePrimary (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcollation.cpp31 Collation::incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incTwoBytePrimaryByOffset() argument
37 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 4; in incTwoBytePrimaryByOffset()
41 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 2; in incTwoBytePrimaryByOffset()
46 return primary | ((basePrimary & 0xff000000) + (uint32_t)(offset << 24)); in incTwoBytePrimaryByOffset()
50 Collation::incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incThreeBytePrimaryByOffset() argument
53 offset += ((int32_t)(basePrimary >> 8) & 0xff) - 2; in incThreeBytePrimaryByOffset()
59 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 4; in incThreeBytePrimaryByOffset()
63 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 2; in incThreeBytePrimaryByOffset()
68 return primary | ((basePrimary & 0xff000000) + (uint32_t)(offset << 24)); in incThreeBytePrimaryByOffset()
72 Collation::decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decTwoBytePrimaryByOneStep() argument
[all …]
Dcollation.h458 static uint32_t incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible,
464 static uint32_t incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible,
470 …static uint32_t decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t ste…
475 …static uint32_t decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t s…
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java461 public static long incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible,
468 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
472 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
477 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
483 public static long incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible,
487 offset += ((int)(basePrimary >> 8) & 0xff) - 2;
493 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
497 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
502 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
508 static long decTwoBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollation.java459 public static long incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible,
466 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
470 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
475 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
481 public static long incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible,
485 offset += ((int)(basePrimary >> 8) & 0xff) - 2;
491 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
495 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
500 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
506 static long decTwoBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
[all …]