Lines Matching refs:c
52 void putc(const char c);
66 extern void serial_putc(unsigned long com_port, unsigned char c);
106 putc(const char c) in putc() argument
111 serial_putc(com_port, c); in putc()
112 if ( c == '\n' ) in putc()
119 if ( c == '\n' ) { in putc()
125 } else if (c == '\r') { in putc()
127 } else if (c == '\b') { in putc()
132 vidmem [ ( x + cols * y ) * 2 ] = c; in putc()
151 char c; in puts() local
156 while ( ( c = *s++ ) != '\0' ) { in puts()
158 serial_putc(com_port, c); in puts()
159 if ( c == '\n' ) serial_putc(com_port, '\r'); in puts()
162 if ( c == '\n' ) { in puts()
168 } else if (c == '\b') { in puts()
173 vidmem [ ( x + cols * y ) * 2 ] = c; in puts()
301 #define is_digit(c) ((c >= '0') && (c <= '9')) argument
306 char c, sign, *cp = 0; in _vprintk() local
310 while ((c = *fmt0++)) in _vprintk()
312 if (c == '%') in _vprintk()
314 c = *fmt0++; in _vprintk()
316 if (c == '-') in _vprintk()
318 c = *fmt0++; in _vprintk()
321 if (c == '0') in _vprintk()
324 c = *fmt0++; in _vprintk()
329 while (is_digit(c)) in _vprintk()
331 left_prec = (left_prec * 10) + (c - '0'); in _vprintk()
332 c = *fmt0++; in _vprintk()
334 if (c == '.') in _vprintk()
336 c = *fmt0++; in _vprintk()
338 while (is_digit(c)) in _vprintk()
340 right_prec = (right_prec * 10) + (c - '0'); in _vprintk()
341 c = *fmt0++; in _vprintk()
348 switch (c) in _vprintk()
354 switch (c) in _vprintk()
378 c = va_arg(ap, long /*char*/); in _vprintk()
379 (*putc)(c); in _vprintk()
391 c = '0'; in _vprintk()
399 c = ' '; in _vprintk()
405 (*putc)(c); in _vprintk()
414 (*putc)(c = *cp++); in _vprintk()
415 if (c == '\n') in _vprintk()
424 (*putc)(c); in _vprintk()
429 (*putc)(c); in _vprintk()
430 if (c == '\n') in _vprintk()
465 int i, c; in _dump_buf_with_offset() local
496 c = p[i] & 0xFF; in _dump_buf_with_offset()
497 if ((c < 0x20) || (c >= 0x7F)) c = '.'; in _dump_buf_with_offset()
500 c = ' '; in _dump_buf_with_offset()
502 _printk("%c", c); in _dump_buf_with_offset()