Home
last modified time | relevance | path

Searched refs:pc (Results 1 – 15 of 15) 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_Cert_Collection() local
79 pc.check(new MyCertificate("", null), new HashSet<>()); in testCheck_Cert_Collection()
83 PKIXCertPathChecker pc = TestUtils.getTestCertPathChecker(); in testCheck_Cert() local
84 pc.check(new MyCertificate("", null)); in testCheck_Cert()
/libcore/ojluni/src/test/java/lang/Math/
DCubeRootTests.java242 double pc = Math.scalb(1.0, 3 * i); in testCubeRoot() local
244 pcNeighbors[2] = pc; in testCubeRoot()
245 pcNeighbors[1] = Math.nextDown(pc); in testCubeRoot()
247 pcNeighbors[3] = Math.nextUp(pc); in testCubeRoot()
279 double pc = Math.scalb(1.0, 3 * i); in testCubeRoot() local
281 pcNeighbors[2] = pc; in testCubeRoot()
282 pcNeighbors[1] = Math.nextDown(pc); in testCubeRoot()
284 pcNeighbors[3] = Math.nextUp(pc); in testCubeRoot()
DExpm1Tests.java140 double pc = StrictMath.log(2) * i; in testExpm1() local
142 pcNeighbors[2] = pc; in testExpm1()
143 pcNeighbors[1] = Math.nextDown(pc); in testExpm1()
145 pcNeighbors[3] = Math.nextUp(pc); in testExpm1()
DLog1pTests.java145 double pc = StrictMath.pow(Math.E, i) - 1; in testLog1p() local
147 pcNeighbors[2] = pc; in testLog1p()
148 pcNeighbors[1] = Math.nextDown(pc); in testLog1p()
150 pcNeighbors[3] = Math.nextUp(pc); in testLog1p()
DHypotTests.java162 double pc = Math.scalb(1.0, i); in testHypot() local
164 pcNeighbors[2] = pc; in testHypot()
165 pcNeighbors[1] = Math.nextDown(pc); in testHypot()
167 pcNeighbors[3] = Math.nextUp(pc); in testHypot()
/libcore/ojluni/src/main/java/sun/net/util/
DIPAddressUtil.java146 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/
DPKIXCertPathValidator.java186 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/lang/
DString.java1792 int pc = prefix.length(); in startsWith() local
1794 if (toffset < 0 || toffset > length() - pc) { in startsWith()
1822 while (--pc >= 0) { in startsWith()
/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()
/libcore/ojluni/src/main/java/java/math/
DBigInteger.java4287 BigInteger[][] pc = powerCache; // volatile read again
4288 if (exponent >= pc[radix].length) {
4289 pc = pc.clone();
4290 pc[radix] = cacheLine;
4291 powerCache = pc; // volatile write, publish
/libcore/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java3161 int pc = (md & SMASK);
3162 int tc = pc + (short)(c >>> TC_SHIFT);
3163 int ac = pc + (int)(c >> RC_SHIFT);
3172 ", parallelism = " + pc +
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java4656 int pc = h.type().parameterCount(); in fillParameterTypes()
4658 return pc < tpsize ? dropArguments0(h, pc, targetParams.subList(pc, tpsize)) : h; in fillParameterTypes()
/libcore/ojluni/src/test/java/util/Scanner/
Dinput.txt405 # path = /usr/pc/%m
/libcore/ojluni/src/test/java/lang/invoke/
DMethodHandlesGeneralTest.java1402 int pc = test1.type().parameterCount(); in testGuardWithTest() local
1403 … test1 = MethodHandles.insertArguments(test, testArgs, Arrays.copyOfRange(argList1, testArgs, pc)); in testGuardWithTest()