Lines Matching refs:desc
131 file_fmtcheck(struct magic_set *ms, const char *desc, const char *def, in file_fmtcheck() argument
134 const char *ptr = fmtcheck(desc, def); in file_fmtcheck()
138 " with `%s'", file, line, desc, def); in file_fmtcheck()
260 if (*m->desc) { in match()
359 if (*m->desc) { in match()
376 && *m->desc) { in match()
396 if (*m->desc) in match()
510 const char *desc; in mprint() local
513 if (varexpand(ebuf, sizeof(ebuf), b, m->desc) == -1) in mprint()
514 desc = m->desc; in mprint()
516 desc = ebuf; in mprint()
521 switch (check_fmt(ms, desc)) { in mprint()
527 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
531 if (file_printf(ms, F(ms, desc, "%d"), in mprint()
543 switch (check_fmt(ms, desc)) { in mprint()
549 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
553 if (file_printf(ms, F(ms, desc, "%u"), in mprint()
566 switch (check_fmt(ms, desc)) { in mprint()
571 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
575 if (file_printf(ms, F(ms, desc, "%u"), (uint32_t) v) == -1) in mprint()
586 switch (check_fmt(ms, desc)) { in mprint()
592 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
596 if (file_printf(ms, F(ms, desc, "%" INT64_T_FORMAT "u"), in mprint()
609 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
637 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
650 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
660 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
669 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
678 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
687 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
697 switch (check_fmt(ms, desc)) { in mprint()
702 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
706 if (file_printf(ms, F(ms, desc, "%g"), vf) == -1) in mprint()
717 switch (check_fmt(ms, desc)) { in mprint()
722 if (file_printf(ms, F(ms, desc, "%s"), buf) == -1) in mprint()
726 if (file_printf(ms, F(ms, desc, "%g"), vd) == -1) in mprint()
739 rval = file_printf(ms, F(ms, desc, "%s"), in mprint()
755 if (file_printf(ms, "%s", m->desc) == -1) in mprint()
766 if (file_printf(ms, F(ms, desc, "%s"), in mprint()
1678 file_printf(ms, F(ms, m->desc, "%u"), offset) == -1) { in mget()
1716 if (file_printf(ms, "%s", m->desc) == -1) in mget()