/libcore/luni/src/main/java/java/net/ |
H A D | URLEncoder.java | 26 * This class is used to encode a string using the format required by 44 * Equivalent to {@code encode(s, "UTF-8")}. 46 * @deprecated Use {@link #encode(String, String)} instead. 49 public static String encode(String s) { method in class:URLEncoder 50 return ENCODER.encode(s, StandardCharsets.UTF_8); 56 public static String encode(String s, String charsetName) throws UnsupportedEncodingException { method in class:URLEncoder 57 return ENCODER.encode(s, Charset.forName(charsetName));
|
/libcore/luni/src/main/java/java/security/cert/ |
H A D | Extension.java | 64 void encode(OutputStream out) throws IOException; method in interface:Extension
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | Base64.java | 135 public static String encode(byte[] in) { method in class:Base64
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | Mutf8.java | 89 public static void encode(byte[] dst, int offset, String s) { method in class:Mutf8 109 public static byte[] encode(String s) throws UTFDataFormatException { method in class:Mutf8 112 encode(result, 0, s);
|
/libcore/luni/src/main/java/java/nio/charset/ |
H A D | ModifiedUtf8.java | 96 public static void encode(byte[] dst, int offset, String s) { method in class:ModifiedUtf8 118 public static byte[] encode(String s) throws UTFDataFormatException { method in class:ModifiedUtf8 122 ModifiedUtf8.encode(result, SizeOf.SHORT, s);
|
H A D | Charset.java | 38 * and some can also <i>encode</i>, converting a sequence of characters into a byte sequence. 63 * <p>UTF-16 and UTF-32 encode characters directly, using their code point as a two- or four-byte 440 public final ByteBuffer encode(CharBuffer buffer) { method in class:Charset 444 .onUnmappableCharacter(CodingErrorAction.REPLACE).encode( 461 public final ByteBuffer encode(String s) { method in class:Charset 462 return encode(CharBuffer.wrap(s));
|
H A D | CharsetEncoder.java | 31 * <p>Use {@link #encode(CharBuffer)} to encode an entire {@code CharBuffer} to a 32 * new {@code ByteBuffer}, or {@link #encode(CharBuffer, ByteBuffer, boolean)} for more 36 * <li>Invoke {@link #encode(CharBuffer, ByteBuffer, boolean) encode} with the {@code endOfInput} 39 * <p>The {@link #encode(CharBuffer, ByteBuffer, boolean) encode} method will 46 * <li>Invoke {@link #encode(CharBuffer, ByteBuffer, boolean) encode} for the last time with 166 * @throws IllegalStateException if another encode proces 257 public final ByteBuffer encode(CharBuffer in) throws CharacterCodingException { method in class:CharsetEncoder 364 public final CoderResult encode(CharBuffer in, ByteBuffer out, boolean endOfInput) { method in class:CharsetEncoder [all...] |
/libcore/luni/src/main/java/java/security/ |
H A D | Certificate.java | 38 * the data to encode must be that identified by {@link #getFormat()} and 39 * encoded by {@link #encode(OutputStream)}. 47 * @see #encode(OutputStream) 58 * the {@code OutputStream} to encode this certificate to. 65 public void encode(OutputStream stream) throws KeyException, IOException; method in interface:Certificate
|
/libcore/luni/src/main/java/libcore/util/ |
H A D | HexEncoding.java | 32 public static char[] encode(byte[] data) { method in class:HexEncoding 33 return encode(data, 0, data.length); 39 public static char[] encode(byte[] data, int offset, int len) { method in class:HexEncoding
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
H A D | CharsetDecoderTest.java | 42 byte[] arr = encode("UTF-16", "Android"); 56 byte[] arr = encode("UTF-16", "Android"); 72 byte[] arr = encode("UTF-16", "Android"); 86 private static byte[] encode(String charsetName, String s) throws Exception { method in class:CharsetDecoderTest 88 return encoder.encode(CharBuffer.wrap(s)).array();
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | CertificateStub.java | 63 * @see java.security.Certificate#encode(java.io.OutputStream) 65 public void encode(OutputStream stream) throws KeyException, method in class:CertificateStub
|
/libcore/luni/src/main/java/libcore/net/ |
H A D | UriCodec.java | 29 * <p>By default, UTF-8 is used to encode escaped characters. A single input 130 public final String encode(String s, Charset charset) { method in class:UriCodec
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
H A D | ASN1Type.java | 106 public final byte[] encode(Object object) { method in class:ASN1Type
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeConverter.java | 21 public static native int encode(long converterHandle, char[] input, int inEnd, method in class:NativeConverter
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | Extension.java | 179 rawExtnValue = ASN1OctetString.getInstance().encode(extnValue); 189 encoding = Extension.ASN1.encode(this); 195 public void encode(OutputStream out) throws IOException { method in class:Extension
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 58 public void encode(OutputStream out) { method in class:Identity2Test.CertificateImpl
|