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

1 2 3 4

  /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());
  /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/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
22 ok = Base64Decode(encoded, &decoded);
24 EXPECT_EQ(kText, decoded);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
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());
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...]
  /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/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/google_apis/gaia/
oauth_request_signer_unittest.cc 68 std::string decoded; local
69 ASSERT_TRUE(OAuthRequestSigner::Decode(encoded, &decoded));
70 ASSERT_EQ(decoded, text);
  /external/chromium_org/net/quic/
quic_data_writer_test.cc 55 uint64 decoded; member in struct:net::test::__anon9303::TestCase
88 EXPECT_TRUE(writer.WriteUFloat16(test_cases[i].decoded));
96 uint64 decoded; member in struct:net::test::__anon9303::TestCase
127 EXPECT_EQ(test_cases[i].decoded, value);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
DecodingImageGenerator.cpp 81 bool decoded = m_frameGenerator->decodeAndScale(m_imageInfo, m_frameIndex, pixels, rowBytes); local
83 return decoded;
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
OidTest.java 127 int[] decoded = (int[]) asn1.decode(new DerInputStream( local
132 decoded));
BitStringTest.java 68 BitString decoded = (BitString) asn1.decode(in); local
71 decoded.unusedBits);
74 decoded.bytes));
83 BitString decoded = (BitString) asn1.decode(in); local
86 decoded.unusedBits);
89 decoded.bytes));
  /external/chromium_org/net/base/
hash_value.cc 60 std::string decoded; local
61 if (!base::Base64Decode(base64_str, &decoded) || decoded.size() != size())
64 memcpy(data(), decoded.data(), size());
  /external/chromium_org/net/cert/
ct_serialization_unittest.cc 119 std::vector<base::StringPiece> decoded; local
121 ASSERT_TRUE(ct::DecodeSCTList(&encoded, &decoded));
122 ASSERT_STREQ("abc", decoded[0].data());
123 ASSERT_STREQ("def", decoded[1].data());
129 std::vector<base::StringPiece> decoded; local
131 ASSERT_FALSE(ct::DecodeSCTList(&encoded, &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/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()));
  /external/chromium_org/third_party/libjingle/source/talk/base/
stringencode_unittest.cc 39 unsigned long decoded; member in struct:talk_base::Utf8Test
59 unsigned long result = (kTests[i].enclen == 0) ? 0 : kTests[i].decoded;
62 if (kTests[i].decoded == 0) {
71 kTests[i].decoded));
  /external/chromium_org/third_party/skia/src/utils/
SkBase64.cpp 55 signed char decoded = decodeData[srcByte - '+']; local
56 bytes[byte] = decoded;
57 if (decoded < 0) {
58 if (decoded == DecodePad)
  /external/chromium_org/ui/gfx/codec/
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
  /external/skia/src/utils/
SkBase64.cpp 55 signed char decoded = decodeData[srcByte - '+']; local
56 bytes[byte] = decoded;
57 if (decoded < 0) {
58 if (decoded == DecodePad)
  /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);
  /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];
  /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"));

Completed in 1291 milliseconds

1 2 3 4