Lines Matching refs:ch
307 /* Checks if ch is a lower case letter.*/
315 /* Checks if ch is an upper case letter.*/
323 /* Checks if ch is a title case letter; usually upper case letters.*/
331 /* Checks if ch is a decimal digit. */
385 /* Checks if ch is a unicode character with assigned character type.*/
669 u_digit(UChar32 ch, int8_t radix) {
672 value=(int8_t)u_charDigitValue(ch);
674 /* ch is not a decimal digit, try latin letters */
675 if(ch>=0x61 && ch<=0x7A) {
676 value=(int8_t)(ch-0x57); /* ch - 'a' + 10 */
677 } else if(ch>=0x41 && ch<=0x5A) {
678 value=(int8_t)(ch-0x37); /* ch - 'A' + 10 */
679 } else if(ch>=0xFF41 && ch<=0xFF5A) {
680 value=(int8_t)(ch-0xFF37); /* fullwidth ASCII a-z */
681 } else if(ch>=0xFF21 && ch<=0xFF3A) {
682 value=(int8_t)(ch-0xFF17); /* fullwidth ASCII A-Z */