Home | History | Annotate | Download | only in i18n

Lines Matching defs:cp

1139 uprv_uca_getImplicitFromRaw(UChar32 cp) {
1141 if (cp < 0 || cp > UCOL_MAX_INPUT) {
1142 throw new IllegalArgumentException("Code point out of range " + Utility.hex(cp));
1145 int32_t last0 = cp - min4Boundary;
1147 int32_t last1 = cp / final3Count;
1148 last0 = cp % final3Count;
1158 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last2));
1178 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last3));
1186 uprv_uca_getImplicitPrimary(UChar32 cp) {
1187 //fprintf(stdout, "Incoming: %04x\n", cp);
1188 //if (DEBUG) System.out.println("Incoming: " + Utility.hex(cp));
1190 cp = swapCJK(cp);
1191 cp++;
1194 //if (DEBUG) System.out.println("CJK swapped: " + Utility.hex(cp));
1195 //fprintf(stdout, "CJK swapped: %04x\n", cp);
1197 return uprv_uca_getImplicitFromRaw(cp);
1477 static uint32_t getImplicit(UChar32 cp, collIterate *collationSource);
1478 static uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource);
2559 inline uint32_t getImplicit(UChar32 cp, collIterate *collationSource) {
2560 uint32_t r = uprv_uca_getImplicitPrimary(cp);
2733 UChar32 cp = ch;
3058 digVal = u_charDigitValue(cp); // if we have arrived here, we have
3210 return getImplicit(cp, source);
3213 return getImplicit(cp, source);
3309 cp = ((((uint32_t)ch)<<10UL)+(trail)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
3317 cp
3319 return getImplicit(cp, source);
3323 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3325 return getImplicit(cp, source);
3347 inline uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource) {
3348 uint32_t r = uprv_uca_getImplicitPrimary(cp);
4094 UChar32 cp = 0;
4110 cp = ((((uint32_t)prevChar)<<10UL)+(ch)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
4116 return getPrevImplicit(cp, source);
7363 sCE+=2; /* need to point to the first continuation CP */
7386 tCE+=2; /* need to point to the first continuation CP */