Searched refs:code_mime (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dascmagic.c79 const char *code_mime = NULL; local
88 if (file_encoding(ms, buf, nbytes, &ubuf, &ulen, &code, &code_mime,
H A Dencoding.c68 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t *ulen, const char **code, const char **code_mime, const char **type) argument
77 *code_mime = "binary";
93 *code_mime = "us-ascii";
97 *code_mime = "utf-8";
102 *code_mime = "utf-8";
106 *code_mime = "utf-16le";
109 *code_mime = "utf-16be";
115 *code_mime = "iso-8859-1";
119 *code_mime = "unknown-8bit";
126 *code_mime
[all...]
H A Dfuncs.c173 const char *code_mime = "binary"; local
189 &code, &code_mime, &ftype);
295 if (file_printf(ms, "%s", code_mime) == -1)

Completed in 4 milliseconds