AddRealFeature 18 chrome/renderer/safe_browsing/features.cc return AddRealFeature(name, 1.0); AddRealFeature 50 chrome/renderer/safe_browsing/features.h bool AddRealFeature(const std::string& name, double value); AddRealFeature 32 chrome/renderer/safe_browsing/features_unittest.cc EXPECT_FALSE(features.AddRealFeature("toosmall", -0.1)); AddRealFeature 33 chrome/renderer/safe_browsing/features_unittest.cc EXPECT_TRUE(features.AddRealFeature("zero", 0.0)); AddRealFeature 34 chrome/renderer/safe_browsing/features_unittest.cc EXPECT_TRUE(features.AddRealFeature("pointfive", 0.5)); AddRealFeature 35 chrome/renderer/safe_browsing/features_unittest.cc EXPECT_TRUE(features.AddRealFeature("one", 1.0)); AddRealFeature 36 chrome/renderer/safe_browsing/features_unittest.cc EXPECT_FALSE(features.AddRealFeature("toolarge", 1.1)); AddRealFeature 39 chrome/renderer/safe_browsing/features_unittest.cc expected_features.AddRealFeature("zero", 0.0); AddRealFeature 40 chrome/renderer/safe_browsing/features_unittest.cc expected_features.AddRealFeature("pointfive", 0.5); AddRealFeature 41 chrome/renderer/safe_browsing/features_unittest.cc expected_features.AddRealFeature("one", 1.0); AddRealFeature 193 chrome/renderer/safe_browsing/phishing_classifier.cc bool result = hashed_features.AddRealFeature( AddRealFeature 142 chrome/renderer/safe_browsing/phishing_classifier_browsertest.cc features->AddRealFeature(verdict->feature_map(i).name(), AddRealFeature 439 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc features_->AddRealFeature(features::kPageExternalLinksFreq, link_freq); AddRealFeature 451 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc features_->AddRealFeature(features::kPageSecureLinksFreq, secure_freq); AddRealFeature 476 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc features_->AddRealFeature(features::kPageActionOtherDomainFreq, AddRealFeature 485 chrome/renderer/safe_browsing/phishing_dom_feature_extractor.cc features_->AddRealFeature(features::kPageImgOtherDomainFreq, img_freq); AddRealFeature 195 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageActionOtherDomainFreq, 0.25); AddRealFeature 249 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageExternalLinksFreq, 0.5); AddRealFeature 250 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageSecureLinksFreq, 0.0); AddRealFeature 266 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageExternalLinksFreq, 0.25); AddRealFeature 267 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageSecureLinksFreq, 0.5); AddRealFeature 313 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageImgOtherDomainFreq, 0.5); AddRealFeature 370 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageActionOtherDomainFreq, 0.5); AddRealFeature 374 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageExternalLinksFreq, 0.25); AddRealFeature 377 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageSecureLinksFreq, 0.25); AddRealFeature 379 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageImgOtherDomainFreq, 1.0); AddRealFeature 446 chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc expected_features.AddRealFeature(features::kPageActionOtherDomainFreq, 0.5); AddRealFeature 117 chrome/renderer/safe_browsing/scorer_unittest.cc EXPECT_TRUE(features.AddRealFeature("feature1", 0.15));