Lines Matching refs:ch
306 int ch, total, trail; in gdTcl_UtfToUniChar() local
312 ch = byte & (0x3F >> trail); in gdTcl_UtfToUniChar()
319 ch <<= 6; in gdTcl_UtfToUniChar()
320 ch |= (*str & 0x3F); in gdTcl_UtfToUniChar()
323 *chPtr = ch; in gdTcl_UtfToUniChar()
787 int len, i = 0, ch; local
927 ch = *next;
930 if (ch == '\r') {
940 if (ch == '\n') {
966 len = gdTcl_UtfToUniChar (next, &ch);
967 ch |= 0xf000;
977 len = gdTcl_UtfToUniChar(next, &ch);
990 ch = (jiscode >> 8) & 0xFF;
993 if (ch & 1) {
1002 ch = (ch - 0x21) / 2 + 0x81;
1003 if (ch >= 0xA0) {
1004 ch += 0x40;
1007 ch = (ch << 8) + jiscode;
1009 ch = c & 0xFF; /* don't extend sign */
1020 ch = (*next) & 0xFF; /* don't extend sign */
1022 if (ch >= 161 /* first code of JIS-8 pair */
1025 ch = (ch * 256) + ((*next) & 255);
1035 glyph_index = FT_Get_Char_Index(face, ch);
1062 if (ch == ' ') { /* special case for trailing space */