Lines Matching refs:cp
986 uprv_uca_getImplicitFromRaw(UChar32 cp) {
988 if (cp < 0 || cp > UCOL_MAX_INPUT) {
989 throw new IllegalArgumentException("Code point out of range " + Utility.hex(cp));
992 int32_t last0 = cp - min4Boundary;
994 int32_t last1 = cp / final3Count;
995 last0 = cp % final3Count;
1005 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last2));
1025 throw new IllegalArgumentException("4-byte out of range: " + Utility.hex(cp) + ", " + Utility.hex(last3));
1033 uprv_uca_getImplicitPrimary(UChar32 cp) {
1034 //if (DEBUG) System.out.println("Incoming: " + Utility.hex(cp));
1036 cp = swapCJK(cp);
1037 cp++;
1040 //if (DEBUG) System.out.println("CJK swapped: " + Utility.hex(cp));
1042 return uprv_uca_getImplicitFromRaw(cp);
1346 static uint32_t getImplicit(UChar32 cp, collIterate *collationSource);
1347 static uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource);
2486 inline UBool isNonChar(UChar32 cp) {
2487 return (UBool)((cp & 0xFFFE) == 0xFFFE || (0xFDD0 <= cp && cp <= 0xFDEF) || (0xD800 <= cp && cp <= 0xDFFF));
2492 inline uint32_t getImplicit(UChar32 cp, collIterate *collationSource) {
2493 if(isNonChar(cp)) {
2496 uint32_t r = uprv_uca_getImplicitPrimary(cp);
2726 UChar32 cp = ch;
3051 digVal = u_charDigitValue(cp); // if we have arrived here, we have
3203 return getImplicit(cp, source);
3206 return getImplicit(cp, source);
3296 cp = ((((uint32_t)ch)<<10UL)+(trail)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
3304 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3306 return getImplicit(cp, source);
3312 cp = U16_GET_SUPPLEMENTARY(ch, nextChar);
3314 return getImplicit(cp, source);
3337 inline uint32_t getPrevImplicit(UChar32 cp, collIterate *collationSource) {
3338 if(isNonChar(cp)) {
3342 uint32_t r = uprv_uca_getImplicitPrimary(cp);
4155 UChar32 cp = 0;
4171 cp = ((((uint32_t)prevChar)<<10UL)+(ch)-(((uint32_t)0xd800<<10UL)+0xdc00-0x10000));
4177 return getPrevImplicit(cp, source);
7870 sCE+=2; /* need to point to the first continuation CP */
7892 tCE+=2; /* need to point to the first continuation CP */