/frameworks/av/media/libstagefright/ |
StagefrightMediaScanner.cpp | 39 static bool FileHasAcceptableExtension(const char *extension) { 51 if (!strcasecmp(extension, kValidExtensions[i])) { 122 const char *extension = strrchr(path, '.'); local 124 if (!extension) { 128 if (!FileHasAcceptableExtension(extension)) { 132 if (!strcasecmp(extension, ".mid") 133 || !strcasecmp(extension, ".smf") 134 || !strcasecmp(extension, ".imy") 135 || !strcasecmp(extension, ".midi") 136 || !strcasecmp(extension, ".xmf" [all...] |
/external/protobuf/src/google/protobuf/ |
extension_set.cc | 85 GOOGLE_LOG(FATAL) << "Multiple extension registrations for type \"" 102 const ExtensionInfo* extension = local 104 if (extension == NULL) { 107 *output = *extension; 165 for (map<int, Extension>::iterator iter = extensions_.begin(); 177 map<int, Extension>::const_iterator iter = extensions_.find(number); 184 map<int, Extension>::const_iterator iter = extensions_.find(number); 190 map<int, Extension>::iterator iter = extensions_.find(number); 207 #define GOOGLE_DCHECK_TYPE(EXTENSION, LABEL, CPPTYPE) \ 208 GOOGLE_DCHECK_EQ((EXTENSION).is_repeated ? REPEATED : OPTIONAL, LABEL); 300 Extension* extension; local 329 Extension* extension; local 360 Extension* extension; local 389 Extension* extension; local 425 Extension* extension; local 461 Extension* extension; local 494 Extension* extension = &iter->second; local 535 Extension* extension = &iter->second; local 587 Extension* extension; local 687 const Extension& extension = iter->second; local 712 ExtensionInfo extension; local [all...] |
/external/chromium/chrome/browser/extensions/ |
extensions_ui.cc | 34 #include "chrome/common/extensions/extension.h" 59 bool ShouldShowExtension(const Extension* extension) { 61 if (extension->is_theme()) 66 if (extension->location() == Extension::COMPONENT) 70 if (extension->location() == Extension::LOAD) 74 if (extension->is_hosted_app()) 113 GURL(Extension::ChromeStoreLaunchURL())).spec()) 371 const Extension* extension = local 398 const Extension* extension = local 424 const Extension* extension = local 440 const Extension* extension = local 468 const Extension* extension = local 493 const Extension* extension = GetExtension(args); local 501 const Extension* extension = GetExtension(args); local [all...] |
image_loading_tracker_unittest.cc | 9 #include "chrome/common/extensions/extension.h" 54 scoped_refptr<Extension> CreateExtension() { 55 // Create and load an extension. 77 return Extension::Create(test_file, Extension::INVALID, *valid_value, 78 Extension::STRICT_ERROR_CHECKS, &error); 97 // Tests asking ImageLoadingTracker to cache pushes the result to the Extension. 99 scoped_refptr<Extension> extension(CreateExtension()); 100 ASSERT_TRUE(extension.get() != NULL) [all...] |
extension_infobar_module.cc | 18 #include "chrome/common/extensions/extension.h" 36 const Extension* extension = GetExtension(); local 37 GURL url = extension->GetResourceURL(extension->url(), html_path);
|
extension_process_manager.h | 20 class Extension; 38 virtual ExtensionHost* CreateView(const Extension* extension, 45 ExtensionHost* CreatePopup(const Extension* extension, 49 ExtensionHost* CreateInfobar(const Extension* extension, 55 // Open the extension's options page. 56 void OpenOptionsPage(const Extension* extension, Browser* browser) [all...] |
extension_uninstall_dialog.h | 39 void ConfirmUninstall(Delegate* delegate, const Extension* extension); 45 const Extension* extension, 63 // The extension we are showing the UI for. 64 const Extension* extension_; 66 // Keeps track of extension images being loaded on the File thread for the
|
pending_extension_info.h | 9 #include "chrome/common/extensions/extension.h" 13 // A pending extension is an extension that hasn't been installed yet 15 // update URL of a pending extension may be blank, in which case a 21 typedef bool (*ShouldAllowInstallPredicate)(const Extension&); 30 Extension::Location install_source); 38 // |should_allow_install| on an extension. After an extension is unpacked, 39 // this function is run. If it returns true, the extension is installed. 40 // If not, the extension is discarded. This allows creators o [all...] |
test_extension_prefs.cc | 19 #include "chrome/common/extensions/extension.h" 97 scoped_refptr<Extension> TestExtensionPrefs::AddExtension(std::string name) { 101 return AddExtensionWithManifest(dictionary, Extension::INTERNAL); 104 scoped_refptr<Extension> TestExtensionPrefs::AddExtensionWithManifest( 105 const DictionaryValue& manifest, Extension::Location location) { 110 scoped_refptr<Extension> extension = Extension::Create( local 111 path, location, manifest, Extension::STRICT_ERROR_CHECKS, &errors); 112 EXPECT_TRUE(extension); [all...] |
browser_action_apitest.cc | 49 const Extension* extension = GetSingleLoadedExtension(); local 50 ASSERT_TRUE(extension) << message_; 55 // Tell the extension to update the browser action state. 58 GURL(extension->GetResourceURL("update.html"))); 62 ExtensionAction* action = extension->browser_action(); 90 const Extension* extension = GetSingleLoadedExtension(); local 91 ASSERT_TRUE(extension) << message_; 97 // Tell the extension to update the icon using setIcon({imageData:...}) 122 const Extension* extension = GetSingleLoadedExtension(); local 159 const Extension* extension = GetSingleLoadedExtension(); local 192 const Extension* extension = GetSingleLoadedExtension(); local 247 const Extension* extension = GetSingleLoadedExtension(); local 281 const Extension* extension = GetSingleLoadedExtension(); local [all...] |
extension_metrics_apitest.cc | 10 #include "chrome/common/extensions/extension.h" 16 // The tests that are run by this extension are expected to record the following 20 const char* name; // base name of metric without extension id. 27 // The tests that are run by this extension are expected to record the following 31 const char* name; // base name of metric without extension id. 48 // Build the full name of a metrics for the given extension. Each metric 49 // is made up of the unique name within the extension followed by the 50 // extension's id. 51 std::string BuildFullName(const std::string& name, const Extension* extension) { 149 const Extension* extension = GetSingleLoadedExtension(); local [all...] |
extension_tab_helper.cc | 42 void ExtensionTabHelper::SetExtensionApp(const Extension* extension) { 43 DCHECK(!extension || extension->GetFullLaunchURL().is_valid()); 44 extension_app_ = extension; 64 const Extension* extension = local 66 if (extension) 67 SetExtensionApp(extension); 134 void ExtensionTabHelper::UpdateExtensionAppIcon(const Extension* extension) [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
extension_settings_handler.cc | 33 #include "chrome/common/extensions/extension.h" 61 bool ShouldShowExtension(const Extension* extension) { 63 if (extension->is_theme()) 68 if (extension->location() == Extension::COMPONENT) 72 if (extension->location() == Extension::LOAD) 76 if (extension->is_hosted_app()) 116 GURL(Extension::ChromeStoreLaunchURL())).spec()) 230 DictionaryValue* extension = NULL; local 487 const Extension* extension = local 504 const Extension* extension = local 529 const Extension* extension = local 539 const Extension* extension = local 561 const Extension* extension = local 586 const Extension* extension = GetExtension(args); local 594 const Extension* extension = GetExtension(args); local [all...] |
/external/chromium/chrome/browser/automation/ |
automation_extension_tracker.cc | 8 #include "chrome/common/extensions/extension.h" 13 : AutomationResourceTracker<const Extension*>(automation) { 21 void AutomationExtensionTracker::AddObserver(const Extension* resource) {} 23 void AutomationExtensionTracker::RemoveObserver(const Extension* resource) {} 33 const Extension* extension = info->extension; local 38 // Remove this extension only if it is uninstalled, not just disabled. 39 CloseResource(extension);
|
/external/chromium/chrome/browser/download/ |
download_prefs.cc | 24 // We store any file extension that should be opened automatically at 94 const FilePath::StringType& extension) const { 95 return auto_open_.find(extension) != auto_open_.end(); 99 FilePath::StringType extension = file_name.Extension(); local 100 if (extension.empty()) 102 DCHECK(extension[0] == FilePath::kExtensionSeparator); 103 extension.erase(0, 1); 105 auto_open_.insert(extension); 111 FilePath::StringType extension = file_name.Extension() local [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-filepath.h | 74 // extension = "xml", returns "dir/test.xml". If number is greater 80 const char* extension); 83 // will be directory/base_name.extension or 84 // directory/base_name_<number>.extension if directory/base_name.extension 92 const char* extension); 115 // Returns a copy of the FilePath with the case-insensitive extension removed. 117 // FilePath("dir/file"). If a case-insensitive extension is not 119 FilePath RemoveExtension(const char* extension) const;
|
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/ |
MaterialExtensionSet.java | 50 * Adds a new material extension to the set of extensions. 51 * @param extension The {@link MaterialExtension} to add. 53 public void addMaterialExtension(MaterialExtension extension){ 54 extensions.put(extension.getBaseMaterialName(), extension); local
|
/external/webkit/Source/WebCore/platform/haiku/ |
MIMETypeRegistryHaiku.cpp | 40 const char* extension; member in struct:WebCore::ExtensionMap 73 while (extMap->extension) { 74 if (str == extMap->extension)
|
/external/webkit/Source/WebKit/qt/Api/ |
qwebpluginfactory.h | 62 enum Extension { 68 virtual bool extension(Extension extension, const ExtensionOption* option = 0, ExtensionReturn* output = 0); 69 virtual bool supportsExtension(Extension extension) const;
|
/external/webkit/Tools/QtTestBrowser/ |
webpage.h | 47 virtual bool supportsExtension(QWebPage::Extension extension) const; 48 virtual bool extension(Extension extension, const ExtensionOption* option, ExtensionReturn* output);
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
workspace.py | 39 def find_unused_filename(self, directory, name, extension, search_limit=100): 42 target_name = "%s-%s.%s" % (name, count, extension) 44 target_name = "%s.%s" % (name, extension)
|
/external/chromium/chrome/common/extensions/ |
extension_set.cc | 24 void ExtensionSet::Insert(const scoped_refptr<const Extension>& extension) { 25 extensions_[extension->id()] = extension; 36 const Extension* extension = GetByURL(url); local 37 if (!extension) 40 return extension->id(); 43 const Extension* ExtensionSet::GetByURL(const GURL& url) const { 61 const Extension* ExtensionSet::GetByID(const std::string& id) const [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGTests.idl | 34 boolean hasExtension(in DOMString extension);
|
/external/chromium/chrome/browser/ui/webui/ |
app_launcher_handler.cc | 26 #include "chrome/common/extensions/extension.h" 74 void AppLauncherHandler::CreateAppInfo(const Extension* extension, 78 prefs->GetExtensionState(extension->id()) != Extension::DISABLED; 80 ExtensionIconSource::GetIconURL(extension, 81 Extension::EXTENSION_ICON_LARGE, 85 ExtensionIconSource::GetIconURL(extension, 86 Extension::EXTENSION_ICON_BITTY, 91 value->SetString("id", extension->id()) 349 const Extension* extension = local 410 const Extension* extension = local 422 const Extension* extension = extensions_service_->GetExtensionById( local 457 const Extension* extension = local 548 const Extension* extension = local 576 const Extension* extension = local 588 const Extension* extension = local 602 const Extension* extension = local [all...] |
/external/chromium/chrome/browser/ |
background_mode_manager.h | 20 class Extension; 82 virtual void OnApplicationDataChanged(const Extension* extension); 85 // Called when an extension is loaded to manage count of background apps. 88 // Called when an extension is unloaded to manage count of background apps. 91 // Invoked when an extension is installed so we can ensure that 92 // launch-on-startup is enabled if appropriate. |extension| can be NULL when 94 void OnBackgroundAppInstalled(const Extension* extension); 96 // Invoked when an extension is uninstalled so we can ensure tha [all...] |