HomeSort by relevance Sort by last modified time
    Searched defs:features (Results 1 - 25 of 265) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/chromium_org/chrome/browser/safe_browsing/
browser_features.h 5 // Client-side phishing features that are extracted by the browser, after
12 namespace features { namespace in namespace:safe_browsing
14 // IMPORTANT: when adding new features, you must update kAllowedFeatures in
19 // History features.
47 // Browse features.
49 // Note that these features may have the following prefixes appended to them
82 } // namespace features
  /external/chromium_org/chrome/renderer/safe_browsing/
features_unittest.cc 5 #include "chrome/renderer/safe_browsing/features.h"
15 FeatureMap features; local
17 EXPECT_TRUE(features.AddBooleanFeature(
20 EXPECT_EQ(FeatureMap::kMaxFeatureMapSize, features.features().size());
22 // Attempting to add more features should fail.
24 EXPECT_FALSE(features.AddBooleanFeature(
27 EXPECT_EQ(FeatureMap::kMaxFeatureMapSize, features.features().size());
31 FeatureMap features; local
    [all...]
features.h 5 // Common types and constants for extracting and evaluating features in the
9 // feature or combination of features. These values can then be summed to
12 // Some features are boolean features. If these features are set, they always
13 // have a value of 0.0 or 1.0. In practice, the features are only set if the
16 // We also use token features. These features have a unique name that is
18 // example, "UrlDomain=chromium". These features are also always set to 1.0
21 // The intermediate storage of the features for a URL is a FeatureMap, which i
53 const base::hash_map<std::string, double>& features() const { function in class:safe_browsing::FeatureMap
71 namespace features { namespace in namespace:safe_browsing
    [all...]
phishing_url_feature_extractor_unittest.cc 9 #include "chrome/renderer/safe_browsing/features.h"
33 expected_features.AddBooleanFeature(features::kUrlHostIsIpAddress);
34 expected_features.AddBooleanFeature(features::kUrlPathToken +
36 expected_features.AddBooleanFeature(features::kUrlPathToken +
38 expected_features.AddBooleanFeature(features::kUrlPathToken +
41 FeatureMap features; local
42 ASSERT_TRUE(extractor_.ExtractFeatures(GURL(url), &features));
43 ExpectFeatureMapsAreEqual(features, expected_features);
47 expected_features.AddBooleanFeature(features::kUrlTldToken +
49 expected_features.AddBooleanFeature(features::kUrlDomainToken
    [all...]
scorer_unittest.cc 15 #include "chrome/renderer/safe_browsing/features.h"
25 // how features are encoded so we use readable strings here to make
110 FeatureMap features; local
113 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features));
115 EXPECT_TRUE(features.AddBooleanFeature("not existing feature"));
116 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features));
121 EXPECT_TRUE(features.AddRealFeature("feature1", 0.15));
122 EXPECT_DOUBLE_EQ(0.6899744811276125, scorer->ComputeScore(features));
128 EXPECT_TRUE(features.AddBooleanFeature("feature2"));
129 EXPECT_DOUBLE_EQ(0.77729986117469119, scorer->ComputeScore(features));
    [all...]
  /external/chromium_org/gpu/config/
gpu_util_unittest.cc 53 std::set<int> features; local
54 StringToFeatureSet("", &features);
55 EXPECT_EQ(0u, features.size());
58 // One features.
59 std::set<int> features; local
60 StringToFeatureSet("4", &features);
61 EXPECT_EQ(1u, features.size());
64 // Multiple features.
65 std::set<int> features; local
66 StringToFeatureSet("1,9", &features);
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
TesterAnnotation.java 17 package com.google.common.collect.testing.features;
Feature.java 17 package com.google.common.collect.testing.features;
22 * Base class for enumerating the features of an interface to be tested.
26 * @param <T> The interface whose features are to be enumerated.
30 /** Returns the set of features that are implied by this feature. */
  /ndk/tests/device/test-cpufeatures/jni/
test_android_setCpu_1.c 4 #include "cpu-features.h"
13 uint64_t features, cpu_features = 0xaabdedf012934839ULL; local
19 printf("Setting cpu_count=%d, features=%08llx\n",
26 features = android_getCpuFeatures();
28 printf("Retrieved cpu_count=%d, features=%08llx\n",
29 count, features);
34 if (features != cpu_features)
test_android_setCpu_2.c 4 #include "cpu-features.h"
13 uint64_t features, cpu_features = 0xaabdedf012934839ULL; local
16 features = android_getCpuFeatures();
18 printf("Retrieved cpu_count=%d, features=%08llx\n",
19 count, features);
24 printf("Trying to set cpu_count=%d, features=%08llx\n",
test_android_setCpuArm_1.c 4 #include "cpu-features.h"
17 uint64_t features, cpu_features = 0xaabdedf012934839ULL; local
24 printf("Setting cpu_count=%d, features=%08llx cpu_id=%08x\n",
31 features = android_getCpuFeatures();
34 printf("Retrieved cpu_count=%d, features=%08llx cpu_id=%08x\n",
35 count, features, id);
40 if (features != cpu_features)
test_cpufeatures.c 18 #include <cpu-features.h>
50 uint64_t features = android_getCpuFeatures(); local
51 printf( "Supported ARM features:\n");
53 if ((features & ANDROID_CPU_ARM_FEATURE_## name) != 0) { \
81 uint64_t features = android_getCpuFeatures(); local
82 printf( "Supported x86 features:\n");
84 if ((features & ANDROID_CPU_X86_FEATURE_## name) != 0) { \
95 // Check that the CPU features mask is empty for anything that isn't
99 uint64_t features = android_getCpuFeatures(); local
100 if (features != 0)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/system_cpu/
cpu_info_provider.cc 35 info_.features = GetFeatures();
50 std::vector<std::string> features; local
52 if (cpu_.has_mmx()) features.push_back("mmx");
53 if (cpu_.has_sse()) features.push_back("sse");
54 if (cpu_.has_sse2()) features.push_back("sse2");
55 if (cpu_.has_sse3()) features.push_back("sse3");
56 if (cpu_.has_ssse3()) features.push_back("ssse3");
57 if (cpu_.has_sse41()) features.push_back("sse4_1");
58 if (cpu_.has_sse42()) features.push_back("sse4_2");
59 if (cpu_.has_avx()) features.push_back("avx")
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
mucroomdiscoverytask.cc 48 std::set<std::string> features; local
52 SignalResult(this, false, "", "", features, extended_info);
68 features.insert(feature->Attr(QN_VAR));
80 SignalResult(this, true, name, conversation_id, features, extended_info);
  /external/chromium_org/third_party/webrtc/common_audio/vad/
vad_filterbank_unittest.cc 36 int16_t features[kNumChannels]; local
51 features));
54 features[k]);
67 features));
69 EXPECT_EQ(kOffsetVector[k], features[k]);
83 features));
85 EXPECT_EQ(kOffsetVector[k], features[k]);
  /frameworks/base/core/java/android/content/pm/
FeatureGroupInfo.java 22 * A set of features that can be requested by an application. This corresponds
29 * The list of features that are required by this group.
33 public FeatureInfo[] features; field in class:FeatureGroupInfo
39 features = other.features;
49 dest.writeTypedArray(features, flags);
56 group.features = source.createTypedArray(FeatureInfo.CREATOR);
  /frameworks/compile/libbcc/lib/Support/
CompilerConfig.cpp 103 llvm::StringMap<bool> features; local
104 llvm::sys::getHostCPUFeatures(features);
127 if (features.count("hwdiv-arm") && features["hwdiv-arm"])
130 if (features.count("hwdiv") && features["hwdiv"])
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test___future__.py 8 features = __future__.all_feature_names variable
14 given_feature_names = features[:]
27 for feature in features:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test___future__.py 8 features = __future__.all_feature_names variable
14 given_feature_names = features[:]
27 for feature in features:
  /external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
SAXFactoryImpl.java 32 * The easiest way to test validity of features to set is to use
42 * This Map contains explicitly set features that can be succesfully
50 private HashMap features = null; field in class:SAXFactoryImpl
67 return SAXParserImpl.newInstance(features);
87 if (features == null) {
89 features = new LinkedHashMap();
91 features.put(name, value ? Boolean.TRUE : Boolean.FALSE);
  /libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
SAXParserFactoryImpl.java 34 = "http://xml.org/sax/features/namespaces";
37 = "http://xml.org/sax/features/validation";
39 private Map<String, Boolean> features = new HashMap<String, Boolean>(); field in class:SAXParserFactoryImpl
47 if (!name.startsWith("http://xml.org/sax/features/")) {
51 return Boolean.TRUE.equals(features.get(name));
80 return new SAXParserImpl(features);
92 if (!name.startsWith("http://xml.org/sax/features/")) {
97 features.put(name, Boolean.TRUE);
99 // This is needed to disable features that are enabled by default.
100 features.put(name, Boolean.FALSE)
    [all...]
  /external/chromium_org/chrome/browser/ui/blocked_content/
blocked_window_params.h 23 const blink::WebWindowFeatures& features,
32 blink::WebWindowFeatures features() const { function in class:BlockedWindowParams
  /external/chromium_org/chromeos/dbus/
bluetooth_profile_service_provider.h 57 // Profile features.
58 uint16 features; member in struct:chromeos::BluetoothProfileServiceProvider::Delegate::Options
  /external/chromium_org/third_party/WebKit/Source/core/page/
CreateWindow.cpp 47 static LocalFrame* createWindow(LocalFrame& openerFrame, LocalFrame& lookupFrame, const FrameLoadRequest& request, const WindowFeatures& features, NavigationPolicy policy, ShouldSendReferrer shouldSendReferrer, bool& created)
49 ASSERT(!features.dialog || request.frameName().isEmpty());
78 Page* page = oldPage->chrome().client().createWindow(&openerFrame, request, features, policy, shouldSendReferrer);
89 host->chrome().setWindowFeatures(features);
98 if (features.xSet)
99 windowRect.setX(features.x);
100 if (features.ySet)
101 windowRect.setY(features.y);
102 if (features.widthSet)
103 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width()))
178 WindowFeatures features; local
    [all...]
  /external/chromium_org/v8/src/
cpu.cc 381 // Try to extract the list of CPU features from ELF hwcaps.
391 // Try to fallback to "Features" CPUInfo field.
392 char* features = cpu_info.ExtractField("Features"); local
393 has_idiva_ = HasListItem(features, "idiva");
394 has_neon_ = HasListItem(features, "neon");
395 has_thumb2_ = HasListItem(features, "thumb2");
396 has_vfp_ = HasListItem(features, "vfp");
397 if (HasListItem(features, "vfpv3d16")) {
399 } else if (HasListItem(features, "vfpv3"))
    [all...]

Completed in 417 milliseconds

1 2 3 4 5 6 7 8 91011