Home
last modified time | relevance | path

Searched refs:decoded (Results 1 – 25 of 136) sorted by relevance

123456

/external/chromium/chrome/browser/importer/
Dimporter.cc34 SkBitmap decoded = decoder.Decode(src_data, src_len); in ReencodeFavicon() local
35 if (decoded.empty()) in ReencodeFavicon()
38 if (decoded.width() != kFaviconSize || decoded.height() != kFaviconSize) { in ReencodeFavicon()
40 int new_width = decoded.width(); in ReencodeFavicon()
41 int new_height = decoded.height(); in ReencodeFavicon()
43 decoded = skia::ImageOperations::Resize( in ReencodeFavicon()
44 decoded, skia::ImageOperations::RESIZE_LANCZOS3, new_width, new_height); in ReencodeFavicon()
48 gfx::PNGCodec::EncodeBGRASkBitmap(decoded, false, png_data); in ReencodeFavicon()
/external/qemu/distrib/sdl-1.2.15/src/audio/
DSDL_wave.c118 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/
DTSTInfoTest.java64 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 …]
DTimeStampReqTest.java53 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()
DPKIStatusInfoTest.java43 PKIStatusInfo decoded = (PKIStatusInfo) PKIStatusInfo.ASN1 in testGetEncoded() local
46 assertEquals(info.getStatus(), decoded.getStatus()); in testGetEncoded()
47 List decodedStString = decoded.getStatusString(); in testGetEncoded()
51 assertEquals(info.getFailInfo(), decoded.getFailInfo()); in testGetEncoded()
/external/chromium/third_party/libjingle/source/talk/base/
Durlencode.cc173 InternalUrlEncodeString(const std::string & decoded, in InternalUrlEncodeString() argument
176 size_t needed_length = decoded.length() * 3 + 1; in InternalUrlEncodeString()
178 InternalUrlEncode(decoded.c_str(), buf, needed_length, in InternalUrlEncodeString()
184 UrlEncodeString(const std::string & decoded) { in UrlEncodeString() argument
185 return InternalUrlEncodeString(decoded, true, false); in UrlEncodeString()
189 UrlEncodeStringWithoutEncodingSpaceAsPlus(const std::string & decoded) { in UrlEncodeStringWithoutEncodingSpaceAsPlus() argument
190 return InternalUrlEncodeString(decoded, false, false); in UrlEncodeStringWithoutEncodingSpaceAsPlus()
194 UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded) { in UrlEncodeStringForOnlyUnsafeChars() argument
195 return InternalUrlEncodeString(decoded, false, true); in UrlEncodeStringForOnlyUnsafeChars()
Durlencode.h54 std::string UrlEncodeString(const std::string & decoded);
56 const std::string & decoded);
57 std::string UrlEncodeStringForOnlyUnsafeChars(const std::string & decoded);
/external/chromium/chrome/browser/extensions/
Dimage_loading_tracker.cc67 scoped_ptr<SkBitmap> decoded(new SkBitmap()); in LoadOnFileThread() local
68 *decoded = decoder.Decode(data, file_contents.length()); in LoadOnFileThread()
69 if (decoded->empty()) { in LoadOnFileThread()
74 gfx::Size original_size(decoded->width(), decoded->height()); in LoadOnFileThread()
76 if (decoded->width() > max_size.width() || in LoadOnFileThread()
77 decoded->height() > max_size.height()) { in LoadOnFileThread()
79 *decoded = skia::ImageOperations::Resize( in LoadOnFileThread()
80 *decoded, skia::ImageOperations::RESIZE_LANCZOS3, in LoadOnFileThread()
84 ReportBack(decoded.release(), resource, original_size, id); in LoadOnFileThread()
/external/robolectric/src/main/java/android/net/
DUri__FromAndroid.java1802 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/webkit/Source/WebCore/dom/
DDecodedDataDocumentParser.cpp46 String decoded = decoder->decode(data, length); in appendBytes() local
48 decoded += decoder->flush(); in appendBytes()
49 if (decoded.isEmpty()) in appendBytes()
54 append(decoded); in appendBytes()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DPolicyQualifierInfoTest.java94 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/webrtc/src/modules/audio_coding/codecs/isac/fix/test/
Dtest_iSACfixfloat.c116 WebRtc_Word16 decoded[MAX_FRAMESAMPLES]; in main() local
509 decoded, in main()
539 decoded, in main()
545 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); in main()
547 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ); in main()
553 decoded, in main()
559 decoded, in main()
592 decoded, in main()
618 declen = WebRtcIsacfix_DecodePlc( ISACFIX_main_inst, decoded, 1 ); in main()
620 declen = WebRtcIsacfix_DecodePlcNb( ISACFIX_main_inst, decoded, 1 ); in main()
[all …]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs10/
DCertificationRequestInfoTest.java68 CertificationRequestInfo decoded = in testCertificationRequestInfo() local
73 assertEquals(certReqInfo.getVersion(), decoded.getVersion()); in testCertificationRequestInfo()
75 decoded.getSubject().getName(X500Principal.CANONICAL)); in testCertificationRequestInfo()
77 .getEncoded(), decoded.getSubjectPublicKeyInfo().getEncoded())); in testCertificationRequestInfo()
81 AttributeTypeAndValue decodedATaV = (AttributeTypeAndValue) decoded in testCertificationRequestInfo()
DCertificationRequestTest.java71 CertificationRequest decoded = (CertificationRequest) CertificationRequest.ASN1 in testCertificationRequest() local
83 assertEquals(certReq.getAlgId(), decoded.getAlgId()); in testCertificationRequest()
84 assertTrue(Arrays.equals(certReq.getSignature(), decoded.getSignature())); in testCertificationRequest()
/external/wpa_supplicant_8/src/wps/
Dupnp_xml.c229 unsigned char *decoded; in xml_get_base64_item() local
238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len); in xml_get_base64_item()
240 if (decoded == NULL) { in xml_get_base64_item()
245 buf = wpabuf_alloc_ext_data(decoded, len); in xml_get_base64_item()
247 os_free(decoded); in xml_get_base64_item()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DBitStringTest.java68 BitString decoded = (BitString) asn1.decode(in); in testDecode_Encode() local
71 decoded.unusedBits); in testDecode_Encode()
74 decoded.bytes)); in testDecode_Encode()
83 BitString decoded = (BitString) asn1.decode(in); in testDecode_Encode() local
86 decoded.unusedBits); in testDecode_Encode()
89 decoded.bytes)); in testDecode_Encode()
/external/skia/tools/tests/skdiff/test1/output-expected/
Dstdout17 [_] 1 file pairs decoded in baseDir and not found in comparisonDir
18 [_] 1 file pairs could not be decoded in baseDir and could not be decoded in comparisonDir
19 [_] 1 file pairs could not be decoded in baseDir and not found in comparisonDir
20 [_] 1 file pairs not found in baseDir and decoded in comparisonDir
21 [_] 1 file pairs not found in baseDir and could not be decoded in comparisonDir
/external/chromium/chrome/browser/ui/webui/
Dextension_icon_source.cc50 SkBitmap* decoded = new SkBitmap(); in ToBitmap() local
51 *decoded = decoder.Decode(data, size); in ToBitmap()
52 return decoded; in ToBitmap()
166 SkBitmap* decoded = NULL; in LoadDefaultImage() local
169 decoded = GetDefaultAppImage(); in LoadDefaultImage()
171 decoded = GetDefaultExtensionImage(); in LoadDefaultImage()
173 *decoded = skia::ImageOperations::Resize( in LoadDefaultImage()
174 *decoded, skia::ImageOperations::RESIZE_LANCZOS3, in LoadDefaultImage()
177 FinalizeImage(decoded, request_id); in LoadDefaultImage()
/external/chromium/base/
Dbase64_unittest.cc19 std::string encoded, decoded; in TEST() local
26 ok = base::Base64Decode(encoded, &decoded); in TEST()
28 EXPECT_EQ(kText, decoded); in TEST()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c757 WebRtc_Word16 *decoded, in WebRtcIsacfix_Decode() argument
803 declen = WebRtcIsacfix_DecodeImpl(decoded,&ISAC_inst->ISACdec_obj, &number_of_samples); in WebRtcIsacfix_Decode()
808 memset(decoded, 0, sizeof(WebRtc_Word16) * MAX_FRAMESAMPLES); in WebRtcIsacfix_Decode()
817 memset(decoded, 0, sizeof(WebRtc_Word16) * number_of_samples); in WebRtcIsacfix_Decode()
823 memset(decoded, 0, sizeof(WebRtc_Word16) * number_of_samples); in WebRtcIsacfix_Decode()
860 WebRtc_Word16 *decoded, in WebRtcIsacfix_DecodeNb() argument
904 declen = WebRtcIsacfix_DecodeImpl(decoded,&ISAC_inst->ISACdec_obj, &number_of_samples); in WebRtcIsacfix_DecodeNb()
909 memset(decoded, 0, sizeof(WebRtc_Word16) * FRAMESAMPLES); in WebRtcIsacfix_DecodeNb()
918 memset(decoded, 0, sizeof(WebRtc_Word16) * number_of_samples); in WebRtcIsacfix_DecodeNb()
924 memset(decoded, 0, sizeof(WebRtc_Word16) * number_of_samples); in WebRtcIsacfix_DecodeNb()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-244.js50 var decoded = String.fromCharCode(kLegalPairs[i][0]);
52 assertEquals(decodeURI(encoded), decoded);
53 assertEquals(encodeURI(decoded), encoded);
/external/libvpx/libvpx/
Dusage_dx.dox5 decoded images. The decoder expects packets to comprise exactly one image
18 There are two methods for the application to access decoded frame data. Some
21 decoder when decoded data becomes available. Decoders are not required to
26 frame has been decoded. Slice based callbacks conform to the signature of
28 is decoded. For example, a slice callback could be issued for each
41 chooses not to make use of that feature, decoded frames are made available
50 Postprocessing is a process that is applied after a frame is decoded to
/external/chromium/chrome/browser/
Duser_style_sheet_watcher_unittest.cc51 std::string decoded; in TEST() local
52 ASSERT_TRUE(base::Base64Decode(result, &decoded)); in TEST()
53 ASSERT_EQ(css_file_contents, decoded); in TEST()
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/interface/
Disacfix.h258 WebRtc_Word16 *decoded,
287 WebRtc_Word16 *decoded,
315 WebRtc_Word16 *decoded,
343 WebRtc_Word16 *decoded,
/external/skia/legacy/src/utils/
DSkBase64.cpp55 signed char decoded = decodeData[srcByte - '+']; in decode() local
56 bytes[byte] = decoded; in decode()
57 if (decoded < 0) { in decode()
58 if (decoded == DecodePad) in decode()

123456