/external/skia/tools/ |
H A D | retrieve_from_googlesource.py | 13 import base64 namespace 30 return base64.b64decode(f.read())
|
/external/v8/tools/testrunner/server/ |
H A D | signatures.py | 29 import base64 namespace 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))
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/ |
H A D | json.py | 13 import base64 namespace 80 """Serializes a value to JSON and encodes it using base64. 84 return base64.b64encode(encode(value, *args, **kwargs)) 88 """Decodes a value using base64 and deserializes it from JSON. 92 return decode(base64.b64decode(value), *args, **kwargs)
|
/external/skia/platform_tools/android/bin/ |
H A D | http_download.py | 11 import base64 namespace 47 auth_code = base64.b64encode(username + ':' + password) 49 auth_code = base64.b64encode(username)
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/ |
H A D | style_sheet_unittest.py | 5 import base64 namespace 39 background-image: url(data:image/jpeg;base64,%s); 41 """ % base64.standard_b64encode('hello world'), inlined)
|
H A D | style_sheet.py | 5 import base64 namespace 56 data = base64.standard_b64encode(image.contents) 58 return "url(data:image/%s;base64,%s)" % (ext[1:], data)
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
H A D | D_S_I_G_.py | 6 import base64 namespace 106 s = base64.b64encode(b) 131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
|
/external/fonttools/Tools/fontTools/ttLib/tables/ |
H A D | D_S_I_G_.py | 6 import base64 namespace 106 s = base64.b64encode(b) 131 self.pkcs7 = base64.b64decode(tobytes(strjoin(filter(pem_spam, content))))
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/base64/ |
H A D | Base64.java | 21 package org.ksoap2.kobjects.base64;
|
/external/owasp/sanitizer/tools/ |
H A D | googlecode_upload.py | 55 import base64 namespace 91 auth_token = base64.b64encode('%s:%s'% (user_name, password))
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | Base64.java | 16 * A utility class to perform base64 encoding and decoding as specified 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]; 131 dst[didx++] = base64[bits [all...] |
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
H A D | request_test.py | 112 import base64 namespace 114 # With base64 --------------------------------------------------------- 116 value = base64.b64encode(u'á'.encode('utf-8')) 124 self.assertEqual(base64.b64decode(req.cookies.get('foo')).decode('utf-8'), u'á')
|
/external/chromium-trace/trace-viewer/tracing/build/ |
H A D | trace2html.py | 6 import base64 namespace 72 b64_content = base64.b64encode(compressed_trace.getvalue())
|
/external/skia/src/animator/ |
H A D | SkDrawBitmap.h | 66 SkBase64 base64; member in class:SkImageBaseBitmap
|
H A D | SkMemberInfo.cpp | 51 case SkType_Base64: // assume base64 data is always const, copied by ref 326 SkBase64 base64; local 327 base64.decode(rawValue, rawValueLen); 328 *(SkBase64* ) untypedStorage = base64;
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
H A D | cookie.py | 44 import hmac, base64, random, six, time, warnings namespace 147 cookie = base64.encodestring( 162 decode = base64.decodestring(
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | SegmentedByteString.java | 88 @Override public String base64() { method in class:SegmentedByteString 89 return toByteString().base64();
|
H A D | ByteString.java | 101 public String base64() { method in class:ByteString 133 * Returns null if {@code base64} is not a Base64-encoded sequence of bytes. 135 public static ByteString decodeBase64(String base64) { argument 136 if (base64 == null) throw new IllegalArgumentException("base64 == null"); 137 byte[] decoded = Base64.decode(base64);
|
/external/sepolicy/tools/ |
H A D | insertkeys.py | 7 import base64 namespace 69 self._base16Key.append(base64.b16encode(base64.b64decode(base64Key)).lower())
|
/external/guava/guava/src/com/google/common/io/ |
H A D | BaseEncoding.java | 112 * <td>{@link #base64()} 386 "base64()", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", '='); 389 * The "base64" base encoding specified by <a 401 public static BaseEncoding base64() { method in class:BaseEncoding 507 * e.g. for base64, bitsPerChar == 6, charsPerChunk == 4, and bytesPerChunk == 3. This makes
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
H A D | BaseEncoding.java | 104 * <td>{@link #base64()} 289 "base64()", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", '='); 292 * The "base64" base encoding specified by <a 304 public static BaseEncoding base64() { method in class:BaseEncoding 410 * e.g. for base64, bitsPerChar == 6, charsPerChunk == 4, and bytesPerChunk == 3. This makes
|
/external/srtp/crypto/math/ |
H A D | datatypes.c | 697 base64_string_to_octet_string(char *raw, char *base64, int len) { argument 704 tmp = base64_char_to_sextet(base64[0]); 709 tmp = base64_char_to_sextet(base64[1]); 715 base64 += 2;
|
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/ |
H A D | cookies.py | 3 import base64 namespace 481 """ A serializer which uses base64 to encode/decode data""" 496 return base64.urlsafe_b64encode(cstruct) 506 cstruct = base64.urlsafe_b64decode(bytes_(bstruct)) 508 raise ValueError('Badly formed base64 data: %s' % e) 574 return base64.urlsafe_b64encode(sig + cstruct).rstrip(b'=') 585 fstruct = base64.urlsafe_b64decode(bytes_(bstruct) + b64padding) 587 raise ValueError('Badly formed base64 data: %s' % e) 814 the result is base64-encoded for transport. This way a remote user can
|
/external/libvncserver/libvncserver/ |
H A D | websockets.c | 73 char codeBuf[B64LEN(UPDATE_BUF_SIZE) + WSHLENMAX]; /* base64 + maximum frame header length */ 78 char carryBuf[3]; /* For base64 carry-over */ 81 int base64; member in struct:ws_ctx_s 238 int n, linestart = 0, len = 0, llen, base64 = TRUE; local 357 base64 = FALSE; 360 rfbLog(" - webSocketsHandshake: using base64 encoding\n"); 361 base64 = TRUE; 362 if ((protocol) && (strstr(protocol, "base64"))) { 363 protocol = "base64"; 418 wsctx->base64 [all...] |
/external/ppp/pppd/ |
H A D | eap.c | 336 static char base64[] = variable 358 *outp++ = base64[(bs->bs_bits >> 18) & 0x3F]; 359 *outp++ = base64[(bs->bs_bits >> 12) & 0x3F]; 360 *outp++ = base64[(bs->bs_bits >> 6) & 0x3F]; 361 *outp++ = base64[bs->bs_bits & 0x3F]; 378 *outp++ = base64[(bs->bs_bits >> 2) & 0x3F]; 379 *outp++ = base64[(bs->bs_bits << 4) & 0x3F]; 382 *outp++ = base64[(bs->bs_bits >> 10) & 0x3F]; 383 *outp++ = base64[(bs->bs_bits >> 4) & 0x3F]; 384 *outp++ = base64[(b [all...] |