tag | line | file | source code |
fmt | 11 | include/linux/kernel.h | int printk(const char * fmt, ...); |
fmt | 53 | include/time.h | size_t strftime(char * s, size_t smax, const char * fmt, const struct tm * tp); |
fmt | 67 | init/main.c | static int sprintf(char * str, const char *fmt, ...) |
fmt | 72 | init/main.c | va_start(args, fmt); |
fmt | 73 | init/main.c | i = vsprintf(str, fmt, args); |
fmt | 190 | init/main.c | static int printf(const char *fmt, ...) |
fmt | 195 | init/main.c | va_start(args, fmt); |
fmt | 196 | init/main.c | write(1,printbuf,i=vsprintf(printbuf, fmt, args)); |
fmt | 18 | kernel/printk.c | extern int vsprintf(char * buf, const char * fmt, va_list args); |
fmt | 82 | kernel/printk.c | int printk(const char *fmt, ...) |
fmt | 88 | kernel/printk.c | va_start(args, fmt); |
fmt | 89 | kernel/printk.c | i=vsprintf(buf,fmt,args); |
fmt | 93 | kernel/vsprintf.c | int vsprintf(char *buf, const char *fmt, va_list args) |
fmt | 108 | kernel/vsprintf.c | for (str=buf ; *fmt ; ++fmt) { |
fmt | 109 | kernel/vsprintf.c | if (*fmt != '%') { |
fmt | 110 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 117 | kernel/vsprintf.c | ++fmt; /* this also skips first '%' */ |
fmt | 118 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 128 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 129 | kernel/vsprintf.c | field_width = skip_atoi(&fmt); |
fmt | 130 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 141 | kernel/vsprintf.c | if (*fmt == '.') { |
fmt | 142 | kernel/vsprintf.c | ++fmt; |
fmt | 143 | kernel/vsprintf.c | if (is_digit(*fmt)) |
fmt | 144 | kernel/vsprintf.c | precision = skip_atoi(&fmt); |
fmt | 145 | kernel/vsprintf.c | else if (*fmt == '*') { |
fmt | 155 | kernel/vsprintf.c | if (*fmt == 'h' || *fmt == 'l' || *fmt == 'L') { |
fmt | 156 | kernel/vsprintf.c | qualifier = *fmt; |
fmt | 157 | kernel/vsprintf.c | ++fmt; |
fmt | 160 | kernel/vsprintf.c | switch (*fmt) { |
fmt | 223 | kernel/vsprintf.c | if (*fmt != '%') |
fmt | 225 | kernel/vsprintf.c | if (*fmt) |
fmt | 226 | kernel/vsprintf.c | *str++ = *fmt; |
fmt | 228 | kernel/vsprintf.c | --fmt; |