Lines Matching refs:cp

1084 uprv_uca_getImplicitFromRaw(UChar32 cp) {
1086 if (cp < 0 || cp > UCOL_MAX_INPUT) {
1087 throw new IllegalArgumentException("Code point out of range " + Utility.hex(cp));
1090 int32_t last0 = cp - min4Boundary;
1092 int32_t last1 = cp / final3Count;
1093 last0 = cp % final3Count;
1103 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last2));
1123 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last3));
1131 uprv_uca_getImplicitPrimary(UChar32 cp) {
1132 //fprintf(stdout, "Incoming: %04x\n", cp);
1133 //if (DEBUG) System.out.println("Incoming: " + Utility.hex(cp));
1135 cp = swapCJK(cp);
1136 cp++;
1139 //if (DEBUG) System.out.println("CJK swapped: " + Utility.hex(cp));
1140 //fprintf(stdout, "CJK swapped: %04x\n", cp);
1142 return uprv_uca_getImplicitFromRaw(cp);
1419 static uint32_t getImplicit(UChar32 cp, collIterate *collationSource);
1420 static uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource);
2501 inline uint32_t getImplicit(UChar32 cp, collIterate *collationSource) {
2502 uint32_t r = uprv_uca_getImplicitPrimary(cp);
2675 UChar32 cp = ch;
3000 digVal = u_charDigitValue(cp); // if we have arrived here, we have
3152 return getImplicit(cp, source);
3155 return getImplicit(cp, source);
3251 cp = ((((uint32_t)ch)<<10UL)+(trail)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
3259 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3261 return getImplicit(cp, source);
3265 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3267 return getImplicit(cp, source);
3289 inline uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource) {
3290 uint32_t r = uprv_uca_getImplicitPrimary(cp);
4036 UChar32 cp = 0;
4052 cp = ((((uint32_t)prevChar)<<10UL)+(ch)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
4058 return getPrevImplicit(cp, source);