Searched refs:fmt_pos (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/perf/ |
| H A D | builtin-list.c | 314 for (size_t fmt_pos = 0; fmt_pos < strlen(fmt); fmt_pos++) { in fix_escape_fprintf() local 315 switch (fmt[fmt_pos]) { in fix_escape_fprintf() 317 fmt_pos++; in fix_escape_fprintf() 318 switch (fmt[fmt_pos]) { in fix_escape_fprintf() 349 pr_err("Unexpected format character '%c'\n", fmt[fmt_pos]); in fix_escape_fprintf() 351 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf() 355 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
|
| /linux/lib/tests/ |
| H A D | scanf_kunit.c | 340 int i, pos = 0, fmt_pos = 0; \ 348 fmt_buffer, &fmt_pos, BUF_SIZE, \ 352 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, "%%%s", scan_fmt); \ 368 int i, val_len, pos = 0, fmt_pos = 0; \ 376 fmt_buffer, &fmt_pos, BUF_SIZE, field_sep);\ 380 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, \
|