HomeSort by relevance Sort by last modified time
    Searched refs:decoded (Results 1 - 25 of 175) sorted by null

1 2 3 4 5 6 7

  /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/base/
base64_unittest.cc 19 std::string encoded, decoded; local
26 ok = base::Base64Decode(encoded, &decoded);
28 EXPECT_EQ(kText, decoded);
  /external/chromium_org/base/
base64_unittest.cc 16 std::string decoded; local
23 ok = Base64Decode(encoded, &decoded);
25 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());
  /external/chromium_org/third_party/WebKit/Source/core/dom/
DecodedDataDocumentParser.cpp 51 // document's title so that the user doesn't see an incorrectly decoded title
95 String decoded = document()->decoder()->decode(data, length); local
99 if (decoded.isEmpty())
102 size_t consumedChars = decoded.length();
103 append(decoded.releaseImpl());
  /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 276 std::vector<unsigned char> decoded; local
279 PNGCodec::FORMAT_RGB, &decoded,
283 ASSERT_EQ(original.size(), decoded.size());
286 ASSERT_TRUE(original == decoded);
305 std::vector<unsigned char> decoded; local
308 PNGCodec::FORMAT_RGBA, &decoded,
312 ASSERT_EQ(original.size(), decoded.size());
315 ASSERT_TRUE(original == decoded);
334 std::vector<unsigned char> decoded; local
337 PNGCodec::FORMAT_BGRA, &decoded,
367 std::vector<unsigned char> decoded; local
412 std::vector<unsigned char> decoded; local
455 std::vector<unsigned char> decoded; local
492 std::vector<unsigned char> decoded; local
528 std::vector<unsigned char> decoded; local
565 std::vector<unsigned char> decoded; local
602 std::vector<unsigned char> decoded; local
640 std::vector<unsigned char> decoded; local
678 std::vector<unsigned char> decoded; local
707 std::vector<unsigned char> decoded; local
736 std::vector<unsigned char> decoded; local
773 std::vector<unsigned char> decoded; local
810 std::vector<unsigned char> decoded; local
943 std::vector<unsigned char> decoded; local
1141 std::vector<unsigned char> 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);
  /external/chromium_org/chrome/browser/
user_style_sheet_watcher_unittest.cc 54 std::string decoded; local
55 ASSERT_TRUE(base::Base64Decode(result, &decoded));
56 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];

Completed in 1022 milliseconds

1 2 3 4 5 6 7