/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_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...] |
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...] |
/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 | 51 uint64 decoded; member in struct:net::test::__anon14088::TestCase 84 EXPECT_TRUE(writer.WriteUFloat16(test_cases[i].decoded)); 92 uint64 decoded; member in struct:net::test::__anon14088::TestCase 123 EXPECT_EQ(test_cases[i].decoded, value);
|
/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/chromium_org/third_party/WebKit/Source/platform/graphics/ |
DecodingImageGenerator.cpp | 82 bool decoded = m_frameGenerator->decodeAndScale(m_imageInfo, m_frameIndex, pixels, rowBytes); local 84 return decoded; 97 bool decoded = m_frameGenerator->decodeToYUV(sizes, planes, rowBytes); local 101 return decoded;
|
/external/chromium_org/third_party/boringssl/src/crypto/base64/ |
base64_test.c | 24 const char *decoded; member in struct:__anon16235 48 len = EVP_EncodeBlock(out, (const uint8_t*)t->decoded, strlen(t->decoded)); 52 t->decoded, (int)len, (const char*)out, t->encoded); 67 size_t expected_len = strlen(t->decoded); 73 if (len != strlen(t->decoded) || 74 memcmp(out, t->decoded, len) != 0) { 76 t->encoded, (int)len, (const char*)out, t->decoded); 94 if (ret != strlen(t->decoded) || 95 memcmp(out, t->decoded, ret) != 0) [all...] |
/external/chromium_org/ui/gfx/image/ |
image_util_unittest.cc | 22 gfx::Image decoded = local 25 // JPEG is lossy, so simply check that the image decoded successfully. 26 EXPECT_FALSE(decoded.IsEmpty());
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/ |
CertificationRequestInfoTest.java | 67 CertificationRequestInfo decoded = local 71 // check what was decoded 72 assertEquals(certReqInfo.getVersion(), decoded.getVersion()); 74 decoded.getSubject().getName(X500Principal.CANONICAL)); 76 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded())); 80 AttributeTypeAndValue decodedATaV = (AttributeTypeAndValue) decoded
|
CertificationRequestTest.java | 69 CertificationRequest decoded = (CertificationRequest) CertificationRequest.ASN1 local 72 // check what was decoded 81 assertEquals(certReq.getAlgId(), decoded.getAlgId()); 82 assertTrue(Arrays.equals(certReq.getSignature(), decoded.getSignature()));
|
/art/runtime/ |
leb128_test.cc | 25 uint32_t decoded; member in struct:art::DecodeUnsignedLeb128TestCase 44 int32_t decoded; member in struct:art::DecodeSignedLeb128TestCase 97 builder.PushBackUnsigned(uleb128_tests[i].decoded); 98 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), builder.GetData().size()); 108 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 116 uint8_t* end = EncodeUnsignedLeb128(encoded_data, uleb128_tests[i].decoded); 118 EXPECT_EQ(UnsignedLeb128Size(uleb128_tests[i].decoded), data_size); 127 EXPECT_EQ(DecodeUnsignedLeb128(&data_ptr), uleb128_tests[i].decoded) << " i = " << i; 135 builder.PushBackUnsigned(uleb128_tests[i].decoded); 140 for (size_t j = 0; j < UnsignedLeb128Size(uleb128_tests[i].decoded); ++j) [all...] |
/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/third_party/webrtc/base/ |
stringencode_unittest.cc | 22 unsigned long decoded; member in struct:rtc::Utf8Test 42 unsigned long result = (kTests[i].enclen == 0) ? 0 : kTests[i].decoded; 45 if (kTests[i].decoded == 0) { 54 kTests[i].decoded));
|
/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/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]);
|
/external/chromium_org/components/policy/core/common/cloud/ |
policy_header_service_unittest.cc | 67 std::string decoded; local 68 base::Base64Decode(header, &decoded); 70 scoped_ptr<base::Value> value(base::JSONReader::Read(decoded));
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
DecodeEscapeSequences.h | 141 String decoded = string.is8Bit() ? local 145 if (decoded.isEmpty()) 149 result.append(decoded);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/test/ |
testG711.cc | 59 int16_t decoded[480]; local 138 err = WebRtcG711_DecodeA(NULL, streamdata, stream_len, decoded, 150 err = WebRtcG711_DecodeU(NULL, streamdata, stream_len, decoded, 161 if (fwrite(decoded, sizeof(short), framelength, outp) !=
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/test/ |
testG722.cc | 64 int16_t decoded[960]; local 127 err = WebRtcG722_Decode((G722DecInst *)G722dec_inst, streamdata, stream_len, decoded, speechType); 142 if (fwrite(decoded, sizeof(short), framelength,
|