/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | Base64Variants.java | 32 public final static Base64Variant MIME; 34 MIME = new Base64Variant("MIME", STD_BASE64_ALPHABET, true, '=', 76); 43 public final static Base64Variant MIME_NO_LINEFEEDS; 45 MIME_NO_LINEFEEDS = new Base64Variant(MIME, "MIME-NO-LINEFEEDS", Integer.MAX_VALUE); 52 public final static Base64Variant PEM = new Base64Variant(MIME, "PEM", true, '=', 64); 65 public final static Base64Variant MODIFIED_FOR_URL; 72 …MODIFIED_FOR_URL = new Base64Variant("MODIFIED-FOR-URL", sb.toString(), false, Base64Variant.PADDI… 81 public static Base64Variant getDefaultVariant() { in getDefaultVariant() 88 public static Base64Variant valueOf(String name) throws IllegalArgumentException in valueOf()
|
D | Base64Variant.java | 19 public final class Base64Variant class 111 …public Base64Variant(String name, String base64Alphabet, boolean usesPadding, char paddingChar, in… in Base64Variant() method in Base64Variant 146 public Base64Variant(Base64Variant base, String name, int maxLineLength) in Base64Variant() method in Base64Variant 156 …public Base64Variant(Base64Variant base, String name, boolean usesPadding, char paddingChar, int m… in Base64Variant() method in Base64Variant 545 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in decode() 576 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in decode()
|
D | JsonParser.java | 1556 public abstract byte[] getBinaryValue(Base64Variant bv) throws IOException; in getBinaryValue() 1598 public int readBinaryValue(Base64Variant bv, OutputStream out) throws IOException { in readBinaryValue()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/base64/ |
D | Base64CodecTest.java | 14 for (Base64Variant var : new Base64Variant[] { in testVariantAccess() 33 Base64Variant std = Base64Variants.MIME; in testProps() 47 Base64Variant std = Base64Variants.MIME; in testCharEncoding() 48 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Char('?')); in testCharEncoding() 49 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Char((int) '?')); in testCharEncoding() 50 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Char((char) 0xA0)); in testCharEncoding() 51 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Char(0xA0)); in testCharEncoding() 53 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Byte((byte) '?')); in testCharEncoding() 54 assertEquals(Base64Variant.BASE64_VALUE_INVALID, std.decodeBase64Byte((byte) 0xA0)); in testCharEncoding() 81 final Base64Variant std = Base64Variants.MIME; in testConvenienceMethods() [all …]
|
D | Base64GenerationTest.java | 33 private final static Base64Variant[] VARIANTS = { 122 Base64Variant b64v = Base64Variants.getDefaultVariant(); in _testSimpleBinaryWrite() 181 for (Base64Variant variant : VARIANTS) { in _testStreamingWrites()
|
D | Base64BinaryParsingTest.java | 137 final Base64Variant b64 = Base64Variants.MODIFIED_FOR_URL; in _testOkMissingPadding() 201 final Base64Variant[] VARIANTS = { in _testBase64Text() 216 for (Base64Variant variant : VARIANTS) { in _testBase64Text()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | BaseSettings.java | 7 import com.fasterxml.jackson.core.Base64Variant; 134 protected final Base64Variant _defaultBase64; 148 Locale locale, TimeZone tz, Base64Variant defaultBase64, in BaseSettings() 168 Locale locale, TimeZone tz, Base64Variant defaultBase64) in BaseSettings() 319 public BaseSettings with(Base64Variant base64) { in with() 403 public Base64Variant getBase64Variant() { in getBase64Variant()
|
D | MapperConfig.java | 8 import com.fasterxml.jackson.core.Base64Variant; 618 public Base64Variant getBase64Variant() { in getBase64Variant()
|
D | MapperConfigBase.java | 8 import com.fasterxml.jackson.core.Base64Variant; 482 public final T with(Base64Variant base64) { in with()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | TestFormatSchema.java | 83 public byte[] getBinaryValue(Base64Variant b64variant) { in getBinaryValue() 130 public int readBinaryValue(Base64Variant b64variant, OutputStream out) { in readBinaryValue() 157 public void writeBinary(Base64Variant b64variant, byte[] data, in writeBinary() 230 public int writeBinary(Base64Variant b64variant, InputStream data, int dataLength) { in writeBinary()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | TestJDKSerializability.java | 5 import com.fasterxml.jackson.core.Base64Variant; 36 Base64Variant orig = Base64Variants.PEM; in testBase64Variant() 38 Base64Variant back = jdkDeserialize(stuff); in testBase64Variant()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/base/ |
D | ParserBase.java | 426 public byte[] getBinaryValue(Base64Variant variant) throws IOException in getBinaryValue() 1139 …protected final int _decodeBase64Escape(Base64Variant b64variant, int ch, int index) throws IOExce… in _decodeBase64Escape() 1155 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _decodeBase64Escape() 1162 …protected final int _decodeBase64Escape(Base64Variant b64variant, char ch, int index) throws IOExc… in _decodeBase64Escape() 1178 if ((bits != Base64Variant.BASE64_VALUE_PADDING) || (index < 2)) { in _decodeBase64Escape() 1185 …protected IllegalArgumentException reportInvalidBase64Char(Base64Variant b64variant, int ch, int b… in reportInvalidBase64Char() 1193 …protected IllegalArgumentException reportInvalidBase64Char(Base64Variant b64variant, int ch, int b… in reportInvalidBase64Char() 1213 protected void _handleBase64MissingPadding(Base64Variant b64variant) throws IOException in _handleBase64MissingPadding()
|
D | ParserMinimalBase.java | 318 @Override public abstract byte[] getBinaryValue(Base64Variant b64variant) throws IOException; in getBinaryValue() 504 …protected void _decodeBase64(String str, ByteArrayBuilder builder, Base64Variant b64variant) throw… in _decodeBase64()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/ |
D | ReaderBasedJsonParser.java | 467 public byte[] getBinaryValue(Base64Variant b64variant) throws IOException in getBinaryValue() 498 public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOException in readBinaryValue() 515 …protected int _readBinary(Base64Variant b64variant, OutputStream out, byte[] buffer) throws IOExce… in _readBinary() 571 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 584 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 591 … if (_decodeBase64Escape(b64variant, ch, 3) != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 610 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 624 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 2712 protected byte[] _decodeBase64(Base64Variant b64variant) throws IOException in _decodeBase64() 2759 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _decodeBase64() [all …]
|
D | UTF8DataInputJsonParser.java | 408 public byte[] getBinaryValue(Base64Variant b64variant) throws IOException in getBinaryValue() 439 public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOException in readBinaryValue() 456 protected int _readBinary(Base64Variant b64variant, OutputStream out, in _readBinary() 503 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 515 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 520 … || _decodeBase64Escape(b64variant, ch, 3) != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 536 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 549 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 2771 protected final byte[] _decodeBase64(Base64Variant b64variant) throws IOException in _decodeBase64() 2807 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _decodeBase64() [all …]
|
D | UTF8StreamJsonParser.java | 517 public byte[] getBinaryValue(Base64Variant b64variant) throws IOException in getBinaryValue() 544 public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOException in readBinaryValue() 561 protected int _readBinary(Base64Variant b64variant, OutputStream out, in _readBinary() 618 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 631 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 638 … if (_decodeBase64Escape(b64variant, ch, 3) != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 657 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 671 if (bits == Base64Variant.BASE64_VALUE_PADDING) { in _readBinary() 3631 protected final byte[] _decodeBase64(Base64Variant b64variant) throws IOException in _decodeBase64() 3677 if (bits != Base64Variant.BASE64_VALUE_PADDING) { in _decodeBase64() [all …]
|
D | WriterBasedJsonGenerator.java | 657 public void writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) in writeBinary() 675 public int writeBinary(Base64Variant b64variant, in writeBinary() 1558 …protected final void _writeBinary(Base64Variant b64variant, byte[] input, int inputPtr, final int … in _writeBinary() 1600 protected final int _writeBinary(Base64Variant b64variant, in _writeBinary() 1660 protected final int _writeBinary(Base64Variant b64variant, in _writeBinary()
|
D | UTF8JsonGenerator.java | 879 public void writeBinary(Base64Variant b64variant, in writeBinary() 898 public int writeBinary(Base64Variant b64variant, in writeBinary() 1870 protected final void _writeBinary(Base64Variant b64variant, in _writeBinary() 1913 protected final int _writeBinary(Base64Variant b64variant, in _writeBinary() 1973 protected final int _writeBinary(Base64Variant b64variant, in _writeBinary()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | TreeTraversingParser.java | 334 public byte[] getBinaryValue(Base64Variant b64variant) in getBinaryValue() 353 public int readBinaryValue(Base64Variant b64variant, OutputStream out) in readBinaryValue()
|
D | TextNode.java | 65 public byte[] getBinaryValue(Base64Variant b64variant) throws IOException in getBinaryValue()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/util/ |
D | JsonParserDelegate.java | 223 …@Override public byte[] getBinaryValue(Base64Variant b64variant) throws IOException { return deleg… in getBinaryValue() 224 …@Override public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOExceptio… in readBinaryValue()
|
D | JsonGeneratorDelegate.java | 315 …public void writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) throws IOExcep… in writeBinary() 318 …public int writeBinary(Base64Variant b64variant, InputStream data, int dataLength) throws IOExcept… in writeBinary()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | TestConversions.java | 186 final Base64Variant[] VARIANTS = { in testBase64Text() 198 for (Base64Variant variant : VARIANTS) { in testBase64Text()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/filter/ |
D | FilteringParserDelegate.java | 908 …@Override public byte[] getBinaryValue(Base64Variant b64variant) throws IOException { return deleg… in getBinaryValue() 909 …@Override public int readBinaryValue(Base64Variant b64variant, OutputStream out) throws IOExceptio… in readBinaryValue()
|
D | FilteringGeneratorDelegate.java | 601 …public void writeBinary(Base64Variant b64variant, byte[] data, int offset, int len) throws IOExcep… in writeBinary() 609 …public int writeBinary(Base64Variant b64variant, InputStream data, int dataLength) throws IOExcept… in writeBinary()
|