/external/curl/tests/unit/ |
D | unit1302.c | 47 unsigned char *decoded; variable 101 rc = Curl_base64_decode("aWlpaQ==", &decoded, &size); 104 verify_memory(decoded, "iiii", 4); 105 Curl_safefree(decoded); 107 rc = Curl_base64_decode("aWlp", &decoded, &size); 110 verify_memory(decoded, "iii", 3); 111 Curl_safefree(decoded); 113 rc = Curl_base64_decode("aWk=", &decoded, &size); 116 verify_memory(decoded, "ii", 2); 117 Curl_safefree(decoded); [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | BaseEncodingTest.java | 310 BaseEncoding encoding, String decoded, String encoded) { in testEncodingWithCasing() argument 311 testEncodingWithSeparators(encoding, decoded, encoded); in testEncodingWithCasing() 312 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); in testEncodingWithCasing() local 313 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); in testEncodingWithCasing() local 317 BaseEncoding encoding, String decoded, String encoded) { in testEncodingWithSeparators() argument 318 testEncoding(encoding, decoded, encoded); in testEncodingWithSeparators() 323 testEncoding(encoding.withSeparator(separator, sepLength), decoded, in testEncodingWithSeparators() local 329 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { in testEncoding() argument 330 testEncodes(encoding, decoded, encoded); in testEncoding() 331 testDecodes(encoding, encoded, decoded); in testEncoding() [all …]
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil_unittest.cc | 500 string decoded("this junk should be ignored"); in TEST() local 502 StringPiece(encode_buffer, cypher_length), &decoded)); in TEST() 503 EXPECT_EQ(decoded.size(), base64_tests[i].plain_length); in TEST() 504 EXPECT_EQ_ARRAY(decoded.size(), decoded, base64_tests[i].plaintext, i); in TEST() 521 EXPECT_EQ(decoded.size(), base64_tests[i].plain_length); in TEST() 522 EXPECT_EQ_ARRAY(decoded.size(), decoded, base64_tests[i].plaintext, i); in TEST() 532 EXPECT_EQ(decoded.size(), base64_tests[i].plain_length); in TEST() 533 EXPECT_EQ_ARRAY(decoded.size(), decoded, base64_tests[i].plaintext, i); in TEST() 559 EXPECT_EQ(decoded.size(), base64_tests[i].plain_length); in TEST() 560 EXPECT_EQ_ARRAY(decoded.size(), decoded, base64_tests[i].plaintext, i); in TEST() [all …]
|
/external/libmojo/mojo/public/js/ |
D | union_unittests.js | 65 var decoded = structEncodeDecode(s); 66 expect(decoded).toEqual(s); 73 var decoded = structEncodeDecode(s); 74 expect(decoded).toEqual(s); 80 var decoded = structEncodeDecode(s); 81 expect(decoded).toEqual(s); 90 var decoded = structEncodeDecode(s); 91 expect(decoded).toEqual(s); 108 var decoded = structEncodeDecode(s); 109 expect(decoded).toEqual(s); [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
D | DecodeJob.java | 108 Resource<T> decoded = loadFromCache(resultKey.getOriginalKey()); in decodeSourceFromCache() local 112 return transformEncodeAndTranscode(decoded); in decodeSourceFromCache() 127 Resource<T> decoded = decodeSource(); in decodeFromSource() local 128 return transformEncodeAndTranscode(decoded); in decodeFromSource() 136 private Resource<Z> transformEncodeAndTranscode(Resource<T> decoded) { in transformEncodeAndTranscode() argument 138 Resource<T> transformed = transform(decoded); in transformEncodeAndTranscode() 166 Resource<T> decoded = null; in decodeSource() local 176 decoded = decodeFromSourceData(data); in decodeSource() 180 return decoded; in decodeSource() 184 final Resource<T> decoded; in decodeFromSourceData() local [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
D | audio_decoder_g722.cc | 36 int16_t* decoded, in DecodeInternal() argument 41 WebRtcG722_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 75 int16_t* decoded, in DecodeInternal() argument 84 encoded_len / 2, decoded, &temp_type); in DecodeInternal() 87 encoded_len / 2, &decoded[decoded_len], &temp_type); in DecodeInternal() 92 int16_t temp = decoded[k]; in DecodeInternal() 93 memmove(&decoded[2 * k - ret + 2], &decoded[2 * k - ret + 1], in DecodeInternal() 95 decoded[2 * k - ret + 1] = temp; in DecodeInternal()
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 240 PyObject *decoded = NULL; in utf_7_decode() local 247 decoded = PyUnicode_DecodeUTF7Stateful(pbuf.buf, pbuf.len, errors, in utf_7_decode() 250 if (decoded == NULL) in utf_7_decode() 252 return codec_tuple(decoded, consumed); in utf_7_decode() 263 PyObject *decoded = NULL; in utf_8_decode() local 270 decoded = PyUnicode_DecodeUTF8Stateful(pbuf.buf, pbuf.len, errors, in utf_8_decode() 273 if (decoded == NULL) in utf_8_decode() 275 return codec_tuple(decoded, consumed); in utf_8_decode() 287 PyObject *decoded; in utf_16_decode() local 293 decoded = PyUnicode_DecodeUTF16Stateful(pbuf.buf, pbuf.len, errors, in utf_16_decode() [all …]
|
/external/webrtc/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/guava/guava-gwt/test-super/com/google/common/io/super/com/google/common/io/ |
D | BaseEncodingTest.java | 244 BaseEncoding encoding, String decoded, String encoded) { in testEncodingWithCasing() argument 245 testEncodingWithSeparators(encoding, decoded, encoded); in testEncodingWithCasing() 246 testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded)); in testEncodingWithCasing() local 247 testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded)); in testEncodingWithCasing() local 251 BaseEncoding encoding, String decoded, String encoded) { in testEncodingWithSeparators() argument 252 testEncoding(encoding, decoded, encoded); in testEncodingWithSeparators() 257 testEncoding(encoding.withSeparator(separator, sepLength), decoded, in testEncodingWithSeparators() local 263 private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) { in testEncoding() argument 264 testEncodes(encoding, decoded, encoded); in testEncoding() 265 testDecodes(encoding, encoded, decoded); in testEncoding() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
D | audio_decoder.cc | 22 int16_t* decoded, SpeechType* speech_type) { in Decode() argument 29 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in Decode() 35 int16_t* decoded, SpeechType* speech_type) { in DecodeRedundant() argument 42 return DecodeRedundantInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundant() 48 int sample_rate_hz, int16_t* decoded, in DecodeRedundantInternal() argument 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundantInternal() 56 size_t AudioDecoder::DecodePlc(size_t num_frames, int16_t* decoded) { in DecodePlc() argument
|
D | audio_decoder.h | 48 int16_t* decoded, 57 int16_t* decoded, 66 virtual size_t DecodePlc(size_t num_frames, int16_t* decoded); 109 int16_t* decoded, 115 int16_t* decoded,
|
/external/python/cpython2/Lib/email/ |
D | quoprimime.py | 278 decoded = '' 283 decoded += eol 291 decoded += c 300 decoded += unquote(line[i:i+3]) 304 decoded += c 308 decoded += eol 310 if not encoded.endswith(eol) and decoded.endswith(eol): 311 decoded = decoded[:-1] 312 return decoded
|
D | header.py | 76 decoded = [] 81 decoded.append((line, None)) 88 if decoded and decoded[-1][1] is None: 89 decoded[-1] = (decoded[-1][0] + SPACE + unenc, None) 91 decoded.append((unenc, None)) 112 if decoded and decoded[-1][1] == charset: 113 decoded[-1] = (decoded[-1][0] + dec, decoded[-1][1]) 115 decoded.append((dec, charset)) 117 return decoded
|
/external/robolectric/v1/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/jsoncpp/src/lib_json/ |
D | json_reader.cpp | 499 Value decoded; in decodeNumber() local 500 if (!decodeNumber(token, decoded)) in decodeNumber() 502 currentValue() = decoded; in decodeNumber() 508 bool Reader::decodeNumber(Token& token, Value& decoded) { in decodeNumber() argument 515 return decodeDouble(token, decoded); in decodeNumber() 542 return decodeDouble(token, decoded); in decodeNumber() 548 decoded = -Value::LargestInt(value); in decodeNumber() 550 decoded = Value::LargestInt(value); in decodeNumber() 552 decoded = value; in decodeNumber() 557 Value decoded; in decodeDouble() local [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | ilbc.c | 145 int16_t* decoded, in WebRtcIlbcfix_Decode() argument 184 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode() 198 int16_t* decoded, in WebRtcIlbcfix_Decode20Ms() argument 212 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode20Ms() 226 int16_t* decoded, in WebRtcIlbcfix_Decode30Ms() argument 240 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode30Ms() 252 int16_t* decoded, in WebRtcIlbcfix_DecodePlc() argument 260 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], &dummy, in WebRtcIlbcfix_DecodePlc() 267 int16_t* decoded, in WebRtcIlbcfix_NetEqPlc() argument 270 (void)(decoded = NULL); in WebRtcIlbcfix_NetEqPlc()
|
D | ilbc.h | 188 int16_t* decoded, 193 int16_t* decoded, 198 int16_t* decoded, 219 int16_t *decoded, 240 int16_t *decoded,
|
D | audio_decoder_ilbc.cc | 34 int16_t* decoded, in DecodeInternal() argument 38 int ret = WebRtcIlbcfix_Decode(dec_state_, encoded, encoded_len, decoded, in DecodeInternal() 44 size_t AudioDecoderIlbc::DecodePlc(size_t num_frames, int16_t* decoded) { in DecodePlc() argument 45 return WebRtcIlbcfix_NetEqPlc(dec_state_, decoded, num_frames); in DecodePlc()
|
/external/mdnsresponder/mDNSWindows/ControlPanel/ |
D | ConfigPropertySheet.cpp | 203 CConfigPropertySheet::DecodeDomainName( const char * raw, CString & decoded ) in DecodeDomainName() argument 240 err = UTF8StringToStringObject( decodedDomainString, decoded ); in DecodeDomainName() 262 CString decoded; in BrowseDomainsReply() local 282 err = self->DecodeDomainName( replyDomain, decoded ); in BrowseDomainsReply() 287 decoded.TrimRight( '.' ); in BrowseDomainsReply() 291 self->m_browseDomains.push_back( decoded ); in BrowseDomainsReply() 295 self->m_browseDomains.remove( decoded ); in BrowseDomainsReply()
|
/external/boringssl/src/crypto/base64/ |
D | base64_test.cc | 44 const char *decoded; member 130 const size_t decoded_len = strlen(t.decoded); in TEST_P() 136 size_t len = EVP_EncodeBlock(out, (const uint8_t *)t.decoded, decoded_len); in TEST_P() 162 EXPECT_EQ(Bytes(t.decoded), Bytes(out, len)); in TEST_P() 183 size_t expected_len = strlen(t.decoded); in TEST_P() 187 EXPECT_EQ(Bytes(t.decoded), Bytes(out, static_cast<size_t>(ret))); in TEST_P() 194 const size_t decoded_len = strlen(t.decoded); in TEST_P() 210 reinterpret_cast<const uint8_t *>(t.decoded), in TEST_P() 239 EXPECT_EQ(Bytes(t.decoded), Bytes(out, total)); in TEST_P() 305 EXPECT_EQ(Bytes(t.decoded), Bytes(out.data(), out_len)); in TEST_P()
|
/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/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_decoder_opus.cc | 31 int16_t* decoded, in DecodeInternal() argument 36 WebRtcOpus_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 46 int16_t* decoded, in DecodeRedundantInternal() argument 50 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundantInternal() 56 int ret = WebRtcOpus_DecodeFec(dec_state_, encoded, encoded_len, decoded, in DecodeRedundantInternal()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
D | test_iSACfixfloat.c | 106 int16_t decoded[MAX_FRAMESAMPLES]; in main() local 475 decoded, speechType); in main() 497 decoded, speechType); in main() 503 (int)WebRtcIsacfix_DecodePlc(ISACFIX_main_inst, decoded, 1); in main() 506 (int)WebRtcIsacfix_DecodePlcNb(ISACFIX_main_inst, decoded, 1); in main() 511 stream_len, decoded, speechType); in main() 514 stream_len, decoded, speechType); in main() 540 decoded, speechType); in main() 563 (int)WebRtcIsacfix_DecodePlc(ISACFIX_main_inst, decoded, 1); in main() 566 (int)WebRtcIsacfix_DecodePlcNb(ISACFIX_main_inst, decoded, 1); in main() [all …]
|
/external/v8/src/ |
D | source-position-table.cc | 82 T decoded = 0; in DecodeInt() local 86 decoded |= static_cast<typename std::make_unsigned<T>::type>( in DecodeInt() 92 DCHECK_GE(decoded, 0); in DecodeInt() 93 decoded = (decoded >> 1) ^ (-(decoded & 1)); in DecodeInt() 94 return decoded; in DecodeInt()
|