Searched refs:err (Results 126 - 150 of 2032) sorted by relevance

1234567891011>>

/external/sqlite/android/
H A Dsqlite3_android.cpp198 int err = unlink(path); local
199 if (err != -1) {
261 int err; local
297 err = sqlite3_prepare_v2(handle, sql, -1, &statement, NULL);
299 if (err) {
315 err = sqlite3_bind_int64(statement, 2, rowID);
316 if (err != SQLITE_OK) {
325 err = sqlite3_bind_value(statement, dataTagParamIndex, argv[5]);
326 if (err != SQLITE_OK) {
373 err
418 int err; local
497 int err; local
[all...]
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/
H A Dder_decode_sequence_flexi.c66 unsigned long err, type, len, totlen, x, y; local
84 err = CRYPT_INVALID_PACKET;
92 err = CRYPT_MEM;
98 err = CRYPT_MEM;
112 if ((err = der_decode_boolean(in, *inlen, l->data)) != CRYPT_OK) {
116 if ((err = der_length_boolean(&len)) != CRYPT_OK) {
125 if ((err = mp_init(&l->data)) != CRYPT_OK) {
130 if ((err = der_decode_integer(in, *inlen, l->data)) != CRYPT_OK) {
135 if ((err = der_length_integer(l->data, &len)) != CRYPT_OK) {
146 err
[all...]
/external/openssl/crypto/dsa/
H A Ddsa_gen.c176 goto err;
179 goto err;
192 goto err;
202 goto err;
226 goto err;
228 goto err;
236 goto err;
244 goto err;
250 if(!BN_GENCB_call(cb, 2, 0)) goto err;
251 if(!BN_GENCB_call(cb, 3, 0)) goto err;
[all...]
/external/openssl/crypto/ocsp/
H A Docsp_prn.c65 #include <openssl/err.h>
144 if (BIO_write(bp,"OCSP Request Data:\n",19) <= 0) goto err;
146 if (BIO_printf(bp," Version: %lu (0x%lx)",l+1,l) <= 0) goto err;
150 goto err;
153 if (BIO_write(bp,"\n Requestor List:\n",21) <= 0) goto err;
162 goto err;
166 goto err;
177 err:
194 if (BIO_puts(bp,"OCSP Response Data:\n") <= 0) goto err;
197 OCSP_response_status_str(l), l) <= 0) goto err;
[all...]
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_make_key.c32 int err, res; local
39 if ((err = prng_is_valid(wprng)) != CRYPT_OK) {
40 return err;
56 if ((err = mp_init_multi(&tmp, &tmp2, &key->g, &key->q, &key->p, &key->x, &key->y, NULL)) != CRYPT_OK) {
58 return err;
62 if ((err = rand_prime(key->q, group_size, prng, wprng)) != CRYPT_OK) { goto error; }
65 if ((err = mp_add(key->q, key->q, tmp)) != CRYPT_OK) { goto error; }
69 err = CRYPT_ERROR_READPRNG;
79 if ((err = mp_read_unsigned_bin(tmp2, buf, modulus_size - group_size)) != CRYPT_OK) { goto error; }
80 if ((err
[all...]
H A Ddsa_encrypt_key.c40 int err; local
48 if ((err = prng_is_valid(wprng)) != CRYPT_OK) {
49 return err;
52 if ((err = hash_is_valid(hash)) != CRYPT_OK) {
53 return err;
61 if ((err = mp_init_multi(&g_pub, &g_priv, NULL)) != CRYPT_OK) {
62 return err;
81 err = CRYPT_ERROR_READPRNG;
86 if ((err = mp_read_unsigned_bin(g_priv, expt, x)) != CRYPT_OK) {
91 if ((err
[all...]
/external/icu4c/common/
H A Ducnv_cb.c39 UErrorCode * err)
41 if(U_FAILURE(*err)) {
50 err);
58 UErrorCode * err)
68 Please set the err value to something reasonable before calling
74 if(U_FAILURE(*err))
88 err);
103 if(*err == U_BUFFER_OVERFLOW_ERROR)
125 *err = U_INTERNAL_PROGRAM_ERROR;
157 *err
35 ucnv_cbFromUWriteBytes(UConverterFromUnicodeArgs *args, const char* source, int32_t length, int32_t offsetIndex, UErrorCode * err) argument
54 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, const UChar** source, const UChar* sourceLimit, int32_t offsetIndex, UErrorCode * err) argument
175 ucnv_cbFromUWriteSub(UConverterFromUnicodeArgs *args, int32_t offsetIndex, UErrorCode * err) argument
216 offsetIndex, err); local
221 offsetIndex, err); local
226 ucnv_cbToUWriteUChars(UConverterToUnicodeArgs *args, const UChar* source, int32_t length, int32_t offsetIndex, UErrorCode * err) argument
245 ucnv_cbToUWriteSub(UConverterToUnicodeArgs *args, int32_t offsetIndex, UErrorCode * err) argument
[all...]
H A Dustr_cnv.c134 UErrorCode err = U_ZERO_ERROR; local
135 UConverter *cnv = u_getDefaultConverter(&err);
136 if(U_SUCCESS(err) && cnv != NULL) {
145 &err);
148 if(U_FAILURE(err) && (err != U_BUFFER_OVERFLOW_ERROR) ) {
151 if(target < (ucs1+n)) { /* U_BUFFER_OVERFLOW_ERROR isn't an err, just means no termination will happen. */
164 UErrorCode err = U_ZERO_ERROR; local
165 UConverter *cnv = u_getDefaultConverter(&err);
166 if(U_SUCCESS(err)
206 UErrorCode err = U_ZERO_ERROR; local
236 UErrorCode err = U_ZERO_ERROR; local
[all...]
/external/chromium/net/socket/
H A Dnss_ssl_util.h29 int MapNSSError(PRErrorCode err);
32 int MapNSSHandshakeError(PRErrorCode err);
/external/clang/test/CodeGenCXX/
H A Dexceptions-no-rtti.cpp11 class err {}; class in namespace:test0
15 } catch (err &) {
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Dltc_ecc_mulmod.c42 int i, j, err; local
53 if ((err = mp_montgomery_setup(modulus, &mp)) != CRYPT_OK) {
54 return err;
56 if ((err = mp_init(&mu)) != CRYPT_OK) {
58 return err;
60 if ((err = mp_montgomery_normalization(mu, modulus)) != CRYPT_OK) {
63 return err;
81 if (tG == NULL) { err = CRYPT_MEM; goto done; }
85 if ((err = mp_copy(G->x, tG->x)) != CRYPT_OK) { goto done; }
86 if ((err
[all...]
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_decrypt_key.c41 int err; local
61 if ((err = hash_is_valid(hash_idx)) != CRYPT_OK) {
62 return err;
83 if ((err = ltc_mp.rsa_me(in, inlen, tmp, &x, PK_PRIVATE, key)) != CRYPT_OK) {
85 return err;
90 err = pkcs_1_oaep_decode(tmp, x, lparam, lparamlen, modulus_bitlen, hash_idx,
94 err = pkcs_1_v1_5_decode(tmp, x, LTC_PKCS_1_EME, modulus_bitlen, out, outlen, stat);
98 return err;
/external/valgrind/main/none/tests/
H A Dmmap_fcntl_bug.c14 #include <err.h>
29 err(1, "Opening %s", file);
34 err(1, "initial off_t differs from 123 (TEST FAILED)");
36 err(1, "zero offset from initial differs from 123 (TEST FAILED)");
45 err(1, "Locking %s", file);
49 err(1, "mmap of %s", file);
60 err(1, "Fork failed");
64 err(1, "Child vanished?");
/external/webkit/Source/WebKit/android/icu/unicode/
H A Ducnv.cpp41 ucnv_open_emoji(const char *converterName, UErrorCode *err) { argument
47 return ucnv_open(converterName, err);
/external/zlib/src/contrib/dotzlib/DotZLib/
H A DInflater.cs62 int err = 0;
64 while (err >= 0 && inputIndex < total)
67 err = inflate(ref _ztream, (int)FlushTypes.None);
68 if (err == 0)
72 err = inflate(ref _ztream, (int)FlushTypes.None);
86 int err;
89 err = inflate(ref _ztream, (int)FlushTypes.Finish);
92 while (err == 0);
/external/jpeg/
H A Djerror.h206 ((cinfo)->err->msg_code = (code), \
207 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
209 ((cinfo)->err->msg_code = (code), \
210 (cinfo)->err->msg_parm.i[0] = (p1), \
211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
213 ((cinfo)->err->msg_code = (code), \
214 (cinfo)->err->msg_parm.i[0] = (p1), \
215 (cinfo)->err->msg_parm.i[1] = (p2), \
216 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
218 ((cinfo)->err
[all...]
/external/openssl/crypto/pkcs7/
H A Denc.c63 #include <openssl/err.h>
93 goto err;
101 if (!(in=BIO_new_file(keyfile,"r"))) goto err;
103 goto err;
112 goto err;
115 if (!BIO_read_filename(data,argv[1])) goto err;
120 if ((pkey=PEM_read_bio_PrivateKey(in,NULL,NULL)) == NULL) goto err;
124 if (PKCS7_add_signature(p7,x509,pkey,EVP_sha1()) == NULL) goto err;
135 goto err;
139 if (!PKCS7_set_cipher(p7,cipher)) goto err;
[all...]
/external/qemu/distrib/jpeg-6b/
H A Djerror.h206 ((cinfo)->err->msg_code = (code), \
207 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
209 ((cinfo)->err->msg_code = (code), \
210 (cinfo)->err->msg_parm.i[0] = (p1), \
211 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
213 ((cinfo)->err->msg_code = (code), \
214 (cinfo)->err->msg_parm.i[0] = (p1), \
215 (cinfo)->err->msg_parm.i[1] = (p2), \
216 (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
218 ((cinfo)->err
[all...]
/external/dropbear/libtomcrypt/src/mac/f9/
H A Df9_init.c29 int x, err; local
35 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
36 return err;
45 if ((err = cipher_descriptor[cipher].setup(key, keylen, 0, &f9->key)) != CRYPT_OK) {
62 return err;
/external/dropbear/libtomcrypt/src/modes/cfb/
H A Dcfb_decrypt.c30 int err; local
36 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) {
37 return err;
48 if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) {
49 return err;
H A Dcfb_encrypt.c30 int err; local
36 if ((err = cipher_is_valid(cfb->cipher)) != CRYPT_OK) {
37 return err;
48 if ((err = cipher_descriptor[cfb->cipher].ecb_encrypt(cfb->pad, cfb->IV, &cfb->key)) != CRYPT_OK) {
49 return err;
H A Dcfb_start.c34 int x, err; local
40 if ((err = cipher_is_valid(cipher)) != CRYPT_OK) {
41 return err;
52 if ((err = cipher_descriptor[cipher].setup(key, keylen, num_rounds, &cfb->key)) != CRYPT_OK) {
53 return err;
/external/dropbear/libtomcrypt/src/modes/ecb/
H A Decb_decrypt.c30 int err; local
34 if ((err = cipher_is_valid(ecb->cipher)) != CRYPT_OK) {
35 return err;
46 if ((err = cipher_descriptor[ecb->cipher].ecb_decrypt(ct, pt, &ecb->key)) != CRYPT_OK) {
47 return err;
H A Decb_encrypt.c30 int err; local
34 if ((err = cipher_is_valid(ecb->cipher)) != CRYPT_OK) {
35 return err;
46 if ((err = cipher_descriptor[ecb->cipher].ecb_encrypt(pt, ct, &ecb->key)) != CRYPT_OK) {
47 return err;
/external/dropbear/libtomcrypt/src/modes/ofb/
H A Dofb_encrypt.c30 int err; local
34 if ((err = cipher_is_valid(ofb->cipher)) != CRYPT_OK) {
35 return err;
46 if ((err = cipher_descriptor[ofb->cipher].ecb_encrypt(ofb->IV, ofb->IV, &ofb->key)) != CRYPT_OK) {
47 return err;

Completed in 1049 milliseconds

1234567891011>>