Home
last modified time | relevance | path

Searched refs:cc (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/
DChars.java43 char[] cc = new char[n]; in testCharsAndCodePoints() local
48 cc[j] = (char)(ccExp[j] = cpExp[j] = r.nextInt(0x80)); in testCharsAndCodePoints()
50 testChars(cc, ccExp); in testCharsAndCodePoints()
51 testCPs(cc, cpExp); in testCharsAndCodePoints()
55 cc[j] = (char)(ccExp[j] = cpExp[j] = r.nextInt(0x8000)); in testCharsAndCodePoints()
57 testChars(cc, ccExp); in testCharsAndCodePoints()
58 testCPs(cc, cpExp); in testCharsAndCodePoints()
66 Character.toChars(cp, cc, j); in testCharsAndCodePoints()
67 ccExp[j] = cc[j]; in testCharsAndCodePoints()
68 ccExp[j + 1] = cc[j + 1]; in testCharsAndCodePoints()
[all …]
/libcore/ojluni/src/main/java/sun/misc/
DIOUtils.java65 int cc = is.read(output, pos, bytesToRead); in readFully() local
66 if (cc < 0) { in readFully()
76 pos += cc; in readFully()
DResource.java122 int cc = 0; in getBytes() local
124 cc = in.read(b, pos, bytesToRead); in getBytes()
129 if (cc < 0) { in getBytes()
139 pos += cc; in getBytes()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java120 @SuppressWarnings("unchecked") CopyOnWriteArraySet<E> cc = in CopyOnWriteArraySet() local
122 al = new CopyOnWriteArrayList<E>(cc.al); in CopyOnWriteArraySet()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java212 char cc = ext.charAt(index); in isSigningRelated() local
214 if ((cc < 'A' || cc > 'Z') && (cc < '0' || cc > '9')) { in isSigningRelated()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java153 private static int escape(char[] cc, char c, int index) { in escape() argument
154 cc[index++] = '%'; in escape()
155 cc[index++] = Character.forDigit((c >> 4) & 0xF, 16); in escape()
156 cc[index++] = Character.forDigit(c & 0xF, 16); in escape()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactorySpiTest.java78 Certificate cc = certFactorySpi.engineGenerateCertificate(bais); in testCertificateFactorySpi01() local
79 assertNull("Not null Cerificate", cc); in testCertificateFactorySpi01()
/libcore/ojluni/src/test/java/lang/ref/
DCleanerTest.java246 CleanableCase cc = setupPhantom(COMMON, test.getCleanable()); in verify() local
252 checkCleaned(cc.getSemaphore(), true, in verify()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/
DSerializedLambdaTest.java289 assertSerial(c, cc -> { assertTrue(cc instanceof Consumer); }); in testDiscardReturnBound()
/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java356 String cc = value.substring(prefix.length(), prefix.length() + 2); in testFormatter() local
357 assertEquals(cc, in testFormatter()
358 (uppercase) ? cc.toUpperCase(Locale.ROOT) : cc.toLowerCase(Locale.ROOT), in testFormatter()
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java45 private static int escape(char[] cc, char c, int index) { in escape() argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java45 … E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, bb, cc, dd, ee, ff, gg, hh,… enumConstant
53 …}, O{}, P{}, Q{}, R{}, S{}, T{}, U{}, V{}, W{}, X{}, Y{}, Z{}, aa{}, bb{}, cc{}, dd{}, ee{}, ff{},… enumConstant
57 … E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, aa, bb, cc, dd, ee, ff, gg, hh,… enumConstant
730 set.add(EnumFoo.cc); in test_contains_LObject()
852 hugeSet.add(HugeEnum.cc); in test_containsAll_LCollection()
857 hugeSet.add(HugeEnum.cc); in test_containsAll_LCollection()
/libcore/jsr166-tests/src/test/java/jsr166/
DCountedCompleterTest.java303 void testComplete(NoopCC cc, Object x, int pendingCount) {
304 cc.setPendingCount(pendingCount);
305 cc.checkCompletes(x);
306 assertEquals(pendingCount, cc.getPendingCount());
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountedCompleterTest.java328 void testComplete(NoopCC cc, Object x, int pendingCount) {
329 cc.setPendingCount(pendingCount);
330 cc.checkCompletes(x);
331 assertEquals(pendingCount, cc.getPendingCount());