Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 3062) sorted by relevance

12345678910>>...123

/external/llvm/unittests/ADT/
DSparseMultiSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_EQ(0u, Set.size()); in TEST()
25 Set.setUniverse(10); in TEST()
28 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
29 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
32 const USet &CSet = Set; in TEST()
42 USet Set; in TEST() local
43 Set.setUniverse(10); in TEST()
44 USet::iterator I = Set.insert(5); in TEST()
[all …]
DSparseSetTest.cpp21 USet Set; in TEST() local
22 EXPECT_TRUE(Set.empty()); in TEST()
23 EXPECT_TRUE(Set.begin() == Set.end()); in TEST()
24 EXPECT_EQ(0u, Set.size()); in TEST()
26 Set.setUniverse(10); in TEST()
29 EXPECT_TRUE(Set.find(0) == Set.end()); in TEST()
30 EXPECT_TRUE(Set.find(9) == Set.end()); in TEST()
33 const USet &CSet = Set; in TEST()
44 USet Set; in TEST() local
45 Set.setUniverse(10); in TEST()
[all …]
/external/chromium_org/chrome/browser/extensions/api/omnibox/
Domnibox_unittest.cc48 .Set("content", "content") in TEST()
49 .Set("description", "description") in TEST()
50 .Set("descriptionStyles", ListBuilder() in TEST()
52 .Set("type", "match") in TEST()
53 .Set("offset", 1) in TEST()
54 .Set("length", 4)) in TEST()
56 .Set("type", "dim") in TEST()
57 .Set("offset", 6) in TEST()
58 .Set("length", 3))))).Build(); in TEST()
79 .Set("content", "content") in TEST()
[all …]
/external/chromium_org/extensions/browser/api/storage/
Dsettings_quota_unittest.cc84 EXPECT_TRUE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); in TEST_F()
94 storage_->Set(DEFAULTS, "Really long key", *byte_value_1_)->HasError()); in TEST_F()
102 EXPECT_FALSE(storage_->Set(DEFAULTS, "a", *byte_value_1_)->HasError()); in TEST_F()
103 settings.Set("a", byte_value_1_->DeepCopy()); in TEST_F()
106 EXPECT_TRUE(storage_->Set(DEFAULTS, "b", *byte_value_16_)->HasError()); in TEST_F()
107 EXPECT_TRUE(storage_->Set(DEFAULTS, "c", *byte_value_256_)->HasError()); in TEST_F()
116 to_set.Set("a", byte_value_1_->DeepCopy()); in TEST_F()
117 to_set.Set("b", byte_value_16_->DeepCopy()); in TEST_F()
118 EXPECT_FALSE(storage_->Set(DEFAULTS, to_set)->HasError()); in TEST_F()
119 settings.Set("a", byte_value_1_->DeepCopy()); in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/api/extension_action/
Dbrowser_action_manifest_unittest.cc28 .Set("name", "No default properties") in TEST_F()
29 .Set("version", "1.0.0") in TEST_F()
30 .Set("manifest_version", 2) in TEST_F()
31 .Set("browser_action", DictionaryBuilder() in TEST_F()
32 .Set("default_title", "Title"))) in TEST_F()
47 .Set("name", "String default icon") in TEST_F()
48 .Set("version", "1.0.0") in TEST_F()
49 .Set("manifest_version", 2) in TEST_F()
50 .Set("browser_action", DictionaryBuilder() in TEST_F()
51 .Set("default_icon", "icon.png"))) in TEST_F()
[all …]
/external/chromium_org/third_party/webrtc/test/
Drtcp_packet_parser.cc28 sender_report_.Set(parser.Packet().SR); in Parse()
31 receiver_report_.Set(parser.Packet().RR); in Parse()
34 report_block_.Set(parser.Packet().ReportBlockItem); in Parse()
38 sdes_.Set(); in Parse()
41 sdes_chunk_.Set(parser.Packet().CName); in Parse()
44 bye_.Set(parser.Packet().BYE); in Parse()
47 app_.Set(parser.Packet().APP); in Parse()
50 app_item_.Set(parser.Packet().APP); in Parse()
53 ij_.Set(); in Parse()
56 ij_item_.Set(parser.Packet().ExtendedJitterReportItem); in Parse()
[all …]
/external/llvm/test/TableGen/
DSetTheory.td8 class Set<dag d> {
12 // It prints all Set instances and their ordered set interpretation.
22 def S0a : Set<(add)>;
23 def S0b : Set<(add a)>;
24 def S0c : Set<(add a, b)>;
25 def S0d : Set<(add b, a)>;
26 def S0e : Set<(add a, a)>;
27 def S0f : Set<(add a, a, b, a, c, b, d, a)>;
28 def S0g : Set<(add b, a, b)>;
37 // Defs of Set class expand into their elements.
[all …]
/external/chromium_org/chrome/browser/chromeos/file_manager/
Dfile_tasks_unittest.cc54 pref_service->Set(prefs::kDefaultTasksByMimeType, mime_types); in UpdateDefaultTaskPreferences()
55 pref_service->Set(prefs::kDefaultTasksBySuffix, suffixes); in UpdateDefaultTaskPreferences()
384 .Set("name", "Foo") in TEST_F()
385 .Set("version", "1.0.0") in TEST_F()
386 .Set("manifest_version", 2) in TEST_F()
387 .Set("app", in TEST_F()
389 .Set("background", in TEST_F()
391 .Set("scripts", in TEST_F()
394 .Set("file_handlers", in TEST_F()
396 .Set("text", in TEST_F()
[all …]
/external/chromium_org/chrome/common/extensions/api/file_browser_handlers/
Dfile_browser_handler_manifest_unittest.cc60 .Set("name", "file browser handler test") in TEST_F()
61 .Set("version", "1.0.0") in TEST_F()
62 .Set("manifest_version", 2) in TEST_F()
63 .Set("file_browser_handlers", ListBuilder() in TEST_F()
65 .Set("id", "ExtremelyCoolAction") in TEST_F()
66 .Set("default_title", "Be Amazed") in TEST_F()
67 .Set("default_icon", "icon.png") in TEST_F()
68 .Set("file_filters", ListBuilder() in TEST_F()
96 .Set("name", "file browser handler test") in TEST_F()
97 .Set("version", "1.0.0") in TEST_F()
[all …]
/external/chromium_org/chrome/browser/policy/
Dmanaged_bookmarks_policy_handler_unittest.cc34 policy.Set(key::kManagedBookmarks, in TEST_F()
80 .Set("name", "Google") in TEST_F()
81 .Set("url", "http://google.com/")) in TEST_F()
83 .Set("name", "Empty Folder") in TEST_F()
84 .Set("children", extensions::ListBuilder().Pass())) in TEST_F()
86 .Set("name", "Big Folder") in TEST_F()
87 .Set("children", extensions::ListBuilder() in TEST_F()
89 .Set("name", "Youtube") in TEST_F()
90 .Set("url", "http://youtube.com/")) in TEST_F()
92 .Set("name", "Chromium") in TEST_F()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DSetsTest.java73 import java.util.Set;
117 @Override protected Set<String> create(String[] elements) { in suite()
120 Set<String> set1 = (size > 1) in suite()
125 Set<String> set2 = (size > 0) in suite()
137 @Override protected Set<String> create(String[] elements) { in suite()
138 Set<String> set1 = Sets.newHashSet(elements); in suite()
140 Set<String> set2 = Sets.newHashSet(elements); in suite()
150 @Override protected Set<String> create(String[] elements) { in suite()
151 Set<String> set1 = Sets.newHashSet(elements); in suite()
153 Set<String> set2 = Sets.newHashSet(samples().e3); in suite()
[all …]
DSetOperationsTest.java33 import java.util.Set;
47 @Override protected Set<String> create(String[] elements) { in suite()
58 @Override protected Set<String> create(String[] elements) { in suite()
69 @Override protected Set<String> create(String[] elements) { in suite()
80 @Override protected Set<String> create(String[] elements) { in suite()
91 @Override protected Set<String> create(String[] elements) { in suite()
106 @Override protected Set<String> create(String[] elements) { in suite()
119 @Override protected Set<String> create(String[] elements) { in suite()
131 @Override protected Set<String> create(String[] elements) { in suite()
142 @Override protected Set<String> create(String[] elements) { in suite()
[all …]
/external/chromium_org/base/win/
Dscoped_variant.h90 void Set(const wchar_t* str);
93 void Set(int8 i8);
94 void Set(uint8 ui8);
95 void Set(int16 i16);
96 void Set(uint16 ui16);
97 void Set(int32 i32);
98 void Set(uint32 ui32);
99 void Set(int64 i64);
100 void Set(uint64 ui64);
101 void Set(float r32);
[all …]
/external/chromium_org/chrome/browser/extensions/
Dshared_module_service_unittest.cc33 builder.Set("name", "Has Dependent Modules") in CreateExtensionImportingModule()
34 .Set("version", version) in CreateExtensionImportingModule()
35 .Set("manifest_version", 2); in CreateExtensionImportingModule()
37 builder.Set("import", in CreateExtensionImportingModule()
38 ListBuilder().Append(DictionaryBuilder().Set("id", import_id))); in CreateExtensionImportingModule()
125 .Set("name", "Shared Module") in TEST_F()
126 .Set("version", "1.0") in TEST_F()
127 .Set("manifest_version", 2) in TEST_F()
128 .Set("export", in TEST_F()
129 DictionaryBuilder().Set("resources", in TEST_F()
[all …]
Dextension_action_manager_unittest.cc77 .SetManifest(DictionaryBuilder().Set("version", "1") in BuildExtension()
78 .Set("manifest_version", 2) in BuildExtension()
79 .Set("icons", extension_icons) in BuildExtension()
80 .Set(action_type, action) in BuildExtension()
81 .Set("name", in BuildExtension()
118 DictionaryBuilder().Set("48", "icon48.png") in TestPopulateMissingValues()
119 .Set("128", "icon128.png"), in TestPopulateMissingValues()
133 DictionaryBuilder().Set("24", "icon24.png"), in TestPopulateMissingValues()
147 DictionaryBuilder().Set("128", "icon128.png"), in TestPopulateMissingValues()
148 DictionaryBuilder().Set("default_icon", DictionaryBuilder() in TestPopulateMissingValues()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
DFeatureUtil.java29 import java.util.Set;
56 public static Set<Feature<?>> addImpliedFeatures(Set<Feature<?>> features) { in addImpliedFeatures()
71 public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) { in impliedFeatures()
72 Set<Feature<?>> implied = new LinkedHashSet<Feature<?>>(); in impliedFeatures()
231 Set<Feature<?>> allPresentFeatures = in buildTesterRequirements()
233 Set<Feature<?>> allAbsentFeatures = in buildTesterRequirements()
235 Set<Feature<?>> conflictingFeatures = in buildTesterRequirements()
260 Set<Feature<?>> presentFeatures = requirements.getPresentFeatures(); in incorporateRequirements()
261 Set<Feature<?>> absentFeatures = requirements.getAbsentFeatures(); in incorporateRequirements()
262 Set<Feature<?>> morePresentFeatures = moreRequirements.getPresentFeatures(); in incorporateRequirements()
[all …]
/external/compiler-rt/
DMakefile114 $(call Set,Tmp.Key,$(1))
115 $(call Set,Tmp.Name,$($(Tmp.Key).Name))
116 $(call Set,Tmp.Configs,$($(Tmp.Key).Configs))
117 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name))
132 $(call Set,Tmp.Config,$(1))
133 $(call Set,Tmp.ObjPath,$(ProjObjRoot)/$(Tmp.Name)/$(Tmp.Config))
134 $(call Set,Tmp.SHARED_LIBRARY,$(strip \
136 $(call Set,Tmp.SHARED_LIBRARY_SUFFIX,$(strip \
141 $(call Set,Tmp.LibrarySuffix,$(Tmp.SHARED_LIBRARY_SUFFIX)),
142 $(call Set,Tmp.LibrarySuffix,a))
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
Dgroup-file-parser.rb615 TOKENS_FOLLOWING_group_name_IN_group_spec_85 = Set[ 1, 5 ]
616 TOKENS_FOLLOWING_member_IN_group_spec_108 = Set[ 1, 5 ]
617 TOKENS_FOLLOWING_T__10_IN_group_name_128 = Set[ 4 ]
618 TOKENS_FOLLOWING_CONSTANT_IN_group_name_144 = Set[ 11 ]
619 TOKENS_FOLLOWING_T__11_IN_group_name_146 = Set[ 4 ]
620 TOKENS_FOLLOWING_CONSTANT_IN_group_name_169 = Set[ 1, 12 ]
621 TOKENS_FOLLOWING_T__12_IN_group_name_177 = Set[ 1 ]
622 TOKENS_FOLLOWING_ID_IN_member_199 = Set[ 5, 13, 14, 17, 18 ]
623 TOKENS_FOLLOWING_parameter_declaration_IN_member_203 = Set[ 13 ]
624 TOKENS_FOLLOWING_T__13_IN_member_210 = Set[ 5, 6, 7 ]
[all …]
/external/valgrind/main/auxprogs/
DDotToScc.hs94 [Set a] -- The topologically sorted components
106 (Set a, [a]) -> -- state: visited set,
109 (Set a, [a]) -- final state
128 (Set a, [Set a]) -> -- Current state: visited set,
131 (Set a, [Set a]) -- Final state
159 data Set e = MkSet [e] type
163 unMkSet :: (Ord a) => Set a -> [a]
170 utSetEmpty :: (Ord a) => Set a
177 utSetIsEmpty :: (Ord a) => Set a -> Bool
184 utSetSingleton :: (Ord a) => a -> Set a
[all …]
/external/chromium_org/components/policy/core/common/
Dpolicy_map_unittest.cc28 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, value, NULL); in SetPolicy()
34 map->Set(name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_USER, in SetPolicy()
69 map.Set(kTestPolicyName1, POLICY_LEVEL_RECOMMENDED, in TEST_F()
164 a.Set(kTestPolicyName1, in TEST_F()
169 a.Set(kTestPolicyName2, in TEST_F()
174 a.Set(kTestPolicyName3, in TEST_F()
177 a.Set(kTestPolicyName4, in TEST_F()
182 a.Set(kTestPolicyName5, in TEST_F()
189 b.Set(kTestPolicyName1, in TEST_F()
194 b.Set(kTestPolicyName2, in TEST_F()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DPKIXParametersTest.java40 import java.util.Set;
80 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet01()
99 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet02()
111 Set returnedSet = pp.getTrustAnchors(); in testPKIXParametersSet02()
123 new PKIXParameters((Set) null); in testPKIXParametersSet03()
151 Set taSet = TestUtils.getTrustAnchorSet(); in testPKIXParametersSet05()
193 Set taSet = TestUtils.getTrustAnchorSet(); in testGetPolicyQualifiersRejected()
211 Set taSet = TestUtils.getTrustAnchorSet(); in testSetPolicyQualifiersRejected()
234 Set taSet = TestUtils.getTrustAnchorSet(); in testIsAnyPolicyInhibited()
252 Set taSet = TestUtils.getTrustAnchorSet(); in testSetAnyPolicyInhibited()
[all …]
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_policy_decoder_chromeos.cc116 policies->Set(key::kDeviceGuestModeEnabled, in DecodeLoginPolicies()
128 policies->Set(key::kDeviceShowUserNamesOnSignin, in DecodeLoginPolicies()
140 policies->Set(key::kDeviceAllowNewUsers, in DecodeLoginPolicies()
158 policies->Set(key::kDeviceUserWhitelist, in DecodeLoginPolicies()
169 policies->Set(key::kDeviceEphemeralUsersEnabled, in DecodeLoginPolicies()
212 policies->Set(key::kDeviceLocalAccounts, in DecodeLoginPolicies()
218 policies->Set(key::kDeviceLocalAccountAutoLoginId, in DecodeLoginPolicies()
225 policies->Set(key::kDeviceLocalAccountAutoLoginDelay, in DecodeLoginPolicies()
232 policies->Set(key::kDeviceLocalAccountAutoLoginBailoutEnabled, in DecodeLoginPolicies()
240 policies->Set(key::kDeviceLocalAccountPromptForNetworkWhenOffline, in DecodeLoginPolicies()
[all …]
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java27 import java.util.Set;
41 private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null);
42 private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null);
43 private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null);
44 private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
45 private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null);
46 private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null);
47 private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null);
48 private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
50 CacheBuilderFactory withConcurrencyLevels(Set<Integer> concurrencyLevels) { in withConcurrencyLevels()
[all …]
/external/chromium_org/chrome/browser/net/
Dproxy_policy_handler_unittest.cc77 policy.Set(key::kProxyBypassList, in TEST_F()
82 policy.Set(key::kProxyServer, in TEST_F()
87 policy.Set( in TEST_F()
104 policy.Set( in TEST_F()
111 policy.Set(key::kProxyBypassList, in TEST_F()
116 policy.Set(key::kProxyServer, in TEST_F()
131 policy.Set( in TEST_F()
146 policy.Set(key::kProxyServerMode, in TEST_F()
158 policy.Set(key::kProxyMode, in TEST_F()
170 policy.Set(key::kProxyServerMode, in TEST_F()
[all …]
/external/chromium_org/sync/android/java/src/org/chromium/sync/internal_api/pub/base/
DModelType.java19 import java.util.Set;
141 public static Set<ModelType> syncTypesToModelTypes(Collection<String> syncTypes) { in syncTypesToModelTypes()
145 Set<ModelType> modelTypes = new HashSet<ModelType>(syncTypes.size()); in syncTypesToModelTypes()
163 public static Set<ObjectId> syncTypesToObjectIds(Collection<String> syncTypes) { in syncTypesToObjectIds()
172 public static Set<ObjectId> modelTypesToObjectIds(Set<ModelType> modelTypes) { in modelTypesToObjectIds()
173 Set<ModelType> filteredModelTypes = filterOutNonInvalidationTypes(modelTypes); in modelTypesToObjectIds()
174 Set<ObjectId> objectIds = new HashSet<ObjectId>(filteredModelTypes.size()); in modelTypesToObjectIds()
182 public static Set<String> modelTypesToSyncTypesForTest(Set<ModelType> modelTypes) { in modelTypesToSyncTypesForTest()
183 Set<String> objectIds = new HashSet<String>(modelTypes.size()); in modelTypesToSyncTypesForTest()
192 public static Set<ModelType> filterOutNonInvalidationTypes(Set<ModelType> modelTypes) { in filterOutNonInvalidationTypes()
[all …]

12345678910>>...123