Fork me on GitHub
ch                395 drivers/char/console.c 	unsigned char ch;
ch                408 drivers/char/console.c 		ch = *buf++;
ch                409 drivers/char/console.c 		if(ch == NULL) {
ch                412 drivers/char/console.c 		} else if(ch == '\b') {
ch                417 drivers/char/console.c 		} else if(ch == '\a') {
ch                420 drivers/char/console.c 		} else if(ch == '\r') {
ch                423 drivers/char/console.c 		} else if(ch == '\n') {
ch                430 drivers/char/console.c 		} else if(ch == '\t') {
ch                451 drivers/char/console.c 			video.put_char(vc, ch);
ch                519 drivers/char/console.c 	unsigned char ch;
ch                534 drivers/char/console.c 	ch = numeric = 0;
ch                537 drivers/char/console.c 		ch = tty_queue_getchar(&tty->write_q);
ch                541 drivers/char/console.c 				if(IS_NUMERIC(ch)) {
ch                545 drivers/char/console.c 						vc->parmv2 += ch - '0';
ch                548 drivers/char/console.c 						vc->parmv1 += ch - '0';
ch                551 drivers/char/console.c 					vc->parms[vc->nparms] += ch - '0';
ch                554 drivers/char/console.c 				switch(ch) {
ch                769 drivers/char/console.c 				switch(ch) {
ch                821 drivers/char/console.c 		switch(ch) {
ch                830 drivers/char/console.c 				echo_char(vc, &ch, 1);
ch                834 drivers/char/console.c 	if(ch) {
ch                943 drivers/char/console.c 	unsigned char ch;
ch                952 drivers/char/console.c 				ch = cb->data[n];
ch                953 drivers/char/console.c 				if(ch == '\t') {
ch                957 drivers/char/console.c 					if(ISCNTRL(ch) && !ISSPACE(ch) && tty->termios.c_lflag & ECHOCTL) {
ch                395 drivers/char/keyboard.c static void putc(struct tty *tty, unsigned char ch)
ch                397 drivers/char/keyboard.c 	if(tty_queue_putchar(tty, &tty->read_q, ch) < 0) {
ch                406 drivers/char/keyboard.c 	char ch;
ch                408 drivers/char/keyboard.c 	while((ch = *(seq++))) {
ch                409 drivers/char/keyboard.c 		putc(tty, ch);
ch                208 drivers/char/serial.c 	unsigned char ch;
ch                216 drivers/char/serial.c 				ch = cb->data[n];
ch                217 drivers/char/serial.c 				if(ch == '\t') {
ch                221 drivers/char/serial.c 					if(ISCNTRL(ch) && !ISSPACE(ch) && tty->termios.c_lflag & ECHOCTL) {
ch                279 drivers/char/serial.c 	unsigned char ch;
ch                292 drivers/char/serial.c 		ch = tty_queue_getchar(&tty->write_q);
ch                293 drivers/char/serial.c 		outport_b(s->addr + UART_TD, ch);
ch                306 drivers/char/serial.c 	unsigned char ch;
ch                317 drivers/char/serial.c 		ch = inport_b(s->addr + UART_RD);
ch                318 drivers/char/serial.c 		tty_queue_putchar(tty, &tty->read_q, ch);
ch                 64 drivers/char/tty.c static int opost(struct tty *tty, unsigned char ch)
ch                 71 drivers/char/tty.c 		switch(ch) {
ch                 95 drivers/char/tty.c 					ch = TOUPPER(ch);
ch                 97 drivers/char/tty.c 				if(!ISCNTRL(ch)) {
ch                103 drivers/char/tty.c 	if(tty_queue_putchar(tty, &tty->write_q, ch) < 0) {
ch                109 drivers/char/tty.c static void out_char(struct tty *tty, unsigned char ch)
ch                111 drivers/char/tty.c 	if(ISCNTRL(ch) && !ISSPACE(ch) && (tty->termios.c_lflag & ECHOCTL)) {
ch                112 drivers/char/tty.c 		if(tty->lnext || (!tty->lnext && ch != tty->termios.c_cc[VEOF])) {
ch                114 drivers/char/tty.c 			tty_queue_putchar(tty, &tty->write_q, ch + 64);
ch                118 drivers/char/tty.c 		opost(tty, ch);
ch                124 drivers/char/tty.c 	unsigned char ch;
ch                127 drivers/char/tty.c 		if((ch = tty_queue_unputchar(&tty->cooked_q))) {
ch                132 drivers/char/tty.c 				if(ch == '\t') {
ch                135 drivers/char/tty.c 				if(ISCNTRL(ch) && !ISSPACE(ch) && tty->termios.c_lflag & ECHOCTL) {
ch                147 drivers/char/tty.c 			ch = LAST_CHAR(&tty->cooked_q);
ch                148 drivers/char/tty.c 			if((ch == ' ' || ch == '\t') && word_seen) {
ch                151 drivers/char/tty.c 			if(ch != ' ' && ch != '\t') {
ch                287 drivers/char/tty.c 	unsigned char ch;
ch                291 drivers/char/tty.c 		ch = tty_queue_getchar(&tty->read_q);
ch                294 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VINTR]) {
ch                304 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VQUIT]) {
ch                310 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VSUSP]) {
ch                319 drivers/char/tty.c 			ch = TOASCII(ch);
ch                322 drivers/char/tty.c 			if(ISUPPER(ch)) {
ch                323 drivers/char/tty.c 				ch = TOLOWER(ch);
ch                328 drivers/char/tty.c 			if(ch == '\r') {
ch                333 drivers/char/tty.c 					ch = '\n';
ch                336 drivers/char/tty.c 				if(ch == '\n') {
ch                338 drivers/char/tty.c 						ch = '\r';
ch                345 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VERASE] || ch == tty->termios.c_cc[VWERASE] || ch == tty->termios.c_cc[VKILL]) {
ch                346 drivers/char/tty.c 				erase_char(tty, ch);
ch                350 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VREPRINT]) {
ch                351 drivers/char/tty.c 				out_char(tty, ch);
ch                365 drivers/char/tty.c 			if(ch == tty->termios.c_cc[VLNEXT] && tty->termios.c_lflag & IEXTEN) {
ch                375 drivers/char/tty.c 				if(ch == tty->termios.c_cc[VSTART]) {
ch                379 drivers/char/tty.c 				if(ch == tty->termios.c_cc[VSTOP]) {
ch                391 drivers/char/tty.c 			if(ISCNTRL(ch) && !ISSPACE(ch) && (tty->termios.c_lflag & ECHOCTL)) {
ch                392 drivers/char/tty.c 				out_char(tty, ch);
ch                393 drivers/char/tty.c 				tty_queue_putchar(tty, &tty->cooked_q, ch);
ch                397 drivers/char/tty.c 			if(ch == '\n') {
ch                403 drivers/char/tty.c 			out_char(tty, ch);
ch                405 drivers/char/tty.c 			if((tty->termios.c_lflag & ECHONL) && (ch == '\n')) {
ch                406 drivers/char/tty.c 				out_char(tty, ch);
ch                409 drivers/char/tty.c 		tty_queue_putchar(tty, &tty->cooked_q, ch);
ch                494 drivers/char/tty.c 	unsigned char ch;
ch                518 drivers/char/tty.c 				if((ch = tty_queue_getchar(&tty->read_q))) {
ch                519 drivers/char/tty.c 					buffer[n++] = ch;
ch                530 drivers/char/tty.c 			if((ch = LAST_CHAR(&tty->cooked_q))) {
ch                531 drivers/char/tty.c 				if(ch == '\n' || ch == tty->termios.c_cc[VEOL] || ch == tty->termios.c_cc[VEOF] || (tty->termios.c_lflag & IEXTEN && ch == tty->termios.c_cc[VEOL2] && tty->termios.c_cc[VEOL2] != 0)) {
ch                535 drivers/char/tty.c 					if(ch == tty->termios.c_cc[VEOF]) {
ch                540 drivers/char/tty.c 						if((ch = tty_queue_getchar(&tty->cooked_q))) {
ch                541 drivers/char/tty.c 							buffer[n++] = ch;
ch                570 drivers/char/tty.c 						if((ch = tty_queue_getchar(&tty->cooked_q))) {
ch                571 drivers/char/tty.c 							buffer[n++] = ch;
ch                580 drivers/char/tty.c 							ch = tty_queue_getchar(&tty->cooked_q);
ch                581 drivers/char/tty.c 							buffer[n++] = ch;
ch                609 drivers/char/tty.c 							ch = tty_queue_getchar(&tty->cooked_q);
ch                610 drivers/char/tty.c 							buffer[n++] = ch;
ch                641 drivers/char/tty.c 	unsigned char ch;
ch                669 drivers/char/tty.c 			ch = *(buffer + n);
ch                671 drivers/char/tty.c 			if(opost(tty, ch) < 0) {
ch                146 drivers/char/tty_queue.c int tty_queue_putchar(struct tty *tty, struct clist *q, unsigned char ch)
ch                164 drivers/char/tty_queue.c 		cb->data[cb->end_off] = ch;
ch                169 drivers/char/tty_queue.c 		tty_queue_putchar(tty, q, ch);
ch                183 drivers/char/tty_queue.c 	unsigned char ch;
ch                187 drivers/char/tty_queue.c 	ch = 0;
ch                191 drivers/char/tty_queue.c 			ch = cb->data[cb->end_off - 1];
ch                201 drivers/char/tty_queue.c 	return ch;
ch                208 drivers/char/tty_queue.c 	unsigned char ch;
ch                212 drivers/char/tty_queue.c 	ch = 0;
ch                216 drivers/char/tty_queue.c 			ch = cb->data[cb->start_off];
ch                226 drivers/char/tty_queue.c 	return ch;
ch                 99 drivers/video/fbcon.c static void draw_glyph(unsigned char *addr, int x, int y, unsigned char *ch, int color)
ch                111 drivers/video/fbcon.c 		if(*(ch + n) == 0) {
ch                112 drivers/video/fbcon.c 			if(ch == cursor_shape) {
ch                125 drivers/video/fbcon.c 				if(*(ch + n) & (1 << b)) {
ch                141 drivers/video/fbcon.c 	unsigned char *vidmem, *ch;
ch                150 drivers/video/fbcon.c 		ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                152 drivers/video/fbcon.c 		ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                154 drivers/video/fbcon.c 	draw_glyph(vidmem, vc->cursor_x, vc->cursor_y, ch, sch >> 8);
ch                165 drivers/video/fbcon.c void fbcon_put_char(struct vconsole *vc, unsigned char ch)
ch                173 drivers/video/fbcon.c 		screen[(vc->y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                178 drivers/video/fbcon.c 	draw_glyph(vidmem, vc->x, vc->y, &font_data[ch * video.fb_char_height], vc->color_attr >> 8);
ch                179 drivers/video/fbcon.c 	screen[(vc->y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                180 drivers/video/fbcon.c 	vcbuf[(video.buf_y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                214 drivers/video/fbcon.c 	unsigned char *vidmem, *ch;
ch                226 drivers/video/fbcon.c 				ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                228 drivers/video/fbcon.c 				ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                230 drivers/video/fbcon.c 			draw_glyph(vidmem, n, vc->y, ch, vc->color_attr >> 8);
ch                284 drivers/video/fbcon.c 	unsigned char *vidmem, *ch;
ch                294 drivers/video/fbcon.c 	ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                307 drivers/video/fbcon.c 			draw_glyph(vidmem, n2, y + n, ch, color >> 8);
ch                337 drivers/video/fbcon.c 	unsigned char *vidmem, *ch;
ch                358 drivers/video/fbcon.c 							ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                360 drivers/video/fbcon.c 							ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                362 drivers/video/fbcon.c 						draw_glyph(vidmem, x, y - 1, ch, sch >> 8);
ch                391 drivers/video/fbcon.c 							ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                393 drivers/video/fbcon.c 							ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                395 drivers/video/fbcon.c 						draw_glyph(vidmem, x, y + 1, ch, sch >> 8);
ch                414 drivers/video/fbcon.c 	unsigned char *vidmem, *ch, c;
ch                429 drivers/video/fbcon.c 			ch = &font_data[c * video.fb_char_height];
ch                430 drivers/video/fbcon.c 			draw_glyph(vidmem, x, y, ch, sch >> 8);
ch                473 drivers/video/fbcon.c 	unsigned char *vidmem, *ch;
ch                496 drivers/video/fbcon.c 					ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                498 drivers/video/fbcon.c 					ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                500 drivers/video/fbcon.c 				draw_glyph(vidmem, x, y, ch, sch >> 8);
ch                527 drivers/video/fbcon.c 					ch = &font_data[(sch & 0xFF) * video.fb_char_height];
ch                529 drivers/video/fbcon.c 					ch = &font_data[SPACE_CHAR * video.fb_char_height];
ch                531 drivers/video/fbcon.c 				draw_glyph(vidmem, x, y, ch, sch >> 8);
ch                 37 drivers/video/vgacon.c void vgacon_put_char(struct vconsole *vc, unsigned char ch)
ch                 41 drivers/video/vgacon.c 	ch = iso8859[ch];
ch                 45 drivers/video/vgacon.c 		screen[(vc->y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                 50 drivers/video/vgacon.c 	vidmem[(vc->y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                 51 drivers/video/vgacon.c 	screen[(vc->y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                 52 drivers/video/vgacon.c 	vcbuf[(video.buf_y * vc->columns) + vc->x] = vc->color_attr | ch;
ch                 22 include/fiwix/ctype.h #define ISALPHA(ch)	((_ctype + 1)[ch] & (_U | _L))
ch                 23 include/fiwix/ctype.h #define ISUPPER(ch)	((_ctype + 1)[ch] & _U)
ch                 24 include/fiwix/ctype.h #define ISLOWER(ch)	((_ctype + 1)[ch] & _L)
ch                 25 include/fiwix/ctype.h #define ISDIGIT(ch)	((_ctype + 1)[ch] & _N)
ch                 26 include/fiwix/ctype.h #define ISALNUM(ch)	((_ctype + 1)[ch] & (_U | _L | _N))
ch                 27 include/fiwix/ctype.h #define ISSPACE(ch)	((_ctype + 1)[ch] & _S)
ch                 28 include/fiwix/ctype.h #define ISPUNCT(ch)	((_ctype + 1)[ch] & _P)
ch                 29 include/fiwix/ctype.h #define ISCNTRL(ch)	((_ctype + 1)[ch] & _C)
ch                 30 include/fiwix/ctype.h #define ISXDIGIT(ch)	((_ctype + 1)[ch] & (_N | _X))
ch                 32 include/fiwix/ctype.h #define ISASCII(ch)	((unsigned) ch <= 0x7F)
ch                 33 include/fiwix/ctype.h #define TOASCII(ch)	((unsigned) ch & 0x7F)
ch                 35 include/fiwix/ctype.h #define TOUPPER(ch)	((ch) & ~32)
ch                 36 include/fiwix/ctype.h #define TOLOWER(ch)	((ch) | 32)
ch                 21 include/fiwix/keyboard.h #define C(ch)		((ch) & 0x1F)
ch                 22 include/fiwix/keyboard.h #define A(ch)		((ch) | META_KEYS)
ch                 23 include/fiwix/keyboard.h #define L(ch)		((ch) | LETTER_KEYS)