/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 51 Cipher c = Cipher.getInstance("FOO", mockProvider); in testCipher_getInstance_SuppliedProviderNotRegistered_Success() local 67 Cipher c = Cipher.getInstance("FOO", mockProvider); in testCipher_getInstance_DoesNotSupportKeyClass_Success() local 84 Cipher c = Cipher.getInstance("FOO/FOO/FOO", mockProvider); in testCipher_getInstance_SuppliedProviderNotRegistered_MultipartTransform_Success() local 106 Cipher c = Cipher.getInstance("FOO", mockProvider2); in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success() local 140 Cipher c = Cipher.getInstance("FOO"); in testCipher_getInstance_DelayedInitialization_KeyType() local 158 Cipher c = Cipher.getInstance("FOO"); in testCipher_getInstance_DelayedInitialization_KeyType() local 179 Cipher c = Cipher.getInstance("FOO"); in testCipher_getInstance_DelayedInitialization_KeyType() local 204 Cipher c = Cipher.getInstance("FOO/FOO/FOO"); in testCipher_getInstance_CorrectPriority_AlgorithmOnlyFirst() local 227 Cipher c = Cipher.getInstance("FOO/FOO/FOO"); in testCipher_getInstance_CorrectPriority_FullTransformFirst() local 251 Cipher c = Cipher.getInstance("FOO/FOO/FOO"); in testCipher_getInstance_CorrectPriority_AliasedAlgorithmFirst() local [all …]
|
D | KeyAgreementTest.java | 47 KeyAgreement c = KeyAgreement.getInstance("FOO", mockProvider); in testKeyAgreement_getInstance_SuppliedProviderNotRegistered_Success() local 65 KeyAgreement c = KeyAgreement.getInstance("FOO", mockProvider); in testKeyAgreement_getInstance_DoesNotSupportKeyClass_Success() local 90 KeyAgreement c = KeyAgreement.getInstance("FOO"); in testKeyAgreement_init_DoesNotSupportKeyClass_throwsInvalidKeyException() local
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 327 X509Certificate c = getCertificate(f, CERT_RSA); in getPublicKey() local 337 X509Certificate c = getCertificate(f, CERT_RSA); in getType() local 342 X509Certificate c = getCertificate(f, CERT_RSA); in verify() local 412 X509Certificate c = getCertificate(f, CERT_RSA); in checkValidity() local 472 X509Certificate c = getCertificate(f, CERT_RSA); in getVersion() local 477 X509Certificate c = getCertificate(f, CERT_RSA); in getSerialNumber() local 484 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerDN() local 507 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerX500Principal() local 537 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectDN() local 561 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
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleUtils.java | 77 static char toUpper(char c) { in toUpper() 81 static char toLower(char c) { in toLower() 102 char c = s.charAt(i); in toLowerString() local 122 char c = s.charAt(i); in toUpperString() local 147 char c = s.charAt(i); in toTitleString() local 159 private static boolean isUpper(char c) { in isUpper() 163 private static boolean isLower(char c) { in isLower() 167 static boolean isAlpha(char c) { in isAlpha() 181 static boolean isNumeric(char c) { in isNumeric() 195 static boolean isAlphaNumeric(char c) { in isAlphaNumeric()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/ |
D | ConstructorTest.java | 60 public AnnotatedClass(int a, int b, int c) {} in AnnotatedClass() 62 public AnnotatedClass(int a, int b, int c, int d) {} in AnnotatedClass() 67 Class<?> c = AnnotatedClass.class; in testDeclaredAnnotation() local 84 private static void checkDeclaredAnnotation(Class<?> c, int constructorArgCount, in checkDeclaredAnnotation() 98 Class<?> c = AnnotatedClass.class; in testGetDeclaredAnnotationsByType() local 118 private static void assertGetDeclaredAnnotationsByType(Class<?> c, int constructorArgCount, in assertGetDeclaredAnnotationsByType() 127 Class<?> c = AnnotatedClass.class; in testGetAnnotationsByType() local 144 private static void assertGetAnnotationsByType(Class<?> c, int constructorArgCount, in assertGetAnnotationsByType() 152 private static Constructor<?> getConstructor(Class<?> c, int constructorArgCount) in getConstructor()
|
D | FieldTest.java | 66 Class<?> c = AnnotatedClass.class; in testDeclaredAnnotation() local 87 Class<?> c, String fieldName, Class<? extends Annotation> annotationType, in checkDeclaredAnnotation() 99 Class<?> c = AnnotatedClass.class; in testGetDeclaredAnnotationsByType() local 123 Class<?> c, Class<? extends Annotation> annotationType, String fieldName, in assertGetDeclaredAnnotationsByType() 131 Class<?> c = AnnotatedClass.class; in testGetAnnotationsByType() local 155 Class<?> c, Class<? extends Annotation> annotationType, in assertGetAnnotationsByType()
|
D | MethodTest.java | 66 Class<?> c = AnnotatedClass.class; in testDeclaredAnnotation() local 87 Class<?> c, String methodName, Class<? extends Annotation> annotationType, in checkDeclaredAnnotation() 99 Class<?> c = AnnotatedClass.class; in testGetDeclaredAnnotationsByType() local 123 Class<?> c, Class<? extends Annotation> annotationType, String methodName, in assertGetDeclaredAnnotationsByType() 131 Class<?> c = AnnotatedClass.class; in testGetAnnotationsByType() local 155 Class<?> c, Class<? extends Annotation> annotationType, in assertGetAnnotationsByType()
|
/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 631 Cipher c = Cipher.getInstance("DES/CBC/NoPadding"); in test_doFinalLjava_nio_ByteBufferLjava_nio_ByteBuffer() local 696 Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); in test_initWithKeyAlgorithmParameters() local 716 Cipher c = Cipher.getInstance("DES/CBC/PKCS5Padding"); in test_initWithKeyAlgorithmParametersSecureRandom() local 756 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/ojluni/src/main/java/java/util/ |
D | StringTokenizer.java | 149 int c; in setMaxDelimCodePoint() local 251 char c = str.charAt(position); in skipDelimiters() local 256 int c = str.codePointAt(position); in skipDelimiters() local 274 char c = str.charAt(position); in scanToken() local 279 int c = str.codePointAt(position); in scanToken() local 287 char c = str.charAt(position); in scanToken() local 291 int c = str.codePointAt(position); in scanToken() 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 | 286 Collection c = new CopyOnWriteArrayList(); in testEmptyIterator() local 520 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testToArray_ArrayStoreException() local 533 CopyOnWriteArrayList c = populatedArray(5); in testGet1_IndexOutOfBoundsException() local 547 CopyOnWriteArrayList c = populatedArray(5); in testGet2_IndexOutOfBoundsException() local 561 CopyOnWriteArrayList c = populatedArray(5); in testSet1_IndexOutOfBoundsException() local 575 CopyOnWriteArrayList c = populatedArray(5); in testSet2() local 589 CopyOnWriteArrayList c = populatedArray(5); in testAdd1_IndexOutOfBoundsException() local 603 CopyOnWriteArrayList c = populatedArray(5); in testAdd2_IndexOutOfBoundsException() local 617 CopyOnWriteArrayList c = populatedArray(5); in testRemove1_IndexOutOfBounds() local 631 CopyOnWriteArrayList c = populatedArray(5); in testRemove2_IndexOutOfBounds() local [all …]
|
D | CyclicBarrierTest.java | 130 final CyclicBarrier c = new CyclicBarrier(3); in testAwait1_Interrupted_BrokenBarrier() local 156 final CyclicBarrier c = new CyclicBarrier(3); in testAwait2_Interrupted_BrokenBarrier() local 181 final CyclicBarrier c = new CyclicBarrier(2); in testAwait3_TimeoutException() local 200 final CyclicBarrier c = new CyclicBarrier(3); in testAwait4_Timeout_BrokenBarrier() local 228 final CyclicBarrier c = new CyclicBarrier(3); in testAwait5_Timeout_BrokenBarrier() local 256 final CyclicBarrier c = new CyclicBarrier(3); in testReset_BrokenBarrier() local 284 final CyclicBarrier c = new CyclicBarrier(3); in testReset_NoBrokenBarrier() local 305 final CyclicBarrier c = new CyclicBarrier(2); in testReset_Leakage() local
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CopyOnWriteArrayListTest.java | 324 Collection c = new CopyOnWriteArrayList(); in testEmptyIterator() local 558 CopyOnWriteArrayList c = new CopyOnWriteArrayList(); in testToArray_ArrayStoreException() local 571 CopyOnWriteArrayList c = populatedArray(5); in testGet1_IndexOutOfBoundsException() local 585 CopyOnWriteArrayList c = populatedArray(5); in testGet2_IndexOutOfBoundsException() local 599 CopyOnWriteArrayList c = populatedArray(5); in testSet1_IndexOutOfBoundsException() local 613 CopyOnWriteArrayList c = populatedArray(5); in testSet2() local 627 CopyOnWriteArrayList c = populatedArray(5); in testAdd1_IndexOutOfBoundsException() local 641 CopyOnWriteArrayList c = populatedArray(5); in testAdd2_IndexOutOfBoundsException() local 655 CopyOnWriteArrayList c = populatedArray(5); in testRemove1_IndexOutOfBounds() local 669 CopyOnWriteArrayList c = populatedArray(5); in testRemove2_IndexOutOfBounds() local [all …]
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLSocketPair.java | 32 public final TestSSLContext c; field in TestSSLSocketPair 36 private TestSSLSocketPair (TestSSLContext c, in TestSSLSocketPair() 58 TestSSLContext c = TestSSLContext.create(); in create() local 88 Future c = executor.submit(new Callable<Void>() { in connect() local
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | AbstractCollection.annotated.java | 51 …ntainsAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in containsAll() 53 …Collection<? extends @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); } in addAll() 55 …removeAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in removeAll() 57 …retainAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in retainAll()
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
D | PosixFilePermissions.java | 84 private static boolean isSet(char c, char setValue) { in isSet() 91 private static boolean isR(char c) { return isSet(c, 'r'); } in isR() 92 private static boolean isW(char c) { return isSet(c, 'w'); } in isW() 93 private static boolean isX(char c) { return isSet(c, 'x'); } in isX()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | CopyOnWriteArraySet.java | 48 public CopyOnWriteArraySet(java.util.Collection<? extends E> c) { in CopyOnWriteArraySet() 84 public boolean containsAll(java.util.Collection<?> c) { in containsAll() 92 public boolean addAll(java.util.Collection<? extends E> c) { in addAll() 96 public boolean removeAll(java.util.Collection<?> c) { in removeAll() 100 public boolean retainAll(java.util.Collection<?> c) { in retainAll()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CollectionAndMapModifyStreamTest.java | 99 public void testCollectionSizeRemove(String name, Collection<Integer> c) { in testCollectionSizeRemove() 145 public void testMapKeysSizeRemove(String name, Supplier<Map<Integer, Integer>> c) { in testMapKeysSizeRemove() argument 150 public void testMapValuesSizeRemove(String name, Supplier<Map<Integer, Integer>> c) { in testMapValuesSizeRemove() argument 155 public void testMapEntriesSizeRemove(String name, Supplier<Map<Integer, Integer>> c) { in testMapEntriesSizeRemove() argument 159 private void testEntrySetSizeRemove(String name, Set<Map.Entry<Integer, Integer>> c) { in testEntrySetSizeRemove() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/ |
D | CopyOnWriteArrayList.annotated.java | 50 …Collection<? extends @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); } in CopyOnWriteArrayList() 88 …ntainsAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in containsAll() 90 …removeAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in removeAll() 92 …retainAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeException("Stub!"); } in retainAll() 94 …Collection<? extends @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); } in addAllAbsent() 98 …Collection<? extends @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); } in addAll() 100 …ublic boolean addAll(int index, @libcore.util.NonNull java.util.Collection<? extends @libcore.util… in addAll() 108 …l.Comparator<? super @libcore.util.NullFromTypeParam E> c) { throw new RuntimeException("Stub!"); } in sort()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IllegalFormatConversionExceptionTest.java | 46 char c = '*'; in test_getArgumentClass() local 59 char c = '*'; in test_getConversion() local 71 char c = '*'; in test_getMessage() local
|