/external/ImageMagick/Magick++/lib/ |
Blob.cpp | 56 void Magick::Blob::base64(const std::string base64_) function in class:Magick::Blob 71 std::string Magick::Blob::base64(void) const function in class:Magick::Blob
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
style_sheet.py | 5 import base64 57 data = base64.standard_b64encode(image.contents) 59 return 'url(data:image/%s;base64,%s)' % (ext[1:], data)
|
style_sheet_unittest.py | 5 import base64 39 background-image: url(data:image/jpeg;base64,%s); 41 """ % base64.standard_b64encode('hello world'), inlined)
|
/prebuilts/go/darwin-x86/src/image/png/ |
example_test.go | 8 "encoding/base64" 21 // gopherPNG creates an io.Reader by decoding the base64 encoded image data string in the gopher constant. 22 func gopherPNG() io.Reader { return base64.NewDecoder(base64.StdEncoding, strings.NewReader(gopher)) }
|
/prebuilts/go/linux-x86/src/image/png/ |
example_test.go | 8 "encoding/base64" 21 // gopherPNG creates an io.Reader by decoding the base64 encoded image data string in the gopher constant. 22 func gopherPNG() io.Reader { return base64.NewDecoder(base64.StdEncoding, strings.NewReader(gopher)) }
|
/test/vts/utils/python/web/ |
dashboard_rest_client.py | 16 import base64 100 post_bytes = base64.b64encode(post_message.SerializeToString())
|
/external/curl/tests/server/ |
getpart.c | 73 * function is used by base64 code in libcurl built to support data 162 * whether the source buffer is base64 encoded or not 'src_b64'. 164 * If the source buffer is indicated to be base64 encoded, this appends the 182 int src_b64) /* != 0 if source is base64 encoded */ 229 /* base64 decode the given buffer */ 297 int base64 = 0; local 324 error = appenddata(outbuf, outlen, &outalloc, buffer, base64); 357 /* Do we need to base64 decode the data? */ 358 if(base64) { 374 /* Do we need to base64 decode the data? * [all...] |
/external/libopus/doc/ |
build_draft.sh | 71 echo building base64 version 72 cat opus_source.tar.gz| base64 | tr -d '\n' | fold -w 64 | \ 74 opus_source.base64
|
/external/protobuf/src/google/protobuf/compiler/csharp/ |
csharp_reflection_class.cc | 157 // TODO(jonskeet): Consider a C#-escaping format here instead of just Base64. 158 std::string base64 = FileDescriptorToBase64(file_); local 159 while (base64.size() > 60) { 160 printer->Print("\"$base64$\",\n", "base64", base64.substr(0, 60)); 161 base64 = base64.substr(60); 163 printer->Print("\"$base64$\"));\n", "base64", base64) [all...] |
/prebuilts/go/darwin-x86/test/bench/go1/ |
json_test.go | 12 "encoding/base64" 27 r = base64.NewDecoder(base64.StdEncoding, r)
|
/prebuilts/go/linux-x86/test/bench/go1/ |
json_test.go | 12 "encoding/base64" 27 r = base64.NewDecoder(base64.StdEncoding, r)
|
/prebuilts/go/darwin-x86/src/encoding/base64/ |
base64.go | 5 // Package base64 implements base64 encoding as specified by RFC 4648. 6 package base64 package 19 // 64-character alphabet. The most common encoding is the "base64" 94 // StdEncoding is the standard base64 encoding, as defined in 98 // URLEncoding is the alternate base64 encoding defined in RFC 4648. 102 // RawStdEncoding is the standard raw, unpadded base64 encoding, 107 // RawURLEncoding is the unpadded alternate base64 encoding defined in RFC 4648. 169 // EncodeToString returns the base64 encoding of src. 245 // NewEncoder returns a new base64 stream encoder. Data written t [all...] |
/prebuilts/go/linux-x86/src/encoding/base64/ |
base64.go | 5 // Package base64 implements base64 encoding as specified by RFC 4648. 6 package base64 package 19 // 64-character alphabet. The most common encoding is the "base64" 94 // StdEncoding is the standard base64 encoding, as defined in 98 // URLEncoding is the alternate base64 encoding defined in RFC 4648. 102 // RawStdEncoding is the standard raw, unpadded base64 encoding, 107 // RawURLEncoding is the unpadded alternate base64 encoding defined in RFC 4648. 169 // EncodeToString returns the base64 encoding of src. 245 // NewEncoder returns a new base64 stream encoder. Data written t [all...] |
/art/libdexfile/dex/ |
dex_file_loader_test.cc | 202 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) { 203 // decode base64 204 CHECK(base64 != nullptr); 205 *dex_bytes = DecodeBase64Vec(base64); 209 static bool OpenDexFilesBase64(const char* base64, 214 DecodeDexFile(base64, dex_bytes); 230 static std::unique_ptr<const DexFile> OpenDexFileBase64(const char* base64, 236 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_msg); 242 static std::unique_ptr<const DexFile> OpenDexFileInMemoryBase64(const char* base64, 247 DecodeDexFile(base64, dex_bytes) [all...] |
/external/curl/lib/ |
base64.c | 23 /* Base64 encoding/decoding */ 36 /* ---- Base64 Encoding/Decoding Table --- */ 37 static const char base64[]= variable 59 p = base64; 89 * Given a base64 NUL-terminated string at src, decode it and return a 203 * The base64 data needs to be created using the network encoding 295 return base64_encode(base64, data, inputbuff, insize, outptr, outlen);
|
/external/skqp/infra/bots/android_compile/ |
trigger_wait_ac_task.py | 8 import base64 50 return base64.standard_b64decode(resp.text) 58 encoded = base64.standard_b64encode(m.digest())
|
/prebuilts/sdk/tools/ |
jack | 112 # Check base64 availability 113 BASE64_CHECK=$((echo amFjaw==;echo LXNlcnZlcg==) | base64 --decode 2>&1) 126 --output >(tee >(sed -n -e 's/^E|\(.*\)$/\1/p' | base64 --decode >&4 ) | tee >(sed -n -e 's/^X|\(.*\)$/\1/p' >>$JACK_EXIT) | sed -n -e 's/^O|\(.*\)$/\1/p' | base64 --decode >&3) \ 129 -H "Accept: application/vnd.jack.command-out-base64;version=1$CHARSET_ARGUMENT" \
|
/external/protobuf/src/google/protobuf/util/internal/ |
datapiece.cc | 208 string base64; local 209 Base64Escape(str_, &base64); 210 return base64; 237 string base64; local 238 WebSafeBase64Escape(str_, &base64); 239 return StrCat("\"", base64, "\"");
|
/cts/tests/security/src/android/keystore/cts/ |
Attestation.java | 135 s.append(" (base64): [" + BaseEncoding.base64().encode(attestationChallenge) + "]"); 138 s.append("\nUnique ID (base64): [" + BaseEncoding.base64().encode(uniqueId) + "]");
|
RootOfTrust.java | 85 .append(BaseEncoding.base64().encode(verifiedBootKey))
|
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
documentscan_AppTestWithFakeLorgnette.py | 5 import base64 50 _BASE64_IMAGE_HEADER = 'data:image/png;base64,' 119 'Image SRC does not start with base64 data header: %s' % 123 data = base64.b64decode(base64_data)
|
/system/bt/build/ |
install_deps.sh | 53 gnsha1=$(curl $GNSHA1_URL | base64 -d)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mimetools.py | 158 """Decode common content-transfer-encodings (base64, quopri, uuencode)."""
159 if encoding == 'base64':
160 import base64
161 return base64.decode(input, output)
177 """Encode common content-transfer-encodings (base64, quopri, uuencode)."""
178 if encoding == 'base64':
179 import base64
180 return base64.encode(input, output)
212 'base64': 'mmencode -u -b',
221 'base64': 'mmencode -b', [all...] |
/external/libmicrohttpd/ |
Android.mk | 38 src/microhttpd/base64.c \
|
/external/python/cpython2/Lib/ |
mimetools.py | 158 """Decode common content-transfer-encodings (base64, quopri, uuencode).""" 159 if encoding == 'base64': 160 import base64 161 return base64.decode(input, output) 177 """Encode common content-transfer-encodings (base64, quopri, uuencode).""" 178 if encoding == 'base64': 179 import base64 180 return base64.encode(input, output) 212 'base64': 'mmencode -u -b', 221 'base64': 'mmencode -b' [all...] |