Lines Matching defs:ch
133 void (*paint_char)(unsigned int xx, unsigned int yy, unsigned char ch,
260 static void gc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch,
262 static void gc_putchar(char ch);
263 static void gc_putc_askcmd(unsigned char ch);
264 static void gc_putc_charsetcmd(int charset, unsigned char ch);
265 static void gc_putc_charsizecmd(unsigned char ch);
266 static void gc_putc_esc(unsigned char ch);
267 static void gc_putc_getpars(unsigned char ch);
268 static void gc_putc_gotpars(unsigned char ch);
269 static void gc_putc_normal(unsigned char ch);
270 static void gc_putc_square(unsigned char ch);
502 gc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch, int attrs)
509 gc_buffer_characters[index] = ch;
513 gc_ops.paint_char(xx, yy, ch, attrs, 0, 0);
517 gc_putchar(char ch)
519 if (!ch) {
525 gc_putc_normal(ch);
528 gc_putc_esc(ch);
531 gc_putc_square(ch);
534 gc_putc_getpars(ch);
537 gc_putc_gotpars(ch);
540 gc_putc_askcmd(ch);
543 gc_putc_charsizecmd(ch);
546 gc_putc_charsetcmd(0, ch);
549 gc_putc_charsetcmd(1, ch);
568 gc_putc_askcmd(unsigned char ch)
570 if (ch >= '0' && ch <= '9') {
571 gc_par[gc_numpars] = (10*gc_par[gc_numpars]) + (ch-'0');
578 gc_relative_origin = ch == 'h';
581 gc_wrap_mode = ch == 'h';
590 gc_putc_charsetcmd(int charset, unsigned char ch)
594 switch (ch) {
609 gc_putc_charsizecmd(unsigned char ch)
613 switch (ch) {
632 gc_putc_esc(unsigned char ch)
636 switch (ch) {
653 if (ch == 'E') gc_x = 0;
706 gc_putc_getpars(unsigned char ch)
708 if (ch == '?') {
712 if (ch == '[') {
717 if (ch == ';' && gc_numpars < MAXPARS - 1) {
720 if (ch >= '0' && ch <= '9') {
722 gc_par[gc_numpars] += ch - '0';
726 gc_putc_gotpars(ch);
731 gc_putc_gotpars(unsigned char ch)
735 if (ch < ' ') {
738 gc_putc_normal(ch);
743 switch (ch) {
865 gc_putc_normal(unsigned char ch)
867 switch (ch) {
913 if (ch >= ' ') {
924 gc_paint_char(gc_x, gc_y, (ch >= 0x60 && ch <= 0x7f) ? ch + gc_charset[gc_charset_select]
925 : ch, gc_attr);
938 gc_putc_square(unsigned char ch)
949 gc_putc_getpars(ch);
1019 /* ch */ gc_buffer_characters[index - jump],
1028 /* ch */ gc_buffer_characters[index - jump],
1063 /* ch */ ' ',
1072 /* ch */ ' ',
1128 /* ch */ gc_buffer_characters[index + jump],
1137 /* ch */ gc_buffer_characters[index + jump],
1172 /* ch */ ' ',
1181 /* ch */ ' ',
1357 vc_render_char(unsigned char ch, unsigned char *renderptr, short newdepth)
1368 theChar = iso_font + (ch * ISO_CHAR_HEIGHT);
1392 vc_paint_char_8(unsigned int xx, unsigned int yy, unsigned char ch, int attrs,
1400 theChar = (unsigned long*)(vc_rendered_font + (ch * vc_rendered_char_size));
1402 vc_render_char(ch, vc_rendered_char, 8);
1448 vc_paint_char_16(unsigned int xx, unsigned int yy, unsigned char ch, int attrs,
1457 theChar = (unsigned long*)(vc_rendered_font + (ch * vc_rendered_char_size));
1459 vc_render_char(ch, vc_rendered_char, 16);
1501 vc_paint_char_32(unsigned int xx, unsigned int yy, unsigned char ch, int attrs,
1510 theChar = (unsigned long*)(vc_rendered_font + (ch * vc_rendered_char_size));
1513 vc_render_char(ch, vc_rendered_char, 32);
1564 vc_paint_char(unsigned int xx, unsigned int yy, unsigned char ch, int attrs,
1572 vc_paint_char_8(xx, yy, ch, attrs, ch_previous, attrs_previous);
1575 vc_paint_char_16(xx, yy, ch, attrs, ch_previous,
1579 vc_paint_char_32(xx, yy, ch, attrs, ch_previous,