Searched defs:decoded (Results 1 - 25 of 40) sorted by relevance

12

/external/chromium/base/
H A Dbase64_unittest.cc19 std::string encoded, decoded; local
26 ok = base::Base64Decode(encoded, &decoded);
28 EXPECT_EQ(kText, decoded);
/external/chromium/chrome/browser/
H A Duser_style_sheet_watcher_unittest.cc51 std::string decoded; local
52 ASSERT_TRUE(base::Base64Decode(result, &decoded));
53 ASSERT_EQ(css_file_contents, decoded);
/external/webkit/Source/WebCore/dom/
H A DDecodedDataDocumentParser.cpp46 String decoded = decoder->decode(data, length); local
48 decoded += decoder->flush();
49 if (decoded.isEmpty())
54 append(decoded);
/external/chromium/chrome/browser/importer/
H A Dimporter.cc34 SkBitmap decoded = decoder.Decode(src_data, src_len); local
35 if (decoded.empty())
38 if (decoded.width() != kFaviconSize || decoded.height() != kFaviconSize) {
40 int new_width = decoded.width();
41 int new_height = decoded.height();
43 decoded = skia::ImageOperations::Resize(
44 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height);
48 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_verify_hash.c74 /* allocate temp buffer for decoded sig */
100 int decoded; local
109 /* allocate temp buffer for decoded hash */
117 if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded)) != CRYPT_OK) {
/external/skia/src/utils/
H A DSkBase64.cpp55 signed char decoded = decodeData[srcByte - '+']; local
56 bytes[byte] = decoded;
57 if (decoded < 0) {
58 if (decoded == DecodePad)
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dupnp_xml.c229 unsigned char *decoded; local
238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len);
240 if (decoded == NULL) {
245 buf = wpabuf_alloc_ext_data(decoded, len);
247 os_free(decoded);
/external/wpa_supplicant_8/src/wps/
H A Dupnp_xml.c229 unsigned char *decoded; local
238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len);
240 if (decoded == NULL) {
245 buf = wpabuf_alloc_ext_data(decoded, len);
247 os_free(decoded);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dupnp_xml.c229 unsigned char *decoded; local
238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len);
240 if (decoded == NULL) {
245 buf = wpabuf_alloc_ext_data(decoded, len);
247 os_free(decoded);
/external/chromium/chrome/browser/sync/util/
H A Duser_settings_unittest.cc244 const std::string decoded = browser_sync::APDecode(encoded); local
245 ASSERT_EQ(test, decoded);
/external/chromium/net/base/
H A Descape_unittest.cc48 const wchar_t* decoded; member in struct:__anon2791::UnescapeAndDecodeCase
341 string16 decoded = UnescapeAndDecodeUTF8URLComponent( local
343 EXPECT_EQ(WideToUTF16Hack(std::wstring(unescape_cases[i].decoded)),
344 decoded);
/external/webkit/Source/WebCore/platform/text/qt/
H A DTextCodecQt.cpp111 QString decoded = m_codec->toUnicode(buf, size, &m_state); local
112 unicode.append(reinterpret_cast_ptr<const UChar*>(decoded.unicode()), decoded.length());
/external/chromium/chrome/browser/ui/webui/
H A Dextension_icon_source.cc50 SkBitmap* decoded = new SkBitmap(); local
51 *decoded = decoder.Decode(data, size);
52 return decoded;
166 SkBitmap* decoded = NULL; local
169 decoded = GetDefaultAppImage();
171 decoded = GetDefaultExtensionImage();
173 *decoded = skia::ImageOperations::Resize(
174 *decoded, skia::ImageOperations::RESIZE_LANCZOS3,
177 FinalizeImage(decoded, request_id);
/external/dbus/dbus/
H A Ddbus-string-util.c148 DBusString decoded; local
160 if (!_dbus_string_init (&decoded))
169 if (!_dbus_string_hex_decode (&encoded, 0, &end, &decoded, 0))
174 if (!_dbus_string_equal (&orig, &decoded))
178 printf ("Original string %d bytes encoded %d bytes decoded %d bytes\n",
181 _dbus_string_get_length (&decoded));
183 s = _dbus_string_get_const_data (&decoded);
185 _dbus_assert_not_reached ("original string not the same as string decoded from hex");
190 _dbus_string_free (&decoded);
H A Ddbus-internals.c653 DBusString decoded; local
662 if (!_dbus_string_init (&decoded))
684 if (!_dbus_string_hex_decode (&contents, 0, &end, &decoded, 0))
698 if (_dbus_string_get_length (&decoded) != DBUS_UUID_LENGTH_BYTES)
703 _dbus_string_get_length (&decoded),
708 _dbus_string_copy_to_buffer (&decoded, uuid->as_bytes, DBUS_UUID_LENGTH_BYTES);
710 _dbus_string_free (&decoded);
720 _dbus_string_free (&decoded);
H A Ddbus-sha.c558 DBusString *decoded)
621 if (byte_containing_next_bit >= _dbus_string_get_length (decoded))
623 if (!_dbus_string_set_length (decoded, byte_containing_next_bit + 1))
627 old_byte = _dbus_string_get_byte (decoded, byte_containing_next_bit);
636 _dbus_string_set_byte (decoded, byte_containing_next_bit, old_byte);
648 if (_dbus_string_get_length (decoded) != length_bytes)
651 length_bytes, n_bits, _dbus_string_get_length (decoded));
557 decode_compact_string(const DBusString *line, DBusString *decoded) argument
H A Ddbus-auth.c92 DBusString *decoded);
1611 DBusString decoded; local
1613 if (!_dbus_string_init (&decoded))
1616 if (!_dbus_string_hex_decode (args, 0, &end, &decoded, 0))
1618 _dbus_string_free (&decoded);
1624 _dbus_string_free (&decoded);
1632 if (_dbus_string_validate_ascii (&decoded, 0,
1633 _dbus_string_get_length (&decoded)))
1636 _dbus_string_get_const_data (&decoded));
1639 if (!(* data_func) (auth, &decoded))
[all...]
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_wave.c118 Uint8 *freeable, *encoded, *decoded; local
136 decoded = *audio_buf;
170 decoded[0] = state[0]->iSamp2&0xFF;
171 decoded[1] = state[0]->iSamp2>>8;
172 decoded += 2;
174 decoded[0] = state[1]->iSamp2&0xFF;
175 decoded[1] = state[1]->iSamp2>>8;
176 decoded += 2;
178 decoded[0] = state[0]->iSamp1&0xFF;
179 decoded[
296 Fill_IMA_ADPCM_block(Uint8 *decoded, Uint8 *encoded, int channel, int numchannels, struct IMA_ADPCM_decodestate *state) argument
326 Uint8 *freeable, *encoded, *decoded; local
[all...]
/external/icu4c/test/intltest/
H A Dcsdetest.cpp177 UChar *decoded = NULL; local
205 decoded = NEW_ARRAY(UChar, testLength);
206 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status);
208 if (testString.compare(decoded, dLength) != 0) {
213 if(testString[i] != decoded[i]) {
222 DELETE_ARRAY(decoded);
/external/chromium/chrome/browser/extensions/
H A Dextension_updater_unittest.cc419 std::string decoded = UnescapeURLComponent(parts[1], local
422 ExtractParameters(decoded, &params);
471 std::string decoded = UnescapeURLComponent(parts[1], local
474 ExtractParameters(decoded, &params);
/external/chromium/chrome/browser/safe_browsing/
H A Dsafe_browsing_util.cc466 static void DecodeWebSafe(std::string* decoded) { argument
467 DCHECK(decoded);
468 for (std::string::iterator i(decoded->begin()); i != decoded->end(); ++i) {
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps_upnp_web.c778 unsigned char *decoded; local
786 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len);
788 if (decoded == NULL) {
793 buf = wpabuf_alloc_ext_data(decoded, len);
795 os_free(decoded);
/external/webkit/Source/WebCore/platform/
H A DKURL.cpp957 String decoded = (encoding.isValid() ? encoding : UTF8Encoding()).decode(buffer.data(), p - buffer.data()); local
958 if (decoded.isEmpty())
961 // Build up the string with what we just skipped and what we just decoded.
963 result.append(decoded.characters(), decoded.length());
1723 CString decoded = pathEncoding.encode(s.data(), s.size(), URLEncodedEntitiesForUnencodables); local
1724 output.resize(decoded.length());
1725 memcpy(output.data(), decoded.data(), decoded.length());
/external/webkit/Tools/DumpRenderTree/qt/
H A DLayoutTestControllerQt.cpp371 QString decoded = QUrl::fromAce(host.toLatin1() + QByteArray(".no")); local
372 decoded.truncate(decoded.length() - 3);
373 return decoded;
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Dtncc.c674 unsigned char *decoded; local
686 decoded = base64_decode((unsigned char *) pos, os_strlen(pos),
689 if (decoded == NULL) {
693 return decoded;
745 unsigned char *decoded; local
827 decoded = tncc_get_base64(start, &decoded_len);
828 if (decoded == NULL) {
834 tncc_send_to_imcs(tncc, type, decoded, decoded_len);
836 os_free(decoded);
874 decoded
[all...]

Completed in 822 milliseconds

12