/external/chromium_org/chrome/browser/safe_browsing/ |
H A D | 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/ |
H A D | 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...] |
H A D | 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 fo 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...] |
H A D | 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 [all...] |
H A D | 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/ |
H A D | 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/ |
H A D | 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/ |
H A D | TesterAnnotation.java | 17 package com.google.common.collect.testing.features;
|
H A D | 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. */
|
H A D | 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
|
H A D | ConflictingRequirementsException.java | 17 package com.google.common.collect.testing.features;
|
H A D | ListFeature.java | 17 package com.google.common.collect.testing.features; 28 * Optional features of classes derived from {@code List}.
|
H A D | SetFeature.java | 17 package com.google.common.collect.testing.features; 27 * Optional features of classes derived from {@code Set}.
|
H A D | FeatureUtil.java | 17 package com.google.common.collect.testing.features; 51 * Given a set of features, add to it all the features directly or indirectly 53 * @param features the set of features to expand 54 * @return the same set of features, expanded with all implied features 56 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { argument 57 // The base case of the recursion is an empty set of features, which will 58 // occur when the previous set contained only simple features 71 impliedFeatures(Set<Feature<?>> features) argument [all...] |
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
H A D | 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/ |
H A D | blocked_window_params.cc | 18 const blink::WebWindowFeatures& features, 26 features_(features), 14 BlockedWindowParams( const GURL& target_url, const content::Referrer& referrer, WindowOpenDisposition disposition, const blink::WebWindowFeatures& features, bool user_gesture, bool opener_suppressed, int render_process_id, int opener_id) argument
|
H A D | blocked_window_params.h | 23 const blink::WebWindowFeatures& features, 32 blink::WebWindowFeatures features() const { function in class:BlockedWindowParams
|
/external/chromium_org/chromeos/dbus/ |
H A D | bluetooth_profile_service_provider.h | 57 // Profile features. 58 uint16 features; member in struct:chromeos::BluetoothProfileServiceProvider::Delegate::Options
|
/external/chromium_org/extensions/browser/api/system_cpu/ |
H A D | 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 [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | 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/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | IteratorTester.java | 69 * @param features the features supported by the iterator 72 Iterable<? extends IteratorFeature> features, 74 super(steps, Collections.<E>singleton(null), features, expectedElements, 71 IteratorTester(int steps, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, KnownOrder knownOrder) argument
|
H A D | ListIteratorTester.java | 29 * {@code add()} calls; {@code features}, the features supported by the 43 Iterable<? extends IteratorFeature> features, 45 super(steps, elementsToInsert, features, expectedElements, 42 ListIteratorTester(int steps, Iterable<E> elementsToInsert, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, int startIndex) argument
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | ListListIteratorTester.java | 21 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; 22 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_ADD_WITH_INDEX; 23 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_SET; 30 import com.google.common.collect.testing.features.CollectionFeature; 31 import com.google.common.collect.testing.features.ListFeature; 68 private void runListIteratorTest(Set<IteratorFeature> features) { argument 70 listListIteratorTesterNumIterations(), singleton(samples.e4), features,
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/ |
H A D | 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);
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | requirements_checker_browsertest.cc | 52 void BlackListGPUFeatures(const std::vector<std::string>& features) { argument 66 " \"features\": [\"" + JoinString(features, "\", \"") + "\"]\n"
|