/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/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]);
|
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
opts.h | 239 const struct cl_decoded_option *decoded, 257 bool (*unknown_option_callback) (const struct cl_decoded_option *decoded); 261 void (*wrong_lang_callback) (const struct cl_decoded_option *decoded, 265 void (*post_handling_callback) (const struct cl_decoded_option *decoded, 332 struct cl_decoded_option *decoded); 334 struct cl_decoded_option *decoded); 337 struct cl_decoded_option *decoded, 358 const struct cl_decoded_option *decoded, 365 const struct cl_decoded_option *decoded,
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/ |
opts.h | 239 const struct cl_decoded_option *decoded, 257 bool (*unknown_option_callback) (const struct cl_decoded_option *decoded); 261 void (*wrong_lang_callback) (const struct cl_decoded_option *decoded, 265 void (*post_handling_callback) (const struct cl_decoded_option *decoded, 332 struct cl_decoded_option *decoded); 334 struct cl_decoded_option *decoded); 337 struct cl_decoded_option *decoded, 358 const struct cl_decoded_option *decoded, 365 const struct cl_decoded_option *decoded,
|
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/ |
opts.h | 239 const struct cl_decoded_option *decoded, 257 bool (*unknown_option_callback) (const struct cl_decoded_option *decoded); 261 void (*wrong_lang_callback) (const struct cl_decoded_option *decoded, 265 void (*post_handling_callback) (const struct cl_decoded_option *decoded, 332 struct cl_decoded_option *decoded); 334 struct cl_decoded_option *decoded); 337 struct cl_decoded_option *decoded, 358 const struct cl_decoded_option *decoded, 365 const struct cl_decoded_option *decoded,
|
/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);
|