tag | line | file | source code |
fmt | 7 | include/linux/kernel.h | int printk(const char * fmt, ...); |
fmt | 46 | include/time.h | size_t strftime(char * s, size_t smax, const char * fmt, const struct tm * tp); |
fmt | 68 | init/main.c | static int sprintf(char * str, const char *fmt, ...) |
fmt | 73 | init/main.c | va_start(args, fmt); |
fmt | 74 | init/main.c | i = vsprintf(str, fmt, args); |
fmt | 198 | init/main.c | static int printf(const char *fmt, ...) |
fmt | 203 | init/main.c | va_start(args, fmt); |
fmt | 204 | init/main.c | write(1,printbuf,i=vsprintf(printbuf, fmt, args)); |
fmt | 19 | kernel/printk.c | extern int vsprintf(char * buf, const char * fmt, va_list args); |
fmt | 83 | kernel/printk.c | int printk(const char *fmt, ...) |
fmt | 89 | kernel/printk.c | va_start(args, fmt); |
fmt | 90 | kernel/printk.c | i=vsprintf(buf,fmt,args); |
fmt | 92 | kernel/vsprintf.c | int vsprintf(char *buf, const char *fmt, va_list args) |
fmt | 107 | kernel/vsprintf.c | for (str=buf ; *fmt ; ++fmt) { |
fmt | 108 | kernel/vsprintf.c | if (*fmt != '%') { |
fmt | 109 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 116 | kernel/vsprintf.c | ++fmt; /* this also skips first '%' */ |
fmt | 117 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 127 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 128 | kernel/vsprintf.c | field_width = skip_atoi(&fmt); |
fmt | 129 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 140 | kernel/vsprintf.c | if (*fmt == '.') { |
fmt | 141 | kernel/vsprintf.c | ++fmt; |
fmt | 142 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 143 | kernel/vsprintf.c | precision = skip_atoi(&fmt); |
fmt | 144 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 154 | kernel/vsprintf.c | if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L') { |
fmt | 155 | kernel/vsprintf.c | qualifier = *fmt; |
fmt | 156 | kernel/vsprintf.c | ++fmt; |
fmt | 159 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 222 | kernel/vsprintf.c | if (*fmt != '%') |
fmt | 224 | kernel/vsprintf.c | if (*fmt) |
fmt | 225 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 227 | kernel/vsprintf.c | --fmt; |