Lines Matching refs:bf
13 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf() argument
29 r += scnprintf(bf, size, "%s", color); in __color_vsnprintf()
30 r += vscnprintf(bf + r, size - r, fmt, args); in __color_vsnprintf()
32 r += scnprintf(bf + r, size - r, "%s", PERF_COLOR_RESET); in __color_vsnprintf()
34 r += scnprintf(bf + r, size - r, "%s", trail); in __color_vsnprintf()
62 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf() argument
65 return __color_vsnprintf(bf, size, color, fmt, args, NULL); in color_vsnprintf()
73 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf() argument
80 r = color_vsnprintf(bf, size, color, fmt, args); in color_snprintf()
153 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf() argument
156 return color_snprintf(bf, size, color, fmt, value); in value_color_snprintf()
159 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf() argument
167 return value_color_snprintf(bf, size, fmt, percent); in percent_color_snprintf()
170 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf() argument
183 return color_snprintf(bf, size, color, fmt, len, percent); in percent_color_len_snprintf()