Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DUTF8CharsetTest.java59 byte utf8[] = s.getBytes("UTF-8"); in test_surrogate()
60 assertEquals(s, new String(utf8, 0, utf8.length, "UTF-8")); in test_surrogate()
DCharsetEncoder2Test.java158 Charset utf8 = Charset.forName("utf-8"); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB() local
159 CharsetEncoder encoder = utf8.newEncoder(); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
187 CharBuffer chars = utf8.newDecoder().decode(bytes); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB()
/libcore/ojluni/src/main/java/java/util/zip/
DZipCoder.java192 private UTF8ZipCoder(Charset utf8) { in UTF8ZipCoder() argument
193 super(utf8); in UTF8ZipCoder()
DZipFile.java1311 final boolean utf8; field in ZipFile.Source.Key
1324 this.utf8 = zc.isUTF8(); in Key()
1329 long t = utf8 ? 0 : Long.MAX_VALUE; in hashCode()
1339 if (key.utf8 != utf8) { in equals()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp433 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteLength) { in fillBuffer() argument
455 utf8, // src in fillBuffer()