Lines Matching refs:file_printf
1515 -protected int file_printf(struct magic_set *, const char *, ...)
1517 +protected int file_printf(struct magic_set *, const char *, ...);
1659 - file_printf(ms, "inode/symlink")
1668 - if (file_printf(ms, "broken symbolic link to %s", buf) == -1)
1776 - if (file_printf(ms, "cannot open `%s' (%s)",
1792 - } else if (file_printf(ms, "%sdirectory", COMMA) == -1)
1830 if (file_printf(ms, "%scharacter special (%d/%d/%d)",
1834 if (file_printf(ms, "%scharacter special", COMMA) == -1)
1857 - if (file_printf(ms, "%sblock special (%d/%d/%d)",
1862 - if (file_printf(ms, "%sblock special (%ld/%ld)",
1870 - if (file_printf(ms, "%sblock special", COMMA) == -1)
1896 - } else if (file_printf(ms,
1925 - } else if (file_printf(ms,
1954 - } else if (file_printf(ms, "%ssymbolic link to %s",
1974 - } else if (file_printf(ms, "%sempty", COMMA) == -1)
1980 + } else if (file_printf(ms, "%sempty", COMMA) == -1)
1993 - if (file_printf(ms, " ") == -1)
2060 file_printf(struct magic_set *ms, const char *fmt, ...)
2104 file_printf(ms, "line %" SIZE_T_FORMAT "u: ", lineno);
2108 - file_printf(ms, " (%s)", strerror(error));
2114 + file_printf(ms, "%s (%s)", (*buf ? buf : ""), strerror(error));
2116 + file_printf(ms, "%s", buf);
2177 if (file_printf(ms, "%s", code_mime) == -1)
2255 - if (file_printf(ms, "%s%s", rep,
3384 rval = file_printf(ms, F(ms, m, "%s"),
3396 + if (file_printf(ms, F(ms, m, "%s"), m->value.s) == -1)
3406 if (file_printf(ms, "%s", m->desc) == -1)
3487 file_printf(ms, F(ms, m, "%u"), offset) == -1) {
3492 if (file_printf(ms, "%s", rbuf) == -1) {