Lines Matching refs:basePrimary

31 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
78 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - step; in decTwoBytePrimaryByOneStep()
82 basePrimary -= 0x1000000; in decTwoBytePrimaryByOneStep()
87 basePrimary -= 0x1000000; in decTwoBytePrimaryByOneStep()
90 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16); in decTwoBytePrimaryByOneStep()
94 Collation::decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decThreeBytePrimaryByOneStep() argument
98 int32_t byte3 = ((int32_t)(basePrimary >> 8) & 0xff) - step; in decThreeBytePrimaryByOneStep()
100 return (basePrimary & 0xffff0000) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()
105 int32_t byte2 = ((int32_t)(basePrimary >> 16) & 0xff) - 1; in decThreeBytePrimaryByOneStep()
109 basePrimary -= 0x1000000; in decThreeBytePrimaryByOneStep()
114 basePrimary -= 0x1000000; in decThreeBytePrimaryByOneStep()
118 return (basePrimary & 0xff000000) | ((uint32_t)byte2 << 16) | ((uint32_t)byte3 << 8); in decThreeBytePrimaryByOneStep()