HomeSort by relevance Sort by last modified time
    Searched defs:enc (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/openssl/crypto/des/
rpc_enc.c 67 int enc; local
70 enc=(desp->des_dir == ENCRYPT)?DES_ENCRYPT:DES_DECRYPT;
75 enc);
79 len,&ks,&desp->des_ivec,enc);
  /external/libvpx/vp8/common/
treecoder.c 82 const int enc = tok[t].value; local
89 const int b = (enc >> --L) & 1;
  /external/openssl/ssl/
d1_enc.c 135 const EVP_CIPHER *enc; local
148 enc=NULL;
151 enc=EVP_CIPHER_CTX_cipher(s->enc_write_ctx);
174 enc=NULL;
176 enc=EVP_CIPHER_CTX_cipher(s->enc_read_ctx);
184 (enc == NULL))
s2_clnt.c 615 int clear,enc,karg,i; local
670 enc=8;
672 enc=5;
674 enc=i;
676 if ((int)i < enc)
682 clear=i-enc;
687 enc=ssl_rsa_public_encrypt(sess->sess_cert,enc,
690 if (enc <= 0)
701 s2n(enc,p)
    [all...]
  /libcore/luni/src/main/java/java/net/
URLEncoder.java 38 * the specified encoding scheme {@code enc}.
75 * using the specified encoding scheme {@code enc}.
84 * @param enc
90 public static String encode(String s, String enc) throws UnsupportedEncodingException {
91 if (s == null || enc == null) {
95 "".getBytes(enc);
105 convert(s.substring(start, i), buf, enc); local
120 convert(s.substring(start, s.length()), buf, enc); local
125 private static void convert(String s, StringBuilder buf, String enc)
127 byte[] bytes = s.getBytes(enc);
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldURLDecoderTest.java 28 String enc = "UTF-8"; local
44 assertEquals(expected[i], URLDecoder.decode(urls[i], enc));
51 URLDecoder.decode(urls[urls.length - 2], enc);
52 URLDecoder.decode(urls[urls.length - 1], enc);
OldURLEncoderTest.java 30 String enc = "UTF-8"; local
45 String encodedString = URLEncoder.encode(urls[i], enc);
47 assertEquals(urls[i], URLDecoder.decode(encodedString, enc));
54 String encodedString = URLEncoder.encode(urls[urls.length - 1], enc);
55 assertEquals(urls[urls.length - 1], URLDecoder.decode(encodedString, enc));
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetTest.java 48 CharsetEncoder enc = cs.newEncoder(); local
49 assertNotNull(enc);
50 assertNotNull(enc.replacement());
  /external/openssl/apps/
gendsa.c 90 const EVP_CIPHER *enc=NULL; local
135 enc=EVP_des_cbc();
137 enc=EVP_des_ede3_cbc();
141 enc=EVP_idea_cbc();
145 enc=EVP_seed_cbc();
149 enc=EVP_aes_128_cbc();
151 enc=EVP_aes_192_cbc();
153 enc=EVP_aes_256_cbc();
157 enc=EVP_camellia_128_cbc();
159 enc=EVP_camellia_192_cbc()
    [all...]
genrsa.c 98 const EVP_CIPHER *enc=NULL; local
155 enc=EVP_des_cbc();
157 enc=EVP_des_ede3_cbc();
161 enc=EVP_idea_cbc();
165 enc=EVP_seed_cbc();
169 enc=EVP_aes_128_cbc();
171 enc=EVP_aes_192_cbc();
173 enc=EVP_aes_256_cbc();
177 enc=EVP_camellia_128_cbc();
179 enc=EVP_camellia_192_cbc()
    [all...]
dsa.c 103 const EVP_CIPHER *enc=NULL; local
192 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
335 else i=PEM_write_bio_DSAPrivateKey(out,dsa,enc,
ec.c 95 const EVP_CIPHER *enc = NULL; local
200 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
372 i = PEM_write_bio_ECPrivateKey(out, eckey, enc,
rsa.c 106 const EVP_CIPHER *enc=NULL; local
200 else if ((enc=EVP_get_cipherbyname(&(argv[0][1]))) == NULL)
411 enc,NULL,0,NULL,passout);
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyExemptionMechanismSpi.java 109 private byte[] enc; field in class:MyExemptionMechanismSpi.tmpKey
110 public tmpKey(String alg, byte[] enc) {
112 this.enc = enc;
121 return enc;
126 private byte[] enc; field in class:MyExemptionMechanismSpi.tmp1Key
127 public tmp1Key(String alg, byte[] enc) {
128 this.enc = enc;
137 return enc;
    [all...]
  /external/openssl/crypto/asn1/
tasn_utl.c 141 ASN1_ENCODING *enc; local
142 enc = asn1_get_enc_ptr(pval, it);
143 if (enc)
145 enc->enc = NULL;
146 enc->len = 0;
147 enc->modified = 1;
153 ASN1_ENCODING *enc; local
154 enc = asn1_get_enc_ptr(pval, it);
155 if (enc)
168 ASN1_ENCODING *enc; local
188 ASN1_ENCODING *enc; local
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/audio/sun/
SDL_sunaudio.c 247 int enc; local
262 enc = AUDIO_ENCODING_LINEAR8;
270 enc = AUDIO_ENCODING_LINEAR;
299 info.play.precision = (enc == AUDIO_ENCODING_ULAW)
301 info.play.encoding = enc;
310 if(info.play.encoding == enc
319 switch(enc) {
322 enc = AUDIO_ENCODING_LINEAR;
328 enc = AUDIO_ENCODING_ULAW;
  /frameworks/base/tests/CoreTests/android/core/
InputStreamReaderTest.java 91 String[] enc = new String[]{ local
96 for (int i = 0; i < enc.length; i++) {
97 byte[] ba = src.getBytes(enc[i]);
99 String s1 = new String(ba, enc[i]);
102 InputStreamReader r = new InputStreamReader(bais, enc[i]);
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
PKIXCertPath.java 245 Object enc = iter.next(); local
246 if (enc instanceof String)
248 return getEncoded((String)enc);
  /external/webkit/WebKit/android/jni/
WebCoreJniOnLoad.cpp 281 SkImageEncoder* enc = SkImageEncoder::Create(SkImageEncoder::kPNG_Type); local
282 enc->encodeFile("/sdcard/webcore_test.png", bmp, 100);
283 delete enc;
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_gnutls.c 202 gcry_cipher_hd_t enc; member in struct:crypto_cipher
223 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_STREAM,
234 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0);
239 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0);
244 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0);
252 res = gcry_cipher_open(&ctx->enc, a, GCRY_CIPHER_MODE_CBC, 0);
265 if (gcry_cipher_setkey(ctx->enc, key, key_len) != GPG_ERR_NO_ERROR ||
267 gcry_cipher_close(ctx->enc);
274 if (gcry_cipher_setiv(ctx->enc, iv, ivlen) != GPG_ERR_NO_ERROR ||
276 gcry_cipher_close(ctx->enc);
    [all...]
  /frameworks/base/media/libmedia/
MediaScannerClient.cpp 124 const char* enc = NULL; local
127 enc = "shift-jis";
130 enc = "gbk";
133 enc = "Big5";
136 enc = "EUC-KR";
140 if (enc) {
143 UConverter *conv = ucnv_open(enc, &status);
145 LOGE("could not create UConverter for %s\n", enc);
  /hardware/qcom/gps/loc_api/libloc_api/
loc_eng_ni.cpp 218 GpsNiEncodingType enc = GPS_ENC_UNKNOWN; local
223 enc = GPS_ENC_SUPL_UTF8;
226 enc = GPS_ENC_SUPL_UCS2;
229 enc = GPS_ENC_SUPL_GSM_DEFAULT;
235 return enc;
  /libcore/luni/src/main/java/java/io/
OutputStreamWriter.java 60 * stream to write converted characters to and {@code enc} as the character
66 * @param enc
69 * if {@code enc} is {@code null}.
71 * if the encoding specified by {@code enc} cannot be found.
73 public OutputStreamWriter(OutputStream out, final String enc)
76 if (enc == null) {
81 encoder = Charset.forName(enc).newEncoder();
83 throw new UnsupportedEncodingException(enc);
109 * stream to write converted characters to and {@code enc} as the character
114 * @param enc
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
CertificateFactorySpiTest.java 202 Iterator<String> enc = certFactorySpi.engineGetCertPathEncodings(); local
203 assertTrue("Incorrect Iterator", enc.hasNext());
274 Iterator<String> enc = certFactorySpi.engineGetCertPathEncodings(); local
275 assertFalse("Incorrect Iterator", enc.hasNext());
  /packages/apps/Browser/src/com/android/browser/search/
SearchEngineInfo.java 92 String enc = mSearchEngineData[FIELD_ENCODING]; local
93 if (TextUtils.isEmpty(enc)) {
94 enc = "UTF-8";
95 mSearchEngineData[FIELD_ENCODING] = enc;
100 mSearchEngineData[FIELD_SEARCH_URI].replace(PARAMETER_INPUT_ENCODING, enc);
102 mSearchEngineData[FIELD_SUGGEST_URI].replace(PARAMETER_INPUT_ENCODING, enc);
155 String enc = mSearchEngineData[FIELD_ENCODING]; local
157 return templateUri.replace(PARAMETER_SEARCH_TERMS, URLEncoder.encode(query, enc));
159 Log.e(TAG, "Exception occured when encoding query " + query + " to " + enc);

Completed in 1018 milliseconds

1 2 3 4