Searched refs:fmt_pos (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/perf/ |
H A D | builtin-list.c | 278 for (size_t fmt_pos = 0; fmt_pos < strlen(fmt); fmt_pos++) { in fix_escape_printf() local 279 switch (fmt[fmt_pos]) { in fix_escape_printf() 281 fmt_pos++; in fix_escape_printf() 282 switch (fmt[fmt_pos]) { in fix_escape_printf() 310 pr_err("Unexpected format character '%c'\n", fmt[fmt_pos]); in fix_escape_printf() 312 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_printf() 316 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_printf()
|
/openbmc/linux/lib/ |
H A D | test_scanf.c | 354 int i, pos = 0, fmt_pos = 0; \ 362 fmt_buffer, &fmt_pos, BUF_SIZE, \ 366 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, "%%%s", scan_fmt); \ 382 int i, val_len, pos = 0, fmt_pos = 0; \ 390 fmt_buffer, &fmt_pos, BUF_SIZE, field_sep);\ 394 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, \
|