Searched refs:hashCode (Results 126 - 150 of 389) sorted by relevance

1234567891011>>

/dalvik/libcore/security/src/test/java/tests/security/cert/
H A DCertPathTest.java93 * Test for <code>hashCode()</code> method<br>
99 method = "hashCode",
107 assertTrue(cp1.hashCode() == cp2.hashCode());
108 assertTrue(cp1.hashCode() != cp3.hashCode());
112 * Test for <code>hashCode()</code> method<br>
118 method = "hashCode",
124 assertTrue((cp1.hashCode() == cp2.hashCode())
[all...]
H A DCertificateTest.java101 * Test for <code>hashCode()</code> method<br>
108 method = "hashCode",
117 assertTrue(c1.hashCode() == c2.hashCode());
119 assertFalse(c1.hashCode() == new MyCertificate("TEST_TYPE", cert
120 .getEncoded()).hashCode());
121 assertFalse(c1.hashCode() == cert.hashCode());
125 * Test for <code>hashCode()</code> method<br>
131 method = "hashCode",
[all...]
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_ListTest.java43 int hashCode = 1;
47 hashCode = 31 * hashCode + elem.hashCode();
51 assertTrue("ListTest - hashCode failed", hashCode == list.hashCode());
/dalvik/libcore/text/src/main/java/java/text/
H A DDecimalFormatSymbols.java126 * @see #hashCode
289 public int hashCode() { method in class:DecimalFormatSymbols
290 return new String(patternChars).hashCode() + infinity.hashCode()
291 + NaN.hashCode() + currencySymbol.hashCode()
292 + intlCurrencySymbol.hashCode();
H A DChoiceFormat.java209 * @see #hashCode
295 public int hashCode() { method in class:ChoiceFormat
296 int hashCode = 0;
299 hashCode += (int) (v ^ (v >>> 32)) + choiceFormats[i].hashCode();
301 return hashCode;
/dalvik/libcore/xml/src/main/java/org/apache/xml/utils/
H A DQName.java125 m_hashCode = toString().hashCode();
179 m_hashCode = toString().hashCode();
221 m_hashCode = toString().hashCode();
312 m_hashCode = toString().hashCode();
400 m_hashCode = toString().hashCode();
479 m_hashCode = toString().hashCode();
571 public int hashCode() method in class:QName
/dalvik/libcore/security/src/main/java/java/security/
H A DIdentity.java386 * by the general contract of {@link Object#hashCode}.
393 public int hashCode() { method in class:Identity
396 hash += name.hashCode();
399 hash += scope.hashCode();
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DJCERSAPrivateKey.java98 public int hashCode() method in class:JCERSAPrivateKey
100 return getModulus().hashCode() ^ getPrivateExponent().hashCode();
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DTBSCertList.java157 public int hashCode() { method in class:TBSCertList.RevokedCertificate
158 return userCertificate.hashCode() * 37 + (int)revocationDate.getTime() / 1000
159 + (crlEntryExtensions == null ? 0 : crlEntryExtensions.hashCode());
367 public int hashCode() { method in class:TBSCertList
368 return ((version * 37 + signature.hashCode()) * 37
369 + issuer.getEncoded().hashCode()) * 37
/dalvik/vm/
H A DUtfString.c62 dvmFindFieldOffset(gDvm.classJavaLangString, "hashCode", "I");
90 LOGE("InlineNative: String.hashCode offset = %d, expected %d\n",
282 u4 hashCode = 0; local
311 hashCode = dvmComputeUtf16Hash((u2*) chars->contents, utf16Length);
317 dvmSetFieldInt((Object*)newObj, STRING_FIELDOFF_HASHCODE, hashCode);
336 u4 hashCode = 0; local
365 hashCode = dvmComputeUtf16Hash((u2*) chars->contents, len);
371 dvmSetFieldInt((Object*)newObj, STRING_FIELDOFF_HASHCODE, hashCode);
/dalvik/dx/src/com/android/dx/dex/code/
H A DCatchHandlerList.java195 public int hashCode() { method in class:CatchHandlerList.Entry
196 return (handler * 31) + exceptionType.hashCode();
/dalvik/dx/src/com/android/dx/dex/file/
H A DAnnotationSetItem.java90 public int hashCode() { method in class:AnnotationSetItem
91 return annotations.hashCode();
H A DEncodedField.java58 public int hashCode() { method in class:EncodedField
59 return field.hashCode();
H A DParameterAnnotationStruct.java81 public int hashCode() { method in class:ParameterAnnotationStruct
82 return method.hashCode();
/dalvik/dx/src/com/android/dx/rop/annotation/
H A DAnnotations.java92 public int hashCode() { method in class:Annotations
93 return annotations.hashCode();
/dalvik/dx/src/com/android/dx/util/
H A DFixedSizeList.java64 public int hashCode() { method in class:FixedSizeList
65 return Arrays.hashCode(arr);
/dalvik/libcore/auth/src/main/java/javax/security/auth/x500/
H A DX500Principal.java218 public int hashCode() { method in class:X500Principal
219 return getCanonicalName().hashCode();
/dalvik/libcore/luni/src/main/java/java/lang/
H A DEnum.java102 public final int hashCode() { method in class:Enum
103 return ordinal + (name == null ? 0 : name.hashCode());
/dalvik/libcore/luni-kernel/src/main/java/java/lang/
H A DPackage.java251 public int hashCode() { method in class:Package
252 return name.hashCode();
/dalvik/libcore/security/src/main/java/java/security/spec/
H A DECFieldF2m.java263 public int hashCode() { method in class:ECFieldF2m
264 return rp == null ? m : m + rp.hashCode();
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/
H A DDERGeneralizedTime.java198 public int hashCode() method in class:DERGeneralizedTime
200 return time.hashCode();
H A DOrderedTable.java133 int keyHash = key.hashCode();
138 if ((probe.hashCode() == keyHash) &&
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DBasicPermission2Test.java118 * @tests java.security.BasicPermission#hashCode()
123 method = "hashCode",
127 // Test for method int java.security.BasicPermission.hashCode()
129 bp.hashCode() == bp2.hashCode());
/dalvik/libcore/security/src/test/java/tests/api/javax/security/cert/
H A DCertificateTest.java167 * hashCode() method testing.
172 method = "hashCode",
188 .hashCode() == tbt_cert_1.hashCode());
/dalvik/libcore/security/src/test/java/tests/java/security/
H A DAllPermissionTest.java91 assertTrue(a1.hashCode() == a2.hashCode());

Completed in 419 milliseconds

1234567891011>>