Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dcollation.cpp33 Collation::incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incTwoBytePrimaryByOffset() argument
39 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 4; in incTwoBytePrimaryByOffset()
43 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 2; in incTwoBytePrimaryByOffset()
48 return primary | ((basePrimary & 0xff000000) + (uint32_t)(offset << 24)); in incTwoBytePrimaryByOffset()
52 Collation::incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incThreeBytePrimaryByOffset() argument
55 offset += ((int32_t)(basePrimary >> 8) & 0xff) - 2; in incThreeBytePrimaryByOffset()
61 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 4; in incThreeBytePrimaryByOffset()
65 offset += ((int32_t)(basePrimary >> 16) & 0xff) - 2; in incThreeBytePrimaryByOffset()
70 return primary | ((basePrimary & 0xff000000) + (uint32_t)(offset << 24)); in incThreeBytePrimaryByOffset()
74 Collation::decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decTwoBytePrimaryByOneStep() argument
[all …]
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…
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollation.java463 public static long incTwoBytePrimaryByOffset(long basePrimary, boolean isCompressible,
470 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
474 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
479 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
485 public static long incThreeBytePrimaryByOffset(long basePrimary, boolean isCompressible,
489 offset += ((int)(basePrimary >> 8) & 0xff) - 2;
495 offset += ((int)(basePrimary >> 16) & 0xff) - 4;
499 offset += ((int)(basePrimary >> 16) & 0xff) - 2;
504 return primary | ((basePrimary & 0xff000000L) + ((long)offset << 24));
510 static long decTwoBytePrimaryByOneStep(long basePrimary, boolean isCompressible, int step) {
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/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 …]