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()
288 if (*m->desc) in match()
303 if (print && *m->desc) { in match()
401 if (*m->desc) in match()
411 if (print && *m->desc) { in match()
588 const char *desc; in mprint() local
591 if (varexpand(ms, ebuf, sizeof(ebuf), m->desc) == -1) in mprint()
592 desc = m->desc; in mprint()
594 desc = ebuf; in mprint()
598 switch (check_fmt(ms, desc)) { \ in mprint()
609 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) \ in mprint()
614 if (file_printf(ms, F(ms, desc, "%" format "u"), \ in mprint()
618 if (file_printf(ms, F(ms, desc, "%" format "d"), \ in mprint()
655 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
673 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
691 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
701 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()
739 switch (check_fmt(ms, desc)) { in mprint()
744 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
748 if (file_printf(ms, F(ms, desc, "%g"), vf) == -1) in mprint()
759 switch (check_fmt(ms, desc)) { in mprint()
764 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
768 if (file_printf(ms, F(ms, desc, "%g"), vd) == -1) in mprint()
788 rval = file_printf(ms, F(ms, desc, "%s"), in mprint()
804 if (file_printf(ms, "%s", m->desc) == -1) in mprint()
815 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
823 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
1844 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) in mget()
1900 if (file_printf(ms, "%s", m->desc) == -1) in mget()