Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/main/native/
Dcanonicalize_md.c100 joinNames(char *names, int nc, char **ix) in joinNames() argument
105 for (i = 0, p = names; i < nc; i++) { in joinNames()
131 int nc; in collapse() local
136 nc = collapsible(names); in collapse()
137 if (nc < 2) return; /* Nothing to do */ in collapse()
138 ix = (char **)alloca(nc * sizeof(char *)); in collapse()
141 for (i = 0; i < nc; i++) { in collapse()
158 } while (i < nc); in collapse()
159 if (i >= nc) break; in collapse()
180 joinNames(names, nc, ix); in collapse()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DReverseState.java72 NameConstraintsExtension nc; field in ReverseState
135 sb.append("\n nameConstraints: ").append(String.valueOf(nc)); in toString()
320 if (nc != null) { in updateState()
321 nc.merge(icert.getNameConstraintsExtension()); in updateState()
323 nc = icert.getNameConstraintsExtension(); in updateState()
324 if (nc != null) { in updateState()
328 nc = (NameConstraintsExtension) nc.clone(); in updateState()
392 if (nc != null) { in clone()
393 clonedState.nc = (NameConstraintsExtension) nc.clone(); in clone()
DReverseBuilder.java448 if (currentState.nc != null) { in verifyCert()
450 if (!currentState.nc.verify(cert)){ in verifyCert()
/libcore/ojluni/src/main/java/java/security/cert/
DTrustAnchor.java71 private NameConstraintsExtension nc; field in TrustAnchor
276 nc = null; in setNameConstraints()
281 nc = new NameConstraintsExtension(Boolean.FALSE, bytes); in setNameConstraints()
330 if (nc != null) in toString()
331 sb.append(" Name Constraints: " + nc.toString() + "\n"); in toString()
DX509CertSelector.java117 private NameConstraintsExtension nc; field in X509CertSelector
1043 nc = null; in setNameConstraints()
1046 nc = new NameConstraintsExtension(FALSE, bytes); in setNameConstraints()
2366 if (nc == null) { in matchNameConstraints()
2370 if (!nc.verify(xcert)) { in matchNameConstraints()
/libcore/ojluni/src/main/java/java/io/
DReader.java185 int nc = read(skipBuffer, 0, (int)Math.min(r, nn)); in skip() local
186 if (nc == -1) in skip()
188 r -= nc; in skip()
DLineNumberReader.java236 int nc = read(skipBuffer, 0, (int) Math.min(r, nn)); in skip() local
237 if (nc == -1) in skip()
239 r -= nc; in skip()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherOutputStream1Test.java151 NullCipher nc = new NullCipher(); in testWrite5() local
152 …erOutputStream stream1 = new CipherOutputStream(new BufferedOutputStream((OutputStream) null), nc); in testWrite5()
154 CipherOutputStream stream3 = new CipherOutputStream(stream2, nc); in testWrite5()
/libcore/luni/src/test/java/tests/security/cert/
DTrustAnchorTest.java111 byte[] nc = getEncodingPSOnly(); in testTrustAnchorStringPublicKeybyteArray03()
112 byte[] ncCopy = nc.clone(); in testTrustAnchorStringPublicKeybyteArray03()
119 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); in testTrustAnchorStringPublicKeybyteArray03()
222 byte[] nc = getEncodingPSOnly(); in testTrustAnchorX500PrincipalPublicKeybyteArray03()
223 byte[] ncCopy = nc.clone(); in testTrustAnchorX500PrincipalPublicKeybyteArray03()
231 assertTrue(Arrays.equals(nc, ta.getNameConstraints())); in testTrustAnchorX500PrincipalPublicKeybyteArray03()
/libcore/luni/src/main/java/java/util/concurrent/
DForkJoinPool.java1540 long nc = ((AC_MASK & (c + AC_UNIT)) | in tryAddWorker() local
1542 if (ctl == c && U.compareAndSwapLong(this, CTL, c, nc)) { in tryAddWorker()
1681 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + AC_UNIT)); in signalWork() local
1682 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in signalWork()
1705 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + inc)); in tryRelease() local
1706 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in tryRelease()
1730 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + AC_UNIT)); in tryReactivate() local
1734 U.compareAndSwapLong(this, CTL, c, nc)) { in tryReactivate()
1749 long lc = ns & SP_MASK, nc, c; in inactivate() local
1753 nc = lc | (UC_MASK & ((c = ctl) - AC_UNIT)); in inactivate()
[all …]