/external/chromium/base/ |
base64_unittest.cc | 19 std::string encoded, decoded; local 26 ok = base::Base64Decode(encoded, &decoded); 28 EXPECT_EQ(kText, decoded);
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_verify_hash.c | 74 /* 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/animator/ |
SkBase64.cpp | 63 signed char decoded = decodeData[srcByte - '+']; local 64 bytes[byte] = decoded; 65 if (decoded < 0) { 66 if (decoded == DecodePad)
|
/libcore/luni/src/main/java/java/security/cert/ |
PolicyQualifierInfo.java | 46 * the policy qualifier cannot be decoded. 59 Object[] decoded = (Object[]) org.apache.harmony.security.x509.PolicyQualifierInfo.ASN1 local 61 policyQualifierId = ObjectIdentifier.toString((int[]) decoded[0]); 62 policyQualifier = (byte[]) decoded[1];
|
/external/webkit/WebCore/platform/text/qt/ |
TextCodecQt.cpp | 112 QString decoded = m_codec->toUnicode(buf, size, &m_state); local 113 unicode.append(decoded);
|
/external/chromium/net/base/ |
escape_unittest.cc | 43 const wchar_t* decoded; member in struct:__anon2525::UnescapeAndDecodeCase 332 string16 decoded = UnescapeAndDecodeUTF8URLComponent( local 334 EXPECT_EQ(WideToUTF16Hack(std::wstring(unescape_cases[i].decoded)), 335 decoded);
|
net_util.cc | 226 std::string decoded; local 228 if (!base::Base64Decode(part, &decoded)) { 232 if (!QPDecode(part, &decoded)) { 246 int length = static_cast<int>(decoded.length()); 249 decoded.data(), length, &err); 397 std::string decoded; local 399 &decoded)) 401 tmp.append(decoded); 826 std::string decoded; 827 if (DecodeParamValue(param_value, referrer_charset, &decoded)) [all...] |
/external/dbus/dbus/ |
dbus-string-util.c | 146 DBusString decoded; local 158 if (!_dbus_string_init (&decoded)) 167 if (!_dbus_string_hex_decode (&encoded, 0, &end, &decoded, 0)) 172 if (!_dbus_string_equal (&orig, &decoded)) 176 printf ("Original string %d bytes encoded %d bytes decoded %d bytes\n", 179 _dbus_string_get_length (&decoded)); 181 s = _dbus_string_get_const_data (&decoded); 182 printf ("Decoded: %s\n", s); 183 _dbus_assert_not_reached ("original string not the same as string decoded from hex"); 188 _dbus_string_free (&decoded); [all...] |
dbus-internals.c | 562 DBusString decoded; local 566 _dbus_string_init (&decoded); 583 if (!_dbus_string_hex_decode (&contents, 0, &end, &decoded, 0)) 597 if (_dbus_string_get_length (&decoded) != DBUS_UUID_LENGTH_BYTES) 602 _dbus_string_get_length (&decoded), 607 _dbus_string_copy_to_buffer (&decoded, uuid->as_bytes, DBUS_UUID_LENGTH_BYTES); 609 _dbus_string_free (&decoded); 619 _dbus_string_free (&decoded);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 241 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128); local 242 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded);
|
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
DecoderUtil.java | 46 * @return the decoded bytes.
75 * @return the decoded bytes.
106 * @return the decoded string.
122 * @return the decoded string.
154 * @return the decoded string.
196 String decoded = decodeEncodedWord(body, begin, end);
local 197 if (decoded == null) {
204 sb.append(decoded);
208 previousWasEncoded = decoded != null;
|
/external/bluetooth/bluez/src/ |
sdp-xml.c | 637 char buf[3], *decoded; local 640 decoded = malloc((len >> 1) + 1); 651 decoded[i >> 1] = strtoul(buf, 0, 16); 654 decoded[len >> 1] = '\0'; 655 text = decoded;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_wave.c | 120 Uint8 *freeable, *encoded, *decoded; local 138 decoded = *audio_buf; 172 decoded[0] = state[0]->iSamp2&0xFF; 173 decoded[1] = state[0]->iSamp2>>8; 174 decoded += 2; 176 decoded[0] = state[1]->iSamp2&0xFF; 177 decoded[1] = state[1]->iSamp2>>8; 178 decoded += 2; 180 decoded[0] = state[0]->iSamp1&0xFF; 181 decoded[1] = state[0]->iSamp1>>8 330 Uint8 *freeable, *encoded, *decoded; local [all...] |
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
LayoutTestControllerQt.cpp | 283 QString decoded = QUrl::fromAce(host.toLatin1() + QByteArray(".no")); local 284 decoded.truncate(decoded.length() - 3); 285 return decoded;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
ViewNode.java | 59 public boolean decoded; field in class:ViewNode 91 decoded = true;
|
/external/bluetooth/glib/gio/ |
gdummyfile.c | 67 static char * _g_encode_uri (GDecodedUri *decoded); 68 static void _g_decoded_uri_free (GDecodedUri *decoded); 500 _g_decoded_uri_free (GDecodedUri *decoded) 502 if (decoded == NULL) 505 g_free (decoded->scheme); 506 g_free (decoded->query); 507 g_free (decoded->fragment); 508 g_free (decoded->userinfo); 509 g_free (decoded->host); 510 g_free (decoded->path) 528 GDecodedUri *decoded; local [all...] |
/external/chromium/third_party/icu/source/test/intltest/ |
csdetest.cpp | 174 UChar *decoded = NULL; local 202 decoded = NEW_ARRAY(UChar, testLength); 203 dLength = ucsdet_getUChars(matches[0], decoded, testLength, &status); 205 if (testString.compare(decoded, dLength) != 0) { 210 if(testString[i] != decoded[i]) { 219 DELETE_ARRAY(decoded);
|
/external/icu4c/test/intltest/ |
csdetest.cpp | 177 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/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_web.c | 778 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); [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 345 String decoded = ""; local 347 decoded = new String(input, "UTF-8"); 353 return decoded; 358 String decoded = ""; local 360 decoded = new String(input, "UTF-16"); 366 return decoded; 371 * @param original The text string to be decoded 376 * to the <code> coding </code>, after a Hex string is decoded. Generally, if the 379 * @return the decoded string 383 String decoded = original local [all...] |
/libcore/luni/src/test/java/tests/api/java/io/ |
InputStreamReaderTest.java | 743 char decoded = decodedSuffix[at - prefixLength]; local 744 if (c != decoded) {
|
OutputStreamWriterTest.java | 569 char[] decoded = new char[maxChar]; local 571 r += charsIn.read(decoded, r, maxChar - r); 575 assertEquals(i, decoded[i]);
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
AddressUnitTests.java | 86 String decoded = DecoderUtil.decodeEncodedWords(encoded); local 88 assertEquals(""+i, prefix, decoded);
|
/frameworks/base/core/java/android/net/ |
Uri.java | 177 * @return the decoded scheme-specific-part 189 * @return the decoded scheme-specific-part 194 * Gets the decoded authority part of this URI. For 216 * Gets the decoded user information from the authority. 251 * Gets the decoded path. 253 * @return the decoded path, or null if this is not a hierarchical URI 267 * Gets the decoded query component from this URI. The query comes after 272 * @return the decoded query or null if there isn't one 287 * Gets the decoded fragment part of this URI, everything after the '#'. 289 * @return the decoded fragment or null if there isn't on 1800 StringBuilder decoded = null; local 1903 volatile String decoded; field in class:Uri.AbstractPart [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
tncc.c | 674 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 = NULL [all...] |