Home | History | Annotate | Download | only in common

Lines Matching refs:cp

442 static uint8_t getCharCat(UChar32 cp) {
445 if (UTF_IS_UNICODE_NONCHAR(cp)) {
449 if ((cat = u_charType(cp)) == U_SURROGATE) {
450 cat = UTF_IS_LEAD(cp) ? U_LEAD_SURROGATE : U_TRAIL_SURROGATE;
456 static const char *getCharCatName(UChar32 cp) {
457 uint8_t cat = getCharCat(cp);
473 UChar32 cp;
481 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4)
485 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) {
486 uint8_t v = (uint8_t)(cp & 0xf);
1540 UChar32 cp = 0;
1587 cp = (cp << 4) + lower[i] - '0';
1589 cp = (cp << 4) + lower[i] - 'a' + 10;
1603 if (getCharCat(cp) == cIdx) {
1604 return cp;
1622 if((cp=findAlgName(algRange, nameChoice, upper))!=0xffff) {
1623 return cp;