Home
last modified time | relevance | path

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

12345

/external/bluetooth/glib/gio/
Dgdummyfile.c67 static char * _g_encode_uri (GDecodedUri *decoded);
68 static void _g_decoded_uri_free (GDecodedUri *decoded);
500 _g_decoded_uri_free (GDecodedUri *decoded) in _g_decoded_uri_free() argument
502 if (decoded == NULL) in _g_decoded_uri_free()
505 g_free (decoded->scheme); in _g_decoded_uri_free()
506 g_free (decoded->query); in _g_decoded_uri_free()
507 g_free (decoded->fragment); in _g_decoded_uri_free()
508 g_free (decoded->userinfo); in _g_decoded_uri_free()
509 g_free (decoded->host); in _g_decoded_uri_free()
510 g_free (decoded->path); in _g_decoded_uri_free()
[all …]
/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.12/src/audio/
DSDL_wave.c120 Uint8 *freeable, *encoded, *decoded; in MS_ADPCM_decode() local
138 decoded = *audio_buf; in MS_ADPCM_decode()
172 decoded[0] = state[0]->iSamp2&0xFF; in MS_ADPCM_decode()
173 decoded[1] = state[0]->iSamp2>>8; in MS_ADPCM_decode()
174 decoded += 2; in MS_ADPCM_decode()
176 decoded[0] = state[1]->iSamp2&0xFF; in MS_ADPCM_decode()
177 decoded[1] = state[1]->iSamp2>>8; in MS_ADPCM_decode()
178 decoded += 2; in MS_ADPCM_decode()
180 decoded[0] = state[0]->iSamp1&0xFF; in MS_ADPCM_decode()
181 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/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/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/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/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/
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/dbus/dbus/
Ddbus-internals.c653 DBusString decoded; in _dbus_read_uuid_file_without_creating() local
662 if (!_dbus_string_init (&decoded)) in _dbus_read_uuid_file_without_creating()
684 if (!_dbus_string_hex_decode (&contents, 0, &end, &decoded, 0)) in _dbus_read_uuid_file_without_creating()
698 if (_dbus_string_get_length (&decoded) != DBUS_UUID_LENGTH_BYTES) in _dbus_read_uuid_file_without_creating()
703 _dbus_string_get_length (&decoded), in _dbus_read_uuid_file_without_creating()
708 _dbus_string_copy_to_buffer (&decoded, uuid->as_bytes, DBUS_UUID_LENGTH_BYTES); in _dbus_read_uuid_file_without_creating()
710 _dbus_string_free (&decoded); in _dbus_read_uuid_file_without_creating()
720 _dbus_string_free (&decoded); in _dbus_read_uuid_file_without_creating()
/external/skia/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()
/external/wpa_supplicant_8/src/eap_server/
Dtncs.c737 unsigned char *decoded; in tncs_get_base64() local
749 decoded = base64_decode((unsigned char *) pos, os_strlen(pos), in tncs_get_base64()
752 if (decoded == NULL) { in tncs_get_base64()
756 return decoded; in tncs_get_base64()
851 unsigned char *decoded; in tncs_process_if_tnccs() local
931 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
932 if (decoded == NULL) { in tncs_process_if_tnccs()
938 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
940 os_free(decoded); in tncs_process_if_tnccs()
978 decoded = NULL; in tncs_process_if_tnccs()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Dtncs.c743 unsigned char *decoded; in tncs_get_base64() local
755 decoded = base64_decode((unsigned char *) pos, os_strlen(pos), in tncs_get_base64()
758 if (decoded == NULL) { in tncs_get_base64()
762 return decoded; in tncs_get_base64()
857 unsigned char *decoded; in tncs_process_if_tnccs() local
937 decoded = tncs_get_base64(start, &decoded_len); in tncs_process_if_tnccs()
938 if (decoded == NULL) { in tncs_process_if_tnccs()
944 tncs_send_to_imvs(tncs, type, decoded, decoded_len); in tncs_process_if_tnccs()
946 os_free(decoded); in tncs_process_if_tnccs()
984 decoded = NULL; in tncs_process_if_tnccs()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Dtncc.c668 unsigned char *decoded; in tncc_get_base64() local
680 decoded = base64_decode((unsigned char *) pos, os_strlen(pos), in tncc_get_base64()
683 if (decoded == NULL) { in tncc_get_base64()
687 return decoded; in tncc_get_base64()
739 unsigned char *decoded; in tncc_process_if_tnccs() local
821 decoded = tncc_get_base64(start, &decoded_len); in tncc_process_if_tnccs()
822 if (decoded == NULL) { in tncc_process_if_tnccs()
828 tncc_send_to_imcs(tncc, type, decoded, decoded_len); in tncc_process_if_tnccs()
830 os_free(decoded); in tncc_process_if_tnccs()
868 decoded = NULL; in tncc_process_if_tnccs()
[all …]

12345