Home
last modified time | relevance | path

Searched refs:decode (Results 1 – 25 of 216) sorted by relevance

123456789

/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_decrypt_key.c43 ltc_asn1_list decode[3]; in ecc_decrypt_key() local
56 LTC_SET_ASN1(decode, 0, LTC_ASN1_OBJECT_IDENTIFIER, hashOID, sizeof(hashOID)/sizeof(hashOID[0])); in ecc_decrypt_key()
58 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) { in ecc_decrypt_key()
62 hash = find_hash_oid(hashOID, decode[0].size); in ecc_decrypt_key()
85 LTC_SET_ASN1(decode, 1, LTC_ASN1_OCTET_STRING, pub_expt, ECC_BUF_SIZE); in ecc_decrypt_key()
86 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in ecc_decrypt_key()
89 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) { in ecc_decrypt_key()
94 if ((err = ecc_import(decode[1].data, decode[1].size, &pubkey)) != CRYPT_OK) { in ecc_decrypt_key()
112 if (decode[2].size > y) { in ecc_decrypt_key()
118 if (*outlen < decode[2].size) { in ecc_decrypt_key()
[all …]
/external/dropbear/libtomcrypt/src/pk/dsa/
Ddsa_decrypt_key.c37 ltc_asn1_list decode[3]; in dsa_decrypt_key() local
50 LTC_SET_ASN1(decode, 0, LTC_ASN1_OBJECT_IDENTIFIER, hashOID, sizeof(hashOID)/sizeof(hashOID[0])); in dsa_decrypt_key()
52 if ((err = der_decode_sequence(in, inlen, decode, 1)) != CRYPT_OK) { in dsa_decrypt_key()
56 hash = find_hash_oid(hashOID, decode[0].size); in dsa_decrypt_key()
81 LTC_SET_ASN1(decode, 1, LTC_ASN1_INTEGER, g_pub, 1UL); in dsa_decrypt_key()
82 LTC_SET_ASN1(decode, 2, LTC_ASN1_OCTET_STRING, skey, MAXBLOCKSIZE); in dsa_decrypt_key()
85 if ((err = der_decode_sequence(in, inlen, decode, 3)) != CRYPT_OK) { in dsa_decrypt_key()
101 if (decode[2].size > y) { in dsa_decrypt_key()
107 if (*outlen < decode[2].size) { in dsa_decrypt_key()
108 *outlen = decode[2].size; in dsa_decrypt_key()
[all …]
/external/tcpdump/
Dprint-esp.c138 char *decode; in esp_print_decode_onesecret() local
146 decode = spikey; in esp_print_decode_onesecret()
152 decode = line; in esp_print_decode_onesecret()
220 if (decode) { in esp_print_decode_onesecret()
229 while (isspace((unsigned char)*decode)) in esp_print_decode_onesecret()
230 decode++; in esp_print_decode_onesecret()
232 colon = strchr(decode, ':'); in esp_print_decode_onesecret()
234 (*ndo->ndo_warning)(ndo, "failed to decode espsecret: %s\n", decode); in esp_print_decode_onesecret()
239 len = colon - decode; in esp_print_decode_onesecret()
240 if (strlen(decode) > strlen("-hmac96") && in esp_print_decode_onesecret()
[all …]
/external/chromium/sdch/open-vcdiff/src/
Dvcdiff_test.sh60 $VCDIFF decode -dictionary $DICTIONARY_FILE \
80 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
100 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
119 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
135 $VCDIFF decode -dictionary $TARGET_FILE \
175 $VCDIFF decode -dictionary $DICTIONARY_FILE \
204 decode -dictionary $DICTIONARY_FILE \
249 $VCDIFF decode -dictionary $DICTIONARY_FILE \
311 { $VCDIFF decode -dictionary $DICTIONARY_FILE \
367 $VCDIFF decode -target $TARGET_FILE \
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/
DHex.java79 public static byte[] decode( in decode() method in Hex
86 encoder.decode(data, 0, data.length, bOut); in decode()
101 public static byte[] decode( in decode() method in Hex
108 encoder.decode(data, bOut); in decode()
124 public static int decode( in decode() method in Hex
129 return encoder.decode(data, out); in decode()
DBase64.java67 public static byte[] decode( in decode() method in Base64
75 encoder.decode(data, 0, data.length, bOut); in decode()
90 public static byte[] decode( in decode() method in Base64
98 encoder.decode(data, bOut); in decode()
114 public static int decode( in decode() method in Base64
119 return encoder.decode(data, out); in decode()
DEncoder.java14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; in decode() method
16 int decode(String data, OutputStream out) throws IOException; in decode() method
/external/apache-http/src/org/apache/commons/codec/net/
DQuotedPrintableCodec.java229 public byte[] decode(byte[] bytes) throws DecoderException { in decode() method in QuotedPrintableCodec
275 …public String decode(String pString, String charset) throws DecoderException, UnsupportedEncodingE… in decode() method in QuotedPrintableCodec
279 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()
295 public String decode(String pString) throws DecoderException { in decode() method in QuotedPrintableCodec
300 return decode(pString, getDefaultCharset()); in decode()
341 public Object decode(Object pObject) throws DecoderException { in decode() method in QuotedPrintableCodec
345 return decode((byte[]) pObject); in decode()
347 return decode((String) pObject); in decode()
DURLCodec.java205 public byte[] decode(byte[] bytes) throws DecoderException { in decode() method in URLCodec
264 public String decode(String pString, String charset) in decode() method in URLCodec
270 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()
285 public String decode(String pString) throws DecoderException { in decode() method in URLCodec
290 return decode(pString, getDefaultCharset()); in decode()
330 public Object decode(Object pObject) throws DecoderException { in decode() method in URLCodec
334 return decode((byte[])pObject); in decode()
336 return decode((String)pObject); in decode()
DBCodec.java142 public String decode(String value) throws DecoderException { in decode() method in BCodec
187 public Object decode(Object value) throws DecoderException { in decode() method in BCodec
191 return decode((String) value); in decode()
DQCodec.java225 public String decode(String pString) throws DecoderException { in decode() method in QCodec
270 public Object decode(Object pObject) throws DecoderException { in decode() method in QCodec
274 return decode((String) pObject); in decode()
/external/v8/src/
Dframe-element.h60 if (!is_constant()) return NumberInfoField::decode(value_); in number_info()
123 bool is_synced() const { return SyncedField::decode(value_); } in is_synced()
141 bool is_copied() const { return CopiedField::decode(value_); } in is_copied()
147 uint32_t reg = DataField::decode(value_); in reg()
155 return ConstantList()->at(DataField::decode(value_)); in handle()
160 return DataField::decode(value_); in index()
231 Type type() const { return TypeField::decode(value_); } in type()
/external/chromium/sdch/open-vcdiff/vsprojects/
Dvcdiff_test.bat50 rem vcdiff with three arguments but without "encode" or "decode"
65 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
87 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
107 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
126 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
142 %VCDIFF% decode -dictionary %TARGET_FILE% ^
182 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
198 decode -dictionary %DICTIONARY_FILE% ^
227 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
289 %VCDIFF% decode -dictionary %DICTIONARY_FILE% ^
[all …]
/external/skia/src/animator/
DSkBase64.cpp45 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { in decode() function in SkBase64
157 SkBase64::Error SkBase64::decode(const char* src, size_t len) { in decode() function in SkBase64
158 Error err = decode(src, len, false); in decode()
163 decode(src, len, true); in decode()
179 tryMe.decode(src, encodeLength); in UnitTest()
DSkBase64.h32 Error decode(const char* src, size_t length);
40 Error decode(const void* srcPtr, size_t length, bool writeDestination);
/external/webkit/WebCore/platform/text/
DTextCodec.h63 String decode(const char* str, size_t length, bool flush = false)
66 return decode(str, length, flush, false, ignored);
69 …virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError) = …
DTextEncoding.h68 String decode(const char* str, size_t length) const in decode() function
71 return decode(str, length, false, ignored); in decode()
73 String decode(const char*, size_t length, bool stopOnError, bool& sawError) const;
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java141 final String name = decode(nameValue[0], encoding); in parse()
144 value = decode(nameValue[1], encoding); in parse()
173 private static String decode (final String content, final String encoding) { in decode() method in URLEncodedUtils
175 return URLDecoder.decode(content, in decode()
/external/v8/test/cctest/
Dtest-conversions.cc108 CHECK_EQ(i, OneBit1::decode(x)); in TEST()
112 CHECK_EQ(i, OneBit2::decode(x)); in TEST()
123 CHECK_EQ(i, EightBit1::decode(x)); in TEST()
126 CHECK_EQ(i, EightBit2::decode(x)); in TEST()
/external/nist-sip/java/gov/nist/javax/sip/address/
DSipUri.java169 …if (a.getUser()!=null && !RFC2396UrlDecoder.decode(a.getUser()).equals(RFC2396UrlDecoder.decode(b.… in equals()
170 ….getUserPassword()!=null && !RFC2396UrlDecoder.decode(a.getUserPassword()).equals(RFC2396UrlDecode… in equals()
183 …if (p1!=null && p2!=null && !RFC2396UrlDecoder.decode(p1).equalsIgnoreCase(RFC2396UrlDecoder.decod… in equals()
216 … Header header1 = headerFactory.createHeader(hname, RFC2396UrlDecoder.decode(h1)); in equals()
217 … Header header2 = headerFactory.createHeader(hname, RFC2396UrlDecoder.decode(h2)); in equals()
/external/webkit/WebCore/platform/image-decoders/jpeg/
DJPEGImageDecoder.cpp158 bool decode(const Vector<char>& data, bool sizeOnly) { in decode() function in WebCore::JPEGImageReader
428 decode(true); in isSizeAvailable()
452 decode(); in frameBufferAtIndex()
457 void JPEGImageDecoder::decode(bool sizeOnly) in decode() function in WebCore::JPEGImageDecoder
462 m_failed = !m_reader->decode(m_data->buffer(), sizeOnly); in decode()
/external/webkit/WebCore/platform/image-decoders/png/
DPNGImageDecoder.cpp105 void decode(const SharedBuffer& data, bool sizeOnly) in decode() function in WebCore::PNGImageReader
178 decode(true); in isSizeAvailable()
194 decode(); in frameBufferAtIndex()
199 void PNGImageDecoder::decode(bool sizeOnly) in decode() function in WebCore::PNGImageDecoder
204 m_reader->decode(*m_data, sizeOnly); in decode()
/external/webkit/WebCore/platform/text/mac/
DTextCodecMac.h46 … virtual String decode(const char*, size_t length, bool flush, bool stopOnError, bool& sawError);
50 OSStatus decode(const unsigned char* inputBuffer, int inputBufferLength, int& inputLength,
/external/zlib/contrib/blast/
Dblast.c123 local int decode(struct state *s, struct huffman *h) in decode() function
327 symbol = decode(s, &lencode); in decomp()
333 dist = decode(s, &distcode) << symbol; in decomp()
364 symbol = lit ? decode(s, &litcode) : bits(s, 8); in decomp()
/external/libvpx/vp8/common/
Dduck_io.h58 const char *decode; member
84 return (char *) g_sal_err_map[t].decode; in sal_err_text()

123456789