Lines Matching defs:text
29 * ASCII magic -- try to detect text encoding.
70 file_ascmagic(struct magic_set *ms, const struct buffer *b, int text)
85 * sized; this avoids losing the last character on UTF-16 LE text
90 /* If file doesn't look like any sort of text, give up. */
96 ubuf, ulen, code, type, text);
106 const char *type, int text)
141 /* Convert ubuf to UTF-8 and try text soft magic */
156 TEXTTEST, text)) == 0)
228 if (file_printf(ms, "text/plain") == -1)
234 switch (file_replace(ms, " text$", ", ")) {
236 switch (file_replace(ms, " text executable$",