Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DLDAPCertStoreParametersTest.java47 CertStoreParameters cp = new LDAPCertStoreParameters(); in testLDAPCertStoreParameters01() local
49 cp instanceof LDAPCertStoreParameters); in testLDAPCertStoreParameters01()
58 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(); in testLDAPCertStoreParameters02() local
59 assertEquals("host", "localhost", cp.getServerName()); in testLDAPCertStoreParameters02()
60 assertEquals("port", 389, cp.getPort()); in testLDAPCertStoreParameters02()
69 CertStoreParameters cp = new LDAPCertStoreParameters("myhost"); in testLDAPCertStoreParametersString01() local
71 cp instanceof LDAPCertStoreParameters); in testLDAPCertStoreParametersString01()
81 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(serverName); in testLDAPCertStoreParametersString02() local
82 assertTrue("host", serverName.equals(cp.getServerName())); in testLDAPCertStoreParametersString02()
83 assertEquals("port", 389, cp.getPort()); in testLDAPCertStoreParametersString02()
[all …]
DCollectionCertStoreParametersTest.java48 CertStoreParameters cp = new CollectionCertStoreParameters(); in testCollectionCertStoreParameters01() local
50 cp instanceof CollectionCertStoreParameters); in testCollectionCertStoreParameters01()
58 CollectionCertStoreParameters cp = new CollectionCertStoreParameters(); in testCollectionCertStoreParameters02() local
59 Collection c = cp.getCollection(); in testCollectionCertStoreParameters02()
101 CollectionCertStoreParameters cp = in testCollectionCertStoreParametersCollection03() local
104 assertTrue("isRefUsed_1", certificates == cp.getCollection()); in testCollectionCertStoreParametersCollection03()
106 assertTrue("isEmpty", cp.getCollection().isEmpty()); in testCollectionCertStoreParametersCollection03()
111 assertTrue("isRefUsed_2", certificates.equals(cp.getCollection())); in testCollectionCertStoreParametersCollection03()
173 CollectionCertStoreParameters cp = in testToString01() local
175 String s = cp.toString(); in testToString01()
[all …]
DCertPathCertPathRepTest.java29 MyCertPath cp = new MyCertPath(testEncoding); in testCertPathCertPathRep() local
30 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testCertPathCertPathRep()
35 cp.new MyCertPathRep(null, null); in testCertPathCertPathRep()
43 MyCertPath cp = new MyCertPath(testEncoding); in testReadResolve() local
44 MyCertPathRep rep = cp.new MyCertPathRep("MyEncoding", testEncoding); in testReadResolve()
53 rep = cp.new MyCertPathRep("MyEncoding", new byte[] {(byte) 1, (byte) 2, (byte) 3 }); in testReadResolve()
DCertPathValidatorExceptionTest.java279 CertPath cp = mcp.get("X.509"); in testCertPathValidatorException13() local
285 new CertPathValidatorException(msgs[i], tCause, cp, indx[j]); in testCertPathValidatorException13()
307 CertPath cp = mcp.get("X.509"); in testCertPathValidatorException14() local
310 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); in testCertPathValidatorException14()
327 "getCertPath() must return ".concat(cp.toString()), tE in testCertPathValidatorException14()
328 .getCertPath(), cp); in testCertPathValidatorException14()
376 CertPath cp = mcp.get("X.509"); in testCertPathValidatorException15() local
379 tE = new CertPathValidatorException(msgs[i], tCause, cp, -1); in testCertPathValidatorException15()
383 "getCertPath() must return ".concat(cp.toString()), tE in testCertPathValidatorException15()
384 .getCertPath(), cp); in testCertPathValidatorException15()
[all …]
DPKIXCertPathBuilderResultTest.java216 CertPath cp = new MyCertPath(testEncoding); in testGetCertPath() local
219 cp, in testGetCertPath()
226 assertSame(cp, r.getCertPath()); in testGetCertPath()
DCertPathTest.java213 MyFailingCertPath cp = new MyFailingCertPath(testEncoding); in testWriteReplace_ObjectStreamException() local
214 Object obj = cp.writeReplace(); in testWriteReplace_ObjectStreamException()
DCertificateFactory2Test.java153 CertPath cp; in checkResult() local
155 cp = certFactory.generateCertPath(list); in checkResult()
159 assertNull("Must be null", cp); in checkResult()
DCertificateFactory1Test.java600 CertPath cp = certFs[i].generateCertPath(list); in testCertificateFactory15() local
601 List<? extends Certificate> list1 = cp.getCertificates(); in testCertificateFactory15()
/libcore/tzdata/tools/
DcreateIcuUpdateResources.sh54 cp ${TZ_DATA_FILE} .
75 cp ${RES_DIR}/metaZones.res ${BUILD_DIR}
76 cp ${RES_DIR}/timezoneTypes.res ${BUILD_DIR}
77 cp ${RES_DIR}/windowsZones.res ${BUILD_DIR}
78 cp ${RES_DIR}/zoneinfo64.res ${BUILD_DIR}
86 cp ${ICU_PACKAGE}.dat ${START_DIR}/icu_tzdata.dat
DcreateTzDataBundle.sh25 java -cp ${GEN_DIR} libcore.tzdata.update.tools.CreateTzDataBundle $@
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIX.java52 static ValidatorParams checkParams(CertPath cp, CertPathParameters params) in checkParams() argument
59 return new ValidatorParams(cp, (PKIXParameters)params); in checkParams()
90 ValidatorParams(CertPath cp, PKIXParameters params) in ValidatorParams() argument
94 if (!cp.getType().equals("X.509") && !cp.getType().equals("X509")) { in ValidatorParams()
98 this.certPath = cp; in ValidatorParams()
120 void setCertPath(CertPath cp) { in setCertPath() argument
121 this.certPath = cp; in setCertPath()
DPKIXCertPathValidator.java74 public CertPathValidatorResult engineValidate(CertPath cp, in engineValidate() argument
78 ValidatorParams valParams = PKIX.checkParams(cp, params); in engineValidate()
/libcore/ojluni/src/main/java/sun/misc/
DService.java175 int cp = ln.codePointAt(0); in parseLine() local
176 if (!Character.isJavaIdentifierStart(cp)) in parseLine()
178 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { in parseLine()
179 cp = ln.codePointAt(i); in parseLine()
180 if (!Character.isJavaIdentifierPart(cp) && (cp != '.')) in parseLine()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DSettableCharsetProvider.java32 public static void setDelegate(CharsetProvider cp) { in setDelegate() argument
33 delegate = cp; in setDelegate()
/libcore/ojluni/src/main/java/java/util/
DServiceLoader.java259 int cp = ln.codePointAt(0); in parseLine() local
260 if (!Character.isJavaIdentifierStart(cp)) in parseLine()
262 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { in parseLine()
263 cp = ln.codePointAt(i); in parseLine()
264 if (!Character.isJavaIdentifierPart(cp) && (cp != '.')) in parseLine()
/libcore/ojluni/src/main/native/
Dzip_util.c564 unsigned char *cp; in readCEN() local
681 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()
694 method = CENHOW(cp); in readCEN()
695 nlen = CENNAM(cp); in readCEN()
697 if (GETSIG(cp) != CENSIG) { in readCEN()
700 if (CENFLG(cp) & 1) { in readCEN()
706 if (cp + CENHDR + nlen > cenend) { in readCEN()
710 const char* entryName = (const char *)cp + CENHDR; in readCEN()
717 if (addMetaName(zip, (char *)cp+CENHDR, nlen) != 0) { in readCEN()
723 entries[i].cenpos = cenpos + (cp - cenbuf); in readCEN()
[all …]
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java436 CharsetProvider cp = (CharsetProvider)i.next(); in lookupViaProviders() local
437 Charset cs = cp.charsetForName(charsetName); in lookupViaProviders()
643 CharsetProvider cp = (CharsetProvider)i.next();
644 put(cp.charsets(), m);
/libcore/ojluni/src/main/java/java/net/
DURI.java2125 String cp = normalize(child.path); in relativize() local
2126 if (!bp.equals(cp)) { in relativize()
2137 if (!cp.startsWith(bp)) in relativize()
2142 v.path = cp.substring(bp.length()); in relativize()
/libcore/support/src/test/java/tests/resources/x509/
Dcreate.sh91 cp "$DIR/cakey.pem" "$DIR/cacert.pem" /tmp
/libcore/luni/src/test/resources/
Dmath_tests.csv86 tan,0x1.17b4f5bf44098p-1,0x1.000000000cp-1
87 tan,-0x1.17b4f5bf44098p-1,-0x1.000000000cp-1
680 tan,0x1.def49eaab37a1p-2,0x1.cp-2
681 tan,-0x1.def49eaab37a1p-2,-0x1.cp-2
908 tan,0x1.4ef06cb4f0a88p-3,0x1.4cp-3
909 tan,-0x1.4ef06cb4f0a88p-3,-0x1.4cp-3
1349 log,-0x1.3e1fee699c6bcp8,0x1.07cp-459
1635 log,-0x1.1178e8227e47cp-3,0x1.cp-1
1999 sin,0x1.769e8afb6a4ecp-5,0x1.76cp-5
2000 sin,-0x1.769e8afb6a4ecp-5,-0x1.76cp-5
[all …]
Dmath_java_only.csv1119 nextAfter,0x1.861318513750bp-2,0x1.861318513750cp-2,0x1.10c6e3b329af8p-3
2347 hypot,0x1.150ca9e71cd52p-1,-0x1.018ffca31383ap-1,0x1.984636905034cp-3
2713 IEEEremainder,-0x1.202706163244cp-1,-0x1.3d777b18721p5,-0x1.72ebb2f6a2b2ep0
2756 max,0x1.2728b6cd3c3d6p1,0x1.2728b6cd3c3d6p1,0x1.136773166616cp-2