/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 45 static void check(boolean okay, String msg) { in check() method in BasicFileAttributeViewTest 54 check(attrs.isDirectory(), "is a directory"); in checkAttributesOfDirectory() 55 check(!attrs.isRegularFile(), "is not a regular file"); in checkAttributesOfDirectory() 56 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfDirectory() 57 check(!attrs.isOther(), "is not other"); in checkAttributesOfDirectory() 61 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS), in checkAttributesOfDirectory() 69 check(attrs.isRegularFile(), "is a regular file"); in checkAttributesOfFile() 70 check(!attrs.isDirectory(), "is not a directory"); in checkAttributesOfFile() 71 check(!attrs.isSymbolicLink(), "is not a link"); in checkAttributesOfFile() 72 check(!attrs.isOther(), "is not other"); in checkAttributesOfFile() [all …]
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 211 public URL findResource(String name, boolean check) { in findResource() argument 215 URL url = loader.findResource(name, check); in findResource() 231 public Resource getResource(String name, boolean check) { in getResource() argument 239 Resource res = loader.getResource(name, check); in getResource() 255 final boolean check) { in findResources() argument 267 url = loader.findResource(name, check); in findResources() 303 final boolean check) { in getResources() argument 315 res = loader.getResource(name, check); in getResources() 641 check(url); 654 static void check(URL url) throws IOException { [all …]
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | URLClassPath.java | 61 public java.net.URL findResource(java.lang.String name, boolean check) { in findResource() argument 65 public sun.misc.Resource getResource(java.lang.String name, boolean check) { in getResource() argument 69 public java.util.Enumeration<java.net.URL> findResources(java.lang.String name, boolean check) { in findResources() argument 78 java.lang.String name, boolean check) { in getResources() argument 148 static void check(java.net.URL url) throws java.io.IOException { in check() method in URLClassPath 218 java.net.URL findResource(java.lang.String name, boolean check) { in findResource() argument 222 sun.misc.Resource getResource(java.lang.String name, boolean check) { in getResource() argument 273 java.lang.String name, boolean check, java.util.jar.JarEntry entry) { in checkResource() argument 281 java.net.URL findResource(java.lang.String name, boolean check) { in findResource() argument 285 sun.misc.Resource getResource(java.lang.String name, boolean check) { in getResource() argument [all …]
|
/libcore/ojluni/src/main/java/sun/net/ |
D | ExtendedOptionsImpl.java | 64 String check = "setOption." + option.name(); in checkSetOptionPermission() local 65 sm.checkPermission(new NetworkPermission(check)); in checkSetOptionPermission() 73 String check = "getOption." + option.name(); in checkGetOptionPermission() local 74 sm.checkPermission(new NetworkPermission(check)); in checkGetOptionPermission()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXCertPathChecker.java | 164 public abstract void check(Certificate cert, in check() method in PKIXCertPathChecker 175 public void check(Certificate cert) throws CertPathValidatorException { in check() method in PKIXCertPathChecker 176 check(cert, java.util.Collections.<String>emptySet()); in check()
|
D | CertPathChecker.java | 76 void check(Certificate cert) throws CertPathValidatorException; in check() method
|
/libcore/ojluni/src/main/java/java/security/ |
D | Identity.java | 187 check("setIdentityPublicKey"); in setPublicKey() 209 check("setIdentityInfo"); in setInfo() 249 check("addIdentityCertificate"); in addCertificate() 298 check("removeIdentityCertificate"); in removeCertificate() 413 check("printIdentity"); in toString() 495 private static void check(String directive) { in check() method in Identity
|
D | Signer.java | 109 check("getSignerPrivateKey"); in getPrivateKey() 134 check("setSignerKeyPair"); in setKeyPair() 176 private static void check(String directive) { in check() method in Signer
|
D | Provider.java | 216 check("clearProviderProperties."+name); in clear() 233 check("putProviderProperty."+name); in load() 251 check("putProviderProperty."+name); in putAll() 328 check("putProviderProperty."+name); in put() 355 check("putProviderProperty."+name); in putIfAbsent() 381 check("removeProviderProperty."+name); in remove() 406 check("removeProviderProperty."+name); in remove() 432 check("putProviderProperty." + name); in replace() 458 check("putProviderProperty." + name); in replace() 486 check("putProviderProperty." + name); in replaceAll() [all …]
|
D | IdentityScope.java | 166 check("setSystemScope"); in setSystemScope() 253 private static void check(String directive) { in check() method in IdentityScope
|
D | SecureClassLoader.java | 191 check(); in getPermissions() 221 private void check() { in check() method in SecureClassLoader
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalTime.java | 87 private void check(LocalTime time, int h, int m, int s, int n) { in check() method in TestLocalTime 97 check(LocalTime.MIDNIGHT, 0, 0, 0, 0); in constant_MIDNIGHT() 108 check(LocalTime.NOON, 12, 0, 0, 0); in constant_MIDDAY() 120 check(LocalTime.MIN, 0, 0, 0, 0); in constant_MIN_TIME() 130 check(LocalTime.MAX, 23, 59, 59, 999999999); in constant_MAX_TIME()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectionKeyTest.java | 101 Object check = mockSelectionKey.attach(o); in test_attach() local 102 assertNull(check); in test_attach() 105 check = mockSelectionKey.attach(null); in test_attach() 106 assertSame(o, check); in test_attach() 108 check = mockSelectionKey.attach(o); in test_attach() 109 assertNull(check); in test_attach()
|
/libcore/xml/src/main/java/com/android/org/kxml2/io/ |
D | KXmlSerializer.java | 86 private final void check(boolean close) throws IOException { in check() method in KXmlSerializer 207 check(false); in entityRef() 312 check(false); in setPrefix() 398 check(false); in startTag() 502 check(false); in flush() 527 check(true); in endTag() 564 check(false); in text() 577 check(false); in cdsect() 617 check(false); in comment() 625 check(false); in processingInstruction()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | OCSP.java | 114 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP 131 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check() 152 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP 159 return check(cert, issuerCert, responderURI, responderCert, date, in check() 164 public static RevocationStatus check(X509Certificate cert, in check() method in OCSP 179 OCSPResponse ocspResponse = check(Collections.singletonList(certId), in check() 199 static OCSPResponse check(List<CertId> certIds, URI responderURI, in check() method in OCSP
|
D | AlgorithmChecker.java | 203 public void check(Certificate cert, in check() method in AlgorithmChecker 391 static void check(PublicKey key, X509CRL crl) in check() method in AlgorithmChecker 402 check(key, algorithmId); in check() 411 static void check(PublicKey key, AlgorithmId algorithmId) in check() method in AlgorithmChecker
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXCertPathCheckerTest.java | 79 pc.check(new MyCertificate("", null), new HashSet<>()); in testCheck_Cert_Collection() 84 pc.check(new MyCertificate("", null)); in testCheck_Cert() 94 public void check(Certificate cert, Collection<String> unresolvedCritExts) { in check() method in PKIXCertPathCheckerTest.MyPKIXCertPathChecker
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOStatus.java | 65 public static boolean check(int n) { in check() method in IOStatus 75 public static boolean check(long n) { in check() method in IOStatus
|
D | FileChannelImpl.java | 203 assert IOStatus.check(n); in read() 231 assert IOStatus.check(n); in read() 255 assert IOStatus.check(n); in write() 283 assert IOStatus.check(n); in write() 315 assert IOStatus.check(p); in position() 343 assert IOStatus.check(p); in position() 365 assert IOStatus.check(s); in size() 422 assert IOStatus.check(rv); in truncate() 442 assert IOStatus.check(rv); in force() 798 assert IOStatus.check(n); in readInternal() [all …]
|
D | SocketChannelImpl.java | 457 assert IOStatus.check(n); in read() 493 assert IOStatus.check(n); in read() 524 assert IOStatus.check(n); in write() 557 assert IOStatus.check(n); in write() 587 assert IOStatus.check(n); in sendOutOfBandData() 701 assert IOStatus.check(n); in connect() 799 assert IOStatus.check(n); in finishConnect()
|
D | SinkChannelImpl.java | 173 assert IOStatus.check(n); in write() 196 assert IOStatus.check(n); in write()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDateTime.java | 228 private void check(LocalDateTime test, int y, int m, int d, int h, int mi, int s, int n) { in check() method in TCKLocalDateTime 250 check(LocalDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0); in constant_MIN() 255 check(LocalDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999); in constant_MAX() 387 check(dateTime, 2007, 7, 15, 12, 30, 0, 0); 434 check(dateTime, 2007, 7, 15, 12, 30, 40, 0); 491 check(dateTime, 2007, 7, 15, 12, 30, 40, 987654321); 558 check(dateTime, 2007, 7, 15, 12, 30, 0, 0); 610 check(dateTime, 2007, 7, 15, 12, 30, 40, 0); 672 check(dateTime, 2007, 7, 15, 12, 30, 40, 987654321); 744 check(dateTime, 2007, 7, 15, 12, 30, 40, 987654321); [all …]
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | MultiplicationTests.java | 64 private static boolean check(long x, long y) { in check() method in MultiplicationTests 102 if(!check(xy[0], xy[1])) { in testMultiplyHigh()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 1231 boolean[] check = new boolean[flist.length]; in test_list() 1232 for (int i = 0; i < check.length; i++) { in test_list() 1233 check[i] = false; in test_list() 1238 check[i] = true; in test_list() 1244 for (int i = 0; i < check.length; i++) { in test_list() 1245 if (check[i] == false) { in test_list() 1344 boolean[] check = new boolean[flist.length]; in test_listFiles() 1345 for (int i = 0; i < check.length; i++) { in test_listFiles() 1346 check[i] = false; in test_listFiles() 1351 check[i] = true; in test_listFiles() [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | SerialCallbackContext.java | 63 public void check() throws NotActiveException { in check() method in SerialCallbackContext
|