/external/chromium_org/extensions/common/features/ |
H A D | base_feature_provider_unittest.cc | 11 #include "extensions/common/features/feature.h" 19 // Tests that a real manifest feature is available for the correct types of 23 // NOTE: This feature cannot have multiple rules, otherwise it is not a 25 SimpleFeature* feature = local 27 ASSERT_TRUE(feature); 28 std::set<Manifest::Type>* extension_types = feature->extension_types(); 52 Feature* feature = provider->GetFeature("description"); local 54 feature->IsAvailableToContext(extension.get(), 58 // This is a generic extension, so an app-only feature isn't allowed. 59 feature 82 SimpleFeature* feature = local 114 Feature* feature = provider->GetFeature("power"); local [all...] |
H A D | simple_feature_filter.h | 10 #include "extensions/common/features/feature.h" 27 explicit SimpleFeatureFilter(SimpleFeature* feature); 30 SimpleFeature* feature() const { return feature_; } function in class:extensions::SimpleFeatureFilter 32 // Parses any additional feature data that may be used by this filter. 37 // Indicates whether or not the owning feature is available within a given 45 // Indicates whether or not the owning feature is available to a given 55 // The feature which owns this filter.
|
H A D | simple_feature_filter.cc | 11 SimpleFeatureFilter::SimpleFeatureFilter(SimpleFeature* feature) argument 12 : feature_(feature) {}
|
H A D | base_feature_provider.cc | 22 SimpleFeature* feature) { 23 feature->set_name(name); 24 std::string error = feature->Parse(value); 38 linked_ptr<SimpleFeature> feature((*factory_)()); 43 // Push parent features on the stack, starting with the current feature. 69 feature.get())) { 79 features_[iter.key()] = feature; 81 // This is a complex feature. 97 scoped_ptr<SimpleFeature> feature((*factory_)()); 100 feature 20 ParseFeature(const base::DictionaryValue* value, const std::string& name, SimpleFeature* feature) argument [all...] |
H A D | simple_feature_unittest.cc | 29 SimpleFeature feature; local 30 feature.set_location(feature_location); 32 feature.IsAvailableToManifest(std::string(), 59 SimpleFeature feature; local 63 feature.IsAvailableToManifest(test.extension_id, 75 SimpleFeature feature; local 76 feature.whitelist()->insert(kIdFoo); 77 feature.whitelist()->insert(kIdBar); 81 feature.IsAvailableToManifest(kIdFoo, 88 feature 124 SimpleFeature feature; local 162 SimpleFeature feature; local 202 SimpleFeature feature; local 237 SimpleFeature feature; local 273 SimpleFeature feature; local 400 SimpleFeature feature; local 418 SimpleFeature feature; local 604 SimpleFeature feature; local [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
H A D | cpu_features.cc | 21 // No CPU feature is available => straight C path. 22 int GetCPUInfoNoASM(CPUFeature feature) { argument 23 (void)feature; 51 // Actual feature detection for x86. 52 static int GetCPUInfo(CPUFeature feature) { argument 55 if (feature == kSSE2) { 58 if (feature == kSSE3) { 65 static int GetCPUInfo(CPUFeature feature) { argument 66 (void)feature;
|
/external/webrtc/src/system_wrappers/source/ |
H A D | cpu_features.cc | 23 // No CPU feature is available => straight C path. 24 int GetCPUInfoNoASM(CPUFeature feature) { argument 25 (void)feature; 53 // Actual feature detection for x86. 54 static int GetCPUInfo(CPUFeature feature) { argument 57 if (feature == kSSE2) { 60 if (feature == kSSE3) { 67 static int GetCPUInfo(CPUFeature feature) { argument 68 (void)feature;
|
/external/chromium_org/chrome/browser/gpu/ |
H A D | gpu_feature_checker.cc | 16 gpu::GpuFeatureType feature) { 18 !manager->IsFeatureBlacklisted(feature)); 23 GPUFeatureChecker::GPUFeatureChecker(gpu::GpuFeatureType feature, argument 25 : feature_(feature), 15 IsFeatureAllowed(content::GpuDataManager* manager, gpu::GpuFeatureType feature) argument
|
/external/chromium_org/chrome/common/extensions/features/ |
H A D | chrome_channel_feature_filter_unittest.cc | 27 SimpleFeature* feature = new FeatureClass(); local 28 feature->AddFilter( 29 scoped_ptr<SimpleFeatureFilter>(new ChromeChannelFeatureFilter(feature))); 30 return feature; 38 SimpleFeature feature; local 39 feature.AddFilter(scoped_ptr<SimpleFeatureFilter>( 40 new ChromeChannelFeatureFilter(&feature))); 44 feature.Parse(&feature_value); 46 return feature.IsAvailableToManifest("random-extension", 67 // Tests that all combinations of feature channe 193 Feature* feature = provider->GetFeature("feature1"); local [all...] |
H A D | chrome_channel_feature_filter.cc | 56 ChromeChannelFeatureFilter::ChromeChannelFeatureFilter(SimpleFeature* feature) argument 57 : SimpleFeatureFilter(feature), 75 if (!channel_has_been_set_ && !feature()->HasDependencies()) { 76 return feature()->name() + 95 feature()->name().c_str(),
|
/external/chromium_org/chrome/common/extensions/ |
H A D | manifest_unittest.cc | 15 #include "extensions/common/features/feature.h" 103 SimpleFeature feature; local 104 feature.set_name("background_page"); 105 feature.set_max_manifest_version(1);
|
H A D | chrome_extensions_client.cc | 64 SimpleFeature* feature = new FeatureClass; local 65 feature->AddFilter( 66 scoped_ptr<SimpleFeatureFilter>(new ChromeChannelFeatureFilter(feature))); 67 return feature;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | FontFeatureSettings.h | 57 void append(const FontFeature& feature) { m_list.append(feature); } argument
|
/external/oprofile/daemon/ |
H A D | opd_extended.h | 27 const char* feature; member in struct:opd_ext_feature 61 * Parse the specified extended feature 73 * Print out extended feature statistics in oprofiled.log file
|
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | cpu.c | 77 static int x86CPUInfo(CPUFeature feature) { argument 80 if (feature == kSSE2) { 83 if (feature == kSSE3) { 86 if (feature == kAVX) { 93 if (feature == kAVX2) { 103 static int AndroidCPUInfo(CPUFeature feature) { argument 106 if (feature == kNEON) { 116 static int armCPUInfo(CPUFeature feature) { argument 117 (void)feature; 122 static int mipsCPUInfo(CPUFeature feature) { argument [all...] |
/external/pixman/pixman/ |
H A D | pixman-arm.c | 190 have_feature (arm_cpu_features_t feature) argument 201 return (features & feature) == feature;
|
H A D | pixman-x86.c | 110 pixman_cpuid (uint32_t feature, argument 119 : "a" (feature)); 134 : "a" (feature)); 140 __cpuid (info, feature); 160 /* Get feature bits */ 204 have_feature (cpu_features_t feature) argument 215 return (features & feature) == feature;
|
/external/valgrind/main/tests/ |
H A D | mips_features.c | 4 // - 0 if the machine matches the asked-for feature. 6 // - 2 if the asked-for feature isn't recognised (this will be the case for 7 // any feature if run on a non-MIPS machine). 47 static int go(char *feature) argument 50 if (strcmp(feature, "mips32-dsp") == 0) { 58 } else if (strcmp(feature, "mips32-dspr2") == 0) { 66 } else if (strcmp(feature, "cavium-octeon") == 0) { 74 } else if (strcmp(feature, "cavium-octeon2") == 0) { 82 } else if (strcmp(feature, "mips-be") == 0) { 96 static int go(char *feature) argument [all...] |
/external/webp/src/dsp/ |
H A D | cpu.c | 77 static int x86CPUInfo(CPUFeature feature) { argument 80 if (feature == kSSE2) { 83 if (feature == kSSE3) { 86 if (feature == kAVX) { 93 if (feature == kAVX2) { 103 static int AndroidCPUInfo(CPUFeature feature) { argument 106 if (feature == kNEON) { 116 static int armCPUInfo(CPUFeature feature) { argument 117 (void)feature; 122 static int mipsCPUInfo(CPUFeature feature) { argument [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/ |
H A D | accessibility_features_apitest.cc | 70 const char* const GetPrefForFeature(const std::string& feature) { argument 71 if (feature == "spokenFeedback") 73 if (feature == "largeCursor") 75 if (feature == "stickyKeys") 77 if (feature == "highContrast") 79 if (feature == "screenMagnifier") 81 if (feature == "autoclick") 83 if (feature == "virtualKeyboard") 100 EXPECT_TRUE(pref_name) << "Invalid feature " << enabled_features[i]; 108 EXPECT_TRUE(pref_name) << "Invalid feature " << disabled_feature [all...] |
/external/chromium_org/extensions/common/manifest_handlers/ |
H A D | requirements_info.cc | 118 std::string feature; local 119 if ((*feature_iter)->GetAsString(&feature)) { 120 if (feature == "webgl") { 122 } else if (feature == "css3d") {
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | main.cc | 135 printf (" No required feature\n"); 137 printf (" Required feature index: %d\n", 141 printf (" %d feature(s) found in language system\n", num_features); 150 printf (" %d feature(s) found in table\n", num_features); 152 const Feature &feature = g.get_feature (n_feature); local 153 int num_lookups = feature.get_lookup_count (); 157 printf (" %d lookup(s) found in feature\n", num_lookups); 160 feature.get_lookup_index (n_lookup));
|
/external/harfbuzz_ng/src/ |
H A D | main.cc | 135 printf (" No required feature\n"); 137 printf (" Required feature index: %d\n", 141 printf (" %d feature(s) found in language system\n", num_features); 150 printf (" %d feature(s) found in table\n", num_features); 152 const Feature &feature = g.get_feature (n_feature); local 153 int num_lookups = feature.get_lookup_count (); 157 printf (" %d lookup(s) found in feature\n", num_lookups); 160 feature.get_lookup_index (n_lookup));
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | active_tab_unittest.cc | 29 #include "extensions/common/features/feature.h" 101 PermittedFeature feature) { 102 return IsAllowed(extension, url, feature, tab_id()); 107 PermittedFeature feature, 114 switch (feature) { 99 IsAllowed(const scoped_refptr<const Extension>& extension, const GURL& url, PermittedFeature feature) argument 105 IsAllowed(const scoped_refptr<const Extension>& extension, const GURL& url, PermittedFeature feature, int tab_id) argument
|
/external/chromium_org/chrome/renderer/safe_browsing/ |
H A D | phishing_classifier.cc | 99 // this is the case, post a task to begin feature extraction on the next 140 // DOM feature extraction can take awhile, so it runs asynchronously 149 // Note that cancelling the feature extractors is simply a no-op if they 161 // Term feature extraction can take awhile, so it runs asynchronously 200 ClientPhishingRequest::Feature* feature = verdict.add_feature_map(); local 201 feature->set_name(it->first); 202 feature->set_value(it->second);
|