/dports/finance/sql-ledger/sql-ledger/sql/ |
H A D | Mimetype.sql | 3 INSERT INTO mimetype (extension, contenttype) VALUES ('aif', 'audio/x-aiff'); 4 INSERT INTO mimetype (extension, contenttype) VALUES ('aifc', 'audio/x-aiff'); 5 INSERT INTO mimetype (extension, contenttype) VALUES ('aiff', 'audio/x-aiff'); 6 INSERT INTO mimetype (extension, contenttype) VALUES ('asf', 'video/x-ms-asf'); 7 INSERT INTO mimetype (extension, contenttype) VALUES ('asr', 'video/x-ms-asf'); 9 INSERT INTO mimetype (extension, contenttype) VALUES ('au', 'audio/basic'); 12 INSERT INTO mimetype (extension, contenttype) VALUES ('bas', 'text/plain'); 15 INSERT INTO mimetype (extension, contenttype) VALUES ('bmp', 'image/bmp'); 16 INSERT INTO mimetype (extension, contenttype) VALUES ('c', 'text/plain'); 29 INSERT INTO mimetype (extension, contenttype) VALUES ('css', 'text/css'); [all …]
|
H A D | Pg-upgrade-3.0.0-3.1.0.sql | 20 INSERT INTO mimetype (extension, contenttype) VALUES ('aif', 'audio/x-aiff'); 21 INSERT INTO mimetype (extension, contenttype) VALUES ('aifc', 'audio/x-aiff'); 22 INSERT INTO mimetype (extension, contenttype) VALUES ('aiff', 'audio/x-aiff'); 26 INSERT INTO mimetype (extension, contenttype) VALUES ('au', 'audio/basic'); 29 INSERT INTO mimetype (extension, contenttype) VALUES ('bas', 'text/plain'); 32 INSERT INTO mimetype (extension, contenttype) VALUES ('bmp', 'image/bmp'); 33 INSERT INTO mimetype (extension, contenttype) VALUES ('c', 'text/plain'); 46 INSERT INTO mimetype (extension, contenttype) VALUES ('css', 'text/css'); 62 INSERT INTO mimetype (extension, contenttype) VALUES ('gif', 'image/gif'); 65 INSERT INTO mimetype (extension, contenttype) VALUES ('h', 'text/plain'); [all …]
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/web/static/src/scss/ |
H A D | mimetypes.scss | 16 &[data-mimetype^='text'], &[data-mimetype$='rtf'] { 19 &[data-mimetype*='octet-stream'], &[data-mimetype*='download'], &[data-mimetype*='python'] { 25 …&[data-mimetype$='archive'], &[data-mimetype$='compressed'], &[data-mimetype*='zip'], &[data-mimet… 31 …&[data-mimetype^='text-master'], &[data-mimetype*='document'], &[data-mimetype*='msword'], &[data-… 34 &[data-mimetype*='application/xml'], &[data-mimetype$='html'] { 43 …mimetype$='csv'], &[data-mimetype*='vc'], &[data-mimetype*='excel'], &[data-mimetype$='numbers'], … 49 …&[data-mimetype*='presentation'], &[data-mimetype*='keynote'], &[data-mimetype*='teacher'], &[data… 52 …&[data-mimetype*='cert'], &[data-mimetype*='rules'], &[data-mimetype*='pkcs'], &[data-mimetype$='s… 61 …mimetype*='script'], &[data-mimetype*='x-sh'], &[data-ext*='bat'], &[data-mimetype$='bat'], &[data… 67 &[data-mimetype*='calendar'], &[data-mimetype$='ldif'] { [all …]
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/moodle/ |
H A D | moodle_files | 49 if (count($mimetype) > 0) { 74 echo $mimetype."_number.label $mimetype\n"; 75 echo $mimetype."_number.min 0\n"; 89 echo $mimetype."_size.label $mimetype\n"; 90 echo $mimetype."_size.min 0\n"; 108 echo $mimetype."_number.label $mimetype\n"; 109 echo $mimetype."_number.min 0\n"; 113 foreach ($data as $mimetype => $entry) { 126 echo $mimetype."_size.label $mimetype\n"; 127 echo $mimetype."_size.min 0\n"; [all …]
|
/dports/devel/fossology-nomos-standalone/fossology-3.11.0/src/spdx2/agent_tests/Functional/ |
H A D | fo_report.sql | 38 INSERT INTO mimetype VALUES (1, 'application/gzip'); 39 INSERT INTO mimetype VALUES (2, 'application/x-gzip'); 41 INSERT INTO mimetype VALUES (4, 'application/x-bzip'); 43 INSERT INTO mimetype VALUES (6, 'application/x-upx'); 44 INSERT INTO mimetype VALUES (7, 'application/pdf'); 45 INSERT INTO mimetype VALUES (8, 'application/x-pdf'); 46 INSERT INTO mimetype VALUES (9, 'application/x-zip'); 47 INSERT INTO mimetype VALUES (10, 'application/zip'); 48 INSERT INTO mimetype VALUES (11, 'application/x-tar'); 66 INSERT INTO mimetype VALUES (29, 'application/x-xz'); [all …]
|
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/Zend/Validate/File/ |
H A D | MimeType.php | 134 $mimetype = $mimetype->toArray(); 135 } elseif (is_string($mimetype)) { 136 $mimetype = explode(',', $mimetype); 137 } elseif (!is_array($mimetype)) { 151 $this->setMimeType($mimetype); 292 $mimetype = explode(',', $mimetype); 295 return $mimetype; 307 $this->addMimeType($mimetype); 322 if (is_string($mimetype)) { 323 $mimetype = explode(',', $mimetype); [all …]
|
H A D | IsCompressed.php | 55 * @param string|array|Zend_Config $mimetype 57 public function __construct($mimetype = array()) argument 59 if ($mimetype instanceof Zend_Config) { 60 $mimetype = $mimetype->toArray(); 100 if (is_array($mimetype)) { 101 $temp = $mimetype; 111 $mimetype += $default; 115 if (empty($mimetype)) { 116 $mimetype = $default; 119 parent::__construct($mimetype);
|
H A D | IsImage.php | 55 * @param string|array|Zend_Config $mimetype 57 public function __construct($mimetype = array()) argument 59 if ($mimetype instanceof Zend_Config) { 60 $mimetype = $mimetype->toArray(); 123 if (is_array($mimetype)) { 124 $temp = $mimetype; 134 $mimetype += $default; 138 if (empty($mimetype)) { 139 $mimetype = $default; 142 parent::__construct($mimetype);
|
/dports/www/limesurvey/limesurvey/application/helpers/Zend/Validate/File/ |
H A D | MimeType.php | 135 $mimetype = $mimetype->toArray(); 136 } elseif (is_string($mimetype)) { 137 $mimetype = explode(',', $mimetype); 138 } elseif (!is_array($mimetype)) { 153 $this->setMimeType($mimetype); 298 $mimetype = explode(',', $mimetype); 301 return $mimetype; 313 $this->addMimeType($mimetype); 328 if (is_string($mimetype)) { 329 $mimetype = explode(',', $mimetype); [all …]
|
H A D | IsCompressed.php | 56 * @param string|array|Zend_Config $mimetype 58 public function __construct($mimetype = array()) argument 60 if ($mimetype instanceof Zend_Config) { 61 $mimetype = $mimetype->toArray(); 101 if (is_array($mimetype)) { 102 $temp = $mimetype; 112 $mimetype += $default; 116 if (empty($mimetype)) { 117 $mimetype = $default; 120 parent::__construct($mimetype);
|
H A D | IsImage.php | 56 * @param string|array|Zend_Config $mimetype 58 public function __construct($mimetype = array()) argument 60 if ($mimetype instanceof Zend_Config) { 61 $mimetype = $mimetype->toArray(); 124 if (is_array($mimetype)) { 125 $temp = $mimetype; 135 $mimetype += $default; 139 if (empty($mimetype)) { 140 $mimetype = $default; 143 parent::__construct($mimetype);
|
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/shared/ |
H A D | FileTypeResolver.cpp | 70 QMimeType mimetype = db.mimeTypeForFile( fn ); in createFile() local 73 if( mimetype.inherits( QStringLiteral("audio/mpeg") ) in createFile() 75 || mimetype.inherits( QStringLiteral("audio/mpeg") )) in createFile() 79 else if( mimetype.inherits( QStringLiteral("audio/mp4") ) in createFile() 80 || mimetype.inherits( QStringLiteral("video/mp4") ) ) in createFile() 84 else if( mimetype.inherits( QStringLiteral("audio/x-ms-wma") ) in createFile() 100 else if( mimetype.inherits( QStringLiteral("audio/opus") ) in createFile() 106 else if( mimetype.inherits( QStringLiteral("audio/vorbis") ) in createFile() 127 else if( mimetype.inherits( QStringLiteral("audio/x-wav") ) ) in createFile() 153 else if( mimetype.inherits( QStringLiteral("audio/x-it") ) ) in createFile() [all …]
|
/dports/audio/taglib-extras/taglib-extras-1.0.1/taglib-extras/ |
H A D | tplugins.cpp | 70 if( mimetype->is( "audio/mpeg" ) in createFile() 71 || mimetype->is( "audio/x-mpegurl" ) in createFile() 72 || mimetype->is( "audio/mpeg" )) in createFile() 76 else if( mimetype->is( "audio/mp4" ) || mimetype->is( "video/mp4" ) ) in createFile() 80 else if( mimetype->is( "audio/x-ms-wma" ) in createFile() 81 || mimetype->is( "video/x-ms-asf" ) in createFile() 82 || mimetype->is( "video/x-msvideo" ) in createFile() 101 else if( mimetype->is( "audio/x-flac" ) ) in createFile() 109 else if( mimetype->is( "audio/x-wavpack" ) ) in createFile() 113 else if( mimetype->is( "audio/x-tta" ) ) in createFile() [all …]
|
/dports/net/guacamole-server/guacamole-server-1.3.0/src/protocols/rdp/channels/audio-input/ |
H A D | audio-input.c | 70 if (strncmp(mimetype, "audio/L8;", 9) == 0) { in guac_rdp_audio_parse_mimetype() 71 mimetype += 8; /* Advance to semicolon ONLY */ in guac_rdp_audio_parse_mimetype() 90 mimetype++; in guac_rdp_audio_parse_mimetype() 93 if (strncmp(mimetype, "channels=", 9) == 0) { in guac_rdp_audio_parse_mimetype() 95 mimetype += 9; in guac_rdp_audio_parse_mimetype() 96 parsed_channels = strtol(mimetype, (char**) &mimetype, 10); in guac_rdp_audio_parse_mimetype() 107 mimetype += 5; in guac_rdp_audio_parse_mimetype() 108 parsed_rate = strtol(mimetype, (char**) &mimetype, 10); in guac_rdp_audio_parse_mimetype() 117 mimetype = strchr(mimetype, ','); in guac_rdp_audio_parse_mimetype() 119 } while (mimetype != NULL); in guac_rdp_audio_parse_mimetype() [all …]
|
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/base/tests/ |
H A D | test_mimetypes.py | 29 mimetype = guess_mimetype(b'') 35 mimetype = guess_mimetype(b'', default='test') 40 mimetype = guess_mimetype(b'\0') 45 mimetype = guess_mimetype(content, default='test') 46 self.assertEqual(mimetype, 'image/png') 52 self.assertRegex(mimetype, r'image/.*\bbmp') 57 self.assertEqual(mimetype, 'image/jpeg') 62 self.assertEqual(mimetype, 'image/gif') 67 self.assertTrue(mimetype.startswith('image/svg')) 70 self.assertNotIn("svg", mimetype) [all …]
|
/dports/www/phpbb3/phpBB3/config/default/container/ |
H A D | services_mimetype_guesser.yml | 2 mimetype.guesser_collection: 9 mimetype.fileinfo_mimetype_guesser: 12 - { name: mimetype.guessers } 14 mimetype.filebinary_mimetype_guesser: 17 - { name: mimetype.guessers } 19 mimetype.content_guesser: 24 - { name: mimetype.guessers } 26 mimetype.extension_guesser: 31 - { name: mimetype.guessers } 33 mimetype.guesser: [all …]
|
/dports/www/lighttpd/lighttpd-1.4.63/doc/scripts/ |
H A D | create-mime.conf.pl | 80 my ($extension, $mimetype) = @_; 81 $extensions{$extension} = $mimetype; 85 my ($extension, $mimetype) = @_; 97 $_[1] = $mimetype = $r->{$mimetype} if $r && $r->{$mimetype}; 148 my ($extension, $mimetype) = @_; 149 if ($mimetype =~ /^text\/(.*)$/) { 161 my $mimetype = $1; 165 add(".${ext}", $mimetype); 238 my ($mimetype) = @_; 239 $mimetype =~ s/(^|\/)(x-|vnd\.)/~$1$2/g; [all …]
|
/dports/www/owncloud/owncloud/lib/private/Files/Type/ |
H A D | Detection.php | 84 * @param string $mimetype 89 $mimetype, argument 93 $this->secureMimeTypes[$mimetype] = $secureMimeType ?: $mimetype; 298 * @param string $mimetype the MIME type 301 public function mimeTypeIcon($mimetype) { argument 305 $mimetype = $this->mimeTypeAlias[$mimetype]; 308 return $this->mimetypeIcons[$mimetype]; 316 if ($mimetype === 'dir') { 320 if ($mimetype === 'dir-shared') { 324 if ($mimetype === 'dir-external') { [all …]
|
/dports/www/netsurf/netsurf-3.10/frontends/amiga/ |
H A D | filetype.c | 44 lwc_string *mimetype; member 60 static char mimetype[50]; in fetch_filetype() local 138 return mimetype; in fetch_filetype() 171 if(mimeentry->mimetype) lwc_string_unref(mimeentry->mimetype); in ami_mime_entry_free() 353 char mimetype[100]; in ami_mime_guess_add_datatype() local 432 lerror = lwc_intern_string(mimetype, strlen(mimetype), &mimeentry->mimetype); in ami_mime_guess_add_datatype() 477 *mimetype = mimeentry->mimetype; in ami_mime_from_datatype() 527 lwc_string *mimetype; in ami_mime_content_to_filetype() local 557 *mimetype = mimeentry->mimetype; in ami_mime_has_cmd() 599 lwc_string *mimetype; in ami_mime_content_to_cmd() local [all …]
|
/dports/www/trac-devel/Trac-1.5.3/trac/mimeview/ |
H A D | api.py | 379 return mimetype 385 mimetype = None 408 return mimetype 692 full_mimetype = mimetype 912 if mimetype: 931 self._mime_map[mimetype] = mimetype 955 if mimetype: 957 if mimetype and charset and 'charset' not in mimetype: 959 return mimetype 981 if mimetype: [all …]
|
/dports/www/nextcloud/nextcloud/lib/private/Files/Type/ |
H A D | Detection.php | 102 * @param string $mimetype 106 string $mimetype, argument 109 $this->secureMimeTypes[$mimetype] = $secureMimeType ?: $mimetype; 345 * @param string $mimetype the MIME type 352 $mimetype = $this->mimeTypeAlias[$mimetype]; 355 return $this->mimetypeIcons[$mimetype]; 362 if ($mimetype === 'dir') { 364 return $this->mimetypeIcons[$mimetype]; 366 if ($mimetype === 'dir-shared') { 370 if ($mimetype === 'dir-external') { [all …]
|
H A D | Loader.php | 74 * @param string $mimetype 77 public function getId($mimetype) { argument 81 if (isset($this->mimetypeIds[$mimetype])) { 82 return $this->mimetypeIds[$mimetype]; 84 return $this->store($mimetype); 90 * @param string $mimetype 93 public function exists($mimetype) { argument 111 * @param string $mimetype 114 protected function store($mimetype) { argument 116 'mimetype' => $mimetype [all …]
|
/dports/www/xapian-omega/xapian-omega-1.4.18/ |
H A D | gen-mimemap | 41 my ($ext, $mimetype) = split /\s+/; 42 my $enum = uc $mimetype; 46 if (!exists $mime_table{$mimetype}) { 47 $hdr->append(" \"$mimetype\","); 48 if (length($mimetype) > $max_mimetype_len) { 49 $max_mimetype_len = length($mimetype) if length($mimetype); 51 $mime_table{$mimetype} = []; 53 push @{$mime_table{$mimetype}}, $ext; 90 if ($mimetype eq 'ignore') { 93 } elsif ($mimetype eq 'skip') { [all …]
|
/dports/mail/roundcube/roundcubemail-1.5.1/program/actions/mail/ |
H A D | get.php | 54 $mimetype = $attachment->mimetype; 74 … if ($part_id && ($mimetype == 'message/rfc822' || strpos($mimetype, 'multipart/') === 0)) { 102 $mimetype = 'image/' . $imgtype; 115 header('Content-Type: ' . $mimetype); 143 …if ($valid || !$file_extension || $mimetype == 'application/octet-stream' || stripos($mimetype, 't… 156 $real_mimetype = $mimetype; 175 $mimetype = $real_mimetype; 184 $real_mimetype = $mimetype; 232 $mimetype = 'image/jpeg'; 275 'type' => $mimetype, [all …]
|
/dports/graphics/peruse/peruse-8d1de5f4a7c4a6ca7444b0c55cb9aaa44a982a78/src/qtquick/ |
H A D | peruse.knsrc | 15 …mimetype==application/x-cbz,data##mimetype==application/x-cbr,data##mimetype==application/x-cb7,da…
|