Lines Matching refs:ansi_buf
250 static char ansi_buf[10]; variable
813 parse_putc(ansi_buf[i]); in cfb_video_putc()
814 ansi_buf[0] = 27; in cfb_video_putc()
839 ansi_buf[ansi_buf_size++] = c; in cfb_video_putc()
841 if (ansi_buf_size >= sizeof(ansi_buf)) in cfb_video_putc()
850 if (ansi_buf[i] == 27) in cfb_video_putc()
857 if (ansi_buf[i] == '[') in cfb_video_putc()
864 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
865 num1 = ansi_buf[i]-'0'; in cfb_video_putc()
867 } else if (ansi_buf[i] != '?') { in cfb_video_putc()
875 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
877 num1 += ansi_buf[i]-'0'; in cfb_video_putc()
885 if (ansi_buf[i] != ';') { in cfb_video_putc()
893 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
894 num2 = ansi_buf[i]-'0'; in cfb_video_putc()
901 if (ansi_buf[i] >= '0' && ansi_buf[i] <= '9') { in cfb_video_putc()
903 num2 += ansi_buf[i]-'0'; in cfb_video_putc()
911 if ((ansi_buf[i] >= 'A' && ansi_buf[i] <= 'H') in cfb_video_putc()
912 || ansi_buf[i] == 'J' in cfb_video_putc()
913 || ansi_buf[i] == 'K' in cfb_video_putc()
914 || ansi_buf[i] == 'h' in cfb_video_putc()
915 || ansi_buf[i] == 'l' in cfb_video_putc()
916 || ansi_buf[i] == 'm') { in cfb_video_putc()
917 cchar = ansi_buf[i]; in cfb_video_putc()
927 parse_putc(ansi_buf[i]); in cfb_video_putc()