Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/libcore/luni/src/main/native/
Dlibcore_io_OsConstants.cpp40 static void initConstant(JNIEnv* env, jclass c, const char* fieldName, int value) { in initConstant() argument
41 jfieldID field = env->GetStaticFieldID(c, fieldName, "I"); in initConstant()
42 env->SetStaticIntField(c, field, value); in initConstant()
45 static void OsConstants_initConstants(JNIEnv* env, jclass c) { in OsConstants_initConstants() argument
46 initConstant(env, c, "AF_INET", AF_INET); in OsConstants_initConstants()
47 initConstant(env, c, "AF_INET6", AF_INET6); in OsConstants_initConstants()
48 initConstant(env, c, "AF_UNIX", AF_UNIX); in OsConstants_initConstants()
49 initConstant(env, c, "AF_UNSPEC", AF_UNSPEC); in OsConstants_initConstants()
50 initConstant(env, c, "AI_ADDRCONFIG", AI_ADDRCONFIG); in OsConstants_initConstants()
51 initConstant(env, c, "AI_ALL", AI_ALL); in OsConstants_initConstants()
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionContextTest.java32 public static final void assertSSLSessionContextSize(int expected, TestSSLContext c) { in assertSSLSessionContextSize() argument
34 c.clientContext.getClientSessionContext(), in assertSSLSessionContextSize()
35 c.serverContext.getServerSessionContext()); in assertSSLSessionContextSize()
37 c.serverContext.getClientSessionContext(), in assertSSLSessionContextSize()
38 c.clientContext.getServerSessionContext()); in assertSSLSessionContextSize()
60 TestSSLContext c = TestSSLContext.create(); in test_SSLSessionContext_getIds() local
61 assertSSLSessionContextSize(0, c); in test_SSLSessionContext_getIds()
62 c.close(); in test_SSLSessionContext_getIds()
65 assertSSLSessionContextSize(1, s.c); in test_SSLSessionContext_getIds()
66 Enumeration clientIds = s.c.clientContext.getClientSessionContext().getIds(); in test_SSLSessionContext_getIds()
[all …]
/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
336 c.init(Cipher.DECRYPT_MODE, k, iv); in test_update$BII()
348 byte[] output = c.update(input, 0, bytesRead); in test_update$BII()
355 byte[] output = c.doFinal(); in test_update$BII()
382 Cipher c = Cipher.getInstance("DESEDE/CBC/PKCS5Padding"); in test_doFinal() local
394 c.init(Cipher.ENCRYPT_MODE, k, iv); in test_doFinal()
406 byte[] output = c.update(input, 0, bytesRead); in test_doFinal()
412 byte[] output = c.doFinal(); in test_doFinal()
429 Cipher c = Cipher.getInstance("DES/CBC/NoPadding"); in test_doFinal() local
430 c.init(Cipher.ENCRYPT_MODE, CIPHER_KEY_DES, ap); in test_doFinal()
[all …]
DNullCipherTest.java41 private Cipher c; field in NullCipherTest
45 c = new NullCipher(); in setUp()
49 c.getAlgorithm(); in testGetAlgorithm()
53 assertEquals("Incorrect BlockSize", 1, c.getBlockSize()); in testGetBlockSize()
57 assertEquals("Incorrect OutputSize", 111, c.getOutputSize(111)); in testGetOutputSize()
61 assertTrue("Incorrect IV", Arrays.equals(c.getIV(), new byte[8])); in testGetIV()
65 assertNull("Incorrect Parameters", c.getParameters()); in testGetParameters()
69 assertNull("Incorrect ExemptionMechanism", c.getExemptionMechanism()); in testGetExemptionMechanism()
76 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1], "algorithm")); in testInitintKey()
84 c.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(new byte[1], in testInitintKeySecureRandom()
[all …]
/libcore/luni/src/main/java/libcore/reflect/
DInternalNames.java62 public static String getInternalName(Class<?> c) { in getInternalName() argument
63 if (c.isArray()) { in getInternalName()
64 return '[' + getInternalName(c.getComponentType()); in getInternalName()
65 } else if (c == boolean.class) { in getInternalName()
67 } else if (c == byte.class) { in getInternalName()
69 } else if (c == short.class) { in getInternalName()
71 } else if (c == int.class) { in getInternalName()
73 } else if (c == long.class) { in getInternalName()
75 } else if (c == float.class) { in getInternalName()
77 } else if (c == double.class) { in getInternalName()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DCountedCompleter.java495 int c; // note: can replace with intrinsic in jdk8 in addToPendingCount() local
496 do {} while (!U.compareAndSwapInt(this, PENDING, c = pending, c+delta)); in addToPendingCount()
518 int c; in decrementPendingCountUnlessZero() local
519 do {} while ((c = pending) != 0 && in decrementPendingCountUnlessZero()
520 !U.compareAndSwapInt(this, PENDING, c, c - 1)); in decrementPendingCountUnlessZero()
521 return c; in decrementPendingCountUnlessZero()
545 for (int c;;) { in tryComplete()
546 if ((c = a.pending) == 0) { in tryComplete()
553 else if (U.compareAndSwapInt(a, PENDING, c, c - 1)) in tryComplete()
569 for (int c;;) { in propagateCompletion()
[all …]
/libcore/luni/src/main/java/libcore/net/
DUriCodec.java37 protected abstract boolean isRetained(char c); in isRetained() argument
102 char c = s.charAt(i); in appendEncoded() local
103 if ((c >= 'a' && c <= 'z') in appendEncoded()
104 || (c >= 'A' && c <= 'Z') in appendEncoded()
105 || (c >= '0' && c <= '9') in appendEncoded()
106 || isRetained(c) in appendEncoded()
107 || (c == '%' && isPartiallyEncoded)) { in appendEncoded()
112 if (c == '%' && isPartiallyEncoded) { in appendEncoded()
116 } else if (c == ' ') { in appendEncoded()
119 builder.append(c); in appendEncoded()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java37 char c = spec.charAt(i); in JAVA() local
38 if (!isValidSchemeChar(i, c)) { in JAVA()
46 private boolean isValidSchemeChar(int index, char c) { in JAVA() argument
47 if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) { in JAVA()
50 if (index > 0 && ((c >= '0' && c <= '9') || c == '+' || c == '-' || c == '.')) { in JAVA()
/libcore/luni/src/test/java/tests/api/javax/security/auth/
DUnsupportedCallbackExceptionTest.java43 Callback c = null; in testUnsupportedCallbackException01() local
44 UnsupportedCallbackException ucE = new UnsupportedCallbackException(c); in testUnsupportedCallbackException01()
55 myCallback c = new myCallback(); in testUnsupportedCallbackException02() local
56 assertNotNull("Callback object is null", c); in testUnsupportedCallbackException02()
57 UnsupportedCallbackException ucE = new UnsupportedCallbackException(c); in testUnsupportedCallbackException02()
59 assertEquals("Incorrect callback object was returned", c, ucE.getCallback()); in testUnsupportedCallbackException02()
90 myCallback c = new myCallback(); in testUnsupportedCallbackException05() local
91 assertNotNull("Callback object is null", c); in testUnsupportedCallbackException05()
92 UnsupportedCallbackException ucE = new UnsupportedCallbackException(c, null); in testUnsupportedCallbackException05()
94 assertEquals("Incorrect callback object was returned", c, ucE.getCallback()); in testUnsupportedCallbackException05()
[all …]
/libcore/luni/src/main/files/cacerts/
D6fcc125d.027 13:86:35:4d:1d:3f:06:f2:c1:f9:65:05:d5:90:1c:62
39 db:07:3f:80:85:4f:c8:9c:b6:d0:f4:6f:4f:cf:99:
40 d8:e1:db:c2:48:5c:3a:ac:39:33:c7:1f:6a:8b:26:
43 7e:b6:ac:f2:a0:1f:58:3f:12:46:60:3c:8d:a1:e0:
46 ff:35:ab:a5:02:cf:2a:f4:4c:fe:7b:f5:94:5d:84:
47 4d:a8:f2:60:8f:db:0e:25:3c:9f:73:71:cf:94:df:
48 4a:ea:db:df:72:38:8c:f3:96:bd:f1:17:bc:d2:ba:
51 80:13:07:ed:2d:bf:3f:0a:3c:55:20:39:2c:2c:00:
53 1c:4d:ef:bb:7e:37:0b:5d:fe:39:a5:88:52:8c:00:
54 6c:ec:18:7c:41:bd:f6:8b:75:77:ba:60:9d:84:e7:
[all …]
D0d188d89.014 c+HCPujIyTQlCFzz7abHlJ+tiEMl1+E5YP6sOVkCAwEAAaNCMEAwDgYDVR0PAQH/
27 44:99:8d:3c:c0:03:27:bd:9c:76:95:b9:ea:db:ac:b5
38 00:c3:12:20:9e:b0:5e:00:65:8d:4e:46:bb:80:5c:
39 e9:2c:06:97:d5:f3:72:c9:70:b9:e7:4b:65:80:c1:
40 4b:be:7e:3c:d7:54:31:94:de:d5:12:ba:53:16:02:
42 10:2d:5f:5f:eb:5c:4b:9c:96:08:42:25:28:11:cc:
45 33:ed:d8:8d:fb:12:49:83:00:c9:8b:97:8c:3b:73:
47 37:08:f2:d9:fd:6b:5c:a3:e5:48:5c:58:bc:42:be:
48 03:5a:81:ba:1c:35:0c:00:d3:f5:23:7e:71:30:08:
51 2c:c3:7e:0d:f2:1c:43:66:60:cb:61:31:47:87:a3:
[all …]
Dc51c224c.026 1b:1f:ad:b6:20:f9:24:d3:36:6b:f7:c7:f1:8c:a0:59
37 00:c5:50:7b:9e:3b:35:d0:df:c4:8c:cd:8e:9b:ed:
40 99:89:66:b7:e5:8a:56:86:93:9c:68:4b:68:04:8c:
41 93:93:02:3e:30:d2:37:3a:22:61:89:1c:85:4e:7d:
43 1f:99:d2:5b:ba:fe:7f:60:bf:ad:eb:e7:3c:38:29:
44 6a:2f:e5:91:0b:55:ff:ec:6f:58:d5:2d:c9:de:4c:
45 66:71:8f:0c:d7:04:da:07:e6:1e:18:e3:bd:29:02:
46 a8:fa:1c:e1:5b:b9:83:a8:41:48:bc:1a:71:8d:e7:
47 62:e5:2d:b2:eb:df:7c:cf:db:ab:5a:ca:31:f1:4c:
48 22:f3:05:13:f7:82:f9:73:79:0c:be:d7:4b:1c:c0:
[all …]
D450c6e38.039 1e:9e:28:e8:48:f2:e5:ef:c3:7c:4a:1e:5a:18:67:b6
52 08:7b:ab:33:8c:f4:e9:40:e6:17:4c:ab:9e:b8:47:
53 14:32:77:32:dd:28:0c:de:18:4b:5f:76:9f:f8:39:
54 3b:fc:4e:89:d8:7c:c5:67:ef:ab:d2:b9:34:5f:6b:
56 e2:3d:2e:21:df:ea:2c:d4:e0:f9:70:96:4c:ff:6a:
59 68:62:1c:b1:0b:05:89:c0:36:82:14:21:3f:ae:db:
60 a1:fd:bc:6f:1c:60:86:b6:53:94:49:b9:2b:46:c5:
61 4f:00:2b:bf:a1:bb:cb:3f:e0:c7:57:1c:57:e8:d6:
64 86:63:76:85:cb:af:ff:49:28:fc:80:ed:4c:79:d2:
66 b4:8c:6e:85:e9:b6:11:cf:31:dd:53:26:1b:df:2d:
[all …]
D84cba82f.030 …ertifika Hizmet Sa\xC4\x9Flay\xC4\xB1c\xC4\xB1s\xC4\xB1, C=TR, L=ANKARA, O=(c) 2005 T\xC3\x9CRKTRU…
34 …ertifika Hizmet Sa\xC4\x9Flay\xC4\xB1c\xC4\xB1s\xC4\xB1, C=TR, L=ANKARA, O=(c) 2005 T\xC3\x9CRKTRU…
39 00:ca:52:05:d6:63:03:d8:1c:5f:dd:d2:7b:5d:f2:
40 0c:60:61:5b:6b:3b:74:2b:78:0d:7d:45:bd:22:74:
41 e8:8c:03:c1:c6:11:2a:3d:95:bc:a9:94:b0:bb:91:
42 97:c8:69:7c:84:c5:b4:91:6c:6c:13:6a:a4:55:ad:
47 ec:f5:3b:1c:c8:1f:c2:ee:a8:ee:ea:12:4a:8d:14:
50 06:ea:e1:1a:3e:3d:67:1f:fb:ce:fb:7c:82:e8:11:
51 5d:4a:c1:b9:14:ea:54:d9:66:9b:7c:89:7d:04:9a:
52 62:c9:e9:52:3c:9e:9c:ef:d2:f5:26:e4:e6:e5:18:
[all …]
D2fb1850a.048 00:cc:41:45:1d:e9:3d:4d:10:f6:8c:b1:41:c9:e0:
49 5e:cb:0d:b7:bf:47:73:d3:f0:55:4d:dd:c6:0c:fa:
51 7c:71:bc:75:63:a0:5d:e3:07:0c:48:ec:25:c4:03:
56 7c:32:47:03:5c:c4:a5:83:48:f4:57:56:6e:81:36:
57 27:18:4f:ec:9b:28:c2:d4:b4:d7:7c:0c:3e:0c:2b:
58 df:ca:04:d7:c6:8e:ea:58:4e:a8:a4:a5:18:1c:6c:
61 db:0c:6b:90:90:7e:14:59:38:bb:94:24:13:e5:d1:
64 2a:23:03:6e:2e:01:15:87:5c:a6:75:75:c7:97:61:
66 50:fb:b4:80:17:b8:94:bf:01:3d:ea:da:ba:7c:e0:
67 58:67:17:b9:58:e0:88:86:46:67:6c:9d:10:47:58:
[all …]
D9576d26b.047 73:9e:35:c2:71:55:7e:81:fb:ab:46:50:e0:c1:7c:
48 49:78:e6:ab:79:58:3c:da:ff:7c:1c:9f:d8:97:02:
49 78:3e:6b:41:04:e9:41:bd:be:03:2c:45:f6:2f:64:
51 ba:be:b2:8b:34:02:2e:98:55:19:fc:8c:6f:aa:5f:
52 da:4c:ce:4d:03:21:a3:d8:d2:34:93:56:96:cb:4c:
53 0c:00:16:3c:5f:1a:cd:c8:c7:6c:a6:ad:d3:31:a7:
56 df:9f:95:73:f4:e1:25:da:6c:16:de:41:38:34:ea:
59 13:a0:98:b7:11:2b:b7:d6:57:cc:7c:9e:17:d1:cb:
60 25:fe:86:4e:24:2e:56:0c:78:4d:9e:01:12:a6:2b:
61 a7:01:65:6e:7c:62:1d:84:84:df:ea:c0:6b:b5:a5:
[all …]
D00673b5b.032 …Issuer: C=US, O=thawte, Inc., OU=Certification Services Division, OU=(c) 2006 thawte, Inc. - For a…
36 …Subject: C=US, O=thawte, Inc., OU=Certification Services Division, OU=(c) 2006 thawte, Inc. - For …
41 00:ac:a0:f0:fb:80:59:d4:9c:c7:a4:cf:9d:a1:59:
42 73:09:10:45:0c:0d:2c:6e:68:f1:6c:5b:48:68:49:
43 59:37:fc:0b:33:19:c2:77:7f:cc:10:2d:95:34:1c:
44 e6:eb:4d:09:a7:1c:d2:b8:c9:97:36:02:b7:89:d4:
46 11:8d:28:9a:5c:84:90:10:7a:0d:bd:74:66:2f:6a:
48 fd:4e:0b:29:f5:3e:84:a0:01:f1:9c:ab:f8:1c:7e:
51 2e:e9:04:e8:62:87:de:2b:c8:d7:4e:c1:4c:64:1e:
52 dd:cf:87:58:ba:4a:4f:ca:68:07:1d:1c:9d:4a:c6:
[all …]
D7a819ef2.049 81:c8:ae:4c:19:85:1d:08:9f:ab:29:44:85:f3:2f:
50 81:ad:32:1e:90:46:bf:a3:86:26:1a:1e:fe:7e:1c:
51 18:3a:5c:9c:60:17:2a:3a:74:83:33:30:7d:61:54:
54 f8:5d:fd:a4:da:ff:9e:49:5a:9c:e6:33:e6:24:96:
55 f7:3f:ba:5b:2b:1c:7a:35:c2:d6:67:fe:ab:66:50:
57 f3:7f:f8:db:11:13:c4:9c:77:76:c1:ae:b7:02:6a:
60 e5:b0:e3:5f:5e:6b:11:ab:0c:f9:85:eb:44:e9:f8:
61 04:73:f2:e9:fe:5c:98:8c:f5:73:af:6b:b4:7e:cd:
62 d4:5c:02:2b:4c:39:e1:b2:95:95:2d:42:87:d7:d5:
63 b3:90:43:b7:6c:13:f1:de:dd:f6:c4:f8:89:3f:d1:
[all …]
D63a2c897.047 55:16:91:5c:fd:ef:21:bf:53:80:7a:2d:d2:91:8c:
48 63:31:f0:ec:24:f0:c3:a5:d2:72:7c:10:6d:f4:37:
49 b7:e5:e6:7c:79:ea:8c:b5:82:8b:ae:48:b6:ac:00:
56 00:45:f5:8c:5d:e8:23:bc:7e:fe:35:e1:ed:50:7b:
57 a9:30:8d:19:d3:09:8e:68:67:5d:bf:3c:97:18:53:
59 1f:69:03:ec:ea:e2:50:f1:0c:3c:f0:ac:f3:53:2d:
60 f0:1c:f5:ed:6c:39:39:73:80:16:c8:52:b0:23:cd:
61 e0:3e:dc:dd:3c:47:a0:bb:35:8a:e2:98:68:8b:be:
63 76:dc:28:4b:10:20:1c:d3:7f:16:77:2d:ed:6f:80:
65 5a:8b:f7:17:47:d4:4c:f1:d2:89:79:3e:4d:3d:98:
[all …]
Dc8763593.042 07:7e:52:93:7b:e0:15:e3:57:f0:69:8c:cb:ec:0c
54 08:2e:b8:08:7a:6d:3c:90:17:86:a9:e9:ed:2e:13:
55 34:47:b2:d0:70:dc:c9:3c:d0:8d:ca:ee:4b:17:ab:
57 62:89:8f:50:9e:01:3d:26:5b:18:84:1c:cb:7c:37:
62 0e:9c:1f:0e:20:c7:ee:bb:33:8d:8f:c2:d2:58:a7:
65 d8:bc:4a:9c:83:18:5a:06:fc:f3:d4:d4:ba:8c:15:
66 09:25:f0:f9:b6:8d:04:7e:17:12:33:6b:57:48:4c:
67 4f:db:26:1e:eb:cc:90:e7:8b:f9:68:7c:70:0f:a3:
69 91:83:42:5a:4c:04:89:68:11:3c:ac:5f:68:80:41:
70 cc:60:42:ce:0d:5a:2a:0c:0f:9b:30:c0:a6:f0:86:
[all …]
/libcore/luni/src/main/java/libcore/net/url/
DUrlUtils.java109 char c = spec.charAt(i); in getSchemePrefix() local
110 if (!isValidSchemeChar(i, c)) { in getSchemePrefix()
118 public static boolean isValidSchemeChar(int index, char c) { in isValidSchemeChar() argument
119 if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z')) { in isValidSchemeChar()
122 if (index > 0 && ((c >= '0' && c <= '9') || c == '+' || c == '-' || c == '.')) { in isValidSchemeChar()
135 char c = string.charAt(i); in findFirstOf() local
136 if (chars.indexOf(c) != -1) { in findFirstOf()
/libcore/luni/src/main/java/java/util/
DIllegalFormatCodePointException.java32 private final int c; field in IllegalFormatCodePointException
41 public IllegalFormatCodePointException(int c) { in IllegalFormatCodePointException() argument
42 this.c = c; in IllegalFormatCodePointException()
51 return c; in getCodePoint()
56 return Integer.toHexString(c); in getMessage()
DPriorityQueue.java105 public PriorityQueue(Collection<? extends E> c) { in PriorityQueue() argument
106 if (c instanceof PriorityQueue) { in PriorityQueue()
107 getFromPriorityQueue((PriorityQueue<? extends E>) c); in PriorityQueue()
108 } else if (c instanceof SortedSet) { in PriorityQueue()
109 getFromSortedSet((SortedSet<? extends E>) c); in PriorityQueue()
111 initSize(c); in PriorityQueue()
112 addAll(c); in PriorityQueue()
126 public PriorityQueue(PriorityQueue<? extends E> c) { in PriorityQueue() argument
127 getFromPriorityQueue(c); in PriorityQueue()
140 public PriorityQueue(SortedSet<? extends E> c) { in PriorityQueue() argument
[all …]
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1Time.java44 GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT")); in getDecodedObject() local
45 c.set(Calendar.YEAR, in.times[0]); in getDecodedObject()
46 c.set(Calendar.MONTH, in.times[1]-1); in getDecodedObject()
47 c.set(Calendar.DAY_OF_MONTH, in.times[2]); in getDecodedObject()
48 c.set(Calendar.HOUR_OF_DAY, in.times[3]); in getDecodedObject()
49 c.set(Calendar.MINUTE, in.times[4]); in getDecodedObject()
50 c.set(Calendar.SECOND, in.times[5]); in getDecodedObject()
51 c.set(Calendar.MILLISECOND, in.times[6]); in getDecodedObject()
52 return c.getTime(); in getDecodedObject()
/libcore/luni/src/test/java/libcore/java/util/
DDateTest.java37 Calendar c = Calendar.getInstance(); in test_toGMTString() local
38 c.clear(); in test_toGMTString()
39 c.set(Calendar.YEAR, 21); in test_toGMTString()
40 assertEquals("Wed Jan 01 00:00:00 PST 21", c.getTime().toString()); in test_toGMTString()
41 assertEquals("1 Jan 21 08:00:00 GMT", c.getTime().toGMTString()); in test_toGMTString()
42 c.set(Calendar.YEAR, 321); in test_toGMTString()
43 assertEquals("Sun Jan 01 00:00:00 PST 321", c.getTime().toString()); in test_toGMTString()
44 assertEquals("1 Jan 321 08:00:00 GMT", c.getTime().toGMTString()); in test_toGMTString()

12345678910>>...18