Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringTest.java574 new String(new byte[8], 0, 4, Charset.defaultCharset()); in test_ConstructorBIIL()
575 new String(new byte[8], 8, 0, Charset.defaultCharset()); in test_ConstructorBIIL()
576 new String(new byte[0], 0, 0, Charset.defaultCharset()); in test_ConstructorBIIL()
579 new String(new byte[8], 0, 9, Charset.defaultCharset()); in test_ConstructorBIIL()
585 new String(new byte[8], 9, 0, Charset.defaultCharset()); in test_ConstructorBIIL()
591 new String(new byte[8], -1, 0, Charset.defaultCharset()); in test_ConstructorBIIL()
597 new String(new byte[8], 9, -1, Charset.defaultCharset()); in test_ConstructorBIIL()
603 new String(null, -1, 0, Charset.defaultCharset()); in test_ConstructorBIIL()
609 new String(null, 0, -1, Charset.defaultCharset()); in test_ConstructorBIIL()
615 new String(null, 0, 9, Charset.defaultCharset()); in test_ConstructorBIIL()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DDefaultCharsetBenchmark.java26 Charset.defaultCharset(); in time_defaultCharset()
/libcore/luni/src/main/java/java/net/
DURLDecoder.java45 return UriCodec.decode(s, true, Charset.defaultCharset(), true); in decode()
/libcore/luni/src/main/java/java/util/zip/
DZipEntry.java381 ZipEntry(byte[] cdeHdrBuf, InputStream cdStream, Charset defaultCharset) throws IOException { in ZipEntry() argument
401 Charset charset = defaultCharset; in ZipEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DFormatterTest.java258 f = new Formatter((String) null, Charset.defaultCharset().name()); in test_ConstructorLjava_lang_StringLjava_lang_String()
271 f = new Formatter(notExist.getPath(), Charset.defaultCharset().name()); in test_ConstructorLjava_lang_StringLjava_lang_String()
303 f = new Formatter((String) null, Charset.defaultCharset().name(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale()
317 f = new Formatter(notExist.getPath(), Charset.defaultCharset().name(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale()
322 f = new Formatter(notExist.getPath(), Charset.defaultCharset().name(), in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale()
341 f = new Formatter(readOnly.getPath(), Charset.defaultCharset() in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_util_Locale()
387 f = new Formatter((File) null, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
393 f = new Formatter(notExist, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
403 f = new Formatter(readOnly, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
444 f = new Formatter((File) null, Charset.defaultCharset().name(), in test_ConstructorLjava_io_FileLjava_lang_StringLjava_util_Locale()
[all …]
DScannerTest.java127 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
133 s = new Scanner(tmpFile, Charset.defaultCharset().name()); in test_ConstructorLjava_io_FileLjava_lang_String()
209 s = new Scanner(new PipedInputStream(), Charset.defaultCharset().name()); in test_ConstructorLjava_io_InputStreamLjava_lang_String()
297 s = new Scanner(fc, Charset.defaultCharset().name()); in test_ConstructorLjava_nio_channels_ReadableByteChannelLjava_lang_String()
/libcore/luni/src/main/java/java/io/
DInputStreamReader.java57 this(in, Charset.defaultCharset()); in InputStreamReader()
DOutputStreamWriter.java55 this(out, Charset.defaultCharset()); in OutputStreamWriter()
/libcore/luni/src/main/java/java/nio/charset/
DCharset.java553 public static Charset defaultCharset() { in defaultCharset() method in Charset
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintWriterTest.java161 Charset.defaultCharset().name()); in test_ConstructorLjava_io_File_Ljava_lang_String()
188 Charset.defaultCharset().name()); in test_ConstructorLjava_lang_String_Ljava_lang_String()
/libcore/luni/src/main/java/java/util/
DScanner.java138 this(src, Charset.defaultCharset().name()); in Scanner()
191 this(src, Charset.defaultCharset().name()); in Scanner()
240 this(src, Charset.defaultCharset().name()); in Scanner()
DFormatter.java833 out = new BufferedWriter(new OutputStreamWriter(os, Charset.defaultCharset())); in Formatter()
/libcore/luni/src/test/java/libcore/java/io/
DOldOutputStreamWriterTest.java74 Charset.defaultCharset(), in test_ConstructorLjava_io_OutputStream()
/libcore/libart/src/main/java/java/lang/
DString.java149 this(data, offset, byteCount, Charset.defaultCharset()); in String()
746 return getBytes(Charset.defaultCharset()); in getBytes()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetTest.java65 assertEquals("UTF-8", Charset.defaultCharset().name()); in test_defaultCharset()