HomeSort by relevance Sort by last modified time
    Searched refs:err (Results 176 - 200 of 4916) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/chromium_org/third_party/openssl/openssl/crypto/dh/
dh_gen.c 127 if (ctx == NULL) goto err;
131 if (t1 == NULL || t2 == NULL) goto err;
134 if(!ret->p && ((ret->p = BN_new()) == NULL)) goto err;
135 if(!ret->g && ((ret->g = BN_new()) == NULL)) goto err;
140 goto err;
144 if (!BN_set_word(t1,24)) goto err;
145 if (!BN_set_word(t2,11)) goto err;
151 if (!BN_set_word(t1,12)) goto err;
152 if (!BN_set_word(t2,5)) goto err;
158 if (!BN_set_word(t1,10)) goto err;
    [all...]
  /external/dropbear/libtomcrypt/src/pk/ecc/
ecc_make_key.c 36 int x, err; local
45 err = ecc_make_key_ex(prng, wprng, key, &ltc_ecc_sets[x]);
47 return err;
52 int err; local
63 if ((err = prng_is_valid(wprng)) != CRYPT_OK) {
64 return err;
80 err = CRYPT_ERROR_READPRNG;
85 if ((err = mp_init_multi(&key->pubkey.x, &key->pubkey.y, &key->pubkey.z, &key->k, &prime, NULL)) != CRYPT_OK) {
90 err = CRYPT_MEM;
95 if ((err = mp_read_radix(prime, (char *)key->dp->prime, 16)) != CRYPT_OK) { goto errkey; (…)
    [all...]
  /external/dropbear/libtomcrypt/src/pk/katja/
katja_exptmod.c 36 int err; local
54 if ((err = mp_init_multi(&tmp, &tmpa, &tmpb, NULL)) != CRYPT_OK) { return err; }
55 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto error; }
59 err = CRYPT_PK_INVALID_SIZE;
66 if ((err = mp_exptmod(tmp, key->dP, key->p, tmpa)) != CRYPT_OK) { goto error; }
69 if ((err = mp_exptmod(tmp, key->dQ, key->q, tmpb)) != CRYPT_OK) { goto error; }
72 if ((err = mp_sub(tmpa, tmpb, tmp)) != CRYPT_OK) { goto error; }
73 if ((err = mp_mulmod(tmp, key->qP, key->p, tmp)) != CRYPT_OK) { goto error; }
76 if ((err = mp_mul(tmp, key->q, tmp)) != CRYPT_OK) { goto error; (…)
    [all...]
  /external/openssl/crypto/dh/
dh_gen.c 127 if (ctx == NULL) goto err;
131 if (t1 == NULL || t2 == NULL) goto err;
134 if(!ret->p && ((ret->p = BN_new()) == NULL)) goto err;
135 if(!ret->g && ((ret->g = BN_new()) == NULL)) goto err;
140 goto err;
144 if (!BN_set_word(t1,24)) goto err;
145 if (!BN_set_word(t2,11)) goto err;
151 if (!BN_set_word(t1,12)) goto err;
152 if (!BN_set_word(t2,5)) goto err;
158 if (!BN_set_word(t1,10)) goto err;
    [all...]
  /external/srtp/crypto/test/
sha1_driver.c 141 err_status_t err; local
475 err = hash_test_case_add(&sha1_test_case_list,
479 if (err) {
480 printf("error adding hash test case (code %d)\n", err);
481 return err;
492 err_status_t err; local
494 err = sha1_add_test_cases();
495 if (err) {
496 printf("error adding SHA1 test cases (error code %d)\n", err);
497 return err;
520 err_status_t err; local
    [all...]
  /external/srtp/test/
replay_driver.c 66 err_status_t err; local
69 err = test_rdb_db();
70 if (err) {
105 err_status_t err; local
107 err = rdb_check(rdb, idx);
108 if ((err != err_status_replay_old) && (err != err_status_replay_fail)) {
134 err_status_t err; local
143 err = rdb_check_add(&rdb, idx);
144 if (err)
    [all...]
  /hardware/broadcom/wlan/bcmdhd/dhdutil/
dhdu_nl80211.c 38 static int dhd_nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg)
41 *ret = err->error;
72 goto err;
78 goto err;
83 goto err;
88 err:
104 int err; local
116 err = nl_send_auto_complete(dhd_nli->nl, msg);
117 if (err < 0)
120 err = 1
    [all...]
  /hardware/qcom/audio/legacy/libalsa-intf/
alsaucm_test.c 163 int err, i; local
206 err = snd_use_case_mgr_open(&uc_mgr, identifier);
207 if (err < 0) {
208 fprintf(stderr, "%s: error failed to open sound card %s: %d\n", cmd->cmd_str, identifier, err);
209 return err;
215 err = snd_use_case_card_list(&list);
216 if (err < 0) {
217 fprintf(stderr, "%s: error failed to get card list: %d\n", cmd->cmd_str, err);
218 return err;
220 if (err == 0)
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/ec/
ec2_mult.c 70 #include <openssl/err.h>
92 if (t1 == NULL) goto err;
94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err;
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err;
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err;
100 if (!BN_GF2m_add(x, x, t1)) goto err;
104 err
    [all...]
ec2_oct.c 70 #include <openssl/err.h>
115 if (z == NULL) goto err;
117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err;
120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err;
124 if (!group->meth->field_sqr(group, tmp, x, ctx)) goto err;
125 if (!group->meth->field_div(group, tmp, &group->b, tmp, ctx)) goto err;
126 if (!BN_GF2m_add(tmp, &group->a, tmp)) goto err;
127 if (!BN_GF2m_add(tmp, x, tmp)) goto err;
130 unsigned long err = ERR_peek_last_error(); local
132 if (ERR_GET_LIB(err) == ERR_LIB_BN && ERR_GET_REASON(err) == BN_R_NO_SOLUTION
    [all...]
  /external/openssl/crypto/ec/
ec2_mult.c 70 #include <openssl/err.h>
92 if (t1 == NULL) goto err;
94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err;
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err;
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err;
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err;
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err;
100 if (!BN_GF2m_add(x, x, t1)) goto err;
104 err
    [all...]
ec2_oct.c 70 #include <openssl/err.h>
115 if (z == NULL) goto err;
117 if (!BN_GF2m_mod_arr(x, x_, group->poly)) goto err;
120 if (!BN_GF2m_mod_sqrt_arr(y, &group->b, group->poly, ctx)) goto err;
124 if (!group->meth->field_sqr(group, tmp, x, ctx)) goto err;
125 if (!group->meth->field_div(group, tmp, &group->b, tmp, ctx)) goto err;
126 if (!BN_GF2m_add(tmp, &group->a, tmp)) goto err;
127 if (!BN_GF2m_add(tmp, x, tmp)) goto err;
130 unsigned long err = ERR_peek_last_error(); local
132 if (ERR_GET_LIB(err) == ERR_LIB_BN && ERR_GET_REASON(err) == BN_R_NO_SOLUTION
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/bn/
bn_prime.c 169 if (ctx == NULL) goto err;
172 if(!t) goto err;
177 if (!probable_prime(ret,bits)) goto err;
184 goto err;
189 goto err;
195 goto err;
200 if (i == -1) goto err;
209 if (!BN_rshift1(t,ret)) goto err;
214 if (j == -1) goto err;
218 if (j == -1) goto err;
    [all...]
bn_kron.c 67 int err = 0; local
85 err = !BN_copy(A, a);
86 if (err) goto end;
87 err = !BN_copy(B, b);
88 if (err) goto end;
116 err = !BN_rshift(B, B, i);
117 if (err) goto end;
158 err = !BN_rshift(A, A, i);
159 if (err) goto end;
173 err = !BN_nnmod(B, B, A, ctx)
    [all...]
  /external/openssl/crypto/bn/
bn_prime.c 169 if (ctx == NULL) goto err;
172 if(!t) goto err;
177 if (!probable_prime(ret,bits)) goto err;
184 goto err;
189 goto err;
195 goto err;
200 if (i == -1) goto err;
209 if (!BN_rshift1(t,ret)) goto err;
214 if (j == -1) goto err;
218 if (j == -1) goto err;
    [all...]
  /external/chromium/googleurl/src/
gurl_test_main.cc 79 UErrorCode err = U_ZERO_ERROR;
80 udata_setCommonData(reinterpret_cast<void*>(addr), &err); local
81 return err == U_ZERO_ERROR;
90 UErrorCode err = U_ZERO_ERROR;
91 udata_setFileAccess(UDATA_ONLY_PACKAGES, &err);
92 return err == U_ZERO_ERROR;
  /external/chromium_org/url/
gurl_test_main.cc 54 UErrorCode err = U_ZERO_ERROR;
55 udata_setCommonData(reinterpret_cast<void*>(addr), &err); local
56 return err == U_ZERO_ERROR;
65 UErrorCode err = U_ZERO_ERROR;
66 udata_setFileAccess(UDATA_ONLY_PACKAGES, &err);
67 return err == U_ZERO_ERROR;
  /external/dropbear/libtomcrypt/src/encauth/eax/
eax_encrypt_authenticate_memory.c 44 int err; local
55 if ((err = eax_init(eax, cipher, key, keylen, nonce, noncelen, header, headerlen)) != CRYPT_OK) {
59 if ((err = eax_encrypt(eax, pt, ct, ptlen)) != CRYPT_OK) {
63 if ((err = eax_done(eax, tag, taglen)) != CRYPT_OK) {
67 err = CRYPT_OK;
75 return err;
  /external/dropbear/libtomcrypt/src/mac/pmac/
pmac_memory.c 36 int err; local
50 if ((err = pmac_init(pmac, cipher, key, keylen)) != CRYPT_OK) {
53 if ((err = pmac_process(pmac, in, inlen)) != CRYPT_OK) {
56 if ((err = pmac_done(pmac, out, outlen)) != CRYPT_OK) {
60 err = CRYPT_OK;
67 return err;
  /frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/
AppHelperBase.java 74 System.err.println(String.format("Run shell command: %s, status: %s", command,
78 System.err.println("// Exception from command " + command + ":");
79 System.err.println(e.toString());
81 System.err.println("// Interrupted while waiting for the command to finish. ");
82 System.err.println(e.toString());
92 System.err.println(e.toString());
  /frameworks/base/libs/storage/
IMountService.cpp 72 int32_t err = reply.readExceptionCode(); local
73 if (err < 0) {
74 ALOGD("registerListener caught exception %d\n", err);
88 int32_t err = reply.readExceptionCode(); local
89 if (err < 0) {
90 ALOGD("unregisterListener caught exception %d\n", err);
103 int32_t err = reply.readExceptionCode(); local
104 if (err < 0) {
105 ALOGD("isUsbMassStorageConnected caught exception %d\n", err);
120 int32_t err = reply.readExceptionCode() local
135 int32_t err = reply.readExceptionCode(); local
152 int32_t err = reply.readExceptionCode(); local
171 int32_t err = reply.readExceptionCode(); local
188 int32_t err = reply.readExceptionCode(); local
205 int32_t err = reply.readExceptionCode(); local
227 int32_t err = reply.readExceptionCode(); local
249 int32_t err = reply.readExceptionCode(); local
266 int32_t err = reply.readExceptionCode(); local
283 int32_t err = reply.readExceptionCode(); local
302 int32_t err = reply.readExceptionCode(); \/\/ What to do... local
320 int32_t err = reply.readExceptionCode(); \/\/ What to do... local
337 int32_t err = reply.readExceptionCode(); \/\/ What to do... local
355 int32_t err = reply.readExceptionCode(); \/\/ What to do... local
372 int32_t err = reply.readExceptionCode(); \/\/ What to do... local
390 int32_t err = reply.readExceptionCode(); local
412 int32_t err = reply.readExceptionCode(); local
428 int32_t err = reply.readExceptionCode(); local
450 int32_t err = reply.readExceptionCode(); local
470 int32_t err = reply.readExceptionCode(); local
486 int32_t err = reply.readExceptionCode(); local
503 int32_t err = reply.readExceptionCode(); local
521 int32_t err = reply.readExceptionCode(); local
538 int32_t err = reply.readExceptionCode(); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_traceback.py 39 err = self.get_exception_format(self.syntax_error_with_caret,
41 self.assertTrue(len(err) == 4)
42 self.assertTrue(err[1].strip() == "return x!")
43 self.assertIn("^", err[2]) # third line has caret
44 self.assertTrue(err[1].find("!") == err[2].find("^")) # in the right place
46 err = self.get_exception_format(self.syntax_error_with_caret_2,
48 self.assertIn("^", err[2]) # third line has caret
49 self.assertTrue(err[2].count('\n') == 1) # and no additional newline
50 self.assertTrue(err[1].find("+") == err[2].find("^")) # in the right plac
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_traceback.py 39 err = self.get_exception_format(self.syntax_error_with_caret,
41 self.assertTrue(len(err) == 4)
42 self.assertTrue(err[1].strip() == "return x!")
43 self.assertIn("^", err[2]) # third line has caret
44 self.assertTrue(err[1].find("!") == err[2].find("^")) # in the right place
46 err = self.get_exception_format(self.syntax_error_with_caret_2,
48 self.assertIn("^", err[2]) # third line has caret
49 self.assertTrue(err[2].count('\n') == 1) # and no additional newline
50 self.assertTrue(err[1].find("+") == err[2].find("^")) # in the right plac
    [all...]
  /external/chromium_org/chrome/browser/metrics/
compression_utils.cc 48 int err = deflateInit2_(&stream, local
56 if (err != Z_OK)
57 return err;
59 err = deflateSetHeader(&stream, &gzip_header);
60 if (err != Z_OK)
61 return err;
63 err = deflate(&stream, Z_FINISH);
64 if (err != Z_STREAM_END) {
66 return err == Z_OK ? Z_BUF_ERROR : err;
    [all...]
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
hstrerror.cc 15 const char* hstrerror(int err) {
31 switch (err) {
44 msg << unknown_msg_base << err << "."; local

Completed in 2075 milliseconds

1 2 3 4 5 6 78 91011>>