Home
last modified time | relevance | path

Searched refs:HashSet (Results 1 – 25 of 1190) sorted by relevance

12345678910>>...48

/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DStandardNames.java27 import java.util.HashSet;
104 private static final HashMap<String, HashSet<String>> CIPHER_MODES =
105 new HashMap<String, HashSet<String>>();
107 private static final HashMap<String, HashSet<String>> CIPHER_PADDINGS =
108 new HashMap<String, HashSet<String>>();
114 HashSet<String> modes = CIPHER_MODES.get(algorithm); in provideCipherModes()
116 modes = new HashSet<String>(); in provideCipherModes()
122 HashSet<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings()
124 paddings = new HashSet<String>(); in provideCipherPaddings()
164 public static final Set<String> SSL_CONTEXT_PROTOCOLS = new HashSet<String>(
[all …]
/external/conscrypt/testing/src/main/java/org/conscrypt/java/security/
DStandardNames.java26 import java.util.HashSet;
102 private static final HashMap<String, HashSet<String>> CIPHER_MODES =
103 new HashMap<String, HashSet<String>>();
105 private static final HashMap<String, HashSet<String>> CIPHER_PADDINGS =
106 new HashMap<String, HashSet<String>>();
112 HashSet<String> modes = CIPHER_MODES.get(algorithm); in provideCipherModes()
114 modes = new HashSet<String>(); in provideCipherModes()
120 HashSet<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings()
122 paddings = new HashSet<String>(); in provideCipherPaddings()
162 public static final Set<String> SSL_CONTEXT_PROTOCOLS = new HashSet<String>(
[all …]
/external/rust/crates/hashbrown/tests/
Drayon.rs6 use hashbrown::{HashMap, HashSet};
315 static ref SET_EMPTY: HashSet<char> = HashSet::new();
316 static ref SET: HashSet<char> = {
317 let mut s = HashSet::new();
386 let set_seq = SET_VEC_EMPTY.clone().into_iter().collect::<HashSet<_>>(); in set_seq_par_equivalence_collect_empty()
390 .collect::<HashSet<_>>(); in set_seq_par_equivalence_collect_empty()
400 let set_seq = SET_VEC.clone().into_iter().collect::<HashSet<_>>(); in set_seq_par_equivalence_collect()
401 let set_par = SET_VEC.clone().into_par_iter().collect::<HashSet<_>>(); in set_seq_par_equivalence_collect()
409 static ref SET_EXISTING_EMPTY: HashSet<char> = HashSet::new();
410 static ref SET_EXISTING: HashSet<char> = {
[all …]
/external/rust/crates/hashbrown/src/external_trait_impls/rayon/
Dset.rs4 use crate::hash_set::HashSet;
89 a: &'a HashSet<T, S, A>,
90 b: &'a HashSet<T, S, A>,
122 a: &'a HashSet<T, S, A>,
123 b: &'a HashSet<T, S, A>,
154 a: &'a HashSet<T, S, A>,
155 b: &'a HashSet<T, S, A>,
185 a: &'a HashSet<T, S, A>,
186 b: &'a HashSet<T, S, A>,
215 impl<T, S, A> HashSet<T, S, A> implementation
[all …]
/external/rust/crates/hashbrown/src/
Dset.rs115 pub struct HashSet<T, S = DefaultHashBuilder, A: Allocator + Clone = Global> { struct
119 impl<T: Clone, S: Clone, A: Allocator + Clone> Clone for HashSet<T, S, A> { implementation
121 HashSet { in clone()
132 impl<T> HashSet<T, DefaultHashBuilder> { implementation
172 impl<T: Hash + Eq, A: Allocator + Clone> HashSet<T, DefaultHashBuilder, A> { implementation
211 impl<T, S, A: Allocator + Clone> HashSet<T, S, A> { implementation
385 impl<T, S> HashSet<T, S, Global> { impl
453 impl<T, S, A> HashSet<T, S, A> impl
532 impl<T, S, A> HashSet<T, S, A> impl
1076 impl<T, S, A> PartialEq for HashSet<T, S, A> implementation
[all …]
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DSetExtensions.cs45 public static bool add<T>( this HashSet<T> set, T item ) in add()
51 public static void addAll<T>( this HashSet<T> set, IEnumerable<T> items ) in addAll()
59 public static void clear<T>( this HashSet<T> set ) in clear()
65 public static bool contains<T>( this HashSet<T> set, T value ) in contains()
71 public static bool remove<T>( this HashSet<T> set, T item ) in remove()
77 public static int size<T>( this HashSet<T> set ) in size()
83 public static T[] toArray<T>( this HashSet<T> set ) in toArray()
DDictionaryExtensions.cs111 public static HashSet<object> keySet( this IDictionary map ) in keySet()
113 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>( this IDictionary<TKey, TValue> map ) in keySet()
119 return new HashSet<TKey>( map.Keys ); in keySet()
124 public static HashSet<TKey> keySet<TKey, TValue>( this Dictionary<TKey, TValue> map ) in keySet()
126 return new HashSet<TKey>( map.Keys ); in keySet()
130 public static HashSet<object> keySet<TKey, TValue>( this SortedList<TKey, TValue> map ) in keySet()
132 return new HashSet<object>( map.Keys.Cast<object>() ); in keySet()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
DDictionaryExtensions.cs106 public static HashSet<object> keySet(IDictionary map) { in keySet()
107 return new HashSet<object>(map.Keys.Cast<object>()); in keySet()
111 public static HashSet<TKey> keySet<TKey, TValue>(IDictionary<TKey, TValue> map) { in keySet()
112 return new HashSet<TKey>(map.Keys); in keySet()
117 public static HashSet<TKey> keySet<TKey, TValue>(Dictionary<TKey, TValue> map) { in keySet()
118 return new HashSet<TKey>(map.Keys); in keySet()
122 public static HashSet<object> keySet<TKey, TValue>(SortedList<TKey, TValue> map) { in keySet()
123 return new HashSet<object>(map.Keys.Cast<object>()); in keySet()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptTest.java29 import java.util.HashSet;
70 Set<String> expected = new HashSet<>(Arrays.asList("TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
72 new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
77 expected = new HashSet<>(Arrays.asList("TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
78 found = new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
99 new HashSet<>(Arrays.asList("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
101 new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
106 expected = new HashSet<>(Arrays.asList("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
107 found = new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptTest.java30 import java.util.HashSet;
75 Set<String> expected = new HashSet<>(Arrays.asList("TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
77 new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
82 expected = new HashSet<>(Arrays.asList("TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
83 found = new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
105 new HashSet<>(Arrays.asList("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
107 new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
112 expected = new HashSet<>(Arrays.asList("TLSv1.3", "TLSv1.2", "TLSv1.1", "TLSv1")); in testProviderBuilder()
113 found = new HashSet<>(Arrays.asList(context.createSSLEngine().getEnabledProtocols())); in testProviderBuilder()
/external/rust/crates/ahash/src/
Dhash_set.rs2 use std::collections::{hash_set, HashSet};
18 pub struct AHashSet<T, S = crate::RandomState>(HashSet<T, S>);
20 impl<T> From<HashSet<T, crate::RandomState>> for AHashSet<T> {
21 fn from(item: HashSet<T, crate::RandomState>) -> Self { in from()
26 impl<T> Into<HashSet<T, crate::RandomState>> for AHashSet<T> {
27 fn into(self) -> HashSet<T, crate::RandomState> { in into()
34 AHashSet(HashSet::with_hasher(RandomState::default())) in new()
38 AHashSet(HashSet::with_capacity_and_hasher(capacity, RandomState::default())) in with_capacity()
45 AHashSet(HashSet::with_hasher(hash_builder)) in with_hasher()
49 AHashSet(HashSet::with_capacity_and_hasher(capacity, hash_builder)) in with_capacity_and_hasher()
[all …]
/external/doclava/src/com/google/doclava/
DTypeInfo.java25 new HashSet<String>(Arrays.asList("boolean", "byte", "char", "double", "float", "int",
194 return fullName(new HashSet<String>()); in fullName()
198 public static String typeArgumentsName(ArrayList<TypeInfo> args, HashSet<String> typeVars) { in typeArgumentsName()
213 public String fullName(HashSet<String> typeVars) { in fullName()
218 public String fullNameNoBounds(HashSet<String> typeVars) { in fullNameNoBounds()
224 private boolean checkRecurringTypeVar(HashSet<String> typeVars) { in checkRecurringTypeVar()
234 private String fullNameNoDimensionNoBounds(HashSet<String> typeVars) { in fullNameNoDimensionNoBounds()
249 public String fullNameNoDimension(HashSet<String> typeVars) { in fullNameNoDimension()
293 makeHDFRecursive(data, base, false, false, new HashSet<String>()); in makeHDF()
297 makeHDFRecursive(data, base, true, false, new HashSet<String>()); in makeQualifiedHDF()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DTestArchiveStreamProvider.java25 import java.util.HashSet;
51 final HashSet<String> set = new HashSet<>(); in getInputStreamArchiveNames()
58 final HashSet<String> set = new HashSet<>(); in getOutputStreamArchiveNames()
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DSubstituteLoggerFactoryTest.java31 import java.util.HashSet;
49 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggerNameList()
50 Set<String> actualNames = new HashSet<String>(factory.getLoggerNames()); in testLoggerNameList()
59 Set<String> expectedNames = new HashSet<String>(Arrays.asList("foo1", "foo2")); in testLoggers()
61 Set<String> actualNames = new HashSet<String>(); in testLoggers()
/external/testng/src/test/java/test/invokedmethodlistener/
DInvokedMethodNameListener.java7 import java.util.HashSet;
12 final Set<String> testMethods = new HashSet<>();
13 final Set<String> configurationMethods = new HashSet<>();
14 final Set<String> testMethodsFromTM = new HashSet<>();
15 final Set<String> configurationMethodsFromTM = new HashSet<>();
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DSets.java23 import java.util.HashSet;
45 public static <E> HashSet<E> newHashSet(E... elements) { in newHashSet()
46 final HashSet<E> set = new HashSet<>(elements.length); in newHashSet()
/external/dagger2/javatests/dagger/functional/binds/
DBindsCollectionsWithoutMultibindingsTest.java26 import java.util.HashSet;
38 static HashSet<String> provideHashSet() { in provideHashSet()
39 HashSet<String> set = new HashSet<>(); in provideHashSet()
46 abstract Set<String> bindStringSet(HashSet<String> set); in bindStringSet()
/external/cldr/tools/java/org/unicode/cldr/util/
DBuilder.java6 import java.util.HashSet;
174 collection.removeAll(getMatchingItems(predicate, collection, new HashSet<E>())); in removeAll()
205 HashSet<E> temp = Builder.with(new HashSet<E>()).addAll(items).get(); in retainAll()
211 collection.retainAll(getMatchingItems(predicate, collection, new HashSet<E>())); in retainAll()
231 HashSet<E> temp = Builder.with(new HashSet<E>()).addAll(items).get(); in xor()
236 HashSet<E> extras = new HashSet<>(c); in keepNew()
249 HashSet<E> temp = Builder.with(new HashSet<E>()).addAll(items).get(); in keepNew()
254 HashSet<E> temp = new HashSet<>(); in filter()
428 map.keySet().removeAll(getMatchingItems(predicate, map.keySet(), new HashSet<K>())); in removeAll()
433 map.keySet().retainAll(getMatchingItems(predicate, map.keySet(), new HashSet<K>())); in retainAll()
[all …]
DRecordingCLDRFile.java3 import java.util.HashSet;
15 private HashSet<String> recordedPaths = new HashSet<>();
29 public HashSet<String> getRecordedPaths() { in getRecordedPaths()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java24 import java.util.HashSet;
131 HashSet<MethodDescriptor<?, ?>> goldenMethods = new HashSet<MethodDescriptor<?, ?>>(); in builderWithServiceName()
135 new HashSet<MethodDescriptor<?, ?>>(ssd.getServiceDescriptor().getMethods())); in builderWithServiceName()
137 HashSet<ServerMethodDefinition<?, ?>> goldenMethodDefs in builderWithServiceName()
138 = new HashSet<ServerMethodDefinition<?, ?>>(); in builderWithServiceName()
141 assertEquals(goldenMethodDefs, new HashSet<ServerMethodDefinition<?, ?>>(ssd.getMethods())); in builderWithServiceName()
151 new HashSet<ServerMethodDefinition<?, ?>>(ssd.getMethods())); in builderWithServiceName_noMethods()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDisplayCollisions.java6 import java.util.HashSet;
151 Set<String> set1 = new HashSet<>(); in createMapPathPartsToSets()
157 Set<String> set2 = new HashSet<>(); in createMapPathPartsToSets()
164 Set<String> set3 = new HashSet<>(); in createMapPathPartsToSets()
169 Set<String> set4 = new HashSet<>(); in createMapPathPartsToSets()
174 Set<String> set5 = new HashSet<>(); in createMapPathPartsToSets()
180 Set<String> set6 = new HashSet<>(); in createMapPathPartsToSets()
185 Set<String> set7 = new HashSet<>(); in createMapPathPartsToSets()
192 Set<String> set9 = new HashSet<>(); in createMapPathPartsToSets()
198 Set<String> set10 = new HashSet<>(); in createMapPathPartsToSets()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DExtendedPKIXParameters.java11 import java.util.HashSet;
67 trustedACIssuers = new HashSet(); in ExtendedPKIXParameters()
68 necessaryACAttributes = new HashSet(); in ExtendedPKIXParameters()
69 prohibitedACAttributes = new HashSet(); in ExtendedPKIXParameters()
70 attrCertCheckers = new HashSet(); in ExtendedPKIXParameters()
135 trustedACIssuers = new HashSet(_params.trustedACIssuers); in setParams()
136 prohibitedACAttributes = new HashSet(_params.prohibitedACAttributes); in setParams()
137 necessaryACAttributes = new HashSet(_params.necessaryACAttributes); in setParams()
138 attrCertCheckers = new HashSet(_params.attrCertCheckers); in setParams()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/x509/
DExtendedPKIXParameters.java12 import java.util.HashSet;
69 trustedACIssuers = new HashSet(); in ExtendedPKIXParameters()
70 necessaryACAttributes = new HashSet(); in ExtendedPKIXParameters()
71 prohibitedACAttributes = new HashSet(); in ExtendedPKIXParameters()
72 attrCertCheckers = new HashSet(); in ExtendedPKIXParameters()
137 trustedACIssuers = new HashSet(_params.trustedACIssuers); in setParams()
138 prohibitedACAttributes = new HashSet(_params.prohibitedACAttributes); in setParams()
139 necessaryACAttributes = new HashSet(_params.necessaryACAttributes); in setParams()
140 attrCertCheckers = new HashSet(_params.attrCertCheckers); in setParams()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DExtendedPKIXParameters.java12 import java.util.HashSet;
69 trustedACIssuers = new HashSet(); in ExtendedPKIXParameters()
70 necessaryACAttributes = new HashSet(); in ExtendedPKIXParameters()
71 prohibitedACAttributes = new HashSet(); in ExtendedPKIXParameters()
72 attrCertCheckers = new HashSet(); in ExtendedPKIXParameters()
137 trustedACIssuers = new HashSet(_params.trustedACIssuers); in setParams()
138 prohibitedACAttributes = new HashSet(_params.prohibitedACAttributes); in setParams()
139 necessaryACAttributes = new HashSet(_params.necessaryACAttributes); in setParams()
140 attrCertCheckers = new HashSet(_params.attrCertCheckers); in setParams()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/pkix/jcajce/
DPKIXCRLUtil.java8 import java.util.HashSet;
22 HashSet initialSet = new HashSet(); in findCRLs()
35 Set finalSet = new HashSet(); in findCRLs()
67 …private static void findCRLs(HashSet crls, PKIXCRLStoreSelector crlSelect, List crlStores) throws … in findCRLs()

12345678910>>...48