/external/jackson-core/src/test/java/com/fasterxml/jackson/core/base64/ |
D | Base64CodecTest.java | 15 Base64Variants.MIME, in testVariantAccess() 16 Base64Variants.MIME_NO_LINEFEEDS, in testVariantAccess() 17 Base64Variants.MODIFIED_FOR_URL, in testVariantAccess() 18 Base64Variants.PEM in testVariantAccess() 20 assertSame(var, Base64Variants.valueOf(var.getName())); in testVariantAccess() 24 Base64Variants.valueOf("foobar"); in testVariantAccess() 33 Base64Variant std = Base64Variants.MIME; in testProps() 47 Base64Variant std = Base64Variants.MIME; in testCharEncoding() 81 final Base64Variant std = Base64Variants.MIME; in testConvenienceMethods() 103 final Base64Variant std = Base64Variants.MIME; in testConvenienceMethodWithLFs() [all …]
|
D | Base64GenerationTest.java | 34 Base64Variants.MIME, 35 Base64Variants.MIME_NO_LINEFEEDS, 36 Base64Variants.MODIFIED_FOR_URL, 37 Base64Variants.PEM 122 Base64Variant b64v = Base64Variants.getDefaultVariant(); in _testSimpleBinaryWrite()
|
D | Base64BinaryParsingTest.java | 90 p.getBinaryValue(Base64Variants.MIME); in testInvalidChar() 101 p.getBinaryValue(Base64Variants.MIME); in testInvalidChar() 112 p.getBinaryValue(Base64Variants.MIME); in testInvalidChar() 137 final Base64Variant b64 = Base64Variants.MODIFIED_FOR_URL; in _testOkMissingPadding() 169 /*byte[] b =*/ p.getBinaryValue(Base64Variants.MIME); in _testFailDueToMissingPadding() 181 /*byte[] b =*/ p.getBinaryValue(Base64Variants.MIME); in _testFailDueToMissingPadding() 202 Base64Variants.MIME, in _testBase64Text() 203 Base64Variants.MIME_NO_LINEFEEDS, in _testBase64Text() 204 Base64Variants.MODIFIED_FOR_URL, in _testBase64Text() 205 Base64Variants.PEM in _testBase64Text()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestSimpleTypes.java | 3 import com.fasterxml.jackson.core.Base64Variants; 52 MAPPER.writer(Base64Variants.MIME_NO_LINEFEEDS).writeValueAsString(INPUT)); in testBase64Variants() 56 MAPPER.writer(Base64Variants.MIME).writeValueAsString(INPUT)); in testBase64Variants() 58 MAPPER.writer(Base64Variants.MODIFIED_FOR_URL).writeValueAsString(INPUT)); in testBase64Variants() 61 MAPPER.writer(Base64Variants.PEM).writeValueAsString(INPUT)); in testBase64Variants()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestStringConversions.java | 7 import com.fasterxml.jackson.core.Base64Variants; 66 assertEquals(Base64Variants.MIME.encode(input), encoded); in testBytesToBase64AndBack()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | TestConversions.java | 187 Base64Variants.MIME, in testBase64Text() 188 Base64Variants.MIME_NO_LINEFEEDS, in testBase64Text() 189 Base64Variants.MODIFIED_FOR_URL, in testBase64Text() 190 Base64Variants.PEM in testBase64Text()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | UUIDDeserializer.java | 7 import com.fasterxml.jackson.core.Base64Variants; 44 byte[] stuff = Base64Variants.getDefaultVariant().decode(id); in _deserialize()
|
D | PrimitiveArrayDeserializers.java | 316 … return Base64Variants.getDefaultVariant().encode((byte[]) ob, false).toCharArray(); in deserialize()
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/ |
D | TestJDKSerializability.java | 6 import com.fasterxml.jackson.core.Base64Variants; 36 Base64Variant orig = Base64Variants.PEM; in testBase64Variant()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/ |
D | Base64Variants.java | 18 public final class Base64Variants class
|
D | JsonParser.java | 1566 return getBinaryValue(Base64Variants.getDefaultVariant()); in getBinaryValue() 1584 return readBinaryValue(Base64Variants.getDefaultVariant(), out); in readBinaryValue()
|
D | JsonGenerator.java | 1264 writeBinary(Base64Variants.getDefaultVariant(), data, offset, len); in writeBinary() 1274 writeBinary(Base64Variants.getDefaultVariant(), data, 0, data.length); in writeBinary() 1292 return writeBinary(Base64Variants.getDefaultVariant(), data, dataLength); in writeBinary()
|
D | Base64Variant.java | 182 return Base64Variants.valueOf(_name); in readResolve()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/ |
D | MapKeyDeserializationTest.java | 9 import com.fasterxml.jackson.core.Base64Variants; 158 String encoded = Base64Variants.MIME.encode(binary); in testByteArrayMapKeyDeserialization()
|
D | JDKScalarsTest.java | 453 … Assert.assertArrayEquals(INPUT, (byte[]) reader.with(Base64Variants.MIME_NO_LINEFEEDS).readValue( in testBase64Variants() 458 Assert.assertArrayEquals(INPUT, (byte[]) reader.with(Base64Variants.MIME).readValue( in testBase64Variants() 461 … Assert.assertArrayEquals(INPUT, (byte[]) reader.with(Base64Variants.MODIFIED_FOR_URL).readValue( in testBase64Variants() 465 Assert.assertArrayEquals(INPUT, (byte[]) reader.with(Base64Variants.PEM).readValue( in testBase64Variants()
|
D | JDKStringLikeTypesTest.java | 14 import com.fasterxml.jackson.core.Base64Variants; 326 String base64 = Base64Variants.getDefaultVariant().encode(new byte[16]); in testUUID()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/ |
D | BinaryNode.java | 89 return Base64Variants.getDefaultVariant().encode(_data, false); in asText()
|
D | TextNode.java | 83 return getBinaryValue(Base64Variants.getDefaultVariant()); in binaryValue()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | ObjectWriterTest.java | 183 ObjectWriter newW = w.with(Base64Variants.MODIFIED_FOR_URL); in testMiscSettings() 185 assertSame(newW, newW.with(Base64Variants.MODIFIED_FOR_URL)); in testMiscSettings()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/ |
D | MapKeySerializationTest.java | 14 import com.fasterxml.jackson.core.Base64Variants; 331 String expBase64 = Base64Variants.MIME.encode(binary); in testMapsWithBinaryKeys()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | ObjectMapper.java | 367 Base64Variants.getDefaultVariant(),
|