Searched refs:mimetype (Results 1 – 5 of 5) sorted by relevance
39 ml->mimetype == NULL ? "" : " (", in magic_dump_line()40 ml->mimetype == NULL ? "" : ml->mimetype, in magic_dump_line()41 ml->mimetype == NULL ? "" : ")", in magic_dump_line()
1035 char *mimetype, *cp; in magic_set_mimetype() local1037 mimetype = line + (sizeof "!:mime") - 1; in magic_set_mimetype()1038 while (isspace((u_char)*mimetype)) in magic_set_mimetype()1039 mimetype++; in magic_set_mimetype()1041 cp = strchr(mimetype, '#'); in magic_set_mimetype()1045 if (*mimetype != '\0') { in magic_set_mimetype()1046 cp = mimetype + strlen(mimetype) - 1; in magic_set_mimetype()1047 while (cp != mimetype && isspace((u_char)*cp)) in magic_set_mimetype()1051 cp = mimetype; in magic_set_mimetype()1057 if (*mimetype == '\0' || *cp != '\0') { in magic_set_mimetype()[all …]
141 const char *mimetype; member165 const char *mimetype; member
1356 if (ml->mimetype != NULL) in magic_test_line()1357 ms->mimetype = ml->mimetype; in magic_test_line()1406 if (ms.mimetype != NULL) in magic_test()1407 return (ms.mimetype); in magic_test()
613 # Specialised zip formats which start with a member named 'mimetype'615 # Check for have 8-byte name, 0-byte extra field, name "mimetype", and623 # (mimetype contains "application/vnd.kde.<SUBTYPE>")635 # (mimetype contains "application/vnd.sun.xml.<SUBTYPE>")655 # (mimetype contains "application/vnd.oasis.opendocument.<SUBTYPE>")705 # Catch other ZIP-with-mimetype formats707 # always "PK". The 2 regex rules here print the "mimetype" member's710 # (mimetype contains "application/<OTHER>")717 # (mimetype contents other than "application/*")718 >26 string \x8\0\0\0mimetype[all …]