Home
last modified time | relevance | path

Searched refs:CharacterCodingException (Results 1 – 25 of 38) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_SingleByte_ISO_8859_3.java18 import java.nio.charset.CharacterCodingException;
44 public static void test_Bytes_166() throws CharacterCodingException { in test_Bytes_166()
59 public static void test_Bytes_195() throws CharacterCodingException { in test_Bytes_195()
65 public static void test_Bytes_165() throws CharacterCodingException { in test_Bytes_165()
71 public static void test_Bytes_165_any() throws CharacterCodingException { in test_Bytes_165_any()
DOldCharset_MultiByte_GB2312.java18 import java.nio.charset.CharacterCodingException;
174 public void test_CodecDynamic() throws CharacterCodingException { in test_CodecDynamic()
179 public void test_Decode() throws CharacterCodingException { in test_Decode()
184 public void test_Encode() throws CharacterCodingException { in test_Encode()
DOldCharset_MultiByte_x_windows_950.java18 import java.nio.charset.CharacterCodingException;
223 public void test_CodecDynamic() throws CharacterCodingException { in test_CodecDynamic()
228 public void test_Decode() throws CharacterCodingException { in test_Decode()
233 public void test_Encode() throws CharacterCodingException { in test_Encode()
DOldCharset_SingleByteAbstractTest.java20 import java.nio.charset.CharacterCodingException;
58 } catch (CharacterCodingException e) { in dumpDecoded()
64 …c static void decodeReplace (byte[] input, char[] expectedOutput) throws CharacterCodingException { in decodeReplace()
88 public void test_Decode () throws CharacterCodingException { in test_Decode()
104 public void test_Encode () throws CharacterCodingException { in test_Encode()
DOldCharset_AbstractTest.java21 import java.nio.charset.CharacterCodingException;
107 public void test_dumpEncoded () throws CharacterCodingException { in test_dumpEncoded()
128 static void decode (byte[] input, char[] expectedOutput) throws CharacterCodingException { in decode()
136 public void test_Decode () throws CharacterCodingException { in test_Decode()
140 public void test_Encode () throws CharacterCodingException { in test_Encode()
152 public void NNtest_CodecDynamicIndividuals () throws CharacterCodingException { in NNtest_CodecDynamicIndividuals()
174 } catch (CharacterCodingException e) { in NNtest_CodecDynamicIndividuals()
181 public void test_CodecDynamic () throws CharacterCodingException { in test_CodecDynamic()
215 throws CharacterCodingException { in encodesToNothing()
DOldCharset_SingleByte_IBM864.java18 import java.nio.charset.CharacterCodingException;
71 public static void test_Bytes_DifferentOnes_Android() throws CharacterCodingException { in test_Bytes_DifferentOnes_Android()
DOldCharset_MultiByte_ISO_2022_JP.java18 import java.nio.charset.CharacterCodingException;
DCharset_TestGenerator.java20 import java.nio.charset.CharacterCodingException;
228 } catch (CharacterCodingException e) { in genEncoded()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharacterCodingExceptionTest.java20 import java.nio.charset.CharacterCodingException;
32 CharacterCodingException ex = new CharacterCodingException(); in testConstructor()
43 SerializationTest.verifySelf(new CharacterCodingException()); in testSerializationSelf()
50 SerializationTest.verifyGolden(this, new CharacterCodingException()); in testSerializationCompatibility()
DCharsetDecoderTest.java21 import java.nio.charset.CharacterCodingException;
201 public void testDecodeByteBuffer() throws CharacterCodingException { in testDecodeByteBuffer()
205 void implTestDecodeByteBuffer() throws CharacterCodingException { in implTestDecodeByteBuffer()
235 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeByteBufferException()
380 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteBufferUnmappedException()
386 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteIncompleteBufferUnmappedException()
392 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteReadOnlyBufferUnmappedException()
398 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteReadOnlyIncompleteBufferUnmappedException()
404 boolean endOfInput) throws CharacterCodingException, in implTestDecodeCharBufferByteBufferUnmappedException()
433 throws CharacterCodingException, UnsupportedEncodingException { in testDecodeCharBufferByteBufferMalformedException()
[all …]
DUTF16CharsetDecoderTest.java22 import java.nio.charset.CharacterCodingException;
70 throws CharacterCodingException, UnsupportedEncodingException { in testLittleEndianByteBufferCharBuffer()
77 throws CharacterCodingException, UnsupportedEncodingException { in testLittleEndianReadOnlyByteBufferCharBuffer()
83 public void testLittleEndian() throws CharacterCodingException, in testLittleEndian()
DISOCharsetEncoderTest.java20 import java.nio.charset.CharacterCodingException;
57 @Override public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
83 public void testMultiStepEncode() throws CharacterCodingException { in testMultiStepEncode()
DUTFCharsetEncoderTest.java20 import java.nio.charset.CharacterCodingException;
47 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
DUTF16LECharsetEncoderTest.java20 import java.nio.charset.CharacterCodingException;
58 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
DUTF16BECharsetEncoderTest.java20 import java.nio.charset.CharacterCodingException;
57 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
DUTF16CharsetEncoderTest.java21 import java.nio.charset.CharacterCodingException;
61 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
DCharsetEncoderTest.java20 import java.nio.charset.CharacterCodingException;
248 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
267 public void testResetIllegalState() throws CharacterCodingException { in testResetIllegalState()
281 public void testFlushIllegalState() throws CharacterCodingException { in testFlushIllegalState()
326 public void testEncodeFacadeIllegalState() throws CharacterCodingException { in testEncodeFacadeIllegalState()
371 public void testEncodeTrueIllegalState() throws CharacterCodingException { in testEncodeTrueIllegalState()
421 public void testEncodeFalseIllegalState() throws CharacterCodingException { in testEncodeFalseIllegalState()
479 public void testCanEncodeIllegalState() throws CharacterCodingException { in testCanEncodeIllegalState()
566 public void testEncodeCharBuffer() throws CharacterCodingException { in testEncodeCharBuffer()
626 public void testEncodeCharBufferException() throws CharacterCodingException { in testEncodeCharBufferException()
[all …]
DMalformedInputExceptionTest.java20 import java.nio.charset.CharacterCodingException;
35 assertTrue(ex instanceof CharacterCodingException); in testConstructor()
DUnmappableCharacterExceptionTest.java20 import java.nio.charset.CharacterCodingException;
35 assertTrue(ex instanceof CharacterCodingException); in testConstructor()
DASCIICharsetEncoderTest.java22 import java.nio.charset.CharacterCodingException;
66 public void testCanEncodechar() throws CharacterCodingException { in testCanEncodechar()
76 public void testMultiStepEncode() throws CharacterCodingException { in testMultiStepEncode()
103 public void testEncodeMapping() throws CharacterCodingException { in testEncodeMapping()
361 public void testInternalState_Encode() throws CharacterCodingException { in testInternalState_Encode()
408 public void testInternalState_from_Encode() throws CharacterCodingException { in testInternalState_from_Encode()
/libcore/ojluni/src/main/java/java/nio/charset/
DCharacterCodingException.java40 public class CharacterCodingException class
49 public CharacterCodingException() { } in CharacterCodingException() method in CharacterCodingException
DUnmappableCharacterException.java38 extends CharacterCodingException
DMalformedInputException.java38 extends CharacterCodingException
/libcore/ojluni/src/main/java/javax/net/ssl/
DSNIHostName.java33 import java.nio.charset.CharacterCodingException;
177 } catch (RuntimeException | CharacterCodingException e) { in SNIHostName()
/libcore/luni/src/test/java/libcore/java/util/
DLibcoreIoDerivedBase64Test.java22 import java.nio.charset.CharacterCodingException;
232 } catch (CharacterCodingException e) { in bytesToAscii()
251 } catch (CharacterCodingException e) { in asciiToBytes()

12