/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
enc.c | 63 #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/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_encrypt_key.c | 40 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 = mp_exptmod(key->g, g_priv, key->p, g_pub)) != CRYPT_OK) [all...] |
dsa_sign_hash.c | 37 int err; local 44 if ((err = prng_is_valid(wprng)) != CRYPT_OK) { 45 return err; 62 if ((err = mp_init_multi(&k, &kinv, &tmp, NULL)) != CRYPT_OK) { goto ERRBUF; } 69 err = CRYPT_ERROR_READPRNG; 74 if ((err = mp_read_unsigned_bin(k, buf, key->qord)) != CRYPT_OK) { goto error; } 80 if ((err = mp_gcd(k, key->q, tmp)) != CRYPT_OK) { goto error; } 84 if ((err = mp_invmod(k, key->q, kinv)) != CRYPT_OK) { goto error; } 87 if ((err = mp_exptmod(key->g, k, key->p, r)) != CRYPT_OK) { goto error; } 88 if ((err = mp_mod(r, key->q, r)) != CRYPT_OK) { goto error; 127 int err; local [all...] |
/external/jpeg/ |
jerror.h | 206 ((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->msg_code = (code), [all...] |
/external/openssl/crypto/pkcs7/ |
enc.c | 63 #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/ |
jerror.h | 206 ((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->msg_code = (code), [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
M4READER_Amr.c | 139 M4OSA_ERR err; local 147 err = M4AMRR_openRead( &pC->m_pCoreContext, pFileDescriptor, pC->m_pOsaFileReaderFcts); 149 return err; 167 M4OSA_ERR err; local 185 err = M4AMRR_getState(pC->m_pCoreContext, &State, 187 if(M4NO_ERROR != err) 190 return err; 195 err = M4AMRR_freeAU(pC->m_pCoreContext, 197 if (err != M4NO_ERROR) 200 return err; 248 M4OSA_ERR err; local 412 M4OSA_ERR err = M4NO_ERROR; local 478 M4OSA_ERR err = M4NO_ERROR; local 521 M4OSA_ERR err; local 592 M4OSA_ERR err; local 665 M4OSA_ERR err = M4NO_ERROR; local [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
ucnv_cb.h | 79 * @param err error status. If <TT>U_BUFFER_OVERFLOW</TT> is returned, then U_BUFFER_OVERFLOW <STRONG>must</STRONG> 90 UErrorCode * err); 99 * @param err error status. If <TT>U_BUFFER_OVERFLOW</TT> is returned, then U_BUFFER_OVERFLOW <STRONG>must</STRONG> 108 UErrorCode * err); 118 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 126 UErrorCode * err); 137 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 145 UErrorCode * err); 153 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 159 UErrorCode * err); [all...] |
/external/chromium_org/tools/gn/ |
function_read_file.cc | 6 #include "tools/gn/err.h" 43 Err* err) { 45 *err = Err(function->function(), "Wrong number of args to read_file", 49 if (!args[0].VerifyTypeIs(Value::STRING, err)) 64 *err = Err(args[0], "Could not read file.", 69 return ConvertInputToValue(file_contents, function, args[1], err);
|
function_set_default_toolchain.cc | 47 Err* err) { 49 *err = Err(function->function(), "Must be called from build config.", 62 if (!EnsureSingleStringArg(function, args, err)) 65 Label::Resolve(current_dir, default_toolchain, args[0], err)); 71 mgr.SetDefaultToolchainUnlocked(toolchain_label, function->GetRange(), err);
|
functions.h | 14 class Err; 34 Err* err); 42 Err* err); 48 Err* err); 55 Err* err); 63 Err* err) [all...] |
/external/dropbear/libtomcrypt/src/mac/f9/ |
f9_init.c | 29 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/ |
cfb_decrypt.c | 30 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;
|
cfb_encrypt.c | 30 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;
|
cfb_start.c | 34 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/ |
ecb_decrypt.c | 30 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;
|
ecb_encrypt.c | 30 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/ |
ofb_encrypt.c | 30 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;
|
/external/dropbear/libtommath/ |
bn_mp_fread.c | 21 int err, ch, neg, y; local 47 if ((err = mp_mul_d(a, radix, a)) != MP_OKAY) { 48 return err; 50 if ((err = mp_add_d(a, y, a)) != MP_OKAY) { 51 return err;
|
/external/icu4c/common/unicode/ |
ucnv_cb.h | 79 * @param err error status. If <TT>U_BUFFER_OVERFLOW</TT> is returned, then U_BUFFER_OVERFLOW <STRONG>must</STRONG> 90 UErrorCode * err); 99 * @param err error status. If <TT>U_BUFFER_OVERFLOW</TT> is returned, then U_BUFFER_OVERFLOW <STRONG>must</STRONG> 108 UErrorCode * err); 118 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 126 UErrorCode * err); 137 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 145 UErrorCode * err); 153 * @param err error status <TT>U_BUFFER_OVERFLOW</TT> 159 UErrorCode * err); [all...] |
/external/iproute2/ip/ |
link_veth.c | 31 int err, len; local 45 err = iplink_parse(argc - 1, argv + 1, (struct iplink_req *)hdr, 47 if (err < 0) 48 return err; 58 return argc - 1 - err;
|
/frameworks/native/libs/gui/ |
GraphicBufferAlloc.cpp | 37 status_t err = graphicBuffer->initCheck(); local 38 *error = err; 39 if (err != 0 || graphicBuffer->handle == 0) { 40 if (err == NO_MEMORY) { 45 w, h, strerror(-err), graphicBuffer->handle);
|
/hardware/libhardware/tests/nusensors/ |
nusensors.cpp | 62 int err; local 66 err = hw_get_module(SENSORS_HARDWARE_MODULE_ID, (hw_module_t const**)&module); 67 if (err != 0) { 68 printf("hw_get_module() failed (%s)\n", strerror(-err)); 72 err = sensors_open(&module->common, &device); 73 if (err != 0) { 74 printf("sensors_open() failed (%s)\n", strerror(-err)); 104 err = device->activate(device, list[i].handle, 0); 105 if (err != 0) { 107 list[i].name, strerror(-err)); [all...] |
/packages/apps/Gallery2/jni_jpegstream/src/ |
jerr_hook.cpp | 26 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); 27 (*cinfo->err->output_message) (cinfo); 37 ErrManager* mgr = reinterpret_cast<ErrManager*>(cinfo->err); 39 (*cinfo->err->format_message) (cinfo, buf); 49 cinfo->err = reinterpret_cast<struct jpeg_error_mgr*>(errMgr);
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/sequence/ |
der_decode_sequence_ex.c | 34 int err, type; local 99 if ((err = der_decode_boolean(in + x, z, ((int *)data))) != CRYPT_OK) { 102 if ((err = der_length_boolean(&z)) != CRYPT_OK) { 109 if ((err = der_decode_integer(in + x, z, data)) != CRYPT_OK) { 113 if ((err = der_length_integer(data, &z)) != CRYPT_OK) { 120 if ((err = der_decode_short_integer(in + x, z, data)) != CRYPT_OK) { 124 if ((err = der_length_short_integer(((unsigned long*)data)[0], &z)) != CRYPT_OK) { 132 if ((err = der_decode_bit_string(in + x, z, data, &size)) != CRYPT_OK) { 137 if ((err = der_length_bit_string(size, &z)) != CRYPT_OK) { 144 if ((err = der_decode_octet_string(in + x, z, data, &size)) != CRYPT_OK) [all...] |