Home | History | Annotate | Download | only in common

Lines Matching defs:cp

419 static uint8_t getCharCat(UChar32 cp) {
422 if (U_IS_UNICODE_NONCHAR(cp)) {
426 if ((cat = u_charType(cp)) == U_SURROGATE) {
427 cat = U_IS_LEAD(cp) ? U_LEAD_SURROGATE : U_TRAIL_SURROGATE;
433 static const char *getCharCatName(UChar32 cp) {
434 uint8_t cat = getCharCat(cp);
450 UChar32 cp;
458 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4)
462 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) {
463 uint8_t v = (uint8_t)(cp & 0xf);
1525 UChar32 cp = 0;
1573 cp = (cp << 4) + lower[i] - '0';
1575 cp = (cp << 4) + lower[i] - 'a' + 10;
1589 if (getCharCat(cp) == cIdx) {
1590 return cp;
1608 if((cp=findAlgName(algRange, nameChoice, upper))!=0xffff) {
1609 return cp;