/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_impl.cc | 44 int16_t* decoded, SpeechType* speech_type) { in Decode() argument 48 static_cast<int16_t>(encoded_len), decoded, &temp_type); in Decode() 61 int16_t* decoded, SpeechType* speech_type) { in Decode() argument 65 static_cast<int16_t>(encoded_len), decoded, &temp_type); in Decode() 87 int16_t* decoded, SpeechType* speech_type) { in Decode() argument 91 static_cast<int16_t>(encoded_len), decoded, &temp_type); in Decode() 133 int16_t* decoded, SpeechType* speech_type) { in Decode() argument 137 static_cast<int16_t>(encoded_len), decoded, in Decode() 143 int AudioDecoderIlbc::DecodePlc(int num_frames, int16_t* decoded) { in DecodePlc() argument 145 decoded, num_frames); in DecodePlc() [all …]
|
D | 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 …]
|
/external/chromium_org/chrome/utility/importer/ |
D | favicon_reencode.cc | 19 SkBitmap decoded = content::DecodeImage( in ReencodeFavicon() local 23 if (decoded.empty()) in ReencodeFavicon() 26 if (decoded.width() != gfx::kFaviconSize || in ReencodeFavicon() 27 decoded.height() != gfx::kFaviconSize) { in ReencodeFavicon() 29 int new_width = decoded.width(); in ReencodeFavicon() 30 int new_height = decoded.height(); in ReencodeFavicon() 32 decoded = skia::ImageOperations::Resize( in ReencodeFavicon() 33 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height); in ReencodeFavicon() 37 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); in ReencodeFavicon()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_interface.c | 227 int16_t* decoded, int16_t* audio_type) { in DecodeNative() argument 229 opus_int16* audio = (opus_int16*) decoded; in DecodeNative() 244 int16_t* decoded, int16_t* audio_type) { in DecodeFec() argument 246 opus_int16* audio = (opus_int16*) decoded; in DecodeFec() 260 int16_t encoded_bytes, int16_t* decoded, in WebRtcOpus_DecodeNew() argument 267 decoded, audio_type); in WebRtcOpus_DecodeNew() 279 int16_t encoded_bytes, int16_t* decoded, in WebRtcOpus_Decode() argument 291 kWebRtcOpusMaxFrameSizePerChannel, decoded, in WebRtcOpus_Decode() 303 decoded[i] = decoded[i * 2]; in WebRtcOpus_Decode() 314 int16_t encoded_bytes, int16_t* decoded, in WebRtcOpus_DecodeSlave() argument [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/transcode/ |
D | TranscoderFactory.java | 10 private Class decoded; field in TranscoderFactory.MultiClassKey 15 public MultiClassKey(Class decoded, Class transcoded) { in MultiClassKey() argument 16 this.decoded = decoded; in MultiClassKey() 20 public void set(Class decoded, Class transcoded) { in set() argument 21 this.decoded = decoded; in set() 28 "decoded=" + decoded + in toString() 44 if (!decoded.equals(that.decoded)) { in equals() 56 int result = decoded.hashCode(); in hashCode()
|
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
D | SDL_wave.c | 118 Uint8 *freeable, *encoded, *decoded; in MS_ADPCM_decode() local 136 decoded = *audio_buf; in MS_ADPCM_decode() 170 decoded[0] = state[0]->iSamp2&0xFF; in MS_ADPCM_decode() 171 decoded[1] = state[0]->iSamp2>>8; in MS_ADPCM_decode() 172 decoded += 2; in MS_ADPCM_decode() 174 decoded[0] = state[1]->iSamp2&0xFF; in MS_ADPCM_decode() 175 decoded[1] = state[1]->iSamp2>>8; in MS_ADPCM_decode() 176 decoded += 2; in MS_ADPCM_decode() 178 decoded[0] = state[0]->iSamp1&0xFF; in MS_ADPCM_decode() 179 decoded[1] = state[0]->iSamp1>>8; in MS_ADPCM_decode() [all …]
|
/external/chromium_org/components/enhanced_bookmarks/ |
D | metadata_accessor.cc | 30 std::string decoded; in DataForMetaInfoField() local 31 bool result = base::Base64Decode((*it).second, &decoded); in DataForMetaInfoField() 35 return decoded; in DataForMetaInfoField() 119 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in SetOriginalImageForBookmark() local 123 if (decoded != "") { in SetOriginalImageForBookmark() 125 bool result = data.ParseFromString(decoded); in SetOriginalImageForBookmark() 153 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in OriginalImageFromBookmark() local 154 if (decoded == "") in OriginalImageFromBookmark() 158 bool result = data.ParseFromString(decoded); in OriginalImageFromBookmark() 172 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in ThumbnailImageFromBookmark() local [all …]
|
D | enhanced_bookmark_model.cc | 40 std::string decoded; in DataForMetaInfoField() local 41 if (!base::Base64Decode(value, &decoded)) in DataForMetaInfoField() 44 return decoded; in DataForMetaInfoField() 183 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in SetOriginalImage() local 187 if (decoded != "") { in SetOriginalImage() 189 bool result = data.ParseFromString(decoded); in SetOriginalImage() 216 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in GetOriginalImage() local 217 if (decoded == "") in GetOriginalImage() 221 bool result = data.ParseFromString(decoded); in GetOriginalImage() 235 std::string decoded(DataForMetaInfoField(node, kImageDataKey)); in GetThumbnailImage() local [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/base64/ |
D | base64_test.c | 24 const char *decoded; member 48 len = EVP_EncodeBlock(out, (const uint8_t*)t->decoded, strlen(t->decoded)); in test_encode() 52 t->decoded, (int)len, (const char*)out, t->encoded); in test_encode() 67 size_t expected_len = strlen(t->decoded); in test_decode() 73 if (len != strlen(t->decoded) || in test_decode() 74 memcmp(out, t->decoded, len) != 0) { in test_decode() 76 t->encoded, (int)len, (const char*)out, t->decoded); in test_decode() 94 if (ret != strlen(t->decoded) || in test_decode() 95 memcmp(out, t->decoded, ret) != 0) { in test_decode() 97 t->encoded, ret, (const char*)out, t->decoded); in test_decode()
|
/external/chromium_org/ui/gfx/codec/ |
D | png_codec_unittest.cc | 290 std::vector<unsigned char> decoded; in TEST() local 293 PNGCodec::FORMAT_RGB, &decoded, in TEST() 297 ASSERT_EQ(original.size(), decoded.size()); in TEST() 300 ASSERT_TRUE(original == decoded); in TEST() 319 std::vector<unsigned char> decoded; in TEST() local 322 PNGCodec::FORMAT_RGBA, &decoded, in TEST() 326 ASSERT_EQ(original.size(), decoded.size()); in TEST() 329 ASSERT_TRUE(original == decoded); in TEST() 348 std::vector<unsigned char> decoded; in TEST() local 351 PNGCodec::FORMAT_BGRA, &decoded, in TEST() [all …]
|
D | jpeg_codec_unittest.cc | 115 std::vector<unsigned char> decoded; in TEST() local 118 JPEGCodec::FORMAT_RGB, &decoded, in TEST() 122 ASSERT_EQ(original.size(), decoded.size()); in TEST() 126 ASSERT_GE(jpeg_equality_threshold, AveragePixelDelta(original, decoded)); in TEST() 153 std::vector<unsigned char> decoded; in TEST() local 156 JPEGCodec::FORMAT_RGBA, &decoded, in TEST() 160 ASSERT_EQ(original.size(), decoded.size()); in TEST() 164 ASSERT_GE(jpeg_equality_threshold, AveragePixelDelta(original, decoded)); in TEST()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
D | TSTInfoTest.java | 64 TSTInfo decoded = (TSTInfo) TSTInfo.ASN1.decode(encoding); in testGetEncoded() local 66 assertEquals("Decoded version is incorrect", info.getVersion(), decoded in testGetEncoded() 68 assertEquals("Decoded policy is incorrect", policy, decoded.getPolicy()); in testGetEncoded() 71 .encode(decoded.getMessageImprint()))); in testGetEncoded() 73 decoded.getSerialNumber()); in testGetEncoded() 74 assertEquals("Decoded genTime is incorrect", genTime, decoded in testGetEncoded() 77 decoded.getAccuracy())); in testGetEncoded() 78 assertFalse("Decoded ordering is incorrect", decoded.getOrdering() in testGetEncoded() 80 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce()); in testGetEncoded() 81 assertEquals("Decoded tsa is incorrect", tsa, decoded.getTsa()); in testGetEncoded() [all …]
|
D | TimeStampReqTest.java | 53 TimeStampReq decoded = (TimeStampReq) TimeStampReq.ASN1 in testTimeStampReq() local 55 assertEquals("Decoded version is incorrect", req.getVersion(), decoded in testTimeStampReq() 59 .encode(decoded.getMessageImprint()))); in testTimeStampReq() 60 assertEquals("Decoded reqPolicy is incorrect", reqPolicy, decoded in testTimeStampReq() 62 assertEquals("Decoded nonce is incorrect", nonce, decoded.getNonce()); in testTimeStampReq() 63 assertFalse("Decoded certReq is incorrect", decoded.getCertReq() in testTimeStampReq() 65 assertEquals("Decoded extensions is incorrect", exts, decoded in testTimeStampReq()
|
/external/chromium_org/content/common/mac/ |
D | attributed_string_coder_unittest.mm | 40 NSAttributedString* decoded = EncodeAndDecode(attr_str.get()); 41 EXPECT_NSEQ(attr_str.get(), decoded); 46 NSAttributedString* decoded = EncodeAndDecode(attr_str.get()); 47 EXPECT_NSEQ(attr_str.get(), decoded); 60 NSAttributedString* decoded = EncodeAndDecode(attr_str.get()); 63 NSDictionary* attrs = [decoded attributesAtIndex:0 effectiveRange:&range]; 79 NSAttributedString* decoded = EncodeAndDecode(attr_str); 81 EXPECT_NSEQ(attr_str.get(), decoded); 96 NSAttributedString* decoded = EncodeAndDecode(attr_str.get()); 99 EXPECT_NSEQ(expected.get(), decoded); [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | urlencode.cc | 156 InternalUrlEncodeString(const std::string & decoded, in InternalUrlEncodeString() argument 159 int needed_length = static_cast<int>(decoded.length()) * 3 + 1; in InternalUrlEncodeString() 161 InternalUrlEncode(decoded.c_str(), buf, needed_length, in InternalUrlEncodeString() 167 UrlEncodeString(const std::string & decoded) { in UrlEncodeString() argument 168 return InternalUrlEncodeString(decoded, true, false); in UrlEncodeString() 172 UrlEncodeStringWithoutEncodingSpaceAsPlus(const std::string & decoded) { in UrlEncodeStringWithoutEncodingSpaceAsPlus() argument 173 return InternalUrlEncodeString(decoded, false, false); in UrlEncodeStringWithoutEncodingSpaceAsPlus() 177 UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded) { in UrlEncodeStringForOnlyUnsafeChars() argument 178 return InternalUrlEncodeString(decoded, false, true); in UrlEncodeStringForOnlyUnsafeChars()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/interface/ |
D | opus_interface.h | 191 int16_t encoded_bytes, int16_t* decoded, 194 int16_t encoded_bytes, int16_t* decoded, 197 int16_t encoded_bytes, int16_t* decoded, 217 int16_t WebRtcOpus_DecodePlc(OpusDecInst* inst, int16_t* decoded, 219 int16_t WebRtcOpus_DecodePlcMaster(OpusDecInst* inst, int16_t* decoded, 221 int16_t WebRtcOpus_DecodePlcSlave(OpusDecInst* inst, int16_t* decoded, 243 int16_t encoded_bytes, int16_t* decoded,
|
/external/robolectric/src/main/java/android/net/ |
D | Uri__FromAndroid.java | 1802 StringBuilder decoded = null; in decode() local 1818 if (decoded == null) { in decode() 1823 decoded.append(s, current, oldLength); in decode() 1824 return decoded.toString(); in decode() 1829 if (decoded == null) { in decode() 1834 decoded = new StringBuilder(oldLength); in decode() 1843 decoded.append(s, current, nextEscape); in decode() 1878 decoded.append(out.toString(DEFAULT_ENCODING)); in decode() 1887 return decoded == null ? s : decoded.toString(); in decode() 1905 volatile String decoded; field in Uri__FromAndroid.AbstractPart [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | CssTokens.java | 782 int decoded = readCodepoint(); 783 if (decoded == '\\') { 784 decoded = consumeAndDecodeEscapeSequence(); 789 if (decoded >= 0 && isIdentPart(decoded)) { 791 && '0' <= decoded && decoded <= '9') { 800 sb.appendCodePoint(decoded); 801 last = decoded; 1078 int decoded = ch; 1091 decoded = consumeAndDecodeEscapeSequence(); 1092 if (decoded < 0) { [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
D | ilbc.c | 141 int16_t *decoded, in WebRtcIlbcfix_Decode() argument 175 …WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &… in WebRtcIlbcfix_Decode() 186 int16_t *decoded, in WebRtcIlbcfix_Decode20Ms() argument 199 …WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &… in WebRtcIlbcfix_Decode20Ms() 210 int16_t *decoded, in WebRtcIlbcfix_Decode30Ms() argument 223 …WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], (const uint16_t*) &… in WebRtcIlbcfix_Decode30Ms() 231 int16_t WebRtcIlbcfix_DecodePlc(iLBC_decinst_t *iLBCdec_inst, int16_t *decoded, int16_t noOfLostFra… in WebRtcIlbcfix_DecodePlc() argument 237 …WebRtcIlbcfix_DecodeImpl(&decoded[i*((iLBC_Dec_Inst_t*)iLBCdec_inst)->blockl], &dummy, (iLBC_Dec_I… in WebRtcIlbcfix_DecodePlc() 242 int16_t WebRtcIlbcfix_NetEqPlc(iLBC_decinst_t *iLBCdec_inst, int16_t *decoded, int16_t noOfLostFram… in WebRtcIlbcfix_NetEqPlc() argument 245 (void)(decoded = NULL); in WebRtcIlbcfix_NetEqPlc()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/interface/ |
D | ilbc.h | 187 int16_t *decoded, 192 int16_t *decoded, 197 int16_t *decoded, 219 int16_t *decoded, 241 int16_t *decoded,
|
/external/nanopb-c/tests/alltypes_callback/ |
D | decode_alltypes_callback.c | 147 SubMessage decoded = {""}; in read_repeated_submsg() local 148 if (!pb_decode(stream, SubMessage_fields, &decoded)) in read_repeated_submsg() 151 TEST(memcmp((*expected)++, &decoded, sizeof(decoded)) == 0); in read_repeated_submsg() 157 Limits decoded = {0}; in read_limits() local 158 if (!pb_decode(stream, Limits_fields, &decoded)) in read_limits() 161 TEST(decoded.int32_min == INT32_MIN); in read_limits() 162 TEST(decoded.int32_max == INT32_MAX); in read_limits() 163 TEST(decoded.uint32_min == 0); in read_limits() 164 TEST(decoded.uint32_max == UINT32_MAX); in read_limits() 165 TEST(decoded.int64_min == INT64_MIN); in read_limits() [all …]
|
/external/chromium_org/net/http/ |
D | http_content_disposition.cc | 65 std::string decoded; in DecodeBQEncoding() local 67 base::Base64Decode(part, &decoded) : DecodeQEncoding(part, &decoded))) { in DecodeBQEncoding() 71 if (decoded.empty()) { in DecodeBQEncoding() 76 return net::ConvertToUtf8(decoded, charset.c_str(), output); in DecodeBQEncoding() 237 std::string decoded; in DecodeFilenameValue() local 239 &decoded, ¤t_parse_result_flags)) in DecodeFilenameValue() 241 decoded_value.append(decoded); in DecodeFilenameValue() 310 bool DecodeExtValue(const std::string& param_value, std::string* decoded) { in DecodeExtValue() argument 321 decoded->clear(); in DecodeExtValue() 328 return net::ConvertToUtf8AndNormalize(unescaped, charset.c_str(), decoded); in DecodeExtValue()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
D | PolicyQualifierInfoTest.java | 94 Object[] decoded = in run() local 100 myIntValue, ((int[]) decoded[0])[8]); in run() 103 (byte) myIntValue, ((byte[]) decoded[1])[2]); in run() 127 Object[] decoded = in run() local 133 myIntValue, ((int[]) decoded[0])[8]); in run() 136 (byte) myIntValue, ((byte[]) decoded[1])[2]); in run()
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
D | dbformat_test.cc | 37 ParsedInternalKey decoded("", 0, kTypeValue); in TestKey() local 39 ASSERT_TRUE(ParseInternalKey(in, &decoded)); in TestKey() 40 ASSERT_EQ(key, decoded.user_key.ToString()); in TestKey() 41 ASSERT_EQ(seq, decoded.sequence); in TestKey() 42 ASSERT_EQ(vt, decoded.type); in TestKey() 44 ASSERT_TRUE(!ParseInternalKey(Slice("bar"), &decoded)); in TestKey()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
D | test_iSACfixfloat.c | 116 int16_t decoded[MAX_FRAMESAMPLES]; in main() local 514 decoded, in main() 544 decoded, in main() 550 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); in main() 552 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ); in main() 558 decoded, in main() 564 decoded, in main() 597 decoded, in main() 623 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); in main() 625 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ); in main() [all …]
|