Lines Matching refs:p2
203 CollationBaseDataBuilder::diffTwoBytePrimaries(uint32_t p1, uint32_t p2, UBool isCompressible) {
204 if((p1 & 0xff000000) == (p2 & 0xff000000)) {
206 return (int32_t)(p2 - p1) >> 16;
214 linear2 = (int32_t)((p2 >> 16) & 0xff) - 4;
219 linear2 = (int32_t)((p2 >> 16) & 0xff) - 2;
223 linear2 += factor * (int32_t)((p2 >> 24) & 0xff);
229 CollationBaseDataBuilder::diffThreeBytePrimaries(uint32_t p1, uint32_t p2, UBool isCompressible) {
230 if((p1 & 0xffff0000) == (p2 & 0xffff0000)) {
232 return (int32_t)(p2 - p1) >> 8;
236 int32_t linear2 = (int32_t)((p2 >> 8) & 0xff) - 2;
241 linear2 += 254 * ((int32_t)((p2 >> 16) & 0xff) - 4);
246 linear2 += 254 * ((int32_t)((p2 >> 16) & 0xff) - 2);
250 linear2 += factor * (int32_t)((p2 >> 24) & 0xff);