Home | History | Annotate | Download | only in common

Lines Matching refs:cp

445 static uint8_t getCharCat(UChar32 cp) {
448 if (UTF_IS_UNICODE_NONCHAR(cp)) {
452 if ((cat = u_charType(cp)) == U_SURROGATE) {
453 cat = UTF_IS_LEAD(cp) ? U_LEAD_SURROGATE : U_TRAIL_SURROGATE;
459 static const char *getCharCatName(UChar32 cp) {
460 uint8_t cat = getCharCat(cp);
476 UChar32 cp;
484 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4)
488 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) {
489 uint8_t v = (uint8_t)(cp & 0xf);
1548 UChar32 cp = 0;
1595 cp = (cp << 4) + lower[i] - '0';
1597 cp = (cp << 4) + lower[i] - 'a' + 10;
1611 if (getCharCat(cp) == cIdx) {
1612 return cp;
1630 if((cp=findAlgName(algRange, nameChoice, upper))!=0xffff) {
1631 return cp;