/external/chromium/chrome/browser/importer/ |
importer.cc | 34 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/webkit/Source/WebCore/dom/ |
DecodedDataDocumentParser.cpp | 46 String decoded = decoder->decode(data, length); local 48 decoded += decoder->flush(); 49 if (decoded.isEmpty()) 54 append(decoded);
|
/external/chromium/base/ |
base64_unittest.cc | 19 std::string encoded, decoded; local 26 ok = base::Base64Decode(encoded, &decoded); 28 EXPECT_EQ(kText, decoded);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.h | 54 std::string UrlEncodeString(const std::string & decoded); 56 const std::string & decoded); 57 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
|
urlencode.cc | 173 InternalUrlEncodeString(const std::string & decoded, 176 size_t needed_length = decoded.length() * 3 + 1; 178 InternalUrlEncode(decoded.c_str(), buf, needed_length, 184 UrlEncodeString(const std::string & decoded) { 185 return InternalUrlEncodeString(decoded, true, false); 189 UrlEncodeStringWithoutEncodingSpaceAsPlus(const std::string & decoded) { 190 return InternalUrlEncodeString(decoded, false, false); 194 UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded) { 195 return InternalUrlEncodeString(decoded, false, true);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TSTInfoTest.java | 64 TSTInfo decoded = (TSTInfo) TSTInfo.ASN1.decode(encoding); local 66 assertEquals("Decoded version is incorrect", info.getVersion(), decoded 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy()); 69 assertTrue("Decoded messageImprint is incorrect", Arrays.equals( 71 .encode(decoded.getMessageImprint()))); 72 assertEquals("Decoded serialNumber is incorrect", BigInteger.TEN, 73 decoded.getSerialNumber()); 74 assertEquals("Decoded genTime is incorrect", genTime, decode [all...] |
TimeStampReqTest.java | 53 TimeStampReq decoded = (TimeStampReq) TimeStampReq.ASN1 local 55 assertEquals("Decoded version is incorrect", req.getVersion(), decoded 57 assertTrue("Decoded messageImprint is incorrect", Arrays.equals( 59 .encode(decoded.getMessageImprint()))); 60 assertEquals("Decoded reqPolicy is incorrect", reqPolicy, decoded 62 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce()); 63 assertFalse("Decoded certReq is incorrect", decoded.getCertReq( [all...] |
PKIStatusInfoTest.java | 43 PKIStatusInfo decoded = (PKIStatusInfo) PKIStatusInfo.ASN1 local 46 assertEquals(info.getStatus(), decoded.getStatus()); 47 List decodedStString = decoded.getStatusString(); 51 assertEquals(info.getFailInfo(), decoded.getFailInfo());
|
/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...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Integer.java | 92 * Converts decoded ASN.1 Integer to int value. 96 * @param decoded a decoded object corresponding to this type 97 * @return decoded int value. 99 public static int toIntValue(Object decoded) { 100 return new BigInteger((byte[]) decoded).intValue(); 104 * Converts decoded ASN.1 Integer to a BigInteger. 106 * @param decoded a decoded object corresponding to this type 107 * @return decoded BigInteger value [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 46 String decoded = formatIpAddress(ipAddress); local 47 assertTrue(decoded, decoded.equals("::1") || decoded.equals("0:0:0:0:0:0:0:1"));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 68 CertificationRequestInfo decoded = local 72 // check what was decoded 73 assertEquals(certReqInfo.getVersion(), decoded.getVersion()); 75 decoded.getSubject().getName(X500Principal.CANONICAL)); 77 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded())); 81 AttributeTypeAndValue decodedATaV = (AttributeTypeAndValue) decoded
|
CertificationRequestTest.java | 71 CertificationRequest decoded = (CertificationRequest) CertificationRequest.ASN1 local 74 // check what was decoded 83 assertEquals(certReq.getAlgId(), decoded.getAlgId()); 84 assertTrue(Arrays.equals(certReq.getSignature(), decoded.getSignature()));
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 295 String decoded; local 309 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); 312 if (null == decoded) { 314 decoded = ""; 317 return decoded; 322 String decoded = ""; local 324 decoded = new String(input, "UTF-8"); 330 return decoded; 335 String decoded = ""; local 337 decoded = new String(input, "UTF-16") 360 String decoded = original; local [all...] |
/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...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
UriSource.java | 44 String decoded = URLDecoder.decode(segment[1]); local 45 return new UriImage(mApplication, path, Uri.parse(decoded));
|
/packages/inputmethods/PinyinIME/lib/com/android/inputmethod/pinyin/ |
IPinyinDecoderService.aidl | 27 String imGetPyStr(boolean decoded); 28 int imGetPyStrLen(boolean decoded);
|
/external/chromium/chrome/browser/ |
user_style_sheet_watcher_unittest.cc | 51 std::string decoded; local 52 ASSERT_TRUE(base::Base64Decode(result, &decoded)); 53 ASSERT_EQ(css_file_contents, decoded);
|
/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/chromium/chrome/browser/extensions/ |
image_loading_tracker.cc | 67 scoped_ptr<SkBitmap> decoded(new SkBitmap()); 68 *decoded = decoder.Decode(data, file_contents.length()); 69 if (decoded->empty()) { 74 gfx::Size original_size(decoded->width(), decoded->height()); 76 if (decoded->width() > max_size.width() || 77 decoded->height() > max_size.height()) { 79 *decoded = skia::ImageOperations::Resize( 80 *decoded, skia::ImageOperations::RESIZE_LANCZOS3, 84 ReportBack(decoded.release(), resource, original_size, id) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
PolicyQualifierInfoTest.java | 94 Object[] decoded = local 100 myIntValue, ((int[])decoded[0])[8]); 103 (byte)myIntValue, ((byte[])decoded[1])[2]); 127 Object[] decoded = local 133 myIntValue, ((int[])decoded[0])[8]); 136 (byte)myIntValue, ((byte[])decoded[1])[2]);
|
/frameworks/base/core/java/android/net/ |
Uri.java | 179 * @return the decoded scheme-specific-part 191 * @return the decoded scheme-specific-part 196 * Gets the decoded authority part of this URI. For 218 * Gets the decoded user information from the authority. 253 * Gets the decoded path. 255 * @return the decoded path, or null if this is not a hierarchical URI 269 * Gets the decoded query component from this URI. The query comes after 274 * @return the decoded query or null if there isn't one 289 * Gets the decoded fragment part of this URI, everything after the '#'. 291 * @return the decoded fragment or null if there isn't on 1905 StringBuilder decoded = null; local 2008 volatile String decoded; field in class:Uri.AbstractPart [all...] |
/external/wpa_supplicant_8/src/wps/ |
upnp_xml.c | 229 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/ui/webui/ |
extension_icon_source.cc | 50 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);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 267 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, 128, 0, language, 0); local 268 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, language, 0); 270 assertEquals(sBasicTables[language], decoded); 344 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, local 346 byte[] reEncoded = GsmAlphabet.stringToGsm7BitPacked(decoded, 0, language); 348 assertEquals(sExtendedTables[language], decoded); 419 String decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, local 422 assertEquals(defaultTable.toString(), decoded); local 424 decoded = GsmAlphabet.gsm7BitPackedToString(septets, 0, numSeptets, 0, 1, language); 425 assertEquals(turkishTable.toString(), decoded); local 428 assertEquals(portugueseTable.toString(), decoded); local [all...] |