Lines Matching defs:cp
1166 uprv_uca_getImplicitFromRaw(UChar32 cp) {
1168 if (cp < 0 || cp > UCOL_MAX_INPUT) {
1169 throw new IllegalArgumentException("Code point out of range " + Utility.hex(cp));
1172 int32_t last0 = cp - min4Boundary;
1174 int32_t last1 = cp / final3Count;
1175 last0 = cp % final3Count;
1185 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last2));
1205 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last3));
1213 uprv_uca_getImplicitPrimary(UChar32 cp) {
1214 //fprintf(stdout, "Incoming: %04x\n", cp);
1215 //if (DEBUG) System.out.println("Incoming: " + Utility.hex(cp));
1217 cp = swapCJK(cp);
1218 cp++;
1221 //if (DEBUG) System.out.println("CJK swapped: " + Utility.hex(cp));
1222 //fprintf(stdout, "CJK swapped: %04x\n", cp);
1224 return uprv_uca_getImplicitFromRaw(cp);
1501 static uint32_t getImplicit(UChar32 cp, collIterate *collationSource);
1502 static uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource);
2583 inline uint32_t getImplicit(UChar32 cp, collIterate *collationSource) {
2584 uint32_t r = uprv_uca_getImplicitPrimary(cp);
2757 UChar32 cp = ch;
3082 digVal = u_charDigitValue(cp); // if we have arrived here, we have
3234 return getImplicit(cp, source);
3237 return getImplicit(cp, source);
3333 cp = ((((uint32_t)ch)<<10UL)+(trail)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
3341 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3343 return getImplicit(cp, source);
3347 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3349 return getImplicit(cp, source);
3371 inline uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource) {
3372 uint32_t r = uprv_uca_getImplicitPrimary(cp);
4118 UChar32 cp = 0;
4134 cp = ((((uint32_t)prevChar)<<10UL)+(ch)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
4140 return getPrevImplicit(cp, source);
7467 sCE+=2; /* need to point to the first continuation CP */
7490 tCE+=2; /* need to point to the first continuation CP */