Home
last modified time | relevance | path

Searched defs:charsetName (Results 1 – 22 of 22) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharset.java46 private static void cache(java.lang.String charsetName, java.nio.charset.Charset cs) { in cache()
54 private static java.nio.charset.Charset lookupViaProviders(java.lang.String charsetName) { in lookupViaProviders()
58 private static java.nio.charset.Charset lookup(java.lang.String charsetName) { in lookup()
62 private static java.nio.charset.Charset lookup2(java.lang.String charsetName) { in lookup2()
66 public static boolean isSupported(java.lang.String charsetName) { in isSupported()
70 public static java.nio.charset.Charset forName(java.lang.String charsetName) { in forName()
74 public static java.nio.charset.Charset forNameUEE(java.lang.String charsetName) in forNameUEE()
/libcore/ojluni/src/main/java/java/nio/charset/
DIllegalCharsetNameException.java46 private String charsetName; field in IllegalCharsetNameException
54 public IllegalCharsetNameException(String charsetName) { in IllegalCharsetNameException()
DUnsupportedCharsetException.java46 private String charsetName; field in UnsupportedCharsetException
54 public UnsupportedCharsetException(String charsetName) { in UnsupportedCharsetException()
DCharset.java333 private static void cache(String charsetName, Charset cs) { in cache()
407 private static Charset lookupViaProviders(final String charsetName) { in lookupViaProviders()
/libcore/benchmarks/src/benchmarks/regression/
DCharsetForNameBenchmark.java37 private String charsetName; field in CharsetForNameBenchmark
/libcore/ojluni/src/main/java/java/nio/charset/spi/
DCharsetProvider.java108 public abstract Charset charsetForName(String charsetName); in charsetForName()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DSettableCharsetProvider.java50 public Charset charsetForName(String charsetName) { in charsetForName()
DCharsetDecoderTest.java86 private static byte[] encode(String charsetName, String s) throws Exception { in encode()
DOldCharset_AbstractTest.java38 static String charsetName; field in OldCharset_AbstractTest
/libcore/ojluni/src/main/java/java/io/
DInputStreamReader.java94 public InputStreamReader(InputStream in, String charsetName) in InputStreamReader()
DOutputStreamWriter.java94 public OutputStreamWriter(OutputStream out, String charsetName) in OutputStreamWriter()
DByteArrayOutputStream.java242 public synchronized String toString(String charsetName) in toString()
/libcore/libart/src/main/java/java/lang/
DStringFactory.java60 … String newStringFromBytes(byte[] data, int offset, int byteCount, String charsetName) throws Unsu… in newStringFromBytes()
64 …public static String newStringFromBytes(byte[] data, String charsetName) throws UnsupportedEncodin… in newStringFromBytes()
/libcore/ojluni/annotations/sdk/nullability/java/io/
DByteArrayOutputStream.annotated.java51 …ing charsetName) throws java.io.UnsupportedEncodingException { throw new RuntimeException("Stub!")… in toString()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java866 public Charset charsetForName(String charsetName) { in charsetForName()
876 public Charset charsetForName(String charsetName) { in charsetForName()
899 public Charset charsetForName(String charsetName) { in charsetForName()
/libcore/ojluni/src/main/java/java/util/
DScanner.java586 public Scanner(InputStream source, String charsetName) { in Scanner()
635 public Scanner(File source, String charsetName) in Scanner()
647 private static CharsetDecoder toDecoder(String charsetName) { in toDecoder()
700 public Scanner(Path source, String charsetName) throws IOException { in Scanner()
746 public Scanner(ReadableByteChannel source, String charsetName) { in Scanner()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java56 …ublic String(byte[] bytes, int offset, int length, @libcore.util.NonNull java.lang.String charsetN… in String()
60 public String(byte[] bytes, @libcore.util.NonNull java.lang.String charsetName) throws java.io.Unsu… in String()
90 …g charsetName) throws java.io.UnsupportedEncodingException { throw new RuntimeException("Stub!"); } in getBytes()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java320 private void parse(InputStream in, String charsetName, String publicId, String systemId) in parse()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java51 String charsetName) in forOutputStreamWriter()
DStreamDecoder.java64 String charsetName) in forInputStreamReader()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java67 public String(byte[] bytes, int offset, int length, java.lang.String charsetName) in String()
76 public String(byte[] bytes, java.lang.String charsetName) in String()
149 public byte[] getBytes(java.lang.String charsetName) in getBytes()
/libcore/ojluni/src/main/java/java/lang/
DString.java365 public String(byte bytes[], int offset, int length, String charsetName) in String() method in String
429 public String(byte bytes[], String charsetName) in String() method in String
909 public byte[] getBytes(String charsetName) in getBytes()