/libcore/ojluni/src/test/java/nio/channels/Selector/ |
D | SelectWithConsumer.java | 64 Selector sel = key.selector(); in testActionInvoked() local 70 sel.wakeup(); in testActionInvoked() 73 sel.select(); in testActionInvoked() 76 sel.select(); in testActionInvoked() 82 int n = sel.select(k -> { in testActionInvoked() 95 n = sel.select(k -> { in testActionInvoked() 108 n = sel.selectNow(k -> { in testActionInvoked() 125 try (Selector sel = Selector.open()) { in testReadable() argument 129 SelectionKey key = source.register(sel, SelectionKey.OP_READ); in testReadable() 146 try (Selector sel = Selector.open()) { in testWritable() argument [all …]
|
D | SelectAfterRead.java | 52 try (Selector sel = Selector.open()) { in testSelectAfterRead() argument 55 sc.register(sel, SelectionKey.OP_READ); in testSelectAfterRead() 58 if (sel.selectNow() != 0) in testSelectAfterRead() 71 try (Selector sel = Selector.open()) { in testSelectAfterRead() argument 73 sc.register(sel, SelectionKey.OP_READ); in testSelectAfterRead() 74 if (sel.select(TIMEOUT) != 1) in testSelectAfterRead() 76 sel.selectedKeys().clear(); in testSelectAfterRead() 78 if (sel.selectNow() != 1) in testSelectAfterRead() 87 if (sel.selectNow() != 0) in testSelectAfterRead()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | CertPathHelper.java | 57 protected abstract void implSetPathToNames(X509CertSelector sel, in implSetPathToNames() argument 60 protected abstract void implSetDateAndTime(X509CRLSelector sel, Date date, long skew); in implSetDateAndTime() argument 62 static void setPathToNames(X509CertSelector sel, in setPathToNames() argument 64 instance.implSetPathToNames(sel, names); in setPathToNames() 67 public static void setDateAndTime(X509CRLSelector sel, Date date, long skew) { in setDateAndTime() argument 68 instance.implSetDateAndTime(sel, date, skew); in setDateAndTime()
|
D | PKIX.java | 208 CertSelector sel = targetCertConstraints(); in checkParams() local 209 if (!(sel instanceof X509CertSelector)) { in checkParams() 235 X509CertSelector sel) in getTargetSubject() argument 238 X500Principal subject = sel.getSubject(); in getTargetSubject() 242 X509Certificate cert = sel.getCertificate(); in getTargetSubject() 253 store.getCertificates(sel); in getTargetSubject()
|
D | RevocationChecker.java | 230 X509CertSelector sel = new X509CertSelector(); 232 sel.setSubject(new X500Principal(subject)); 237 return getResponderCert(sel, anchors, stores); 246 X509CertSelector sel = new X509CertSelector(); 248 sel.setIssuer(new X500Principal(issuer)); 254 sel.setSerialNumber(new BigInteger(stripOutSeparators(serial), 16)); 259 return getResponderCert(sel, anchors, stores); 262 private static X509Certificate getResponderCert(X509CertSelector sel, 273 if (sel.match(cert)) { 281 store.getCertificates(sel); [all …]
|
D | ForwardBuilder.java | 201 X509CertSelector sel = null; in getMatchingCACerts() local 235 sel = caTargetSelector; in getMatchingCACerts() 274 sel = caSelector; in getMatchingCACerts() 283 sel.setBasicConstraints(-1); in getMatchingCACerts() 286 if (sel.match(trustedCert)) { in getMatchingCACerts() 307 sel.setCertificateValid(buildParams.date()); in getMatchingCACerts() 313 sel.setBasicConstraints(currentState.traversedCACerts); in getMatchingCACerts() 326 if (addMatchingCerts(sel, certStores, in getMatchingCACerts()
|
D | SunCertPathBuilder.java | 573 CertSelector sel) in anchorIsTarget() argument 577 return sel.match(anchorCert); in anchorIsTarget()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathHelperImpl.java | 58 protected void implSetPathToNames(X509CertSelector sel, in implSetPathToNames() argument 60 sel.setPathToNamesInternal(names); in implSetPathToNames() 63 protected void implSetDateAndTime(X509CRLSelector sel, Date date, long skew) { in implSetDateAndTime() argument 64 sel.setDateAndTime(date, skew); in implSetDateAndTime()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | SelectableChannel.java | 144 public abstract SelectionKey keyFor(Selector sel); in keyFor() argument 209 public abstract SelectionKey register(Selector sel, int ops, Object att) in register() argument 257 public final SelectionKey register(Selector sel, int ops) in register() argument 260 return register(sel, ops, null); in register()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelectableChannel.java | 125 private SelectionKey findKey(Selector sel) { in findKey() argument 130 if ((keys[i] != null) && (keys[i].selector() == sel)) in findKey() 168 public final SelectionKey keyFor(Selector sel) { in keyFor() argument 170 return findKey(sel); in keyFor() 200 public final SelectionKey register(Selector sel, int ops, Object att) in register() argument 214 SelectionKey k = findKey(sel); in register() 220 k = ((AbstractSelector)sel).register(this, ops, att); in register()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | AKISerialNumberTest.java | 123 X509CertSelector sel = new X509CertSelector(); in main() local 124 sel.setCertificate(eeCert); in main() 126 (Collections.singleton(anchor), sel); in main()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | SelectionKeyImpl.java | 50 SelectionKeyImpl(SelChImpl ch, SelectorImpl sel) { in SelectionKeyImpl() argument 52 selector = sel; in SelectionKeyImpl()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectableChannelTest.java | 65 public SelectionKey keyFor(Selector sel) { in keyFor() argument 73 public SelectionKey register(Selector sel, int ops, Object att) in register() argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 235 ProxySelector sel = java.security.AccessController.doPrivileged( in connect() local 241 if (sel != null) { in connect() 243 Iterator<Proxy> it = sel.select(uri).iterator(); in connect() 252 sel.connectFailed(uri, p.address(), new IOException("Wrong proxy type")); in connect() 278 …sel.connectFailed(uri, p.address(), new IOException("FTP connections over HTTP proxy not supported… in connect()
|
/libcore/ojluni/src/test/java/nio/channels/SelectionKey/ |
D | AtomicUpdates.java | 180 Selector sel = Selector.open()) { in testNioImplementation() 182 SelectionKey key = sc.register(sel, 0); in testNioImplementation()
|