/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 310 X509Certificate c = getCertificate(f, CERT_RSA); in getPublicKey() local 320 X509Certificate c = getCertificate(f, CERT_RSA); in getType() local 325 X509Certificate c = getCertificate(f, CERT_RSA); in verify() local 388 X509Certificate c = getCertificate(f, CERT_RSA); in checkValidity() local 448 X509Certificate c = getCertificate(f, CERT_RSA); in getVersion() local 453 X509Certificate c = getCertificate(f, CERT_RSA); in getSerialNumber() local 460 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerDN() local 483 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerX500Principal() local 513 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectDN() local 537 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectUniqueID() local [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | DataOutputStreamTest.java | 52 int c = dis.readInt(); in test_flush() local 91 int c = dis.read(); in test_writeI() local 144 char c = dis.readChar(); in test_writeCharI() local 171 double c = dis.readDouble(); in test_writeDoubleD() local 183 float c = dis.readFloat(); in test_writeFloatF() local 195 int c = dis.readInt(); in test_writeIntI() local 207 long c = dis.readLong(); in test_writeLongJ() local 219 short c = dis.readShort(); in test_writeShortI() local
|
D | PushbackReaderTest.java | 100 char c; in test_read() local 118 char[] c = new char[5]; in test_read$CII() local 178 char[] c = new char[11]; in test_ready() local 206 char[] c = new char[5]; in test_unread$C() local 288 char[] c = new char[5]; in test_unread$CII() local 353 int c; in test_unreadI() local
|
D | PipedReaderTest.java | 45 char[] c = new char[11]; in run() local 124 char[] c = null; in test_close() local 139 char[] c = null; in test_connectLjava_io_PipedWriter() local 162 char[] c = null; in test_read() local 178 char[] c = null; in test_read$CII() local 376 char[] c = null; in test_ready() local
|
D | LineNumberReaderTest.java | 87 int c = lnr.read(); in test_read() local 99 char[] c = new char[100]; in test_read$CII() local 214 char[] c = new char[100]; in test_skipJ() local
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 73 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedCipherSuites_returnsCopies() local 125 TestSSLContext c = TestSSLContext.createWithAdditionalKeyManagers( in test_SSLEngine_getSupportedCipherSuites_connect() local 305 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledCipherSuites_returnsCopies() local 312 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites_storesCopy() local 322 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites() local 354 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedProtocols_returnsCopies() local 361 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledProtocols_returnsCopies() local 368 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledProtocols_storesCopy() local 378 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledProtocols() local 419 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSession() local [all …]
|
D | SSLSessionContextTest.java | 32 public static final void assertSSLSessionContextSize(int expected, TestSSLContext c) { in assertSSLSessionContextSize() 60 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getIds() local 81 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSession() local 115 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionCacheSize() local 131 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_noConnect() local 166 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionCacheSize_dynamic() local 247 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getSessionTimeout() local 263 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_setSessionTimeout() local
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherTest.java | 324 Cipher c = Cipher.getInstance("DESEDE/CBC/PKCS5Padding"); in test_update$BII() local 382 Cipher c = Cipher.getInstance("DESEDE/CBC/PKCS5Padding"); in test_doFinal() local 429 Cipher c = Cipher.getInstance("DES/CBC/NoPadding"); in test_doFinal() local 478 Cipher c = Cipher.getInstance("DES"); in testGetParameters() local 488 Cipher c = Cipher.getInstance("DESede"); in testUpdatebyteArrayintintbyteArrayint() local 515 Cipher c = Cipher.getInstance("DES/CBC/NoPadding"); in testDoFinalbyteArrayintintbyteArrayint() local 630 Cipher c = Cipher.getInstance("DES/CBC/NoPadding"); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() local 695 Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); in test_initWithKeyAlgorithmParameters() local 715 Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); in test_initWithKeyAlgorithmParametersSecureRandom() local 755 Cipher c = Cipher.getInstance("RSA"); in test_initWithCertificate() local [all …]
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldLineNumberReaderTest.java | 58 int c = lnr.read(); in test_read() local 79 char[] c = new char[100]; in test_read$CII() local 97 char[] c = new char[10]; in test_read$CII_Exception() local 163 char[] c = new char[100]; in test_skipJ() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | CollatorTest.java | 27 Collator c = Collator.getInstance(Locale.GERMAN); in test_clone() local 34 Collator c = Collator.getInstance(Locale.FRENCH); in test_compareLjava_lang_ObjectLjava_lang_Object() local 117 Collator c = Collator.getInstance(Locale.ENGLISH); in test_equalsLjava_lang_Object() local 125 Collator c = Collator.getInstance(Locale.FRENCH); in test_equalsLjava_lang_StringLjava_lang_String() local 214 Collator c = Collator.getInstance(Locale.FRENCH); in failing_test_setDecompositionI() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/ |
D | UnsupportedCallbackExceptionTest.java | 43 Callback c = null; in testUnsupportedCallbackException01() local 55 myCallback c = new myCallback(); in testUnsupportedCallbackException02() local 90 myCallback c = new myCallback(); in testUnsupportedCallbackException05() local 102 myCallback c = new myCallback(); in testUnsupportedCallbackException06() local
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CopyOnWriteArrayListTest.java | 498 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testToArray_ArrayStoreException() local 511 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testGet1_IndexOutOfBoundsException() local 522 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testGet2_IndexOutOfBoundsException() local 535 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testSet1_IndexOutOfBoundsException() local 546 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testSet2() local 559 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testAdd1_IndexOutOfBoundsException() local 570 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testAdd2_IndexOutOfBoundsException() local 583 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testRemove1_IndexOutOfBounds() local 594 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testRemove2_IndexOutOfBounds() local 607 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testAddAll1_IndexOutOfBoundsException() local [all …]
|
D | ConcurrentHashMapTest.java | 64 LexicographicList(Collection<E> c) { super(c); } in LexicographicList() 480 ConcurrentHashMap c = new ConcurrentHashMap(5); in testGet_NullPointerException() local 491 ConcurrentHashMap c = new ConcurrentHashMap(5); in testContainsKey_NullPointerException() local 502 ConcurrentHashMap c = new ConcurrentHashMap(5); in testContainsValue_NullPointerException() local 513 ConcurrentHashMap c = new ConcurrentHashMap(5); in testContains_NullPointerException() local 524 ConcurrentHashMap c = new ConcurrentHashMap(5); in testPut1_NullPointerException() local 535 ConcurrentHashMap c = new ConcurrentHashMap(5); in testPut2_NullPointerException() local 546 ConcurrentHashMap c = new ConcurrentHashMap(5); in testPutIfAbsent1_NullPointerException() local 557 ConcurrentHashMap c = new ConcurrentHashMap(5); in testReplace_NullPointerException() local 568 ConcurrentHashMap c = new ConcurrentHashMap(5); in testReplaceValue_NullPointerException() local [all …]
|
D | ExecutorCompletionServiceTest.java | 57 Callable c = null; in testSubmitNPE() local 89 Callable c = new StringTask(); in testTake() local 105 Callable c = new StringTask(); in testTake2() local 122 Callable c = new StringTask(); in testPoll1() local 147 Callable c = new StringTask(); in testPoll2() local 164 MyCallableFuture(Callable<V> c) { super(c); } in testNewTaskForCallable() 177 Callable<String> c = new StringTask(); in testNewTaskForCallable() local
|
D | CyclicBarrierTest.java | 119 final CyclicBarrier c = new CyclicBarrier(3); in testAwait1_Interrupted_BrokenBarrier() local 145 final CyclicBarrier c = new CyclicBarrier(3); in testAwait2_Interrupted_BrokenBarrier() local 170 final CyclicBarrier c = new CyclicBarrier(2); in testAwait3_TimeoutException() local 189 final CyclicBarrier c = new CyclicBarrier(3); in testAwait4_Timeout_BrokenBarrier() local 217 final CyclicBarrier c = new CyclicBarrier(3); in testAwait5_Timeout_BrokenBarrier() local 245 final CyclicBarrier c = new CyclicBarrier(3); in testReset_BrokenBarrier() local 273 final CyclicBarrier c = new CyclicBarrier(3); in testReset_NoBrokenBarrier() local 294 final CyclicBarrier c = new CyclicBarrier(2); in testReset_Leakage() local
|
D | ExecutorsTest.java | 515 Callable c = Executors.callable(new NoOpRunnable()); in testCallable1() local 523 Callable c = Executors.callable(new NoOpRunnable(), one); in testCallable2() local 531 Callable c = Executors.callable(new PrivilegedAction() { in testCallable3() local 540 Callable c = Executors.callable(new PrivilegedExceptionAction() { in testCallable4() local 550 Callable c = Executors.callable((Runnable) null); in testCallableNPE1() local 560 Callable c = Executors.callable((Runnable) null, one); in testCallableNPE2() local 570 Callable c = Executors.callable((PrivilegedAction) null); in testCallableNPE3() local 580 Callable c = Executors.callable((PrivilegedExceptionAction) null); in testCallableNPE4() local
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 33 public final TestSSLContext c; field in TestSSLSocketPair 37 private TestSSLSocketPair (TestSSLContext c, in TestSSLSocketPair() 59 TestSSLContext c = TestSSLContext.create(); in create() local 89 Future c = executor.submit(new Callable<Void>() { in connect() local
|
D | TestSSLEnginePair.java | 33 public final TestSSLContext c; field in TestSSLEnginePair 37 private TestSSLEnginePair(TestSSLContext c, in TestSSLEnginePair() 49 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException { in create() 53 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished) in create() 59 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect() 70 public static SSLEngine[] connect(final TestSSLContext c, in connect()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | Collections2Test.java | 415 Collection<String> c = Collections.emptySet(); in test_checkedCollectionSerializationCompatability() local 421 List<String> c = new ArrayList<String>(); in test_checkedListRandomAccessSerializationCompatability() local 428 List<String> c = new LinkedList<String>(); in test_checkedListSerializationCompatability() local 435 Set<String> c = new HashSet<String>(); in test_checkedSetSerializationCompatability() local 442 Map<String, String> c = new HashMap<String, String>(); in test_checkedMapSerializationCompatability() local 449 SortedSet<String> c = new TreeSet<String>(); in test_checkedSortedSetSerializationCompatability() local 455 SortedMap<String, String> c = new TreeMap<String, String>(); in test_checkedSortedMapSerializationCompatability() local
|
D | IllegalFormatConversionExceptionTest.java | 46 char c = '*'; in test_getArgumentClass() local 59 char c = '*'; in test_getConversion() local 71 char c = '*'; in test_getMessage() local
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 80 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet() 232 public boolean containsAll(Collection<?> c) { in containsAll() 249 public boolean addAll(Collection<? extends E> c) { in addAll() 268 public boolean removeAll(Collection<?> c) { in removeAll() 289 public boolean retainAll(Collection<?> c) { in retainAll()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | DateTest.java | 47 Calendar c = Calendar.getInstance(); in test_toGMTString_us() local 61 Calendar c = Calendar.getInstance(); in test_toGMTString_nonUs() local
|
/libcore/luni/src/main/java/java/util/ |
D | IllegalFormatCodePointException.java | 32 private final int c; field in IllegalFormatCodePointException 41 public IllegalFormatCodePointException(int c) { in IllegalFormatCodePointException()
|
D | FormatFlagsConversionMismatchException.java | 34 private final char c; field in FormatFlagsConversionMismatchException 45 public FormatFlagsConversionMismatchException(String f, char c) { in FormatFlagsConversionMismatchException()
|
D | IllegalFormatConversionException.java | 33 private final char c; field in IllegalFormatConversionException 46 public IllegalFormatConversionException(char c, Class<?> arg) { in IllegalFormatConversionException()
|