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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/gdb/darwin-x86/lib/python2.7/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...]
  /prebuilts/gdb/linux-x86/lib/python2.7/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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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...]
  /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...]
  /tools/test/connectivity/acts/framework/acts/test_utils/bt/
bt_metrics_utils.py 14 import base64
33 proto_native_str = base64.b64decode(proto_native_str_64)
36 proto_java_str = base64.b64decode(proto_java_str_64)
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBase64.java 6 import org.apache.commons.codec.binary.Base64;
8 @Implements(android.util.Base64.class)
13 Base64 base64 = new Base64(); local
14 return base64.encodeBase64String(bytes);
19 Base64 base64 = new Base64(); local
20 return base64.decodeBase64(str)
    [all...]
  /external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/
tsigkeyring.py 18 import base64
23 """Convert a dictionary containing (textual DNS name, base64 secret) pairs
30 secret = base64.decodestring(textring[keytext])
36 into a text keyring which has (textual DNS name, base64 secret) pairs.
42 secret = base64.encodestring(keyring[keyname])
  /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...]
  /packages/apps/Email/src/com/beetstra/jutf7/
UTF7StyleCharset.java 45 Base64Util base64; field in class:UTF7StyleCharset
66 this.base64 = new Base64Util(alphabet);
83 return new UTF7StyleCharsetDecoder(this, base64, strict);
91 return new UTF7StyleCharsetEncoder(this, base64, strict);
UTF7StyleCharsetEncoder.java 53 private final Base64Util base64; field in class:UTF7StyleCharsetEncoder
68 UTF7StyleCharsetEncoder(UTF7StyleCharset cs, Base64Util base64, boolean strict) {
71 this.base64 = base64;
110 out.put(base64.getChar(sextet));
184 out.put(base64.getChar(sextet));
185 if (base64.contains(ch) || ch == unshift || strict)
212 out.put(base64.getChar(sextet));
  /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/v8/tools/testrunner/server/
signatures.py 29 import base64
36 file_contents = base64.b64encode(f.read())
46 signature = base64.b64encode(f.read())
52 f.write(base64.b64decode(file_contents))
55 f.write(base64.b64decode(signature))
  /prebuilts/gdb/darwin-x86/lib/python2.7/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',
  /prebuilts/gdb/linux-x86/lib/python2.7/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',
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/syslinux/gpxe/src/core/
base64.c 24 #include <gpxe/base64.h>
28 * Base64 encoding
32 static const char base64[64] = variable
36 * Base64-encode a string
60 *(encoded_bytes++) = base64[tmp];
66 DBG ( "Base64-encoded \"%s\" as \"%s\"\n", raw, encoded );
  /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 18 | base64 -d > "$dst"
  /external/skia/tools/
retrieve_from_googlesource.py 13 import base64
30 return base64.b64decode(f.read())

Completed in 1098 milliseconds

1 2 3 4 5 6 7 8 91011>>