Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/callback/
DPasswordCallbackTest.java41 PasswordCallback pc = new PasswordCallback(prompt, true); in test_PasswordCallback() local
42 assertNotNull("Null object returned", pc); in test_PasswordCallback()
43 assertEquals(prompt, pc.getPrompt()); in test_PasswordCallback()
44 assertEquals(true, pc.isEchoOn()); in test_PasswordCallback()
50 PasswordCallback pc = new PasswordCallback(prompt, false); in test_PasswordCallback() local
51 assertNotNull("Null object returned", pc); in test_PasswordCallback()
52 assertEquals(prompt, pc.getPrompt()); in test_PasswordCallback()
53 assertEquals(false, pc.isEchoOn()); in test_PasswordCallback()
59 PasswordCallback pc = new PasswordCallback(null, true); in test_PasswordCallback() local
65 PasswordCallback pc = new PasswordCallback("", true); in test_PasswordCallback() local
[all …]
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathCheckerTest.java65 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testIsForwardCheckingSupported() local
66 pc.isForwardCheckingSupported(); in testIsForwardCheckingSupported()
70 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testInit() local
71 pc.init(true); in testInit()
74 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testGetSupportedExtensions() local
75 pc.getSupportedExtensions(); in testGetSupportedExtensions()
78 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testCheck() local
79 pc.check(new MyCertificate("", null), new HashSet<String>()); in testCheck()
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DPolicyConstraints.java72 PolicyConstraints pc = (PolicyConstraints) ASN1.decode(encoding); in PolicyConstraints() local
73 this.requireExplicitPolicy = pc.requireExplicitPolicy; in PolicyConstraints()
74 this.inhibitPolicyMapping = pc.inhibitPolicyMapping; in PolicyConstraints()
131 PolicyConstraints pc = (PolicyConstraints) object;
132 values[0] = pc.requireExplicitPolicy.toByteArray();
133 values[1] = pc.inhibitPolicyMapping.toByteArray();
/libcore/luni/src/main/java/java/net/
DURLClassLoader.java612 PermissionCollection pc = super.getPermissions(codesource); in getPermissions() local
634 pc.add(new FilePermission(path + "-", "read")); in getPermissions()
636 pc.add(new FilePermission(path, "read")); in getPermissions()
643 pc.add(new SocketPermission(host, "connect, accept")); in getPermissions()
645 return pc; in getPermissions()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java1734 long pc = ((d > 0 || ec != (e | INT_SIGN)) ? 0L : in awaitWork() local
1737 if (pc != 0L) { // timed wait if last waiter in awaitWork()
1755 U.compareAndSwapLong(this, CTL, c, pc)) in awaitWork()
1930 int pc = parallelism, e = (int)c, m, tc; in tryCompensate() local
1947 (int)(c >> AC_SHIFT) + pc > 1) { in tryCompensate()
1952 else if (tc + pc < MAX_CAP) { in tryCompensate()
2876 int pc = parallelism; in toString() local
2877 int tc = pc + (short)(c >>> TC_SHIFT); in toString()
2878 int ac = pc + (int)(c >> AC_SHIFT); in toString()
2888 ", parallelism = " + pc + in toString()
DExchanger.java292 Object p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, pa, pb, pc, pd, pe, pf; field in Exchanger.Node
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java2334 char pc = pattern.charAt(pp); in doesMatch() local
2335 if (pc == '_') { in doesMatch()
2342 } else if (pc == '%') { in doesMatch()
2372 if (pc != result.charAt(rp)) { in doesMatch()