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

1 2 3 4 5 6

  /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
125 FeatureMap features; local
128 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features));
130 EXPECT_TRUE(features.AddBooleanFeature("not existing feature"));
131 EXPECT_DOUBLE_EQ(0.62245933120185459, scorer->ComputeScore(features));
136 EXPECT_TRUE(features.AddRealFeature("feature1", 0.15));
137 EXPECT_DOUBLE_EQ(0.6899744811276125, scorer->ComputeScore(features));
143 EXPECT_TRUE(features.AddBooleanFeature("feature2"));
144 EXPECT_DOUBLE_EQ(0.77729986117469119, scorer->ComputeScore(features));
    [all...]
  /external/chromium_org/components/nacl/renderer/
platform_info.cc 51 // TODO(jfb) Some features are missing, either because the NaCl
55 // other features.
61 std::vector<std::string> features; local
64 // On x86, SSE features are ordered: the most recent one implies the
66 // whereas non-SSE features don't follow this model: POPCNT is
71 if (cpu.has_sse41()) features.push_back("+sse4.1");
73 else if (cpu.has_ssse3()) features.push_back("+ssse3");
75 else if (cpu.has_sse2()) features.push_back("+sse2");
78 return JoinString(features, ',');
  /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. */
CollectionSize.java 17 package com.google.common.collect.testing.features;
29 * When describing the features of the collection produced by a given generator
33 * should be built. (In a typical case, the features should include {@link
35 * from those of other Collection-related features such as {@link
ConflictingRequirementsException.java 17 package com.google.common.collect.testing.features;
ListFeature.java 17 package com.google.common.collect.testing.features;
28 * Optional features of classes derived from {@code List}.
50 /** Features supported by lists where only removal is allowed. */
SetFeature.java 17 package com.google.common.collect.testing.features;
27 * Optional features of classes derived from {@code Set}.
  /external/chromium_org/extensions/browser/api/system_cpu/
cpu_info_provider.cc 33 info_.features = GetFeatures();
48 std::vector<std::string> features; local
51 features.push_back("mmx");
53 features.push_back("sse");
55 features.push_back("sse2");
57 features.push_back("sse3");
59 features.push_back("ssse3");
61 features.push_back("sse4_1");
63 features.push_back("sse4_2");
65 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]);
  /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 48 static LocalFrame* createWindow(LocalFrame& openerFrame, LocalFrame& lookupFrame, const FrameLoadRequest& request, const WindowFeatures& features, NavigationPolicy policy, ShouldSendReferrer shouldSendReferrer, bool& created)
50 ASSERT(!features.dialog || request.frameName().isEmpty());
79 Page* page = oldPage->chrome().client().createWindow(&openerFrame, request, features, policy, shouldSendReferrer);
90 host->chrome().setWindowFeatures(features);
99 if (features.xSet)
100 windowRect.setX(features.x);
101 if (features.ySet)
102 windowRect.setY(features.y);
103 if (features.widthSet)
104 windowRect.setWidth(features.width + (windowRect.width() - viewportSize.width()))
179 WindowFeatures features; local
    [all...]
  /external/chromium_org/v8/src/base/
cpu.cc 407 // Try to extract the list of CPU features from ELF hwcaps.
417 // Try to fallback to "Features" CPUInfo field.
418 char* features = cpu_info.ExtractField("Features"); local
419 has_idiva_ = HasListItem(features, "idiva");
420 has_neon_ = HasListItem(features, "neon");
421 has_thumb2_ = HasListItem(features, "thumb2");
422 has_vfp_ = HasListItem(features, "vfp");
423 if (HasListItem(features, "vfpv3d16")) {
425 } else if (HasListItem(features, "vfpv3"))
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
ListTestSuiteBuilder.java 19 import com.google.common.collect.testing.features.CollectionFeature;
20 import com.google.common.collect.testing.features.Feature;
88 List<Feature<?>> features = Helpers.copyToList(getFeatures()); local
89 features.add(CollectionFeature.KNOWN_ORDER);
90 withFeatures(features);
  /external/icu/icu4c/source/layout/
HanLayoutEngine.cpp 39 #define features (loclFeatureMask) macro
75 // flag from the language tag lookups, so we can use these features
78 glyphStorage.setAuxData(i, features, success);
  /external/chromium_org/extensions/common/manifest_handlers/
requirements_info.cc 107 const base::ListValue* features = NULL; local
108 if (!requirement_value->GetListWithoutPathExpansion("features",
109 &features) ||
110 !features) {
116 for (base::ListValue::const_iterator feature_iter = features->begin();
117 feature_iter != features->end(); ++feature_iter) {
  /external/chromium_org/third_party/skia/src/core/
SkUtilsArm.cpp 20 # include <cpu-features.h>
30 // Use the Android NDK's cpu-features helper library to detect NEON at runtime.
44 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
84 // Now, find a line that starts with "Features", i.e. look for
86 const char features[] = "\nFeatures\t"; local
87 const size_t features_len = sizeof(features)-1;
90 features, features_len);
91 if (line == NULL) { // Weird, no Features line, bad kernel?
92 SkDebugf("Could not find a line starting with 'Features'"
  /cts/tests/tests/os/src/android/os/cts/
CpuFeaturesTest.java 77 String features = getFieldFromCpuinfo("Features"); local
78 if (features == null)
81 return Arrays.asList(features.split("\\s"));
88 private static void assertInCpuinfo(List<String> features,
91 features.contains(feature));
94 private static void assertNotInCpuinfo(List<String> features,
97 features.contains(feature));
123 List<String> features = getFeaturesFromCpuinfo(); local
124 /* When /proc/cpuinfo is read by 32-bit ARM processes, the Features
143 List<String> features = getFeaturesFromCpuinfo(); local
    [all...]

Completed in 614 milliseconds

1 2 3 4 5 6