Home
last modified time | relevance | path

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

12345678910>>...24

/external/conscrypt/libcore-stub/src/main/java/libcore/java/security/
DStandardNames.java34 import java.util.HashSet;
97 public static final HashMap<String, HashSet<String>> PROVIDER_ALGORITHMS =
98 new HashMap<String, HashSet<String>>();
100 public static final HashMap<String, HashSet<String>> CIPHER_MODES =
101 new HashMap<String, HashSet<String>>();
103 public static final HashMap<String, HashSet<String>> CIPHER_PADDINGS =
104 new HashMap<String, HashSet<String>>();
110 HashSet<String> algorithms = PROVIDER_ALGORITHMS.get(type); in provide()
112 algorithms = new HashSet<String>(); in provide()
119 HashSet<String> algorithms = PROVIDER_ALGORITHMS.get(type); in unprovide()
[all …]
/external/antlr/antlr-3.4/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/antlr-3.4/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()
282 makeHDFRecursive(data, base, false, false, new HashSet<String>()); in makeHDF()
286 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/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/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DExtendedPKIXParameters.java14 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/libmojo/base/android/java/src/org/chromium/base/
DCollectionUtil.java9 import java.util.HashSet;
21 public static <E> HashSet<E> newHashSet(E... elements) { in newHashSet()
22 HashSet<E> set = new HashSet<E>(elements.length); in newHashSet()
/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/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DSemanticContext.java304 protected final Set<SemanticContext> operands = new HashSet<SemanticContext>();
325 public CommutativePredicate(HashSet<SemanticContext> contexts){ in CommutativePredicate()
444 public AND(HashSet<SemanticContext> contexts) { in AND()
499 public OR(HashSet<SemanticContext> contexts) { in OR()
720 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getAndOperands(a)); in factorAnd()
721 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getAndOperands(b)); in factorAnd()
723 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorAnd()
753 HashSet<SemanticContext> opsA = new HashSet<SemanticContext>(getOrOperands(a)); in factorOr()
754 HashSet<SemanticContext> opsB = new HashSet<SemanticContext>(getOrOperands(b)); in factorOr()
756 HashSet<SemanticContext> result = new HashSet<SemanticContext>(opsA); in factorOr()
/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/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/
DOCSPUtils.java7 import java.util.HashSet;
19 static Set EMPTY_SET = Collections.unmodifiableSet(new HashSet());
41 …return Collections.unmodifiableSet(new HashSet(Arrays.asList(extensions.getCriticalExtensionOIDs()… in getCriticalExtensionOIDs()
52 …return Collections.unmodifiableSet(new HashSet(Arrays.asList(extensions.getNonCriticalExtensionOID… in getNonCriticalExtensionOIDs()
/external/testng/src/main/java/org/testng/collections/
DSets.java4 import java.util.HashSet;
13 return new HashSet<>(); in newHashSet()
17 return new HashSet<>(c); in newHashSet()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBINode.java11 import java.util.HashSet;
113 fFirstPosSet = new HashSet<RBBINode>(); in RBBINode()
114 fLastPosSet = new HashSet<RBBINode>(); in RBBINode()
115 fFollowPos = new HashSet<RBBINode>(); in RBBINode()
141 fFirstPosSet = new HashSet<RBBINode>(other.fFirstPosSet);
142 fLastPosSet = new HashSet<RBBINode>(other.fLastPosSet);
143 fFollowPos = new HashSet<RBBINode>(other.fFollowPos);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBINode.java12 import java.util.HashSet;
114 fFirstPosSet = new HashSet<RBBINode>(); in RBBINode()
115 fLastPosSet = new HashSet<RBBINode>(); in RBBINode()
116 fFollowPos = new HashSet<RBBINode>(); in RBBINode()
142 fFirstPosSet = new HashSet<RBBINode>(other.fFirstPosSet);
143 fLastPosSet = new HashSet<RBBINode>(other.fLastPosSet);
144 fFollowPos = new HashSet<RBBINode>(other.fFollowPos);
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/
DOptionsMessage.java19 import java.util.HashSet;
78 mInputEncodings = new HashSet<EncodingOption>(); in OptionsMessage()
79 mOutputEncodings = new HashSet<EncodingOption>(); in OptionsMessage()
107 return new HashSet<EncodingOption>(mInputEncodings); in getInputEncodingSet()
111 return new HashSet<EncodingOption>(mOutputEncodings); in getOutputEncodingSet()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCRLUtil.java9 import java.util.HashSet;
24 Set initialSet = new HashSet(); in findCRLs()
37 Set finalSet = new HashSet(); in findCRLs()
81 Set crls = new HashSet(); in findCRLs()
DPKIXNameConstraintValidator.java6 import java.util.HashSet;
22 private Set excludedSubtreesDN = new HashSet();
24 private Set excludedSubtreesDNS = new HashSet();
26 private Set excludedSubtreesEmail = new HashSet();
28 private Set excludedSubtreesURI = new HashSet();
30 private Set excludedSubtreesIP = new HashSet();
135 Set intersect = new HashSet(); in intersectDN()
182 Set intersect = new HashSet(); in unionDN()
210 Set intersect = new HashSet(); in intersectEmail()
250 Set union = new HashSet(); in unionEmail()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
DPKIXNameConstraintValidator.java6 import java.util.HashSet;
22 private Set excludedSubtreesDN = new HashSet();
24 private Set excludedSubtreesDNS = new HashSet();
26 private Set excludedSubtreesEmail = new HashSet();
28 private Set excludedSubtreesURI = new HashSet();
30 private Set excludedSubtreesIP = new HashSet();
134 subtreesMap.put(tagNo, new HashSet()); in intersectPermittedSubtree()
174 permittedSubtreesEmail = new HashSet(); in intersectEmptyPermittedSubtree()
177 permittedSubtreesDNS = new HashSet(); in intersectEmptyPermittedSubtree()
180 permittedSubtreesDN = new HashSet(); in intersectEmptyPermittedSubtree()
[all …]
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DMappingFileProviderTest.java27 import java.util.HashSet;
53 private static HashSet<String> newHashSet(String... strings) { in newHashSet()
54 HashSet<String> set = new HashSet<String>(); in newHashSet()
/external/guava/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java33 import java.util.HashSet;
273 HashSet<String> mut in testUnion()
274 = Sets.union(friends, enemies).copyInto(new HashSet<String>()); in testUnion()
291 HashSet<String> mut in testIntersection()
292 = Sets.intersection(friends, enemies).copyInto(new HashSet<String>()); in testIntersection()
309 HashSet<String> mut in testDifference()
310 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
335 HashSet<String> mut = Sets.symmetricDifference(friends, enemies) in testSymmetricDifference()
336 .copyInto(new HashSet<String>()); in testSymmetricDifference()
345 copyInto(new HashSet<String>()); in testSymmetricDifference()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DClassDefinition.java50 @Nonnull private final HashSet<String> fieldsSetInStaticConstructor;
65 private static HashSet<String> findFieldsSetInStaticConstructor(@Nonnull ClassDef classDef) { in findFieldsSetInStaticConstructor()
66 HashSet<String> fieldsSetInStaticConstructor = new HashSet<String>(); in findFieldsSetInStaticConstructor()
178 Set<String> writtenFields = new HashSet<String>(); in writeStaticFields()
213 Set<String> writtenFields = new HashSet<String>(); in writeInstanceFields()
250 Set<String> writtenMethods = new HashSet<String>(); in writeDirectMethods()
289 Set<String> writtenMethods = new HashSet<String>(); in writeVirtualMethods()

12345678910>>...24