Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCoderResultTest.java53 assertFalse(CoderResult.OVERFLOW.isError()); in testConstants()
73 assertFalse(CoderResult.UNDERFLOW.isError()); in testConstants()
98 assertFalse(CoderResult.UNDERFLOW.isError()); in testIsError()
99 assertFalse(CoderResult.OVERFLOW.isError()); in testIsError()
100 assertTrue(CoderResult.malformedForLength(1).isError()); in testIsError()
101 assertTrue(CoderResult.unmappableForLength(1).isError()); in testIsError()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java110 return isError() ? nm + "[" + length + "]" : nm; in toString()
137 public boolean isError() { in isError() method in CoderResult
173 if (!isError()) in length()
DCharsetEncoder.java383 return !cr.isError(); in isLegalReplacement()
DCharset-X-Coder.java.template383 return !cr.isError();
/libcore/ojluni/src/main/java/sun/util/locale/
DLanguageTag.java212 if (!itr.isDone() && !sts.isError()) { in parse()
230 if (itr.isDone() || sts.isError()) { in parseLanguage()
248 if (itr.isDone() || sts.isError()) { in parseExtlangs()
277 if (itr.isDone() || sts.isError()) { in parseScript()
295 if (itr.isDone() || sts.isError()) { in parseRegion()
313 if (itr.isDone() || sts.isError()) { in parseVariants()
337 if (itr.isDone() || sts.isError()) { in parseExtensions()
381 if (itr.isDone() || sts.isError()) { in parsePrivateuse()
DParseStatus.java49 public boolean isError() { in isError() method in ParseStatus
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetDecoderTest.java47 assertFalse(coderResult.toString(), coderResult.isError()); in test_ByteArray_decode_no_offset()
63 assertFalse(coderResult.toString(), coderResult.isError()); in test_ByteArray_decode_with_offset()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java215 if (cr.isError()) in decode()
218 if (cr.isError()) in decode()
/libcore/ojluni/src/main/java/java/util/
DLocale.java3091 if (sts.isError()) { in setLanguageTag()
/libcore/api/
Dcurrent.txt7171 method public boolean isError();