Home
last modified time | relevance | path

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

12345678910>>...18

/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java310 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
395 X509Certificate c = getCertificate(f, CERT_RSA); in checkValidity() local
455 X509Certificate c = getCertificate(f, CERT_RSA); in getVersion() local
460 X509Certificate c = getCertificate(f, CERT_RSA); in getSerialNumber() local
467 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerDN() local
490 X509Certificate c = getCertificate(f, CERT_RSA); in getIssuerX500Principal() local
520 X509Certificate c = getCertificate(f, CERT_RSA); in getSubjectDN() local
544 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/libcore/javax/net/ssl/
DSSLEngineTest.java80 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedCipherSuites_returnsCopies() local
132 TestSSLContext c = TestSSLContext.createWithAdditionalKeyManagers( in test_SSLEngine_getSupportedCipherSuites_connect() local
324 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledCipherSuites_returnsCopies() local
331 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites_storesCopy() local
341 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledCipherSuites() local
373 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSupportedProtocols_returnsCopies() local
380 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getEnabledProtocols_returnsCopies() local
387 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledProtocols_storesCopy() local
397 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_setEnabledProtocols() local
438 TestSSLContext c = TestSSLContext.create(); in test_SSLEngine_getSession() local
[all …]
DSSLSessionContextTest.java32 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/
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.java51 public static native void emptyJniStaticMethod6(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6()
56 public static native void emptyJniStaticMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Fast()
61 …public static native void emptyJniStaticMethod6_Critical(int a, int b, int c, int d, int e, int f); in emptyJniStaticMethod6_Critical()
67 public native void emptyJniMethod6(int a, int b, int c, int d, int e, int f); in emptyJniMethod6()
77 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L()
81 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L()
86 public native void emptyJniMethod6_Fast(int a, int b, int c, int d, int e, int f); in emptyJniMethod6_Fast()
96 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniStaticMethod6L_Fast()
100 int[][] c, Object d, Object[] e, Object[][][][] f); in emptyJniMethod6L_Fast()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java33 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
/libcore/luni/src/test/java/libcore/javax/crypto/
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/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/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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIllegalFormatConversionExceptionTest.java46 char c = '*'; in test_getArgumentClass() local
59 char c = '*'; in test_getConversion() local
71 char c = '*'; in test_getMessage() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java119 public CopyOnWriteArraySet(Collection<? extends E> c) { in CopyOnWriteArraySet()
276 public boolean containsAll(Collection<?> c) { in containsAll()
330 public boolean addAll(Collection<? extends E> c) { in addAll()
351 public boolean removeAll(Collection<?> c) { in removeAll()
374 public boolean retainAll(Collection<?> c) { in retainAll()

12345678910>>...18