Home | History | Annotate | Download | only in common

Lines Matching defs:cp

444 static uint8_t getCharCat(UChar32 cp) {
447 if (U_IS_UNICODE_NONCHAR(cp)) {
451 if ((cat = u_charType(cp)) == U_SURROGATE) {
452 cat = U_IS_LEAD(cp) ? U_LEAD_SURROGATE : U_TRAIL_SURROGATE;
458 static const char *getCharCatName(UChar32 cp) {
459 uint8_t cat = getCharCat(cp);
475 UChar32 cp;
483 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4)
487 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) {
488 uint8_t v = (uint8_t)(cp & 0xf);
1546 UChar32 cp = 0;
1593 cpcp << 4) + lower[i] - '0';
1595 cp = (cp << 4) + lower[i] - 'a' + 10;
1609 if (getCharCat(cp) == cIdx) {
1610 return cp;
1628 if((cp=findAlgName(algRange, nameChoice, upper))!=0xffff) {
1629 return cp;