Home
last modified time | relevance | path

Searched refs:Decoder (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DBase64.java132 int[] base64 = Decoder.fromBase64; in getMimeEncoder()
150 public static Decoder getDecoder() { in getDecoder()
151 return Decoder.RFC4648; in getDecoder()
161 public static Decoder getUrlDecoder() { in getUrlDecoder()
162 return Decoder.RFC4648_URLSAFE; in getUrlDecoder()
171 public static Decoder getMimeDecoder() { in getMimeDecoder()
172 return Decoder.RFC2045; in getMimeDecoder()
467 public static class Decoder { class in Base64
472 private Decoder(boolean isURL, boolean isMIME) { in Decoder() method in Base64.Decoder
506 static final Decoder RFC4648 = new Decoder(false, false);
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DBase64Test.java30 import java.util.Base64.Decoder;
112 Decoder basicDecoder = Base64.getDecoder(); // uses Table 1 in testDecoder_extraChars_basic()
127 Decoder urlDecoder = Base64.getUrlDecoder(); // uses Table 2 in testDecoder_extraChars_url()
141 private static void checkDecoder_extraChars_common(Decoder decoder) throws Exception { in checkDecoder_extraChars_common()
216 Decoder mimeDecoder = Base64.getMimeDecoder(); in testDecoder_extraChars_mime()
308 private static void checkDecoder_nonPrintableBytes_table1(Decoder decoder) throws Exception { in checkDecoder_nonPrintableBytes_table1()
325 Decoder decoder = Base64.getUrlDecoder(); in testDecoder_nonPrintableBytes_url()
380 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeArrayToArray()
417 Decoder decoder = Base64.getDecoder(); in testDecoder_decodeByteBuffer()
443 Decoder decoder, ByteBuffer inputBuffer, byte[] expectedBytes) { in checkDecoder_decodeByteBuffer()
[all …]
DLibcoreIoDerivedBase64Test.java30 import java.util.Base64.Decoder;
265 Decoder decoder = Base64.getDecoder(); in decode()
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java108 private static Base64.Decoder b64Decoder = Base64.getMimeDecoder();