Home
last modified time | relevance | path

Searched refs:mime (Results 1 – 25 of 72) sorted by relevance

123

/external/webkit/Source/WebCore/plugins/qt/
DPluginPackageQt.cpp77 Vector<String> mime; in setMIMEDescription() local
78 types[i].split(UChar(':'), true, mime); in setMIMEDescription()
79 if (mime.size() > 0) { in setMIMEDescription()
81 if (mime.size() > 1) in setMIMEDescription()
82 mime[1].split(UChar(','), false, exts); in setMIMEDescription()
83 determineQuirks(mime[0]); in setMIMEDescription()
84 m_mimeToExtensions.add(mime[0], exts); in setMIMEDescription()
85 if (mime.size() > 2) in setMIMEDescription()
86 m_mimeToDescriptions.add(mime[0], mime[2]); in setMIMEDescription()
/external/webkit/Source/WebCore/plugins/wx/
DPluginDataWx.cpp52 MimeClassInfo mime; in initPlugins() local
54 mime.type = it->first; in initPlugins()
55 mime.desc = it->second; in initPlugins()
56 mime.extensions = package->mimeToExtensions().get(mime.type); in initPlugins()
58 info.mimes.append(mime); in initPlugins()
/external/webkit/Source/WebCore/plugins/symbian/
DPluginPackageSymbian.cpp51 Vector<String> mime; in fetchInfo() local
52 types[i].split(UChar(';'), true, mime); // <MIME1>;<ext1,ext2,ext3,...>;<Description> in fetchInfo()
53 if (mime.size() > 0) { in fetchInfo()
55 if (mime.size() > 1) in fetchInfo()
56 mime[1].split(UChar(','), false, exts); // <ext1,ext2,ext3,...> in fetchInfo()
58 m_mimeToExtensions.add(mime[0], exts); // <MIME>,<ext1,ext2,ext3> in fetchInfo()
59 determineQuirks(mime[0]); in fetchInfo()
60 if (mime.size() > 2) in fetchInfo()
61 m_mimeToDescriptions.add(mime[0], mime[2]); // <MIME>,<Description> in fetchInfo()
/external/webkit/Source/WebCore/plugins/android/
DPluginDataAndroid.cpp52 MimeClassInfo mime; in initPlugins() local
53 mime.type = it->first; in initPlugins()
54 mime.desc = it->second; in initPlugins()
55 mime.extensions = package->mimeToExtensions().get(mime.type); in initPlugins()
56 info.mimes.append(mime); in initPlugins()
/external/webkit/Source/WebCore/plugins/gtk/
DPluginDataGtk.cpp46 MimeClassInfo mime; in initPlugins() local
48 mime.type = it->first; in initPlugins()
49 mime.desc = it->second; in initPlugins()
50 mime.extensions = package->mimeToExtensions().get(mime.type); in initPlugins()
52 info.mimes.append(mime); in initPlugins()
DPluginPackageGtk.cpp76 GOwnPtr<char> mime(g_utf8_strdown(mimeDescs[i], -1)); in fetchInfo() local
77 gchar** mimeData = g_strsplit(mime.get(), ":", 3); in fetchInfo()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebPlatformStrategies.cpp89 MimeClassInfo mime; in getPluginInfo() local
91 mime.type = it->first; in getPluginInfo()
92 mime.desc = it->second; in getPluginInfo()
93 mime.extensions = package->mimeToExtensions().get(mime.type); in getPluginInfo()
95 info.mimes.append(mime); in getPluginInfo()
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/
DNetscapePluginModuleX11.cpp86 MimeClassInfo& mime = plugin.info.mimes[i++]; in getPluginInfo() local
87 mime.type = it->first; in getPluginInfo()
88 mime.desc = it->second; in getPluginInfo()
91 mime.extensions = extensionIt->second; in getPluginInfo()
/external/webkit/Source/WebCore/plugins/chromium/
DPluginDataChromium.cpp86 const MimeClassInfo& mime = plugins[i].mimes[j]; in getPluginMimeTypeFromExtension() local
87 const Vector<String>& extensions = mime.extensions; in getPluginMimeTypeFromExtension()
90 return mime.type; in getPluginMimeTypeFromExtension()
/external/webkit/Source/WebKit/android/WebCoreSupport/
DWebResponse.cpp143 WTF::String mime = WebCore::MIMETypeRegistry::getMIMETypeForExtension(path); in resolveMimeType() local
144 if (!mime.isEmpty()) { in resolveMimeType()
146 mimeType = std::string(mime.utf8().data(), mime.length()); in resolveMimeType()
DWebRequest.cpp297 const std::string& mime = m_interceptResponse->mimeType(); in handleInterceptedURL() local
300 if (mime == "") { in handleInterceptedURL()
306 mimeType = mime; in handleInterceptedURL()
/external/webkit/Source/WebKit/win/
DWebResource.cpp133 /* [retval][out] */ BSTR *mime) in MIMEType() argument
135 if (!mime) { in MIMEType()
140 *mime = BString(m_mimeType).release(); in MIMEType()
DWebResource.h65 /* [retval][out] */ BSTR *mime);
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DPlatformStrategiesWinCE.cpp102 MimeClassInfo mime; in getPluginInfo() local
104 mime.type = it->first; in getPluginInfo()
105 mime.desc = it->second; in getPluginInfo()
106 mime.extensions = package->mimeToExtensions().get(mime.type); in getPluginInfo()
108 info.mimes.append(mime); in getPluginInfo()
/external/webkit/Source/WebCore/platform/graphics/qt/
DMediaPlayerPrivateQt.cpp76 QString mime = types.at(i); in getSupportedTypes() local
77 …if (mime.startsWith(QString::fromLatin1("audio/")) || mime.startsWith(QString::fromLatin1("video/"… in getSupportedTypes()
78 supported.add(mime); in getSupportedTypes()
82 MediaPlayer::SupportsType MediaPlayerPrivateQt::supportsType(const String& mime, const String& code… in supportsType() argument
84 if (!mime.startsWith("audio/") && !mime.startsWith("video/")) in supportsType()
97 if (QMediaPlayer::hasSupport(mime, codecListTrimmed) >= QtMultimediaKit::ProbablySupported) in supportsType()
/external/webkit/Source/WebCore/plugins/
DDOMPlugin.cpp68 const MimeClassInfo& mime = pluginInfo().mimes[index]; in item() local
72 if (mimes[i] == mime && m_pluginData->mimePluginIndices()[i] == m_index) in item()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DWebPlatformStrategies.cpp133 MimeClassInfo mime; in getPluginInfo() local
135 mime.type = it->first; in getPluginInfo()
136 mime.desc = it->second; in getPluginInfo()
137 mime.extensions = package->mimeToExtensions().get(mime.type); in getPluginInfo()
139 info.mimes.append(mime); in getPluginInfo()
/external/clang/tools/scan-view/
DReporter.py29 from email.mime.base import MIMEBase
30 from email.mime.multipart import MIMEMultipart
31 from email.mime.text import MIMEText
/external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/
Dimageinfo.js22 var mime = http.getResponseHeader("Content-Type");
24 tags["mimeType"] = mime;
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageSourceCGMac.mm37 …RetainPtr<CFStringRef> mime(AdoptCF, UTTypeCopyPreferredTagWithClass(utiref.get(), kUTTagClassMIME…
38 return mime.get();
/external/webkit/Source/WebCore/plugins/mac/
DPluginPackageMac.cpp219 String mime = mimes[i].lower(); in fetchInfo() local
223 m_mimeToExtensions.set(mime, extensions); in fetchInfo()
225 m_mimeToDescriptions.set(mime, descriptions[i / 2]); in fetchInfo()
/external/libxml2/
Dnanohttp.c730 const xmlChar *charset, *last, *mime; in xmlNanoHTTPScanAnswer() local
736 mime = (const xmlChar *) cur; in xmlNanoHTTPScanAnswer()
737 last = mime; in xmlNanoHTTPScanAnswer()
743 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); in xmlNanoHTTPScanAnswer()
756 const xmlChar *charset, *last, *mime; in xmlNanoHTTPScanAnswer() local
761 mime = (const xmlChar *) cur; in xmlNanoHTTPScanAnswer()
762 last = mime; in xmlNanoHTTPScanAnswer()
768 ctxt->mimeType = (char *) xmlStrndup(mime, last - mime); in xmlNanoHTTPScanAnswer()
/external/webkit/Source/WebCore/loader/mac/
DLoaderNSURLExtras.mm73 // No mime type reported. Just return the filename we have now.
78 // Do not correct filenames that are reported with a mime type of tar, and
/external/webkit/Source/WebKit/mac/WebView/
DWebDataSource.mm138 NSString *mime = nil;
139 while ((mime = [enumerator nextObject]) != nil) {
141 if ([allTypes objectForKey:mime] == nil)
142 [allTypes setObject:objCClass forKey:mime];
/external/libogg/
DCHANGES42 * RFC 3534 documentation of the application/ogg mime-type by Linus Walleij

123