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/ |
D | PasswordCallbackTest.java | 41 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/ |
D | PKIXCertPathCheckerTest.java | 65 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/ojluni/src/main/java/sun/net/util/ |
D | IPAddressUtil.java | 146 int pc = src.indexOf ("%"); in textToNumericFormatV6() local 147 if (pc == srcb_length -1) { in textToNumericFormatV6() 151 if (pc != -1) { in textToNumericFormatV6() 152 srcb_length = pc; in textToNumericFormatV6()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PKIXCertPathValidator.java | 186 PolicyChecker pc = new PolicyChecker(params.initialPolicies(), in validate() local 193 certPathCheckers.add(pc); in validate() 226 return new PKIXCertPathValidatorResult(anchor, pc.getPolicyTree(), in validate()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 2178 int pc = config & SMASK; in tryCompensate() local 2179 int ac = pc + (int)(c >> AC_SHIFT); in tryCompensate() 2180 int tc = pc + (short)(c >> TC_SHIFT); in tryCompensate() 2181 if (w == null || w.qlock < 0 || pc == 0 || // terminating or disabled in tryCompensate() 2199 else if (tc >= pc && ac > 1 && w.isEmpty()) { in tryCompensate() 2205 (this == common && tc >= pc + COMMON_MAX_SPARES)) in tryCompensate() 2209 boolean isSpare = (tc >= pc); in tryCompensate() 3128 int pc = (config & SMASK); in toString() local 3129 int tc = pc + (short)(c >>> TC_SHIFT); in toString() 3130 int ac = pc + (int)(c >> AC_SHIFT); in toString() [all …]
|
/libcore/ojluni/src/main/java/java/lang/ |
D | String.java | 1404 int pc = prefix.length(); in startsWith() local 1406 if ((toffset < 0) || (toffset > length() - pc)) { in startsWith() 1409 while (--pc >= 0) { in startsWith()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 2334 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()
|