/external/chromium_org/chrome/utility/importer/ |
favicon_reencode.cc | 19 SkBitmap decoded = content::DecodeImage( local 23 if (decoded.empty()) 26 if (decoded.width() != gfx::kFaviconSize || 27 decoded.height() != gfx::kFaviconSize) { 29 int new_width = decoded.width(); 30 int new_height = decoded.height(); 32 decoded = skia::ImageOperations::Resize( 33 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height); 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data);
|
/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/chromium_org/base/ |
base64_unittest.cc | 16 std::string decoded; local 22 ok = Base64Decode(encoded, &decoded); 24 EXPECT_EQ(kText, 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_org/ui/gfx/image/ |
image_util_unittest.cc | 20 gfx::Image decoded = local 23 // JPEG is lossy, so simply check that the image decoded successfully. 24 EXPECT_FALSE(decoded.IsEmpty());
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
SubjectAlternativeNameTest.java | 41 String decoded = formatIpAddress(mappedAddress); local 42 assertTrue(decoded, 43 decoded.equals("127.0.0.1") || decoded.equalsIgnoreCase("::ffff:127.0.0.1")); 48 String decoded = formatIpAddress(ipAddress); local 49 assertTrue(decoded, decoded.equals("::1") || decoded.equals("0:0:0:0:0:0:0:1"));
|
/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/chromium_org/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 int needed_length = static_cast<int>(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());
|
/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...] |
/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
|
/external/chromium_org/ui/gfx/codec/ |
png_codec_unittest.cc | 277 std::vector<unsigned char> decoded; local 280 PNGCodec::FORMAT_RGB, &decoded, 284 ASSERT_EQ(original.size(), decoded.size()); 287 ASSERT_TRUE(original == decoded); 306 std::vector<unsigned char> decoded; local 309 PNGCodec::FORMAT_RGBA, &decoded, 313 ASSERT_EQ(original.size(), decoded.size()); 316 ASSERT_TRUE(original == decoded); 335 std::vector<unsigned char> decoded; local 338 PNGCodec::FORMAT_BGRA, &decoded, 368 std::vector<unsigned char> decoded; local 413 std::vector<unsigned char> decoded; local 456 std::vector<unsigned char> decoded; local 493 std::vector<unsigned char> decoded; local 529 std::vector<unsigned char> decoded; local 566 std::vector<unsigned char> decoded; local 603 std::vector<unsigned char> decoded; local 641 std::vector<unsigned char> decoded; local 679 std::vector<unsigned char> decoded; local 708 std::vector<unsigned char> decoded; local 737 std::vector<unsigned char> decoded; local 774 std::vector<unsigned char> decoded; local 811 std::vector<unsigned char> decoded; local 944 std::vector<unsigned char> decoded; local 1140 SkBitmap decoded; local [all...] |
jpeg_codec_unittest.cc | 115 std::vector<unsigned char> decoded; local 118 JPEGCodec::FORMAT_RGB, &decoded, 122 ASSERT_EQ(original.size(), decoded.size()); 126 ASSERT_GE(jpeg_equality_threshold, AveragePixelDelta(original, decoded)); 153 std::vector<unsigned char> decoded; local 156 JPEGCodec::FORMAT_RGBA, &decoded, 160 ASSERT_EQ(original.size(), decoded.size()); 164 ASSERT_GE(jpeg_equality_threshold, AveragePixelDelta(original, decoded)); 201 // This test decodes a 1x1 JPEG image and writes the decoded RGB (or RGBA) pixel
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 292 String decoded; local 306 decoded = GsmAlphabet.gsm7BitPackedToString(input, 0, lengthSeptets); 309 if (null == decoded) { 311 decoded = ""; 314 return decoded; 319 String decoded = ""; local 321 decoded = new String(input, "UTF-8"); 327 return decoded; 332 String decoded = ""; local 334 decoded = new String(input, "UTF-16") 357 String decoded = original; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
SDL_wave.c | 118 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[1] = state[0]->iSamp1>>8 326 Uint8 *freeable, *encoded, *decoded; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
dbformat_test.cc | 37 ParsedInternalKey decoded("", 0, kTypeValue); 39 ASSERT_TRUE(ParseInternalKey(in, &decoded)); 40 ASSERT_EQ(key, decoded.user_key.ToString()); 41 ASSERT_EQ(seq, decoded.sequence); 42 ASSERT_EQ(vt, decoded.type); 44 ASSERT_TRUE(!ParseInternalKey(Slice("bar"), &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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/ |
quoprimime.py | 194 character "=" appended to them, so the decoded text will be identical to 280 # decoded string with string concatenation, which could be done much more 282 decoded = '' 287 decoded += eol 295 decoded += c 304 decoded += unquote(line[i:i+3]) 308 decoded += c 312 decoded += eol 314 if not encoded.endswith(eol) and decoded.endswith(eol): 315 decoded = decoded[:-1 [all...] |