Home
last modified time | relevance | path

Searched refs:cp (Results 1 – 23 of 23) 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/ojluni/src/main/java/sun/security/util/
DDisabledAlgorithmConstraints.java139 CertConstraintParameters cp) throws CertPathValidatorException { in permits() argument
140 checkConstraints(primitives, cp); in permits()
193 CertConstraintParameters cp) throws CertPathValidatorException { in checkConstraints() argument
195 X509Certificate cert = cp.getCertificate(); in checkConstraints()
215 algorithmConstraints.permits(cp); in checkConstraints()
344 public void permits(CertConstraintParameters cp) in permits() argument
346 X509Certificate cert = cp.getCertificate(); in permits()
369 constraint.permits(cp); in permits()
425 public abstract void permits(CertConstraintParameters cp) in permits() argument
443 public void permits(CertConstraintParameters cp) in permits() argument
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIX.java51 static ValidatorParams checkParams(CertPath cp, CertPathParameters params) in checkParams() argument
58 return new ValidatorParams(cp, (PKIXParameters)params); in checkParams()
89 ValidatorParams(CertPath cp, PKIXParameters params) in ValidatorParams() argument
93 if (!cp.getType().equals("X.509") && !cp.getType().equals("X509")) { in ValidatorParams()
97 this.certPath = cp; in ValidatorParams()
119 void setCertPath(CertPath cp) { in setCertPath() argument
120 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/java/util/
DServiceLoader.java267 int cp = ln.codePointAt(0); in parseLine() local
268 if (!Character.isJavaIdentifierStart(cp)) in parseLine()
270 for (int i = Character.charCount(cp); i < n; i += Character.charCount(cp)) { in parseLine()
271 cp = ln.codePointAt(i); in parseLine()
272 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/luni/src/test/java/dalvik/system/
Dcreate_test_jar.sh26 cp ./child.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/child.jar
51 cp ./parent.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/parent.jar
71 cp ./bootoverride.jar $ANDROID_BUILD_TOP/libcore/luni/src/test/resources/dalvik/system/bootoverride…
/libcore/ojluni/src/test/java/security/cert/
DPKIXCertPathValidatorValidity.java114 CertPath cp = cf.generateCertPath(certs); in runTest() local
130 cpv.validate(cp, params); in runTest()
/libcore/
DAndroid.bp30 …cmd: "cp -f $(location NOTICE) $(genDir)/NOTICES/libcore-NOTICE && cp -f $(location ojluni/NOTICE)…
/libcore/ojluni/src/main/native/
Dzip_util.c556 unsigned char *cp; in readCEN() local
676 for (i = 0, cp = cenbuf; cp <= cenend - CENHDR; i++, cp += CENSIZE(cp)) { in readCEN()
689 method = CENHOW(cp); in readCEN()
690 nlen = CENNAM(cp); in readCEN()
692 if (GETSIG(cp) != CENSIG) { in readCEN()
695 if (CENFLG(cp) & 1) { in readCEN()
701 if (cp + CENHDR + nlen > cenend) { in readCEN()
705 const char* entryName = (const char *)cp + CENHDR; in readCEN()
712 if (addMetaName(zip, (char *)cp+CENHDR, nlen) != 0) { in readCEN()
718 entries[i].cenpos = cenpos + (cp - cenbuf); in readCEN()
[all …]
/libcore/ojluni/src/main/java/java/nio/charset/
DCharset.java431 CharsetProvider cp = i.next(); in lookupViaProviders() local
432 Charset cs = cp.charsetForName(charsetName); in lookupViaProviders()
638 CharsetProvider cp = (CharsetProvider)i.next();
639 put(cp.charsets(), m);
/libcore/ojluni/annotations/
DREADME19 … mkdir -p libcore/ojluni/annotations/sdk/nullability/$(dirname ${FILE}) && cp out/soong/.intermedi…
34 …ILES; do mkdir -p libcore/ojluni/annotations/mmodule/$(dirname ${FILE}) && cp out/soong/.intermedi…
/libcore/ojluni/src/main/java/java/net/
DURI.java2153 String cp = normalize(child.path); in relativize() local
2154 if (!bp.equals(cp)) { in relativize()
2166 if (!cp.startsWith(bp)) in relativize()
2171 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