Lines Matching defs:type

89 	char*		mime;		/* file mime type		*/
93 char type; /* datum type */
156 char* mime; /* MIME type */ \
162 char sbuf[64]; /* type suffix string */ \
163 char tbuf[2 * PATH_MAX]; /* type string */ \
259 { "type", ID_YACC },
534 if (ep->type == ' ')
575 ep->type = 'D';
579 ep->type = 'N';
583 ep->type = 'D';
587 ep->type = toupper(ep->type);
590 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's')
593 ep->type = toupper(ep->type);
598 ep->type = 'N';
602 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's')
605 ep->type = toupper(ep->type);
610 ep->type = 'N';
615 ep->type = 'D';
626 ep->type = toupper(ep->type);
630 ep->type = 'N';
634 ep->type = 'N';
637 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's')
640 ep->type = toupper(ep->type);
645 ep->type = 'N';
649 switch (ep->type)
725 if ((ep->type == 'm' || ep->type == 'M') ? strmatch(p, ep->value.str) : !memcmp(p, ep->value.str, ep->mask))
758 if (ep->type == 'h')
767 else if (ep->type == 'l')
777 else if (ep->type == 'q')
965 else if (ep->type == 'd' || ep->type == 'D')
967 else if (ep->type == 'v')
1556 type(register Magic_t* mp, const char* file, struct stat* st, char* buf, char* end)
1723 ep->type = ' ';
1762 ep->type = ' ';
1908 * type
1919 ep->type = 'h';
1921 ep->type = 's';
1924 ep->type = 's';
1926 ep->type = *p;
2009 if (ep->type == 'e' || ep->type == 'm' || ep->type == 's')
2058 if (ep->type == 'e')
2078 else if (ep->type == 'm')
2086 else if (ep->type == 's')
2102 ep->type = 'V';
2406 s = type(mp, file, st, mp->tbuf, &mp->tbuf[sizeof(mp->tbuf)-1]);
2452 sfprintf(sp, "\t%s%c\t%c\t%lo\t", ep->swap == (char)~3 ? "L" : ep->swap == (char)~0 ? "B" : "", ep->type, ep->op, ep->mask);
2453 switch (ep->type)