Lines Matching refs:buf
54 static int __do_vsprintf(char *buf, const char *fmt, int buf_size, va_list args) in __do_vsprintf() argument
62 str = buf; in __do_vsprintf()
72 end = buf + buf_size; in __do_vsprintf()
310 *ip = str - buf; in __do_vsprintf()
354 return str - buf; in __do_vsprintf()
364 int vsprintf(char *buf, const char *fmt, va_list args) in vsprintf() argument
366 return __do_vsprintf(buf, fmt, -1, args); in vsprintf()
378 int vsnprintf(char *buf, const char *fmt, int buf_size, va_list args) in vsnprintf() argument
380 return __do_vsprintf(buf, fmt, buf_size, args); in vsnprintf()
600 char buf[4096]; // vsprintf()的缓冲区 in printk_color() local
601 int len = vsprintf(buf, fmt, args); in printk_color()
609 current = *(buf + i); in printk_color()
617 int sprintk(char *buf, const char *fmt, ...) in sprintk() argument
623 count = vsprintf(buf, fmt, args); in sprintk()