Searched refs:decoded (Results 1 - 25 of 163) sorted by relevance

1234567

/external/chromium_org/chrome/utility/importer/
H A Dfavicon_reencode.cc19 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/
H A Dbase64_unittest.cc16 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/
H A DTranscoderFactory.java10 private Class decoded; field in class:TranscoderFactory.MultiClassKey
15 public MultiClassKey(Class decoded, Class transcoded) { argument
16 this.decoded = decoded;
20 public void set(Class decoded, Class transcoded) { argument
21 this.decoded = decoded;
28 "decoded=" + decoded +
44 if (!decoded
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Durlencode.h39 std::string UrlEncodeString(const std::string & decoded);
41 const std::string & decoded);
42 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
H A Durlencode.cc156 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/chromium_org/v8/test/mjsunit/regress/
H A Dregress-244.js50 var decoded = String.fromCharCode(kLegalPairs[i][0]);
52 assertEquals(decodeURI(encoded), decoded);
53 assertEquals(encodeURI(decoded), encoded);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
H A DTSTInfoTest.java64 TSTInfo decoded = (TSTInfo) TSTInfo.ASN1.decode(encoding);
66 assertEquals("Decoded version is incorrect", info.getVersion(), decoded
68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy());
71 .encode(decoded.getMessageImprint())));
73 decoded.getSerialNumber());
74 assertEquals("Decoded genTime is incorrect", genTime, decoded
77 decoded.getAccuracy()));
78 assertFalse("Decoded ordering is incorrect", decoded.getOrdering()
80 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce());
81 assertEquals("Decoded tsa is incorrect", tsa, decoded
[all...]
H A DTimeStampReqTest.java53 TimeStampReq decoded = (TimeStampReq) TimeStampReq.ASN1
55 assertEquals("Decoded version is incorrect", req.getVersion(), decoded
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()
65 assertEquals("Decoded extensions is incorrect", exts, decoded
H A DPKIStatusInfoTest.java43 PKIStatusInfo decoded = (PKIStatusInfo) PKIStatusInfo.ASN1
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/
H A Dbase64_test.c24 const char *decoded; member in struct:__anon11610
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, re
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface/
H A Dilbc.h177 * - 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/
H A Dopus_interface.c227 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| equal
225 DecodeNative(OpusDecoder* inst, const int16_t* encoded, int16_t encoded_bytes, int frame_size, int16_t* decoded, int16_t* audio_type) argument
242 DecodeFec(OpusDecoder* inst, const int16_t* encoded, int16_t encoded_bytes, int frame_size, int16_t* decoded, int16_t* audio_type) argument
259 WebRtcOpus_DecodeNew(OpusDecInst* inst, const uint8_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
278 WebRtcOpus_Decode(OpusDecInst* inst, const int16_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
313 WebRtcOpus_DecodeSlave(OpusDecInst* inst, const int16_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
342 WebRtcOpus_DecodePlc(OpusDecInst* inst, int16_t* decoded, int16_t number_of_lost_frames) argument
363 WebRtcOpus_DecodePlcMaster(OpusDecInst* inst, int16_t* decoded, int16_t number_of_lost_frames) argument
402 WebRtcOpus_DecodePlcSlave(OpusDecInst* inst, int16_t* decoded, int16_t number_of_lost_frames) argument
439 WebRtcOpus_DecodeFec(OpusDecInst* inst, const uint8_t* encoded, int16_t encoded_bytes, int16_t* decoded, int16_t* audio_type) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder_impl.cc44 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) { argument
145 decoded, num_frame
43 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
60 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
86 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
132 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
164 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
175 DecodeRedundant(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
187 DecodePlc(int num_frames, int16_t* decoded) argument
235 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
277 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
312 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
401 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
421 DecodePlc(int num_frames, int16_t* decoded) argument
449 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
461 DecodeRedundant(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
[all...]
H A Daudio_decoder_impl.h31 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, SpeechTyp
262 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
[all...]
/external/chromium_org/components/enhanced_bookmarks/
H A Dmetadata_accessor.cc30 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(DataForMetaInfoFiel
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g711/include/
H A Dg711_interface.h84 * - 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/
H A Dhexadecimalencoder.cc36 std::vector<uint8_t> decoded(bytes, bytes + length);
39 return decoded;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDecodingImageGenerator.cpp82 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/codecs/opus/interface/
H A Dopus_interface.h182 * - 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/
H A DCertificationRequestInfoTest.java67 CertificationRequestInfo decoded =
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/
H A Dpng_codec_unittest.cc290 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...]
H A Djpeg_codec_unittest.cc115 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/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_wave.c118 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[
296 Fill_IMA_ADPCM_block(Uint8 *decoded, Uint8 *encoded, int channel, int numchannels, struct IMA_ADPCM_decodestate *state) argument
326 Uint8 *freeable, *encoded, *decoded; local
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddbformat_test.cc37 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));
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDecodedDataDocumentParser.cpp71 // needs to receive decoded bytes.
75 String decoded = m_decoder->decode(data, length);
76 updateDocument(decoded);
83 // needs to receive decoded bytes.

Completed in 599 milliseconds

1234567