Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java51 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 …]
DKeyAgreementTest.java47 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/
DX509CertificateTest.java333 X509Certificate c = getCertificate(f, CERT_RSA); in getPublicKey() local
343 X509Certificate c = getCertificate(f, CERT_RSA); in getType() local
348 X509Certificate c = getCertificate(f, CERT_RSA); in verify() local
418 X509Certificate c = getCertificate(f, CERT_RSA); in checkValidity() local
478 X509Certificate c = getCertificate(f, CERT_RSA); in getVersion() local
483 X509Certificate c = getCertificate(f, CERT_RSA); in getSerialNumber() local
490 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerDN() local
513 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerX500Principal() local
543 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectDN() local
567 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectUniqueID() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DDataOutputStreamTest.java52 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
DPushbackReaderTest.java100 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
DPipedReaderTest.java45 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/
DLocaleUtils.java77 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/
DConstructorTest.java60 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()
DFieldTest.java66 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()
DMethodTest.java66 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/
DCipherTest.java324 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/
DOldLineNumberReaderTest.java58 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/
DCollatorTest.java27 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/
DStringTokenizer.java149 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
DSet.java273 boolean containsAll(Collection<?> c); in containsAll()
297 boolean addAll(Collection<? extends E> c); in addAll()
320 boolean retainAll(Collection<?> c); in retainAll()
343 boolean removeAll(Collection<?> c); in removeAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
DUnsupportedCallbackExceptionTest.java43 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/
DCopyOnWriteArrayListTest.java286 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 …]
DCyclicBarrierTest.java130 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/dalvik/src/main/java/org/apache/harmony/dalvik/
DNativeTestTarget.java60 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
67 public static native void emptyJniStaticMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Fast()
74 …public static native void emptyJniStaticMethod6_Critical(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Critical()
82 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
93 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L()
98 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L()
105 public native void emptyJniMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniMethod6_Fast()
116 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L_Fast()
121 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L_Fast()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java32 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/
DAbstractCollection.annotated.java51 …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()
DSet.annotated.java50 public boolean containsAll(@libcore.util.NonNull java.util.Collection<?> c); in containsAll()
52 … addAll(@libcore.util.NonNull java.util.Collection<? extends @libcore.util.NullFromTypeParam E> c); in addAll()
54 public boolean retainAll(@libcore.util.NonNull java.util.Collection<?> c); in retainAll()
56 public boolean removeAll(@libcore.util.NonNull java.util.Collection<?> c); in removeAll()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DPosixFilePermissions.java84 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/
DCopyOnWriteArraySet.java48 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/
DCollectionAndMapModifyStreamTest.java99 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

12345678910>>...20