HomeSort by: relevance | last modified time | path
    Searched refs:mime (Results 1 - 15 of 15) sorted by relevancy

  /src/external/bsd/file/dist/src/
fsmagic.c 79 int mime = ms->flags & MAGIC_MIME; local
80 if ((mime & MAGIC_MIME_TYPE) &&
84 else if (!mime) {
97 handle_mime(struct magic_set *ms, int mime, const char *str)
99 if ((mime & MAGIC_MIME_TYPE)) {
102 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms,
106 if ((mime & MAGIC_MIME_ENCODING) && file_printf(ms, "binary") == -1)
115 int mime = ms->flags & MAGIC_MIME; local
179 if (!mime && !silent) {
199 if (mime) {
    [all...]
is_csv.c 146 int mime = ms->flags & MAGIC_MIME; local
157 if (mime == MAGIC_MIME_ENCODING)
160 if (mime) {
is_tar.c 78 int mime = ms->flags & MAGIC_MIME; local
87 if (mime == MAGIC_MIME_ENCODING)
90 if (file_printf(ms, "%s", mime ? "application/x-tar" :
is_simh.c 167 int mime = ms->flags & MAGIC_MIME; local
175 if (mime == MAGIC_MIME_ENCODING)
178 if (mime) {
readcdf.c 52 const char *mime; member in struct:nv
82 const char *mime; member in struct:cv
105 for (i = 0; cv[i].mime != NULL; i++) {
107 return cv[i].mime;
110 fprintf(stderr, "unknown mime %" PRIx64 ", %" PRIx64 "\n", clsid[0],
137 rv = nv[i].mime;
232 "(mime=%s)\n", vbuf, str);
447 const char *mime; member in struct:sinfo
556 si->mime) == -1)
is_json.c 433 int mime = ms->flags & MAGIC_MIME; local
445 if (mime == MAGIC_MIME_ENCODING)
447 if (mime) {
ascmagic.c 121 int mime = ms->flags & MAGIC_MIME; local
225 if (mime) {
226 if ((mime & MAGIC_MIME_TYPE) != 0) {
compress.c 274 int mime = ms->flags & MAGIC_MIME; local
276 if (!mime)
295 int mime = ms->flags & MAGIC_MIME; local
348 if (mime != MAGIC_MIME && mime != 0)
351 mime ? " compressed-encoding=" : " (")) == -1)
372 if (!mime && file_printf(ms, ")") == -1)
apprentice.c 167 DECLARE_FIELD(mime),
2467 m->mimetype[0] = '\0'; /* initialise MIME type to none */
2620 * parse a MIME annotation line from magic file, put into magic[index - 1]
2629 sizeof(me->mp[me->cont_count - 1].mimetype), "MIME", "+-/.$?:{};=",
3554 /* Compatibility with old code that looked in .mime */
3556 if (asprintf(&buf, "%.*s.mime%s", CAST(int, q - fn), fn, ext)
3568 /* Compatibility with old code that looked in .mime */
3569 if (strstr(fn, ".mime") != NULL)
  /src/external/bsd/file/dist/tests/
regex-eol.magic 5 !:mime application/ansible-vault
  /src/external/apache2/llvm/dist/clang/tools/scan-view/share/
Reporter.py 32 from email.mime.base import MIMEBase
33 from email.mime.multipart import MIMEMultipart
34 from email.mime.text import MIMEText
  /src/external/bsd/wpa/dist/src/utils/
browser.c 123 * unknown mime types. */
239 gchar *mime, WebKitWebPolicyDecision *policy,
242 wpa_printf(MSG_DEBUG, "BROWSER:%s mime=%s", __func__, mime);
244 if (!webkit_web_view_can_show_mime_type(view, mime)) {
348 g_signal_connect(G_OBJECT(view), "mime-type-policy-decision-requested",
  /src/external/apache2/llvm/dist/llvm/utils/Reviewing/
find_interesting_reviews.py 6 import email.mime.multipart
7 import email.mime.text
608 email_msg = email.mime.multipart.MIMEMultipart()
612 email_msg.attach(email.mime.text.MIMEText(msg.encode('utf-8'), 'plain'))
  /src/external/bsd/file/dist/magic/
Makefile.am 200 $(MAGIC_FRAGMENT_DIR)/mime \
  /src/share/terminfo/
terminfo 19142 #### Microterm (act, mime)
19144 # The mime1 entries refer to the Microterm Mime I or Mime II.
19145 # The default mime is assumed to be in enhanced act iv mode.
19162 # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
19169 mime-fb|full bright mime1,
19170 is2=^S\E, rmso=^S, smso=^Y, use=mime,
19171 mime-hb|half bright mime1,
19172 is2=^Y\E, rmso=^Y, smso=^S, use=mime,
19173 # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrod
    [all...]

Completed in 40 milliseconds