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

1 2 3 4 5 6 7 8 91011>>

  /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...]
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...]
test_utils.cc 10 #include "chrome/renderer/safe_browsing/features.h"
17 std::map<std::string, double> sorted_first(first.features().begin(),
18 first.features().end());
19 std::map<std::string, double> sorted_second(second.features().begin(),
20 second.features().end());
phishing_dom_feature_extractor_browsertest.cc 23 #include "chrome/renderer/safe_browsing/features.h"
94 bool ExtractFeatures(FeatureMap* features) {
99 features));
103 void ExtractFeaturesInternal(FeatureMap* features) {
107 features,
194 expected_features.AddBooleanFeature(features::kPageHasForms);
195 expected_features.AddRealFeature(features::kPageActionOtherDomainFreq, 0.25);
196 expected_features.AddBooleanFeature(features::kPageHasTextInputs);
197 expected_features.AddBooleanFeature(features::kPageHasCheckInputs);
199 FeatureMap features; local
254 FeatureMap features; local
303 FeatureMap features; local
381 FeatureMap features; local
448 FeatureMap features; local
511 FeatureMap features; local
    [all...]
phishing_url_feature_extractor.cc 16 #include "chrome/renderer/safe_browsing/features.h"
27 FeatureMap* features) {
30 if (!features->AddBooleanFeature(features::kUrlHostIsIpAddress))
38 // the features in the model.
55 if (!features->AddBooleanFeature(features::kUrlTldToken +
71 if (!features->AddBooleanFeature(features::kUrlDomainToken +
79 if (!features->AddBooleanFeature(features::kUrlOtherHostToken + *it)
    [all...]
phishing_term_feature_extractor_unittest.cc 18 #include "chrome/renderer/safe_browsing/features.h"
91 FeatureMap* features,
96 features,
105 FeatureMap* features,
109 features,
147 FeatureMap features; local
149 ASSERT_TRUE(ExtractFeatures(&page_text, &features, &shingle_hashes));
150 ExpectFeatureMapsAreEqual(features, expected_features);
155 expected_features.AddBooleanFeature(features::kPageTerm +
157 expected_features.AddBooleanFeature(features::kPageTerm
389 FeatureMap features; local
439 FeatureMap features; local
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
manifest_features.py 15 def ConvertDottedKeysToNested(features):
16 '''Some Manifest Features are subordinate to others, such as app.background to
17 app. Subordinate Features can be moved inside the parent Feature under the key
20 Modifies |features|, a Manifest Features dictionary, by moving subordinate
21 Features with names of the form 'parent.child' into the 'parent' Feature.
22 Child features are renamed to the 'child' section of their previous name.
26 def add_child(features, parent, child_name, value):
28 if not 'children' in features[parent]:
29 features[parent]['children'] = {
    [all...]
manifest_data_source.py 14 def _ListifyAndSortDocs(features, app_name):
43 def convert_and_sort(features):
44 for key, value in features.items():
57 features[key]['children'] = convert_and_sort(value['children'])
58 return sorted(features.values(), key=sort_key)
63 if 'name' in features:
64 name = features['name']
67 features = convert_and_sort(features)
69 return features
    [all...]
  /external/chromium_org/third_party/webrtc/system_wrappers/source/
cpu_features_android.c 11 #include <cpu-features.h>
  /external/ipsec-tools/src/include-glibc/
glibc-bugs.h 9 #include <features.h>
  /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/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/chrome/browser/safe_browsing/
browser_feature_extractor_unittest.cc 166 std::map<std::string, double>* features) {
170 EXPECT_EQ(0U, features->count(feature.name()));
171 (*features)[feature.name()] = feature.value();
291 std::map<std::string, double> features; local
292 GetFeatureMap(request, &features);
294 EXPECT_EQ(12U, features.size());
295 EXPECT_DOUBLE_EQ(2.0, features[features::kUrlHistoryVisitCount]);
297 features[features::kUrlHistoryVisitCountMoreThan24hAgo])
380 std::map<std::string, double> features; local
583 std::map<std::string, double> features; local
    [all...]
  /external/chromium_org/third_party/webrtc/common_audio/vad/
vad_filterbank.h 30 // The values are given in Q4 and written to |features|. Further, an approximate
38 // - features [o] : 10 * log10(energy in each frequency band), Q4.
42 int data_length, int16_t* features);
  /external/libpng/contrib/arm-neon/
android-ndk.c 23 * with an implementation of the Android ARM 'cpu-features' library. The code
27 #include <cpu-features.h>
  /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...]
gpu_control_list_unittest.cc 75 std::set<int> features = control_list->MakeDecision( local
77 EXPECT_EMPTY_SET(features);
81 // Empty list: all features are allowed.
95 std::set<int> features = control_list->MakeDecision( local
97 EXPECT_EMPTY_SET(features);
122 "features": [
132 std::set<int> features = control_list->MakeDecision( local
134 EXPECT_SINGLE_FEATURE(features, TEST_FEATURE_0);
140 features = control_list->MakeDecision(
142 EXPECT_SINGLE_FEATURE(features, TEST_FEATURE_0)
171 std::set<int> features = control_list->MakeDecision( local
282 std::set<int> features = control_list->MakeDecision( local
321 std::set<int> features = control_list->MakeDecision( local
369 std::set<int> features = control_list->MakeDecision( local
436 std::set<int> features = control_list->MakeDecision( local
485 std::set<int> features = control_list->MakeDecision( local
531 std::set<int> features = control_list->MakeDecision( local
569 std::set<int> features = control_list->MakeDecision( local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListCreationTester.java 19 import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
20 import static com.google.common.collect.testing.features.CollectionSize.ONE;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
CollectionToStringTester.java 19 import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
20 import static com.google.common.collect.testing.features.CollectionFeature.NON_STANDARD_TOSTRING;
21 import static com.google.common.collect.testing.features.CollectionSize.ONE;
22 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
23 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
27 import com.google.common.collect.testing.features.CollectionFeature;
28 import com.google.common.collect.testing.features.CollectionSize;
QueuePollTester.java 19 import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
20 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
21 import static com.google.common.collect.testing.features.CollectionSize.ONE;
22 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
23 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
25 import com.google.common.collect.testing.features.CollectionFeature;
26 import com.google.common.collect.testing.features.CollectionSize;
QueueRemoveTester.java 19 import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
20 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
21 import static com.google.common.collect.testing.features.CollectionSize.ONE;
22 import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
23 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
25 import com.google.common.collect.testing.features.CollectionFeature;
26 import com.google.common.collect.testing.features.CollectionSize;
  /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...]
  /external/chromium_org/base/android/
cpu_features.cc 5 #include <cpu-features.h>
  /external/clang/lib/Frontend/
LangStandards.cpp 16 #define LANGSTANDARD(id, name, desc, features) \
17 static const LangStandard Lang_##id = { name, desc, features };
24 #define LANGSTANDARD(id, name, desc, features) \
33 #define LANGSTANDARD(id, name, desc, features) \
  /external/guava/guava-testlib/src/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. */

Completed in 1055 milliseconds

1 2 3 4 5 6 7 8 91011>>