Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 32) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DStampedLockTest.java235 assertFalse(lock.validate(0L)); in testValidate0()
244 assertTrue(lock.validate(s)); in testValidate()
247 assertTrue(lock.validate(s)); in testValidate()
250 assertTrue(lock.validate(s)); in testValidate()
253 assertTrue(lock.validate(s)); in testValidate()
256 assertTrue(lock.validate(s)); in testValidate()
259 assertTrue(lock.validate(s)); in testValidate()
271 assertTrue(lock.validate(s)); in testValidate2()
272 assertFalse(lock.validate(lock.tryWriteLock())); in testValidate2()
273 assertFalse(lock.validate(lock.tryWriteLock(10L, MILLISECONDS))); in testValidate2()
[all …]
/libcore/luni/src/test/java/libcore/libcore/timezone/
DTimeZoneFinderTest.java176 validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_noCountriesOk()
188 TimeZoneFinder finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedComments()
200 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedComments()
217 TimeZoneFinder finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
227 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
237 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
247 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
259 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
272 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedElementsIgnored()
291 TimeZoneFinder finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedTextIgnored()
[all …]
/libcore/luni/src/main/java/javax/xml/validation/
DValidator.java91 public void validate(Source source) throws SAXException, IOException { in validate() method in Validator
92 validate(source, null); in validate()
197 public abstract void validate(Source source, Result result) throws SAXException, IOException; in validate() method in Validator
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIXCertPathValidator.java79 return validate(valParams); in engineValidate()
82 private static PKIXCertPathValidatorResult validate(ValidatorParams params) in validate() method in PKIXCertPathValidator
140 return validate(anchor, params); in validate()
158 private static PKIXCertPathValidatorResult validate(TrustAnchor anchor, in validate() method in PKIXCertPathValidator
222 PKIXMasterCertPathValidator.validate(params.certPath(), in validate()
DPKIXMasterCertPathValidator.java64 static void validate(CertPath cpOriginal, in validate() method in PKIXMasterCertPathValidator
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidator2Test.java91 certV.validate(null, null); in checkResult()
93 certV.validate(null, null); in checkResult()
97 certV.validate(null, null); in checkResult()
238 certPV.validate(mCP, params); in testValidate()
245 certPV.validate(null, params); in testValidate()
253 certPV.validate(mCP, null); in testValidate()
DCertPathValidator3Test.java100 certPV[i].validate(mCP, null); in testValidate01()
105 certPV[i].validate(null, params); in testValidate01()
DCertPathValidator1Test.java338 certPV[i].validate(mCP, mPar); in testCertPathValidator11()
343 certPV[i].validate(mCP, null); in testCertPathValidator11()
367 certPV.validate(null, null); in testCertPathValidator12()
369 certPV.validate(null, null); in testCertPathValidator12()
377 certPV.validate(null, null); in testCertPathValidator12()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java652 CertPathValidatorResult res = certPathValidator.validate(path, params); in testVerifyMD2_chain()
667 res = certPathValidator.validate(path, params); in testVerifyMD2_chain()
675 certPathValidator.validate(path, params); in testVerifyMD2_chain()
691 CertPathValidatorResult res = certPathValidator.validate(path, params); in testVerifyMD5_chain()
705 res = certPathValidator.validate(path, params); in testVerifyMD5_chain()
/libcore/luni/src/test/java/tests/security/
DCertPathValidatorTest.java41 CertPathValidatorResult validatorResult = certPathValidator.validate( in testCertPathValidator()
/libcore/luni/src/test/java/libcore/xml/
DExpatSaxParserTest.java109 validate(handler); in testSax()
114 validate(handler); in testSax()
120 validate(handler); in testSax()
128 static void validate(TestHandler handler) { in validate() method in ExpatSaxParserTest
179 handler.validate(); in testNamespaces()
197 public void validate() { in validate() method in ExpatSaxParserTest.NamespaceHandler
DPullParserTest.java551 validate(parser); in testParseReader()
559 validate(parser); in testParseInputStream()
562 static void validate(XmlPullParser parser) throws Exception { in validate() method in PullParserTest
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMConfigurationImpl.java97 config.validate = true;
257 return config.validate;
261 config.validate = (Boolean) value;
296 private boolean validate = false; field in DOMConfigurationImpl
/libcore/ojluni/src/test/java/security/cert/
DPKIXCertPathValidatorValidity.java130 cpv.validate(cp, params); in runTest()
/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidator.java297 public final CertPathValidatorResult validate(CertPath certPath, in validate() method in CertPathValidator
/libcore/test-rules/src/main/java/libcore/junit/junit3/
DTestCaseWithRules.java54 RULE_VALIDATOR.validate(testClass, validationErrors); in TestCaseWithRules()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarSystem.java361 public abstract boolean validate(CalendarDate date); in validate() method in CalendarSystem
DLocalGregorianCalendar.java247 public boolean validate(CalendarDate date) { in validate() method in LocalGregorianCalendar
267 return super.validate(ldate); in validate()
DBaseCalendar.java191 public boolean validate(CalendarDate date) { in validate() method in BaseCalendar
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java35 public boolean validate(sun.util.calendar.CalendarDate date) { in validate() method in BaseCalendar
DCalendarSystem.java92 public abstract boolean validate(sun.util.calendar.CalendarDate date); in validate() method in CalendarSystem
DLocalGregorianCalendar.java77 public boolean validate(sun.util.calendar.CalendarDate date) { in validate() method in LocalGregorianCalendar
/libcore/ojluni/src/main/java/java/time/
DZoneOffset.java311 validate(hours, minutes, seconds); in ofHoursMinutesSeconds()
356 private static void validate(int hours, int minutes, int seconds) { in validate() method in ZoneOffset
/libcore/luni/src/test/java/libcore/java/security/cert/
DCertPathValidatorTest.java131 cpv.validate(certPath, params); in runOCSPStapledTest()
/libcore/luni/src/main/java/libcore/timezone/
DZoneInfoDB.java300 public void validate() throws IOException { in validate() method in ZoneInfoDB.TzData

12