/external/guava/guava-tests/test/com/google/common/io/ |
D | CharStreamsTest.java | 19 import static com.google.common.base.Charsets.UTF_8; 50 = CharStreams.newReaderSupplier(ByteStreamsTest.BROKEN_READ, UTF_8); 53 = CharStreams.newWriterSupplier(ByteStreamsTest.BROKEN_WRITE, UTF_8); 56 = CharStreams.newReaderSupplier(ByteStreamsTest.BROKEN_CLOSE_INPUT, UTF_8); 59 = CharStreams.newWriterSupplier(ByteStreamsTest.BROKEN_CLOSE_OUTPUT, UTF_8); 62 = CharStreams.newReaderSupplier(ByteStreamsTest.BROKEN_GET_INPUT, UTF_8); 65 = CharStreams.newWriterSupplier(ByteStreamsTest.BROKEN_GET_OUTPUT, UTF_8); 96 byte[] bytes = "a\nb\nc".getBytes(Charsets.UTF_8.name()); in testReadLines_fromReadable() 98 new InputStreamReader(new ByteArrayInputStream(bytes), Charsets.UTF_8)); in testReadLines_fromReadable()
|
D | ResourcesTest.java | 57 assertEquals(I18N, Resources.toString(resource, Charsets.UTF_8)); in testToString() 73 Resources.readLines(resource, Charsets.UTF_8)); in testReadLines()
|
D | FilesSimplifyPathTest.java | 19 import static com.google.common.base.Charsets.UTF_8; 299 for (String line : Resources.readLines(url, UTF_8)) { in doExtensiveTest()
|
D | ByteStreamsTest.java | 530 "This is a line\r\nThis too\rand this\nand also this".getBytes(Charsets.UTF_8)); 553 System.arraycopy("Kilroy was here".getBytes(Charsets.UTF_8), 0, data, 2, 15); 701 byte[] expected ="r\u00C9sum\u00C9".getBytes(Charsets.UTF_8);
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
D | BoundedByteStringTest.java | 59 LiteralByteString unicode = new LiteralByteString(testString.getBytes(UTF_8)); in testToString() 64 String roundTripString = chopped.toString(UTF_8); in testToString()
|
D | LiteralByteStringTest.java | 53 protected static final String UTF_8 = "UTF-8"; field in LiteralByteStringTest 294 LiteralByteString unicode = new LiteralByteString(testString.getBytes(UTF_8)); in testToString() 295 String roundTripString = unicode.toString(UTF_8); in testToString()
|
D | RopeByteStringSubstringTest.java | 89 String roundTripString = unicode.toString(UTF_8); in testToString()
|
D | RopeByteStringTest.java | 107 String roundTripString = unicode.toString(UTF_8); in testToString()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
D | FaultRecoveringOutputStreamTest.java | 27 import static com.squareup.okhttp.internal.Util.UTF_8; 148 recovering.write("abcdefghij".getBytes(UTF_8)); // 10 bytes. in recoverWithFullBuffer() 169 recovering.write("abcdefghijk".getBytes(UTF_8)); // 11 bytes. in noRecoveryWithOverfullBuffer() 196 receivedUtf8 += new String(buffer, offset, count, UTF_8); in write()
|
/external/okhttp/src/test/java/com/squareup/okhttp/ |
D | RequestTest.java | 30 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8)); in string() 55 Request.Body body = Request.Body.create(contentType, "abc".getBytes(Util.UTF_8)); in byteArray()
|
D | MediaTypeTest.java | 135 assertEquals("UTF-8", noCharset.charset(Util.UTF_8).name()); in testDefaultCharset() 139 assertEquals("ISO-8859-1", charset.charset(Util.UTF_8).name()); in testDefaultCharset()
|
/external/guava/guava/src/com/google/common/base/ |
D | Charsets.java | 44 public static final Charset UTF_8 = Charset.forName("UTF-8"); field in Charsets
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharsetsTest.java | 38 assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); in testUtf8()
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HTTP.java | 74 public static final String UTF_8 = "UTF-8"; field in HTTP
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyConnectionTest.java | 31 import static com.squareup.okhttp.internal.Util.UTF_8; 366 out.write("square".getBytes(UTF_8)); 371 out.write("round".getBytes(UTF_8)); 412 out.write("square".getBytes(UTF_8)); 500 out.write("square".getBytes(UTF_8)); 524 peer.sendFrame().data(FLAG_FIN, 1, "square".getBytes(UTF_8)); 703 stream1.getOutputStream().write("abc".getBytes(UTF_8)); 705 stream2.getOutputStream().write("abc".getBytes(UTF_8)); 710 stream1.getOutputStream().write("def".getBytes(UTF_8));
|
D | HttpOverSpdyTest.java | 123 connection.getOutputStream().write("FGHIJ".getBytes(Util.UTF_8)); in post() 148 .setBody(gzip("ABCABCABC".getBytes(Util.UTF_8)))); in gzippedResponseBody()
|
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/ |
D | id3_parser.js | 73 case Id3Parser.v2.ENCODING.UTF_8: 664 UTF_8: 3 property
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
D | FileCheckerCallable.java | 49 String text = StandardCharsets.UTF_8.decode(ByteBuffer.wrap(encoded)).toString(); in readScriptText()
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/tls/ |
D | HostnameVerifierTest.java | 547 new ByteArrayInputStream(certificate.getBytes(Util.UTF_8))); in certificate()
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
D | HttpResponseCache.java | 62 import static com.squareup.okhttp.internal.Util.UTF_8; 589 Writer writer = new BufferedWriter(new OutputStreamWriter(out, UTF_8)); in writeTo()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Util.java | 50 public static final Charset UTF_8 = Charset.forName("UTF-8"); field in Util
|
D | DiskLruCache.java | 661 return Util.readFully(new InputStreamReader(in, Util.UTF_8)); in inputStreamToString() 794 writer = new OutputStreamWriter(newOutputStream(index), Util.UTF_8); in set()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyReader.java | 70 + "sdchcharset=utf-8charset=iso-8859-1,utf-,*,enq=0.").getBytes(Util.UTF_8.name());
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_bugzilla/org/eclipse/releng/services/bugzilla/ |
D | UpdateBugStateTask.java | 35 private static final String UTF_8 = "UTF-8"; //$NON-NLS-1$ field in UpdateBugStateTask 561 elem = URLEncoder.encode(elem, UTF_8); in urlEncode()
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | os_os2.c | 616 if( UniCreateUconvObject( UTF_8, &ucUtf8 ) != ULS_SUCCESS ) in initUconvObjects()
|