Home
last modified time | relevance | path

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

12345678910>>...36

/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/java/security/
DStandardNames.java27 import java.util.HashSet;
83 private static final HashMap<String, HashSet<String>> CIPHER_MODES =
84 new HashMap<String, HashSet<String>>();
86 private static final HashMap<String, HashSet<String>> CIPHER_PADDINGS =
87 new HashMap<String, HashSet<String>>();
93 HashSet<String> modes = CIPHER_MODES.get(algorithm); in provideCipherModes()
95 modes = new HashSet<String>(); in provideCipherModes()
101 HashSet<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings()
103 paddings = new HashSet<String>(); in provideCipherPaddings()
143 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;
81 private static final HashMap<String, HashSet<String>> CIPHER_MODES =
82 new HashMap<String, HashSet<String>>();
84 private static final HashMap<String, HashSet<String>> CIPHER_PADDINGS =
85 new HashMap<String, HashSet<String>>();
91 HashSet<String> modes = CIPHER_MODES.get(algorithm); in provideCipherModes()
93 modes = new HashSet<String>(); in provideCipherModes()
99 HashSet<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings()
101 paddings = new HashSet<String>(); in provideCipherPaddings()
141 public static final Set<String> SSL_CONTEXT_PROTOCOLS = new HashSet<String>(
[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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSetOperationsTest.java23 import java.util.HashSet;
49 HashSet<String> mut in testUnion()
50 = Sets.union(friends, enemies).copyInto(new HashSet<String>()); in testUnion()
67 HashSet<String> mut in testIntersection()
68 = Sets.intersection(friends, enemies).copyInto(new HashSet<String>()); in testIntersection()
85 HashSet<String> mut in testDifference()
86 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
111 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference()
112 .copyInto(new HashSet<String>()); in testSymmetricDifference()
121 copyInto(new HashSet<String>()); in testSymmetricDifference()
/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 …]
DParameterInfo.java22 import java.util.HashSet;
70 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables) { in makeHDF()
74 public void makeHDF(Data data, String base, boolean isLastVararg, HashSet<String> typeVariables, in makeHDF()
82 HashSet<String> typeVariables) { in makeHDF()
87 HashSet<String> typeVariables, Map<String, TypeInfo> typeMapping) { in makeHDF()
/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/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<E>(c); in keepNew()
249 HashSet<E> temp = Builder.with(new HashSet<E>()).addAll(items).get(); in keepNew()
254 HashSet<E> temp = new HashSet<E>(); in filter()
427 map.keySet().removeAll(getMatchingItems(predicate, map.keySet(), new HashSet<K>())); in removeAll()
432 map.keySet().retainAll(getMatchingItems(predicate, map.keySet(), new HashSet<K>())); in retainAll()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDisplayCollisions.java6 import java.util.HashSet;
135 Set<String> set1 = new HashSet<String>(); in createMapPathPartsToSets()
141 Set<String> set2 = new HashSet<String>(); in createMapPathPartsToSets()
148 Set<String> set3 = new HashSet<String>(); in createMapPathPartsToSets()
153 Set<String> set4 = new HashSet<String>(); in createMapPathPartsToSets()
158 Set<String> set5 = new HashSet<String>(); in createMapPathPartsToSets()
164 Set<String> set6 = new HashSet<String>(); in createMapPathPartsToSets()
169 Set<String> set7 = new HashSet<String>(); in createMapPathPartsToSets()
176 Set<String> set9 = new HashSet<String>(); in createMapPathPartsToSets()
182 Set<String> set10 = new HashSet<String>(); in createMapPathPartsToSets()
[all …]
/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/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/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/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/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInstrumentationConfiguration.java10 import java.util.HashSet;
224 HashSet<MethodRef> transformed = new HashSet<>(); in convertToSlashes()
236 public final Collection<String> instrumentedPackages = new HashSet<>();
237 public final Collection<MethodRef> interceptedMethods = new HashSet<>();
239 public final Collection<String> classesToNotAcquire = new HashSet<>();
240 public final Collection<String> packagesToNotAcquire = new HashSet<>();
241 public final Collection<String> instrumentedClasses = new HashSet<>();
242 public final Collection<String> classesToNotInstrument = new HashSet<>();
243 public final Collection<String> packagesToNotInstrument = new HashSet<>();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPackageManager.java82 import java.util.HashSet;
127 private static Set<String> deletedPackages = new HashSet<>();
129 static Set<String> hiddenPackages = new HashSet<>();
215 HashSet<Signature> signatures1set = new HashSet<>(asList(signatures1)); in compareSignature()
216 HashSet<Signature> signatures2set = new HashSet<>(asList(signatures2)); in compareSignature()
769 new HashSet<String>(), in addPackageInternal()
794 ReflectionHelpers.ClassParameter.from(HashSet.class, new HashSet<>()), in addPackageInternal()
807 ReflectionHelpers.ClassParameter.from(HashSet.class, new HashSet<>())); in addPackageInternal()
886 private final HashSet<String> actions = new HashSet<>();
887 private HashSet<String> categories = new HashSet<>();
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java11 import java.util.HashSet;
34 …private final HashSet<HashCodeAndEqualsMockWrapper> backingHashSet = new HashSet<HashCodeAndEquals…
131 private HashSet<HashCodeAndEqualsMockWrapper> asWrappedMocks(Collection<?> mocks) { in asWrappedMocks()
133 HashSet<HashCodeAndEqualsMockWrapper> hashSet = new HashSet<HashCodeAndEqualsMockWrapper>(); in asWrappedMocks()
/external/grpc-grpc/src/csharp/Grpc.Core/
DGrpcEnvironment.cs51 static readonly HashSet<Channel> registeredChannels = new HashSet<Channel>();
52 static readonly HashSet<Server> registeredServers = new HashSet<Server>();
156 HashSet<Channel> snapshot = null; in ShutdownChannelsAsync()
159 snapshot = new HashSet<Channel>(registeredChannels); in ShutdownChannelsAsync()
169 HashSet<Server> snapshot = null; in KillServersAsync()
172 snapshot = new HashSet<Server>(registeredServers); in KillServersAsync()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java4 import java.util.HashSet;
20 private static Set md5 = new HashSet();
21 private static Set sha1 = new HashSet();
22 private static Set sha224 = new HashSet();
23 private static Set sha256 = new HashSet();
24 private static Set sha384 = new HashSet();
25 private static Set sha512 = new HashSet();
/external/antlr/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java307 protected final Set<SemanticContext> operands = new HashSet<SemanticContext>();
328 public CommutativePredicate(HashSet<SemanticContext> contexts){ in CommutativePredicate()
447 public AND(HashSet<SemanticContext> contexts) { in AND()
504 public OR(HashSet<SemanticContext> contexts) { in OR()
736 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getAndOperands(a)); in factorAnd()
737 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getAndOperands(b)); in factorAnd()
739 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorAnd()
769 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getOrOperands(a)); in factorOr()
770 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getOrOperands(b)); in factorOr()
772 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorOr()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/
DResolvedUnionType.java25 import java.util.HashSet;
52 return new HashSet<>(elements).equals(new HashSet<>(that.elements)); in equals()
57 return new HashSet<>(elements).hashCode(); in hashCode()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/junit/rules/
DExpectedLogMessagesRule.java5 import java.util.HashSet;
23 private final Set<LogItem> expectedLogs = new HashSet<>();
24 private final Set<LogItem> observedLogs = new HashSet<>();
25 private final Set<String> expectedTags = new HashSet<>();
26 private final Set<String> observedTags = new HashSet<>();

12345678910>>...36