Home
last modified time | relevance | path

Searched refs:mimes (Results 1 – 25 of 28) sorted by relevance

12

/external/webkit/Source/WebCore/plugins/
DDOMPlugin.cpp60 return pluginInfo().mimes.size(); in length()
65 if (index >= pluginInfo().mimes.size()) in item()
68 const MimeClassInfo& mime = pluginInfo().mimes[index]; in item()
70 const Vector<MimeClassInfo>& mimes = m_pluginData->mimes(); in item() local
71 for (unsigned i = 0; i < mimes.size(); ++i) { in item()
72 if (mimes[i] == mime && m_pluginData->mimePluginIndices()[i] == m_index) in item()
80 const Vector<MimeClassInfo>& mimes = m_pluginData->mimes(); in canGetItemsForName() local
81 for (unsigned i = 0; i < mimes.size(); ++i) in canGetItemsForName()
82 if (mimes[i].type == propertyName) in canGetItemsForName()
89 const Vector<MimeClassInfo>& mimes = m_pluginData->mimes(); in namedItem() local
[all …]
DDOMMimeTypeArray.cpp45 return data->mimes().size(); in length()
53 const Vector<MimeClassInfo>& mimes = data->mimes(); in item() local
54 if (index >= mimes.size()) in item()
64 const Vector<MimeClassInfo>& mimes = data->mimes(); in canGetItemsForName() local
65 for (unsigned i = 0; i < mimes.size(); ++i) { in canGetItemsForName()
66 if (mimes[i].type == propertyName) in canGetItemsForName()
77 const Vector<MimeClassInfo>& mimes = data->mimes(); in namedItem() local
78 for (unsigned i = 0; i < mimes.size(); ++i) { in namedItem()
79 if (mimes[i].type == propertyName) in namedItem()
DPluginData.cpp40 for (unsigned j = 0; j < plugin.mimes.size(); ++j) { in PluginData()
41 m_mimes.append(plugin.mimes[j]); in PluginData()
DPluginData.h47 Vector<MimeClassInfo> mimes; member
56 const Vector<MimeClassInfo>& mimes() const { return m_mimes; } in mimes() function
DDOMMimeType.h49 const MimeClassInfo& mimeClassInfo() const { return m_pluginData->mimes()[m_index]; } in mimeClassInfo()
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/win/
DNetscapePluginModuleWin.cpp84 Vector<MimeClassInfo> mimes(types.size()); in getPluginInfo() local
102 mimes[i].type = type; in getPluginInfo()
103 mimes[i].desc = description; in getPluginInfo()
104 mimes[i].extensions.swap(extensionsVector); in getPluginInfo()
111 plugin.info.mimes.swap(mimes); in getPluginInfo()
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/x11/
DNetscapePluginModuleX11.cpp82 plugin.info.mimes.reserveCapacity(descriptions.size()); in getPluginInfo()
85 plugin.info.mimes.uncheckedAppend(MimeClassInfo()); in getPluginInfo()
86 MimeClassInfo& mime = plugin.info.mimes[i++]; in getPluginInfo()
/external/webkit/Source/WebCore/plugins/mac/
DPluginPackageMac.cpp209 Vector<String> mimes = stringListFromResourceId(MIMEListStringStringNumber); in fetchInfo() local
211 if (mimes.size() % 2 != 0) in fetchInfo()
215 if (descriptions.size() != mimes.size() / 2) in fetchInfo()
218 for (size_t i = 0; i < mimes.size(); i += 2) { in fetchInfo()
219 String mime = mimes[i].lower(); in fetchInfo()
221 mimes[i + 1].lower().split(UChar(','), extensions); in fetchInfo()
/external/bluetooth/glib/gio/xdgmime/
Dxdgmimeglob.c376 MimeWeight mimes[10]; in _xdg_glob_hash_lookup_file_name() local
398 mimes, n_mimes); in _xdg_glob_hash_lookup_file_name()
401 mimes, n_mimes); in _xdg_glob_hash_lookup_file_name()
409 mimes[n].mime = list->mime_type; in _xdg_glob_hash_lookup_file_name()
410 mimes[n].weight = list->weight; in _xdg_glob_hash_lookup_file_name()
416 qsort (mimes, n, sizeof (MimeWeight), compare_mime_weight); in _xdg_glob_hash_lookup_file_name()
422 mime_types[i] = mimes[i].mime; in _xdg_glob_hash_lookup_file_name()
Dxdgmimecache.c558 MimeWeight mimes[10]; in cache_glob_lookup_file_name() local
571 n = cache_glob_lookup_suffix (file_name, len, FALSE, mimes, n_mimes); in cache_glob_lookup_file_name()
574 n = cache_glob_lookup_suffix (file_name, len, TRUE, mimes, n_mimes); in cache_glob_lookup_file_name()
578 n = cache_glob_lookup_fnmatch (file_name, mimes, n_mimes); in cache_glob_lookup_file_name()
580 qsort (mimes, n, sizeof (MimeWeight), compare_mime_weight); in cache_glob_lookup_file_name()
586 mime_types[i] = mimes[i].mime; in cache_glob_lookup_file_name()
/external/webkit/Source/WebKit/chromium/src/
DWebPluginListBuilderImpl.cpp56 m_results->last().mimes.append(info); in addMediaTypeToLastPlugin()
61 MimeClassInfo& info = m_results->last().mimes.last(); in addFileExtensionToLastMediaType()
/external/webkit/Source/WebKit2/UIProcess/Plugins/
DPluginInfoStore.cpp140 for (size_t j = 0; j < plugin.info.mimes.size(); ++j) { in findPluginForMIMEType()
141 const MimeClassInfo& mimeClassInfo = plugin.info.mimes[j]; in findPluginForMIMEType()
157 for (size_t j = 0; j < plugin.info.mimes.size(); ++j) { in findPluginForExtension()
158 const MimeClassInfo& mimeClassInfo = plugin.info.mimes[j]; in findPluginForExtension()
/external/webkit/Source/WebCore/plugins/chromium/
DPluginDataChromium.cpp85 for (size_t j = 0; j < plugins[i].mimes.size(); ++j) { in getPluginMimeTypeFromExtension()
86 const MimeClassInfo& mime = plugins[i].mimes[j]; in getPluginMimeTypeFromExtension()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebPlatformStrategies.cpp85 info.mimes.reserveCapacity(mimeToDescriptions.size()); in getPluginInfo()
95 info.mimes.append(mime); in getPluginInfo()
/external/webkit/Source/WebKit/mac/Plugins/
DWebBasePluginPackage.mm244 pluginInfo.mimes.append(mimeClassInfo);
304 for (size_t i = 0; i < pluginInfo.mimes.size(); ++i) {
305 const Vector<String>& extensions = pluginInfo.mimes[i].extensions;
318 for (size_t i = 0; i < pluginInfo.mimes.size(); ++i) {
319 if (pluginInfo.mimes[i].type == mimeType)
330 for (size_t i = 0; i < pluginInfo.mimes.size(); ++i) {
331 const MimeClassInfo& mimeClassInfo = pluginInfo.mimes[i];
DWebPluginDatabase.mm311 for (size_t i = 0; i < pluginInfo.mimes.size(); ++i)
312 [MIMETypes addObject:pluginInfo.mimes[i].type];
448 for (size_t i = 0; i < pluginInfo.mimes.size(); ++i) {
449 NSString *MIMEType = pluginInfo.mimes[i].type;
DWebNetscapePluginPackage.mm180 andIndex:pluginInfo.mimes.size() + 1];
183 pluginInfo.mimes.append(mimeClassInfo);
/external/webkit/Source/WebCore/plugins/wx/
DPluginDataWx.cpp58 info.mimes.append(mime); in initPlugins()
/external/webkit/Source/WebCore/plugins/gtk/
DPluginDataGtk.cpp52 info.mimes.append(mime); in initPlugins()
/external/webkit/Source/WebCore/plugins/android/
DPluginDataAndroid.cpp56 info.mimes.append(mime); in initPlugins()
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DPlatformStrategiesWinCE.cpp98 info.mimes.reserveCapacity(mimeToDescriptions.size()); in getPluginInfo()
108 info.mimes.append(mime); in getPluginInfo()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DWebPlatformStrategies.cpp111 info.mimes.append(mimeInfo); in getPluginInfo()
139 info.mimes.append(mime); in getPluginInfo()
/external/webkit/Source/WebKit2/Shared/
DWebCoreArgumentCoders.h92 encoder->encode(pluginInfo.mimes);
103 if (!decoder->decode(pluginInfo.mimes))
/external/webkit/Source/WebKit2/Shared/Plugins/Netscape/mac/
DNetscapePluginModuleMac.mm179 pluginInfo.mimes.append(mimeClassInfo);
299 pluginInfo.mimes.append(mimeClassInfo);
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebFrameLoaderClient.cpp1264 for (size_t i = 0; i < pluginData->mimes().size(); ++i) { in pluginSupportsExtension()
1265 const MimeClassInfo& mimeClassInfo = pluginData->mimes()[i]; in pluginSupportsExtension()

12