Searched refs:utf8 (Results 1 – 5 of 5) sorted by relevance
59 byte utf8[] = s.getBytes("UTF-8"); in test_surrogate()60 assertEquals(s, new String(utf8, 0, utf8.length, "UTF-8")); in test_surrogate()
158 Charset utf8 = Charset.forName("utf-8"); in test_EncodeLjava_nio_CharBufferLjava_nio_ByteBufferB() local159 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()
192 private UTF8ZipCoder(Charset utf8) { in UTF8ZipCoder() argument193 super(utf8); in UTF8ZipCoder()
1311 final boolean utf8; field in ZipFile.Source.Key1324 this.utf8 = zc.isUTF8(); in Key()1329 long t = utf8 ? 0 : Long.MAX_VALUE; in hashCode()1339 if (key.utf8 != utf8) { in equals()
433 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteLength) { in fillBuffer() argument455 utf8, // src in fillBuffer()