/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/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
TranscoderFactory.java | 10 private Class decoded; field in class:TranscoderFactory.MultiClassKey 15 public MultiClassKey(Class decoded, Class transcoded) { 16 this.decoded = decoded; 20 public void set(Class decoded, Class transcoded) { 21 this.decoded = decoded; 28 "decoded=" + decoded + 44 if (!decoded.equals(that.decoded)) [all...] |
/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_org/third_party/webrtc/base/ |
urlencode.h | 39 std::string UrlEncodeString(const std::string & decoded); 41 const std::string & decoded); 42 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
|
urlencode.cc | 156 InternalUrlEncodeString(const std::string & decoded, 159 int needed_length = static_cast<int>(decoded.length()) * 3 + 1; 161 InternalUrlEncode(decoded.c_str(), buf, needed_length, 167 UrlEncodeString(const std::string & decoded) { 168 return InternalUrlEncodeString(decoded, true, false); 172 UrlEncodeStringWithoutEncodingSpaceAsPlus(const std::string & decoded) { 173 return InternalUrlEncodeString(decoded, false, false); 177 UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded) { 178 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/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/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface/ |
ilbc.h | 177 * - decoded : The decoded vector 180 * Return value : >0 - Samples in decoded vector 187 int16_t *decoded, 192 int16_t *decoded, 197 int16_t *decoded, 212 * - decoded : The "decoded" vector 214 * Return value : >0 - Samples in decoded PLC vector 219 int16_t *decoded, [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 227 int16_t* decoded, int16_t* audio_type) { 229 opus_int16* audio = (opus_int16*) decoded; 244 int16_t* decoded, int16_t* audio_type) { 246 opus_int16* audio = (opus_int16*) decoded; 260 int16_t encoded_bytes, int16_t* decoded, 267 decoded, audio_type); 272 /* Update decoded sample memory, to be used by the PLC in case of losses. */ 279 int16_t encoded_bytes, int16_t* decoded, 291 kWebRtcOpusMaxFrameSizePerChannel, decoded, 298 * case of stereo. Number of samples in |decoded| equals |decoded_samples [all...] |
/external/chromium_org/components/enhanced_bookmarks/ |
metadata_accessor.cc | 30 std::string decoded; 31 bool result = base::Base64Decode((*it).second, &decoded); 35 return decoded; 119 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); 123 if (decoded != "") { 125 bool result = data.ParseFromString(decoded); 153 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); 154 if (decoded == "") 158 bool result = data.ParseFromString(decoded); 172 std::string decoded(DataForMetaInfoField(node, kImageDataKey)) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/include/ |
g711_interface.h | 84 * - decoded : The decoded vector 89 * Return value : >0 - Samples in decoded vector 96 int16_t* decoded, 111 * - decoded : The decoded vector 116 * Return value : >0 - Samples in decoded vector 123 int16_t* decoded,
|
/external/google-tv-pairing-protocol/cpp/src/polo/encoding/ |
hexadecimalencoder.cc | 36 std::vector<uint8_t> decoded(bytes, bytes + length); 39 return decoded;
|
/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/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/webrtc/modules/audio_coding/neteq/ |
audio_decoder_impl.h | 31 int16_t* decoded, SpeechType* speech_type); 43 int16_t* decoded, SpeechType* speech_type); 80 int16_t* decoded, SpeechType* speech_type); 106 int16_t* decoded, SpeechType* speech_type); 108 virtual int DecodePlc(int num_frames, int16_t* decoded); 122 int16_t* decoded, SpeechType* speech_type); 124 int16_t* decoded, SpeechType* speech_type); 126 virtual int DecodePlc(int num_frames, int16_t* decoded); 162 int16_t* decoded, SpeechType* speech_type); 182 int16_t* decoded, SpeechType* speech_type) [all...] |
audio_decoder_impl.cc | 44 int16_t* decoded, SpeechType* speech_type) { 48 static_cast<int16_t>(encoded_len), decoded, &temp_type); 61 int16_t* decoded, SpeechType* speech_type) { 65 static_cast<int16_t>(encoded_len), decoded, &temp_type); 87 int16_t* decoded, SpeechType* speech_type) { 91 static_cast<int16_t>(encoded_len), decoded, &temp_type); 133 int16_t* decoded, SpeechType* speech_type) { 137 static_cast<int16_t>(encoded_len), decoded, 143 int AudioDecoderIlbc::DecodePlc(int num_frames, int16_t* decoded) { 145 decoded, num_frames) [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...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/interface/ |
opus_interface.h | 182 * - decoded : The decoded vector 187 * Return value : >0 - Samples per channel in decoded vector 191 int16_t encoded_bytes, int16_t* decoded, 194 int16_t encoded_bytes, int16_t* decoded, 197 int16_t encoded_bytes, int16_t* decoded, 212 * - decoded : The decoded vector 214 * Return value : >0 - number of samples in decoded PLC vector 217 int16_t WebRtcOpus_DecodePlc(OpusDecInst* inst, int16_t* decoded, [all...] |
/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
|
/external/chromium_org/ui/gfx/codec/ |
png_codec_unittest.cc | 290 std::vector<unsigned char> decoded; local 293 PNGCodec::FORMAT_RGB, &decoded, 297 ASSERT_EQ(original.size(), decoded.size()); 300 ASSERT_TRUE(original == decoded); 319 std::vector<unsigned char> decoded; local 322 PNGCodec::FORMAT_RGBA, &decoded, 326 ASSERT_EQ(original.size(), decoded.size()); 329 ASSERT_TRUE(original == decoded); 348 std::vector<unsigned char> decoded; local 351 PNGCodec::FORMAT_BGRA, &decoded, 381 std::vector<unsigned char> decoded; local 426 std::vector<unsigned char> decoded; local 469 std::vector<unsigned char> decoded; local 506 std::vector<unsigned char> decoded; local 542 std::vector<unsigned char> decoded; local 579 std::vector<unsigned char> decoded; local 616 std::vector<unsigned char> decoded; local 654 std::vector<unsigned char> decoded; local 692 std::vector<unsigned char> decoded; local 721 std::vector<unsigned char> decoded; local 750 std::vector<unsigned char> decoded; local 787 std::vector<unsigned char> decoded; local 824 std::vector<unsigned char> decoded; local 957 std::vector<unsigned char> decoded; local 1177 SkBitmap decoded; 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));
|