/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_pss_encode.c | 41 int err; local 49 if ((err = hash_is_valid(hash_idx)) != CRYPT_OK) { 50 return err; 52 if ((err = prng_is_valid(prng_idx)) != CRYPT_OK) { 53 return err; 89 err = CRYPT_ERROR_READPRNG; 95 if ((err = hash_descriptor[hash_idx].init(&md)) != CRYPT_OK) { 99 if ((err = hash_descriptor[hash_idx].process(&md, DB, 8)) != CRYPT_OK) { 102 if ((err = hash_descriptor[hash_idx].process(&md, msghash, msghashlen)) != CRYPT_OK) { 105 if ((err = hash_descriptor[hash_idx].process(&md, salt, saltlen)) != CRYPT_OK) [all...] |
/external/openssl/crypto/asn1/ |
a_verify.c | 91 goto err; 99 goto err; 109 goto err; 120 goto err; 126 err: 155 goto err; 162 goto err; 171 goto err; 181 goto err; 188 goto err; [all...] |
/external/openssl/crypto/pkcs7/ |
dec.c | 64 #include <openssl/err.h> 110 goto err; 117 if (!BIO_read_filename(data,argv[0])) goto err; 121 goto err; 124 if ((in=BIO_new_file(keyfile,"r")) == NULL) goto err; 125 if ((x509=PEM_read_bio_X509(in,NULL,NULL,NULL)) == NULL) goto err; 128 goto err; 136 if ((p7=PEM_read_bio_PKCS7(data,NULL,NULL,NULL)) == NULL) goto err; 157 goto err; 185 goto err; 204 int err,depth; local [all...] |
/external/zlib/src/contrib/minizip/ |
zip.c | 352 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); local 353 if (err==1) 377 int err; local 379 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); 382 if (err==ZIP_OK) 383 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); 386 if (err==ZIP_OK) 390 return err; 399 int err; local 401 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i) 430 int err; local 642 int err=ZIP_OK; local 853 int err=ZIP_OK; local 961 int err; local 1067 int err = ZIP_OK; local 1365 int err=ZIP_OK; local 1405 int err=ZIP_OK; local 1520 int err=ZIP_OK; local 1757 int err = ZIP_OK; local 1779 int err = ZIP_OK; local 1818 int err = ZIP_OK; local 1866 int err = ZIP_OK; local 1885 int err = 0; local [all...] |
miniunz.c | 239 int err; local 241 err = unzGetGlobalInfo64(uf,&gi); 242 if (err!=UNZ_OK) 243 printf("error %d with zipfile in unzGetGlobalInfo \n",err); 253 err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); 254 if (err!=UNZ_OK) 256 printf("error %d with zipfile in unzGetCurrentFileInfo\n",err); 299 err = unzGoToNextFile(uf); 300 if (err!=UNZ_OK) 302 printf("error %d with zipfile in unzGoToNextFile\n",err); 321 int err=UNZ_OK; local 483 int err; local 518 int err = UNZ_OK; local [all...] |
/external/chromium_org/third_party/zlib/contrib/minizip/ |
zip.c | 352 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); local 353 if (err==1) 377 int err; local 379 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); 382 if (err==ZIP_OK) 383 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); 386 if (err==ZIP_OK) 390 return err; 399 int err; local 401 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i) 430 int err; local 642 int err=ZIP_OK; local 853 int err=ZIP_OK; local 961 int err; local 1067 int err = ZIP_OK; local 1364 int err=ZIP_OK; local 1404 int err=ZIP_OK; local 1519 int err=ZIP_OK; local 1754 int err = ZIP_OK; local 1776 int err = ZIP_OK; local 1815 int err = ZIP_OK; local 1863 int err = ZIP_OK; local 1882 int err = 0; local [all...] |
miniunz.c | 226 int err; local 228 err = unzGetGlobalInfo64(uf,&gi); 229 if (err!=UNZ_OK) 230 printf("error %d with zipfile in unzGetGlobalInfo \n",err); 240 err = unzGetCurrentFileInfo64(uf,&file_info,filename_inzip,sizeof(filename_inzip),NULL,0,NULL,0); 241 if (err!=UNZ_OK) 243 printf("error %d with zipfile in unzGetCurrentFileInfo\n",err); 286 err = unzGoToNextFile(uf); 287 if (err!=UNZ_OK) 289 printf("error %d with zipfile in unzGoToNextFile\n",err); 308 int err=UNZ_OK; local 471 int err; local 506 int err = UNZ_OK; local [all...] |
mztools.c | 37 int err = Z_OK; local 70 err = Z_ERRNO; 80 err = Z_ERRNO; 84 err = Z_ERRNO; 88 err = Z_STREAM_ERROR; 98 err = Z_ERRNO; 102 err = Z_ERRNO; 121 err = Z_ERRNO; 124 err = Z_ERRNO; 127 if (err != Z_OK) [all...] |
/build/tools/atree/ |
atree.cpp | 96 int err; local 194 err = read_list_file(*it, g_variables, &files, &excludes); 195 if (err != 0) { 196 return err; 201 err = 0; 204 err |= locate(&(*it), g_inputBases); 211 err |= list_dir(*it, excludes, &more); 225 if (err != 0) { 255 err = remove_recursively(*it); 256 if (err != 0) [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/ |
rsa_pss.c | 97 goto err; 109 goto err; 117 goto err; 127 goto err; 132 goto err; 140 goto err; 143 goto err; 152 goto err; 157 goto err; 162 goto err; [all...] |
rsa_ameth.c | 208 goto err; 215 goto err; 220 <= 0) goto err; 227 <= 0) goto err; 231 if (!ASN1_bn_print(bp,str,x->n,m,off)) goto err; 233 goto err; 237 goto err; 239 goto err; 241 goto err; 243 goto err; [all...] |
/external/openssl/crypto/rsa/ |
rsa_pss.c | 97 goto err; 109 goto err; 117 goto err; 127 goto err; 132 goto err; 140 goto err; 143 goto err; 152 goto err; 157 goto err; 162 goto err; [all...] |
rsa_ameth.c | 208 goto err; 215 goto err; 220 <= 0) goto err; 227 <= 0) goto err; 231 if (!ASN1_bn_print(bp,str,x->n,m,off)) goto err; 233 goto err; 237 goto err; 239 goto err; 241 goto err; 243 goto err; [all...] |
/device/samsung/manta/liblights/ |
lights.c | 115 int err = 0; local 119 err = write_int(LCD_FILE, brightness); 122 return err; 176 int err; local 182 err = sprintf(path_name, "%s/%s", LED_DIR, command); 183 if (err < 0) 184 return err; 191 err = -errno; 195 return err; 207 err = write(fd, buf, len) 221 int err; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ecdh/ |
ecdhtest.c | 83 #include <openssl/err.h> 137 goto err; 141 if ((x_a=BN_new()) == NULL) goto err; 142 if ((y_a=BN_new()) == NULL) goto err; 143 if ((x_b=BN_new()) == NULL) goto err; 144 if ((y_b=BN_new()) == NULL) goto err; 154 if (!EC_KEY_generate_key(a)) goto err; 159 EC_KEY_get0_public_key(a), x_a, y_a, ctx)) goto err; 165 EC_KEY_get0_public_key(a), x_a, y_a, ctx)) goto err; 181 if (!EC_KEY_generate_key(b)) goto err; [all...] |
/external/openssl/crypto/ecdh/ |
ecdhtest.c | 83 #include <openssl/err.h> 137 goto err; 141 if ((x_a=BN_new()) == NULL) goto err; 142 if ((y_a=BN_new()) == NULL) goto err; 143 if ((x_b=BN_new()) == NULL) goto err; 144 if ((y_b=BN_new()) == NULL) goto err; 154 if (!EC_KEY_generate_key(a)) goto err; 159 EC_KEY_get0_public_key(a), x_a, y_a, ctx)) goto err; 165 EC_KEY_get0_public_key(a), x_a, y_a, ctx)) goto err; 181 if (!EC_KEY_generate_key(b)) goto err; [all...] |
/hardware/ril/reference-ril/ |
reference-ril.c | 271 int err; local 275 err = at_tok_start(&line); 276 if (err < 0) goto error; 278 err = at_tok_nextint(&line, &(p_call->index)); 279 if (err < 0) goto error; 281 err = at_tok_nextbool(&line, &(p_call->isMT)); 282 if (err < 0) goto error; 284 err = at_tok_nextint(&line, &state); 285 if (err < 0) goto error; 287 err = clccStateToRILState(state, &(p_call->state)) 364 int err; local 413 int err; local 600 int err; local 643 int err; local 796 int err; local 842 int err; local 894 int err; local 962 int err; local 986 int err; local 1005 int err; local 1042 int err; local 1075 int err; local 1107 int err; local 1184 int err; local 1298 int err; local 1411 int err; local 1488 int err = 1; \/\/ Set to go to error: local 1522 int err; local 1621 int err; local 1743 int err; local 1766 int err; local 1824 int err; local 1863 int err; local 1959 int err; local 2447 int err; local 2524 int err; local 2736 int err; local 2776 int err; local 2816 int err, val, techs = 0; local 2855 int err; local 2873 int err; local 2895 int err; local 2934 int err; local 3041 int err; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
c_test.c | 29 #define CheckNoError(err) \ 30 if ((err) != NULL) { \ 31 fprintf(stderr, "%s:%d: %s: %s\n", __FILE__, __LINE__, phase, (err)); \ 69 char* err = NULL; local 72 val = leveldb_get(db, options, key, strlen(key), &val_len, &err); 73 CheckNoError(err); 165 char* err = NULL; local 202 leveldb_destroy_db(options, dbname, &err); 203 Free(&err); 206 db = leveldb_open(options, dbname, &err); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
rand_egd.c | 182 goto err; /* failure */ 211 goto err; /* failure */ 220 goto err; /* descriptor closed */ 237 goto err; /* failure */ 242 goto err; 252 goto err; /* descriptor closed */ 269 goto err; /* failure */ 278 err: 289 if (num < 1) goto err; 292 err [all...] |
/external/chromium_org/tools/gn/ |
target_manager.cc | 12 #include "tools/gn/err.h" 29 Err* err) { 51 specified_from_here, label.GetToolchainLabel(), err); 60 if (!target_node->SetShouldGenerate(build_settings_, err)) 78 *err = Err(specified_from_here, 82 err->AppendSubErr(Err(target_node->generated_from_here(), 91 *err = Err(specified_from_here, "Not previously a target." [all...] |
/external/linux-tools-perf/util/ |
util.c | 7 int err; local 20 err = stat(path, &st) && mkdir(path, mode); 22 if (err) 32 int err = 0; local 47 err = 0; 54 return err; 62 int err = -1; local 83 err = 0; 88 if (err) 93 return err; [all...] |
/external/openssl/crypto/rand/ |
rand_egd.c | 182 goto err; /* failure */ 211 goto err; /* failure */ 220 goto err; /* descriptor closed */ 237 goto err; /* failure */ 242 goto err; 252 goto err; /* descriptor closed */ 269 goto err; /* failure */ 278 err: 289 if (num < 1) goto err; 292 err [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
eck_prn.c | 166 goto err; 173 goto err; 182 goto err; 186 goto err; 189 goto err; 191 goto err; 208 goto err; 216 goto err; 225 goto err; 232 goto err; [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/pem/ |
pem_info.c | 109 goto err; 115 if ((xi=X509_INFO_new()) == NULL) goto err; 129 goto err; 138 if (!sk_X509_INFO_push(ret,xi)) goto err; 139 if ((xi=X509_INFO_new()) == NULL) goto err; 149 if (!sk_X509_INFO_push(ret,xi)) goto err; 150 if ((xi=X509_INFO_new()) == NULL) goto err; 160 if (!sk_X509_INFO_push(ret,xi)) goto err; 161 if ((xi=X509_INFO_new()) == NULL) goto err; 172 if (!sk_X509_INFO_push(ret,xi)) goto err; [all...] |
/external/openssl/crypto/ec/ |
eck_prn.c | 166 goto err; 173 goto err; 182 goto err; 186 goto err; 189 goto err; 191 goto err; 208 goto err; 216 goto err; 225 goto err; 232 goto err; [all...] |