Searched refs:c3 (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | URLConnection.java | 1424 int c3 = is.read(); in guessContentTypeFromStream() local 1440 if (c1 == 0xCA && c2 == 0xFE && c3 == 0xBA && c4 == 0xBE) { in guessContentTypeFromStream() 1451 || ((c2 == 'h' && (c3 == 't' && c4 == 'm' && c5 == 'l' || in guessContentTypeFromStream() 1452 c3 == 'e' && c4 == 'a' && c5 == 'd') || in guessContentTypeFromStream() 1453 (c2 == 'b' && c3 == 'o' && c4 == 'd' && c5 == 'y'))) || in guessContentTypeFromStream() 1454 ((c2 == 'H' && (c3 == 'T' && c4 == 'M' && c5 == 'L' || in guessContentTypeFromStream() 1455 c3 == 'E' && c4 == 'A' && c5 == 'D') || in guessContentTypeFromStream() 1456 (c2 == 'B' && c3 == 'O' && c4 == 'D' && c5 == 'Y')))) { in guessContentTypeFromStream() 1460 if (c2 == '?' && c3 == 'x' && c4 == 'm' && c5 == 'l' && c6 == ' ') { in guessContentTypeFromStream() 1466 if (c1 == 0xef && c2 == 0xbb && c3 == 0xbf) { in guessContentTypeFromStream() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CurrencyTest.java | 68 Currency c3 = Currency.getInstance(new Locale("", "CA")); in test_getInstanceLjava_util_Locale() local 71 c3 == c0); in test_getInstanceLjava_util_Locale() 82 c3 = Currency.getInstance(new Locale("bogus", "JP")); in test_getInstanceLjava_util_Locale() 85 c3 == c0); in test_getInstanceLjava_util_Locale() 323 Currency c3 = Currency.getInstance("JPY"); in test_getDefaultFractionDigits() local 324 c3.getDefaultFractionDigits(); in test_getDefaultFractionDigits() 325 assertEquals(" Currency.getInstance(\"" + c3 in test_getDefaultFractionDigits() 326 + "\") returned incorrect number of digits. ", 0, c3 in test_getDefaultFractionDigits()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EllipticCurveTest.java | 582 MyEllipticCurve c3 = new MyEllipticCurve(new ECFieldFp(BigInteger in testEqualsObject01() local 585 assertTrue(c1.equals(c3) && c3.equals(c1)); in testEqualsObject01()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 366 X509Certificate c3 = getCertificate(f, CERT_DSA); in check_equals() local 367 assertFalse(c1.equals(c3)); in check_equals() 368 assertFalse(c3.equals(c1)); in check_equals() 381 X509Certificate c3 = getCertificate(f, CERT_DSA); in check_toString() local 382 assertFalse(c3.toString().equals(c1.toString())); in check_toString() 391 X509Certificate c3 = getCertificate(f, CERT_DSA); in check_hashCode() local 392 assertFalse(c3.hashCode() == c1.hashCode()); in check_hashCode()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 1288 Cipher c3 = Cipher.getInstance(algorithm, provider.getName()); in test_Cipher_Algorithm() local 1289 assertEquals(algorithm, c3.getAlgorithm()); in test_Cipher_Algorithm() 1290 assertEquals(provider, c3.getProvider()); in test_Cipher_Algorithm() 1291 test_Cipher(c3); in test_Cipher_Algorithm() 3773 Cipher c3 = Cipher.getInstance("AES/GCM/NoPadding"); in test_AESGCMNoPadding_Reuse_Success() local 3774 c3.init(Cipher.ENCRYPT_MODE, key, spec); in test_AESGCMNoPadding_Reuse_Success() 3777 c3.updateAAD(aad2); in test_AESGCMNoPadding_Reuse_Success() 3778 assertEquals(Arrays.toString(c1.doFinal()), Arrays.toString(c3.doFinal())); in test_AESGCMNoPadding_Reuse_Success()
|