Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 8 of 8) 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/java/security/cert/
DTrustAnchor.java70 private NameConstraintsExtension nc; field in TrustAnchor
275 nc = null; in setNameConstraints()
280 nc = new NameConstraintsExtension(Boolean.FALSE, bytes); in setNameConstraints()
329 if (nc != null) in toString()
330 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()
2360 if (nc == null) { in matchNameConstraints()
2364 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.java238 int nc = read(skipBuffer, 0, (int) Math.min(r, nn)); in skip() local
239 if (nc == -1) in skip()
241 r -= nc; in skip()
/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/ojluni/src/main/java/java/util/concurrent/
DForkJoinPool.java1569 long nc = ((AC_MASK & (c + AC_UNIT)) | in tryAddWorker() local
1571 if (ctl == c && U.compareAndSwapLong(this, CTL, c, nc)) { in tryAddWorker()
1710 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + AC_UNIT)); in signalWork() local
1711 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in signalWork()
1734 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + inc)); in tryRelease() local
1735 if (sp == vs && U.compareAndSwapLong(this, CTL, c, nc)) { in tryRelease()
1759 long nc = (v.stackPred & SP_MASK) | (UC_MASK & (c + AC_UNIT)); in tryReactivate() local
1763 U.compareAndSwapLong(this, CTL, c, nc)) { in tryReactivate()
1778 long lc = ns & SP_MASK, nc, c; in inactivate() local
1782 nc = lc | (UC_MASK & ((c = ctl) - AC_UNIT)); in inactivate()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherOutputStream1Test.java158 NullCipher nc = new NullCipher(); in testWrite5() local
159 …erOutputStream stream1 = new CipherOutputStream(new BufferedOutputStream((OutputStream) null), nc); in testWrite5()
161 CipherOutputStream stream3 = new CipherOutputStream(stream2, nc); in testWrite5()