HomeSort by relevance Sort by last modified time
    Searched refs:base64 (Results 1 - 25 of 321) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_base64.py 3 import base64
11 eq(base64.encodestring("www.python.org"), "d3d3LnB5dGhvbi5vcmc=\n")
12 eq(base64.encodestring("a"), "YQ==\n")
13 eq(base64.encodestring("ab"), "YWI=\n")
14 eq(base64.encodestring("abc"), "YWJj\n")
15 eq(base64.encodestring(""), "")
16 eq(base64.encodestring("abcdefghijklmnopqrstuvwxyz"
25 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
26 eq(base64.decodestring("YQ==\n"), "a")
27 eq(base64.decodestring("YWI=\n"), "ab")
    [all...]
  /external/python/cpython2/Lib/test/
test_base64.py 3 import base64
11 eq(base64.encodestring("www.python.org"), "d3d3LnB5dGhvbi5vcmc=\n")
12 eq(base64.encodestring("a"), "YQ==\n")
13 eq(base64.encodestring("ab"), "YWI=\n")
14 eq(base64.encodestring("abc"), "YWJj\n")
15 eq(base64.encodestring(""), "")
16 eq(base64.encodestring("abcdefghijklmnopqrstuvwxyz"
23 eq(base64.encodestring(bytearray('abc')), 'YWJj\n')
27 eq(base64.decodestring("d3d3LnB5dGhvbi5vcmc=\n"), "www.python.org")
28 eq(base64.decodestring("YQ==\n"), "a"
    [all...]
  /external/python/cpython3/Lib/test/
test_base64.py 3 import base64
23 base64.encodestring(b"www.python.org")
27 base64.decodestring(b"d3d3LnB5dGhvbi5vcmc=\n")
31 eq(base64.encodebytes(b"www.python.org"), b"d3d3LnB5dGhvbi5vcmc=\n")
32 eq(base64.encodebytes(b"a"), b"YQ==\n")
33 eq(base64.encodebytes(b"ab"), b"YWI=\n")
34 eq(base64.encodebytes(b"abc"), b"YWJj\n")
35 eq(base64.encodebytes(b""), b"")
36 eq(base64.encodebytes(b"abcdefghijklmnopqrstuvwxyz"
43 eq(base64.encodebytes(bytearray(b'abc')), b'YWJj\n'
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/
BaseEncodingTest.java 20 import static com.google.common.io.BaseEncoding.base64;
48 testEncodes(base64().withSeparator("\n", 3), "foobar", "Zm9\nvYm\nFy");
49 testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy");
56 base64().withSeparator("=", 3);
61 base64().withPadChar('#').withSeparator("!#!", 3);
68 BaseEncoding separated = base64().withSeparator("\n", 3);
77 testEncodingWithSeparators(base64(), "", ""); method
78 testEncodingWithSeparators(base64(), "f", "Zg=="); method
79 testEncodingWithSeparators(base64(), "fo", "Zm8="); method
80 testEncodingWithSeparators(base64(), "foo", "Zm9v") method
81 testEncodingWithSeparators(base64(), "foob", "Zm9vYg=="); method
82 testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE="); method
83 testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy"); method
87 testDecodes(base64(), "Zg", "f"); method
88 testDecodes(base64(), "Zg=", "f"); method
89 testDecodes(base64(), "Zg==", "f"); \/\/ proper padding length method
90 testDecodes(base64(), "Zg===", "f"); method
91 testDecodes(base64(), "Zg====", "f"); method
96 assertFailsToDecode(base64(), "\\u007f"); method
97 assertFailsToDecode(base64(), "Wf2!"); method
99 assertFailsToDecode(base64(), "let's not talk of love or chains!"); method
101 assertFailsToDecode(base64(), "12345"); method
    [all...]
  /art/test/999-redefine-hiddenapi/src-redefine/
gen.sh 27 echo ' private static final byte[] CLASS_BYTES = Base64.getDecoder().decode('
28 base64 "${TMP}/${CLASS}.class" | sed -E 's/^/ "/' | sed ':a;N;$!ba;s/\n/" +\n/g' | sed -E '$ s/$/");/'
29 echo ' private static final byte[] DEX_BYTES = Base64.getDecoder().decode('
30 base64 "${TMP}/classes.dex" | sed -E 's/^/ "/' | sed ':a;N;$!ba;s/\n/" +\n/g' | sed -E '$ s/$/");/'
  /external/wpa_supplicant_8/hs20/server/ca/
est-csrattrs.sh 4 base64 est-csrattrs.der > est-attrs.b64
  /external/guava/guava-tests/test/com/google/common/io/
BaseEncodingTest.java 20 import static com.google.common.io.BaseEncoding.base64;
54 testEncodes(base64().withSeparator("\n", 3), "foobar", "Zm9\nvYm\nFy");
55 testEncodes(base64().withSeparator("$", 4), "foobar", "Zm9v$YmFy");
62 base64().withSeparator("=", 3);
67 base64().withPadChar('#').withSeparator("!#!", 3);
74 BaseEncoding separated = base64().withSeparator("\n", 3);
83 testEncodingWithSeparators(base64(), "", ""); method
84 testEncodingWithSeparators(base64(), "f", "Zg=="); method
85 testEncodingWithSeparators(base64(), "fo", "Zm8="); method
86 testEncodingWithSeparators(base64(), "foo", "Zm9v") method
87 testEncodingWithSeparators(base64(), "foob", "Zm9vYg=="); method
88 testEncodingWithSeparators(base64(), "fooba", "Zm9vYmE="); method
89 testEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy"); method
95 testStreamingEncodingWithSeparators(base64(), "", ""); method
96 testStreamingEncodingWithSeparators(base64(), "f", "Zg=="); method
97 testStreamingEncodingWithSeparators(base64(), "fo", "Zm8="); method
98 testStreamingEncodingWithSeparators(base64(), "foo", "Zm9v"); method
99 testStreamingEncodingWithSeparators(base64(), "foob", "Zm9vYg=="); method
100 testStreamingEncodingWithSeparators(base64(), "fooba", "Zm9vYmE="); method
101 testStreamingEncodingWithSeparators(base64(), "foobar", "Zm9vYmFy"); method
105 testDecodes(base64(), "Zg", "f"); method
106 testDecodes(base64(), "Zg=", "f"); method
107 testDecodes(base64(), "Zg==", "f"); \/\/ proper padding length method
108 testDecodes(base64(), "Zg===", "f"); method
109 testDecodes(base64(), "Zg====", "f"); method
114 assertFailsToDecode(base64(), "\\u007f"); method
115 assertFailsToDecode(base64(), "Wf2!"); method
117 assertFailsToDecode(base64(), "let's not talk of love or chains!"); method
119 assertFailsToDecode(base64(), "12345"); method
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
base64_codec.py 1 """ Python 'base64_codec' Codec - base64 content transfer encoding
9 import codecs, base64
24 output = base64.encodestring(input)
42 output = base64.decodestring(input)
55 return base64.encodestring(input)
60 return base64.decodestring(input)
72 name='base64',
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
base64_codec.py 1 """ Python 'base64_codec' Codec - base64 content transfer encoding
9 import codecs, base64
24 output = base64.encodestring(input)
42 output = base64.decodestring(input)
55 return base64.encodestring(input)
60 return base64.decodestring(input)
72 name='base64',
  /external/python/cpython2/Lib/encodings/
base64_codec.py 1 """ Python 'base64_codec' Codec - base64 content transfer encoding
9 import codecs, base64
24 output = base64.encodestring(input)
42 output = base64.decodestring(input)
55 return base64.encodestring(input)
60 return base64.decodestring(input)
72 name='base64',
  /external/python/cpython3/Lib/encodings/
base64_codec.py 1 """Python 'base64_codec' Codec - base64 content transfer encoding.
9 import base64
15 return (base64.encodebytes(input), len(input))
19 return (base64.decodebytes(input), len(input))
30 return base64.encodebytes(input)
35 return base64.decodebytes(input)
47 name='base64',
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
Base64.java 16 * A utility class to perform base64 encoding and decoding as specified
21 public class Base64
31 private static byte[] base64 = { field in class:Base64
59 for (int idx = 0; idx < base64.length; idx++)
61 ascii[base64[idx]] = (byte) idx;
78 * @return the base64-encoded data.
92 * @return the base64-encoded data.
125 dst[didx++] = base64[bits6];
127 dst[didx++] = base64[bits6];
129 dst[didx++] = base64[bits6]
    [all...]
  /external/ImageMagick/Magick++/lib/Magick++/
Blob.h 45 // Update object contents from Base64-encoded string representation.
46 void base64(const std::string base64_);
47 // Return Base64-encoded string representation.
48 std::string base64(void) const;
  /external/skia/tools/fiddle/
parse-fiddle-output 19 | base64 -d > "$dst"
  /external/skia/tools/
retrieve_from_googlesource.py 13 import base64
30 return base64.b64decode(f.read())
  /external/skqp/tools/fiddle/
parse-fiddle-output 19 | base64 -d > "$dst"
  /external/skqp/tools/
retrieve_from_googlesource.py 13 import base64
30 return base64.b64decode(f.read())
  /art/test/692-vdex-inmem-loader/src-secondary/
gen.sh 31 echo ' private static final byte[] DEX_BYTES_A = Base64.getDecoder().decode('
32 base64 "${TMP}/classesA.dex" | sed -E 's/^/ "/' | sed ':a;N;$!ba;s/\n/" +\n/g' | sed -E '$ s/$/");/'
34 echo ' private static final byte[] DEX_BYTES_B = Base64.getDecoder().decode('
35 base64 "${TMP}/classesB.dex" | sed -E 's/^/ "/' | sed ':a;N;$!ba;s/\n/" +\n/g' | sed -E '$ s/$/");/'
  /art/test/693-vdex-inmem-loader-evict/src-secondary/
gen.sh 45 checksum=`head -c 32 -z "$TMP/file${suffix}.dex" | tail -c 24 -z | base64`
46 echo ' Base64.getDecoder().decode("'${checksum}'"),'
51 echo ' private static final byte[] DEX_BYTES_01 = Base64.getDecoder().decode('
52 base64 "${TMP}/file01.dex" | sed -E 's/^/ "/' | sed ':a;N;$!ba;s/\n/" +\n/g' | sed -E '$ s/$/");/'
  /external/python/pyasn1-modules/pyasn1_modules/
pem.py 7 import base64
42 substrate = ''.join([base64.b64decode(x) for x in certLines])
44 substrate = ''.encode().join([base64.b64decode(x.encode()) for x in certLines])
59 return base64.b64decode(text)
61 return base64.b64decode(text.encode())
  /external/curl/lib/
http_ntlm.c 116 char *base64 = NULL; local
189 ntlm, &base64,
194 if(base64) {
198 base64);
199 free(base64);
210 ntlm, &base64, &len);
214 if(base64) {
218 base64);
219 free(base64);
  /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
dataurl-noquote-multiline-font.css 26 data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA) format("truetype"),
  /external/python/cpython3/Lib/
secrets.py 15 import base64
63 """Return a random URL-safe text string, in Base64 encoding.
73 return base64.urlsafe_b64encode(tok).rstrip(b'=').decode('ascii')
  /external/skia/experimental/tools/
generate-unicode-test-txt 8 import array, zlib, base64, sys
10 # import array, zlib, base64, sys, unicodedata
28 # return base64.b64encode(zlib.compress(a.tostring(), 9))
65 base64.b64decode(valid_codepoint_data))).tolist():
  /external/skqp/experimental/tools/
generate-unicode-test-txt 8 import array, zlib, base64, sys
10 # import array, zlib, base64, sys, unicodedata
28 # return base64.b64encode(zlib.compress(a.tostring(), 9))
65 base64.b64decode(valid_codepoint_data))).tolist():

Completed in 8171 milliseconds

1 2 3 4 5 6 7 8 91011>>