Searched refs:decode (Results 1 - 25 of 452) sorted by relevance

1234567891011>>

/external/harfbuzz_ng/test/shaping/
H A Dhb-unicode-decode5 UtilMains.filter_multiple_strings_or_stdin (Unicode.decode, "UNICODE_STRING")
/external/chromium_org/third_party/JSON/JSON-2.59/t/
H A De08_decode.t2 # decode on Perl 5.005, 5.6, 5.8 or later
23 is($json->decode(q|"ü"|), "ü"); # utf8
24 is($json->decode(q|"\u00fc"|), "\xfc"); # latin1
25 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
29 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
33 is($json->decode(q|"\u3042"|), $str);
36 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
H A Dxe08_decode.t2 # decode on Perl 5.005, 5.6, 5.8 or later
26 is($json->decode(q|"ü"|), "ü"); # utf8
27 is($json->decode(q|"\u00fc"|), "\xfc"); # latin1
28 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
32 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
34 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
36 is($json->decode(q|"\u3042"|), $str);
39 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
/external/apache-http/src/org/apache/commons/codec/
H A DBinaryDecoder.java37 * the decode process.
39 byte[] decode(byte[] pArray) throws DecoderException; method in interface:BinaryDecoder
H A DDecoder.java40 * this decode method will throw a DecoderException.
42 * @param pObject an object to "decode"
52 Object decode(Object pObject) throws DecoderException; method in interface:Decoder
H A DStringDecoder.java37 String decode(String pString) throws DecoderException; method in interface:StringDecoder
/external/smack/src/org/jivesoftware/smack/util/
H A DStringEncoder.java35 String decode(String string); method in interface:StringEncoder
H A DBase64Encoder.java38 public String decode(String s) { method in class:Base64Encoder
39 return new String(Base64.decode(s));
H A DBase64FileUrlEncoder.java44 public String decode(String s) { method in class:Base64FileUrlEncoder
45 return new String(Base64.decode(s, Base64.URL_SAFE));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
H A DEncoder.java7 * Encode and decode byte arrays (typically from binary to 7-bit ASCII
14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; method in interface:Encoder
16 int decode(String data, OutputStream out) throws IOException; method in interface:Encoder
H A DBase64.java93 * decode the base 64 encoded input data. It is assumed the input data is valid.
97 public static byte[] decode( method in class:Base64
105 encoder.decode(data, 0, data.length, bOut);
109 throw new DecoderException("unable to decode base64 data: " + e.getMessage(), e);
116 * decode the base 64 encoded String data - whitespace will be ignored.
120 public static byte[] decode( method in class:Base64
128 encoder.decode(data, bOut);
132 throw new DecoderException("unable to decode base64 string: " + e.getMessage(), e);
139 * decode the base 64 encoded String data writing it to the given output stream,
144 public static int decode( method in class:Base64
[all...]
H A DHex.java92 * decode the Hex encoded input data. It is assumed the input data is valid.
96 public static byte[] decode( method in class:Hex
103 encoder.decode(data, 0, data.length, bOut);
114 * decode the Hex encoded String data - whitespace will be ignored.
118 public static byte[] decode( method in class:Hex
125 encoder.decode(data, bOut);
136 * decode the Hex encoded String data writing it to the given output stream,
141 public static int decode( method in class:Hex
146 return encoder.decode(data, out);
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_decrypt_key.c43 ltc_asn1_list decode[3]; local
55 /* decode to find out hash */
56 LTC_SET_ASN1(decode, 0, LTC_ASN1_OBJECT_IDENTIFIER, hashOID, sizeof(hashOID)/sizeof(hashOID[0]));
58 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) {
62 hash = find_hash_oid(hashOID, decode[0].size);
85 LTC_SET_ASN1(decode, 1, LTC_ASN1_OCTET_STRING, pub_expt, ECC_BUF_SIZE);
86 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE);
89 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) {
94 if ((err = ecc_import(decode[1].data, decode[
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
H A DURLDecoderTest.java38 * @tests java.net.URLDecoder#decode(java.lang.String)
44 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode(
46 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode(
48 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode(
53 * @tests java.net.URLDecoder#decode(java.lang.String, java.lang.String)
58 URLDecoder.decode("", "");
H A DURLEncoderTest.java38 assertTrue("1. Incorrect encoding/decoding", URLDecoder.decode(
40 assertTrue("2. Incorrect encoding/decoding", URLDecoder.decode(
42 assertTrue("3. Incorrect encoding/decoding", URLDecoder.decode(
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/provider/cert/
H A DCertFactoryTestData.java298 return Base64.decode(certPathPKCS7Base64.getBytes("UTF-8"));
302 return Base64.decode(certPathPkiPathBase64.getBytes("UTF-8"));
306 return Base64.decode(certEncodingBase64.getBytes("UTF-8"));
318 return Base64.decode(crlEncodingBase64.getBytes("UTF-8"));
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_decrypt_key.c37 ltc_asn1_list decode[3]; local
49 /* decode to find out hash */
50 LTC_SET_ASN1(decode, 0, LTC_ASN1_OBJECT_IDENTIFIER, hashOID, sizeof(hashOID)/sizeof(hashOID[0]));
52 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) {
56 hash = find_hash_oid(hashOID, decode[0].size);
81 LTC_SET_ASN1(decode, 1, LTC_ASN1_INTEGER, g_pub, 1UL);
82 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE);
85 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) {
101 if (decode[2].size > y) {
107 if (*outlen < decode[
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkBase64.h24 Error decode(const char* src, size_t length);
37 Error decode(const void* srcPtr, size_t length, bool writeDestination);
/external/skia/src/utils/
H A DSkBase64.h24 Error decode(const char* src, size_t length);
37 Error decode(const void* srcPtr, size_t length, bool writeDestination);
/external/chromium_org/third_party/WebKit/Source/modules/encoding/
H A DTextDecoder.h52 String decode(ArrayBufferView*, const Dictionary&, ExceptionState&);
53 String decode(ExceptionState& exceptionState) { return decode(0, Dictionary(), exceptionState); } function in class:WebCore::TextDecoder
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodec.h65 String decode(const char* str, size_t length, bool flush = false) function in class:WTF::TextCodec
68 return decode(str, length, flush, false, ignored);
71 virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError) = 0;
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DEncodeHtmlDataUriTest.java24 private String decode(String dataUri) throws java.io.UnsupportedEncodingException { method in class:EncodeHtmlDataUriTest
26 return URLDecoder.decode(data, "UTF-8");
33 String decodedUri = decode(encodedUri);
41 String decodedUri = decode(encodedUri);
49 String decodedUri = decode(encodedUri);
58 String decodedUri = decode(encodedUri);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
H A DX962NamedCurves.java30 Hex.decode("03188da80eb03090f67cbf20eb43a18800f4ff0afd82ff1012")),
33 Hex.decode("3045AE6FC8422f64ED579528D38120EAE12196D5"));
49 Hex.decode("03eea2bae7e1497842f2de7769cfe9c989c072ad696f48034a")),
52 Hex.decode("31a92ee2029fd10d901b113e990710f0d21ac6b6"));
68 Hex.decode("027d29778100c65a1da1783716588dce2b8b4aee8e228f1896")),
71 Hex.decode("c469684435deb378c4b65ca9591e2a5763059a2e"));
87 Hex.decode("020ffa963cdca8816ccc33b8642bedf905c3d358573d3f27fbbd3b3cb9aaaf")),
90 Hex.decode("e43bb460f0b80cc0c0b075798e948060f8321b7d"));
106 Hex.decode("0238af09d98727705120c921bb5e9e26296a3cdcf2f35757a0eafd87b830e7")),
109 Hex.decode("e8b4011604095303ca3b8099982be09fcb9ae61
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DDSAEncoder.java11 BigInteger[] decode(byte[] sig) method in interface:DSAEncoder
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
H A DByteTest.java277 * @tests java.lang.Byte#decode(String)
280 assertEquals(new Byte((byte) 0), Byte.decode("0"));
281 assertEquals(new Byte((byte) 1), Byte.decode("1"));
282 assertEquals(new Byte((byte) -1), Byte.decode("-1"));
283 assertEquals(new Byte((byte) 0xF), Byte.decode("0xF"));
284 assertEquals(new Byte((byte) 0xF), Byte.decode("#F"));
285 assertEquals(new Byte((byte) 0xF), Byte.decode("0XF"));
286 assertEquals(new Byte((byte) 07), Byte.decode("07"));
289 Byte.decode("9.2");
295 Byte.decode("");
[all...]

Completed in 2250 milliseconds

1234567891011>>