Home
last modified time | relevance | path

Searched refs:fmt_pos (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/tools/perf/
H A Dbuiltin-list.c307 for (size_t fmt_pos = 0; fmt_pos < strlen(fmt); fmt_pos++) { in fix_escape_fprintf() local
308 switch (fmt[fmt_pos]) { in fix_escape_fprintf()
310 fmt_pos++; in fix_escape_fprintf()
311 switch (fmt[fmt_pos]) { in fix_escape_fprintf()
342 pr_err("Unexpected format character '%c'\n", fmt[fmt_pos]); in fix_escape_fprintf()
344 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
348 strbuf_addch(buf, fmt[fmt_pos]); in fix_escape_fprintf()
/linux-6.15/lib/tests/
H A Dscanf_kunit.c340 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, \