Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/nio/charset/
DOldCharset_AbstractTest.java190 char[] codeChars = Character.toChars(code); in test_CodecDynamic() local
191 if (encoder.canEncode(new String(codeChars))) { in test_CodecDynamic()
193 if (isDefaultIgnorableCode(code) && encodesToNothing(encoder, codeChars)) { in test_CodecDynamic()
197 inputCB.put(codeChars); in test_CodecDynamic()
214 private static boolean encodesToNothing(CharsetEncoder encoder, char[] codeChars) in encodesToNothing() argument
216 boolean encodesToNothing = encoder.encode(CharBuffer.wrap(codeChars)).limit() == 0; in encodesToNothing()