Searched defs:decoded (Results 1 - 25 of 94) sorted by relevance

1234

/external/chromium_org/base/
H A Dbase64_unittest.cc16 std::string decoded; local
22 ok = Base64Decode(encoded, &decoded);
24 EXPECT_EQ(kText, decoded);
/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/google_apis/gaia/
H A Doauth_request_signer_unittest.cc68 std::string decoded; local
69 ASSERT_TRUE(OAuthRequestSigner::Decode(encoded, &decoded));
70 ASSERT_EQ(decoded, text);
/external/chromium_org/net/quic/
H A Dquic_data_writer_test.cc51 uint64 decoded; member in struct:net::test::__anon9463::TestCase
84 EXPECT_TRUE(writer.WriteUFloat16(test_cases[i].decoded));
92 uint64 decoded; member in struct:net::test::__anon9463::TestCase
123 EXPECT_EQ(test_cases[i].decoded, value);
/external/chromium_org/net/cert/
H A Dct_serialization_unittest.cc119 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/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/neteq/mock/
H A Dmock_external_decoder_pcm16b.h35 int16_t* decoded, SpeechType* speech_type) {
39 static_cast<int16_t>(encoded_len), decoded, &temp_type);
77 int(const uint8_t* encoded, size_t encoded_len, int16_t* decoded,
82 int(int num_frames, int16_t* decoded));
34 Decode(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
/external/chromium_org/ui/gfx/image/
H A Dimage_util_unittest.cc22 gfx::Image decoded = local
25 // JPEG is lossy, so simply check that the image decoded successfully.
26 EXPECT_FALSE(decoded.IsEmpty());
/external/chromium_org/net/base/
H A Dhash_value.cc60 std::string decoded; local
61 if (!base::Base64Decode(base64_str, &decoded) || decoded.size() != size())
64 memcpy(data(), decoded.data(), size());
H A Descape_unittest.cc46 const wchar_t* decoded; member in struct:net::__anon8999::UnescapeAndDecodeCase
364 base::string16 decoded = UnescapeAndDecodeUTF8URLComponent( local
366 EXPECT_EQ(base::WideToUTF16(unescape_cases[i].decoded), decoded); local
/external/chromium_org/third_party/webrtc/base/
H A Dstringencode_unittest.cc22 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/third_party/webrtc/modules/audio_coding/codecs/g711/
H A Dg711_interface.c92 int16_t* decoded,
119 decoded[n] = (int16_t) alaw_to_linear(tempVal);
129 int16_t* decoded,
156 decoded[n] = (int16_t) ulaw_to_linear(tempVal);
89 WebRtcG711_DecodeA(void* state, int16_t* encoded, int16_t len, int16_t* decoded, int16_t* speechType) argument
126 WebRtcG711_DecodeU(void* state, int16_t* encoded, int16_t len, int16_t* decoded, int16_t* speechType) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/
H A Dg722_interface.c91 int16_t *decoded,
97 decoded, (uint8_t*) encoded, len);
88 WebRtcG722_Decode(G722DecInst *G722dec_inst, int16_t *encoded, int16_t len, int16_t *decoded, int16_t *speechType) argument
/external/chromium_org/components/policy/core/common/cloud/
H A Dpolicy_header_service_unittest.cc67 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/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/skia/src/utils/
H A DSkBase64.cpp55 signed char decoded = decodeData[srcByte - '+']; local
56 bytes[byte] = decoded;
57 if (decoded < 0) {
58 if (decoded == DecodePad)
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daudio_decoder.cc21 int16_t* decoded,
23 return Decode(encoded, encoded_len, decoded, speech_type);
28 int AudioDecoder::DecodePlc(int num_frames, int16_t* decoded) { return -1; } argument
19 DecodeRedundant(const uint8_t* encoded, size_t encoded_len, int16_t* decoded, SpeechType* speech_type) argument
/external/chromium_org/ui/gfx/codec/
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/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/skia/src/utils/
H A DSkBase64.cpp55 signed char decoded = decodeData[srcByte - '+']; local
56 bytes[byte] = decoded;
57 if (decoded < 0) {
58 if (decoded == DecodePad)
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dupnp_xml.c229 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);
/external/wpa_supplicant_8/src/wps/
H A Dupnp_xml.c229 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);
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dupnp_xml.c229 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);
/external/chromium_org/chrome/browser/signin/
H A Dlocal_auth.cc79 std::string* decoded,
94 return OSCrypt::DecryptString(unbase64, decoded);
78 DecodePasswordHashRecord(const std::string& encoded, std::string* decoded, char* encoding) argument
/external/chromium_org/extensions/browser/
H A Dcomputed_hashes.cc89 std::string* decoded = &hashes->back(); local
90 if (!base::Base64Decode(encoded, decoded)) {

Completed in 6193 milliseconds

1234