Lines Matching refs:desc
151 file_fmtcheck(struct magic_set *ms, const char *desc, const char *def, in file_fmtcheck() argument
156 if (strchr(desc, '%') == NULL) in file_fmtcheck()
157 return desc; in file_fmtcheck()
159 ptr = fmtcheck(desc, def); in file_fmtcheck()
163 " with `%s'", file, line, desc, def); in file_fmtcheck()
286 if (*m->desc) in match()
301 if (print && *m->desc) { in match()
399 if (*m->desc) in match()
409 if (print && *m->desc) { in match()
564 const char *desc; in mprint() local
567 if (varexpand(ms, ebuf, sizeof(ebuf), m->desc) == -1) in mprint()
568 desc = m->desc; in mprint()
570 desc = ebuf; in mprint()
575 switch (check_fmt(ms, desc)) { in mprint()
581 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
585 if (file_printf(ms, F(ms, desc, "%d"), in mprint()
597 switch (check_fmt(ms, desc)) { in mprint()
603 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
607 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
620 switch (check_fmt(ms, desc)) { in mprint()
626 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
630 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
643 switch (check_fmt(ms, desc)) { in mprint()
649 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
653 if (file_printf(ms, F(ms, desc, "%" INT64_T_FORMAT "u"), in mprint()
666 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
694 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
712 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
722 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
731 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
740 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
749 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
760 switch (check_fmt(ms, desc)) { in mprint()
765 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
769 if (file_printf(ms, F(ms, desc, "%g"), vf) == -1) in mprint()
780 switch (check_fmt(ms, desc)) { in mprint()
785 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
789 if (file_printf(ms, F(ms, desc, "%g"), vd) == -1) in mprint()
803 rval = file_printf(ms, F(ms, desc, "%s"), in mprint()
819 if (file_printf(ms, "%s", m->desc) == -1) in mprint()
830 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
838 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
1839 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) { in mget()
1878 if (file_printf(ms, "%s", m->desc) == -1) in mget()