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()
392 if (*m->desc) in match()
402 if (print && *m->desc) { in match()
557 const char *desc; in mprint() local
560 if (varexpand(ms, ebuf, sizeof(ebuf), m->desc) == -1) in mprint()
561 desc = m->desc; in mprint()
563 desc = ebuf; in mprint()
568 switch (check_fmt(ms, desc)) { in mprint()
574 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
578 if (file_printf(ms, F(ms, desc, "%d"), in mprint()
590 switch (check_fmt(ms, desc)) { in mprint()
596 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
600 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
613 switch (check_fmt(ms, desc)) { in mprint()
619 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
623 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
635 switch (check_fmt(ms, desc)) { in mprint()
641 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
645 if (file_printf(ms, F(ms, desc, "%" INT64_T_FORMAT "u"), in mprint()
658 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
686 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
700 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
710 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
719 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
728 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
737 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
747 switch (check_fmt(ms, desc)) { in mprint()
752 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
756 if (file_printf(ms, F(ms, desc, "%g"), vf) == -1) in mprint()
767 switch (check_fmt(ms, desc)) { in mprint()
772 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
776 if (file_printf(ms, F(ms, desc, "%g"), vd) == -1) in mprint()
790 rval = file_printf(ms, F(ms, desc, "%s"), in mprint()
806 if (file_printf(ms, "%s", m->desc) == -1) in mprint()
817 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
1774 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) { in mget()
1813 if (file_printf(ms, "%s", m->desc) == -1) in mget()