/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | StringTest.java | 574 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/ |
D | DefaultCharsetBenchmark.java | 26 Charset.defaultCharset(); in time_defaultCharset()
|
/libcore/luni/src/main/java/java/net/ |
D | URLDecoder.java | 45 return UriCodec.decode(s, true, Charset.defaultCharset(), true); in decode()
|
/libcore/luni/src/main/java/java/util/zip/ |
D | ZipEntry.java | 381 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/ |
D | FormatterTest.java | 258 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 …]
|
D | ScannerTest.java | 127 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/ |
D | InputStreamReader.java | 57 this(in, Charset.defaultCharset()); in InputStreamReader()
|
D | OutputStreamWriter.java | 55 this(out, Charset.defaultCharset()); in OutputStreamWriter()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | Charset.java | 553 public static Charset defaultCharset() { in defaultCharset() method in Charset
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PrintWriterTest.java | 161 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/ |
D | Scanner.java | 138 this(src, Charset.defaultCharset().name()); in Scanner() 191 this(src, Charset.defaultCharset().name()); in Scanner() 240 this(src, Charset.defaultCharset().name()); in Scanner()
|
D | Formatter.java | 833 out = new BufferedWriter(new OutputStreamWriter(os, Charset.defaultCharset())); in Formatter()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldOutputStreamWriterTest.java | 74 Charset.defaultCharset(), in test_ConstructorLjava_io_OutputStream()
|
/libcore/libart/src/main/java/java/lang/ |
D | String.java | 149 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/ |
D | CharsetTest.java | 65 assertEquals("UTF-8", Charset.defaultCharset().name()); in test_defaultCharset()
|