Home
last modified time | relevance | path

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

/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/main/java/java/util/
DBase64.java134 int[] base64 = Decoder.fromBase64; in getMimeEncoder()
154 public static Decoder getDecoder() { in getDecoder()
155 return Decoder.RFC4648; in getDecoder()
165 public static Decoder getUrlDecoder() { in getUrlDecoder()
166 return Decoder.RFC4648_URLSAFE; in getUrlDecoder()
175 public static Decoder getMimeDecoder() { in getMimeDecoder()
176 return Decoder.RFC2045; in getMimeDecoder()
506 public static class Decoder { class in Base64
511 private Decoder(boolean isURL, boolean isMIME) { in Decoder() method in Base64.Decoder
545 static final Decoder RFC4648 = new Decoder(false, false);
[all …]
/libcore/ojluni/src/test/java/util/Base64/
DTestBase64.java154 private static void test(Base64.Encoder enc, Base64.Decoder dec, in test()
304 private static void testNull(Base64.Decoder dec) { in testNull()
328 private static void testIOE(Base64.Decoder dec, byte[] decoded) throws Throwable { in testIOE()
371 Base64.Decoder decM = Base64.getMimeDecoder(); in testDecodeIgnoredAfterPadding()
373 Base64.Decoder dec = Base64.getDecoder(); in testDecodeIgnoredAfterPadding()
414 Base64.Decoder[] decs = new Base64.Decoder[] { in testMalformedPadding()
420 for (Base64.Decoder dec : decs) { in testMalformedPadding()
458 Base64.Decoder dec = Base64.getDecoder(); in testDecodeUnpadded()
501 private static final void testDecode(Base64.Decoder dec, ByteBuffer bin, byte[] expected) in testDecode()
583 private static void testDecoderKeepsAbstinence(Base64.Decoder dec) in testDecoderKeepsAbstinence()
DTestBase64Golden.java43 import java.util.Base64.Decoder;
71 public static void test0(Base64Type type, Encoder encoder, Decoder decoder, in test0()
164 Decoder decoder = Base64.getMimeDecoder(); in test1()
Dplain.txt3 to test java.util.Base64.Decoder;
/libcore/ojluni/src/test/java/net/URLEncoder/
DDecoder.java35 public class Decoder { class
/libcore/ojluni/src/test/java/security/cert/
DAKISerialNumberTest.java108 private static Base64.Decoder b64Decoder = Base64.getMimeDecoder();
/libcore/api/
Dcurrent.txt13397 method public static java.util.Base64.Decoder getDecoder();
13399 method public static java.util.Base64.Decoder getMimeDecoder();
13402 method public static java.util.Base64.Decoder getUrlDecoder();
13406 public static class Base64.Decoder {