Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 1746) sorted by relevance

12345678910>>...70

/external/qemu/
Dqemu-thread.c22 static void error_exit(int err, const char *msg) in error_exit() argument
24 fprintf(stderr, "qemu: %s: %s\n", msg, strerror(err)); in error_exit()
30 int err; in qemu_mutex_init() local
32 err = pthread_mutex_init(&mutex->lock, NULL); in qemu_mutex_init()
33 if (err) in qemu_mutex_init()
34 error_exit(err, __func__); in qemu_mutex_init()
39 int err; in qemu_mutex_destroy() local
41 err = pthread_mutex_destroy(&mutex->lock); in qemu_mutex_destroy()
42 if (err) in qemu_mutex_destroy()
43 error_exit(err, __func__); in qemu_mutex_destroy()
[all …]
/external/jpeg/
Djerror.c73 (*cinfo->err->output_message) (cinfo); in error_exit()
103 (*cinfo->err->format_message) (cinfo, buffer); in output_message()
130 struct jpeg_error_mgr * err = cinfo->err; in emit_message() local
137 if (err->num_warnings == 0 || err->trace_level >= 3) in emit_message()
138 (*err->output_message) (cinfo); in emit_message()
140 err->num_warnings++; in emit_message()
143 if (err->trace_level >= msg_level) in emit_message()
144 (*err->output_message) (cinfo); in emit_message()
159 struct jpeg_error_mgr * err = cinfo->err; in format_message() local
160 int msg_code = err->msg_code; in format_message()
[all …]
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->msg_code = (code), \
[all …]
/external/qemu/audio/
Daudio_pt_int.c11 static void logerr (struct audio_pt *pt, int err, const char *fmt, ...) in logerr() argument
20 AUD_log (pt->drv, "Reason: %s\n", strerror (err)); in logerr()
26 int err, err2; in audio_pt_init() local
32 err = sigfillset (&set); in audio_pt_init()
33 if (err) { in audio_pt_init()
38 err = pthread_mutex_init (&p->mutex, NULL); in audio_pt_init()
39 if (err) { in audio_pt_init()
44 err = pthread_cond_init (&p->cond, NULL); in audio_pt_init()
45 if (err) { in audio_pt_init()
50 err = pthread_sigmask (SIG_BLOCK, &set, &old_set); in audio_pt_init()
[all …]
/external/zlib/contrib/pascal/
Dexample.pas37 procedure CHECK_ERR(err: Integer; msg: String);
39 if err <> Z_OK then
41 WriteLn(msg, ' error: ', err);
58 var err: Integer;
63 err := compress(compr, comprLen, hello, len);
64 CHECK_ERR(err, 'compress');
68 err := uncompress(uncompr, uncomprLen, compr, comprLen);
69 CHECK_ERR(err, 'uncompress');
85 var err: Integer;
101 WriteLn('gzputs err: ', gzerror(zfile, err));
[all …]
/external/bluetooth/bluez/src/
Dmain.c72 GError *err = NULL; in load_config() local
79 if (!g_key_file_load_from_file(keyfile, file, 0, &err)) { in load_config()
80 error("Parsing %s failed: %s", file, err->message); in load_config()
81 g_error_free(err); in load_config()
91 GError *err = NULL; in parse_config() local
102 "DiscoverableTimeout", &err); in parse_config()
103 if (err) { in parse_config()
104 DBG("%s", err->message); in parse_config()
105 g_clear_error(&err); in parse_config()
113 "PairableTimeout", &err); in parse_config()
[all …]
/external/dropbear/libtomcrypt/src/pk/ecc/
Dltc_ecc_projective_add_point.c38 int err; in ltc_ecc_projective_add_point() local
46 if ((err = mp_init_multi(&t1, &t2, &x, &y, &z, NULL)) != CRYPT_OK) { in ltc_ecc_projective_add_point()
47 return err; in ltc_ecc_projective_add_point()
51 if ((err = mp_sub(modulus, Q->y, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
60 if ((err = mp_copy(P->x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
61 if ((err = mp_copy(P->y, y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
62 if ((err = mp_copy(P->z, z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
67 if ((err = mp_sqr(Q->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
68 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
70 if ((err = mp_mul(t1, x, x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_add_point()
[all …]
Dltc_ecc_projective_dbl_point.c37 int err; in ltc_ecc_projective_dbl_point() local
44 if ((err = mp_init_multi(&t1, &t2, NULL)) != CRYPT_OK) { in ltc_ecc_projective_dbl_point()
45 return err; in ltc_ecc_projective_dbl_point()
49 if ((err = mp_copy(P->x, R->x)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
50 if ((err = mp_copy(P->y, R->y)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
51 if ((err = mp_copy(P->z, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
55 if ((err = mp_sqr(R->z, t1)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
56 if ((err = mp_montgomery_reduce(t1, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
58 if ((err = mp_mul(R->z, R->y, R->z)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
59 if ((err = mp_montgomery_reduce(R->z, modulus, mp)) != CRYPT_OK) { goto done; } in ltc_ecc_projective_dbl_point()
[all …]
/external/chromium/net/base/
Dkeygen_handler_mac.cc104 OSStatus err; in GenKeyAndSignChallenge() local
121 err = SecAccessCreate(label, NULL, &initial_access); in GenKeyAndSignChallenge()
123 if (err) in GenKeyAndSignChallenge()
124 crypto::LogCSSMError("SecAccessCreate", err); in GenKeyAndSignChallenge()
128 err = CreateRSAKeyPair(key_size_in_bits_, initial_access, in GenKeyAndSignChallenge()
130 if (err) in GenKeyAndSignChallenge()
135 err = SecKeychainItemExport(public_key, kSecFormatBSAFE, 0, NULL, in GenKeyAndSignChallenge()
137 if (err) { in GenKeyAndSignChallenge()
138 crypto::LogCSSMError("SecKeychainItemExpor", err); in GenKeyAndSignChallenge()
144 err = SecAsn1CoderCreate(&coder); in GenKeyAndSignChallenge()
[all …]
/external/icu4c/test/iotest/
Dtrnstst.c19 UErrorCode err = U_ZERO_ERROR; in TestTranslitOps() local
31 a = utrans_open("Latin-Greek", UTRANS_FORWARD, NULL, -1, NULL, &err); in TestTranslitOps()
32 if(U_FAILURE(err)) in TestTranslitOps()
34 log_err("Error opening transliterator %s\n", u_errorName(err)); in TestTranslitOps()
41 b = u_fsettransliterator(f, U_WRITE, a, &err); in TestTranslitOps()
42 if(U_FAILURE(err)) in TestTranslitOps()
44 log_err("Error setting transliterator %s\n", u_errorName(err)); in TestTranslitOps()
54 b = u_fsettransliterator(NULL, U_WRITE, a, &err); in TestTranslitOps()
55 if(err != U_ILLEGAL_ARGUMENT_ERROR) in TestTranslitOps()
57 log_err("Error setting transliterator on NULL file err=%s\n", u_errorName(err)); in TestTranslitOps()
[all …]
/external/icu4c/common/
Dloclikely.cpp41 UErrorCode* err) { in findLikelySubtags() argument
44 if (!U_FAILURE(*err)) { in findLikelySubtags()
58 *err = tmpErr; in findLikelySubtags()
63 *err = U_INTERNAL_PROGRAM_ERROR; in findLikelySubtags()
72 *err = tmpErr; in findLikelySubtags()
163 UErrorCode* err) { in createTagStringWithAlternates() argument
165 if (U_FAILURE(*err)) { in createTagStringWithAlternates()
217 err); in createTagStringWithAlternates()
218 if(U_FAILURE(*err) || in createTagStringWithAlternates()
260 err); in createTagStringWithAlternates()
[all …]
/external/zlib/
Dexample.c22 #define CHECK_ERR(err, msg) { \ argument
23 if (err != Z_OK) { \
24 fprintf(stderr, "%s error: %d\n", msg, err); \
63 int err; local
66 err = compress(compr, &comprLen, (const Bytef*)hello, len);
67 CHECK_ERR(err, "compress");
71 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
72 CHECK_ERR(err, "uncompress");
93 int err;
105 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
[all …]
/external/srtp/test/
Ddtls_srtp_driver.c67 err_status_t err; in main() local
72 err = srtp_init(); in main()
73 if (err) { in main()
74 printf("error: srtp init failed with error code %d\n", err); in main()
88 err = crypto_kernel_set_debug_module(optarg_s, 1); in main()
89 if (err) { in main()
100 err = crypto_kernel_list_debug_modules(); in main()
101 if (err) { in main()
108 err = test_dtls_srtp(); in main()
109 if (err) { in main()
[all …]
/external/openssl/crypto/ec/
Dec2_mult.c90 if (t1 == NULL) goto err; in gf2m_Mdouble()
92 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
93 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
94 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
98 if (!BN_GF2m_add(x, x, t1)) goto err; in gf2m_Mdouble()
102 err: in gf2m_Mdouble()
123 if (t2 == NULL) goto err; in gf2m_Madd()
[all …]
/external/openssl/crypto/bn/
Dbn_gcd.c128 if (a == NULL || b == NULL) goto err; in BN_gcd()
130 if (BN_copy(a,in_a) == NULL) goto err; in BN_gcd()
131 if (BN_copy(b,in_b) == NULL) goto err; in BN_gcd()
137 if (t == NULL) goto err; in BN_gcd()
139 if (BN_copy(r,t) == NULL) goto err; in BN_gcd()
141 err: in BN_gcd()
164 if (!BN_sub(a,a,b)) goto err; in euclid()
165 if (!BN_rshift1(a,a)) goto err; in euclid()
171 if (!BN_rshift1(b,b)) goto err; in euclid()
180 if (!BN_rshift1(a,a)) goto err; in euclid()
[all …]
/external/jdiff/src/jdiff/
DOptions.java151 ErrorHandler err = new ErrorHandler(); in validOptions() local
167 err.msg("No version identifier specified after -apiname option."); in validOptions()
169err.msg("Use the -apiname option, or the -oldapi and -newapi options, but not both."); in validOptions()
182 err.msg("No directory specified after -apidir option."); in validOptions()
190 err.msg("No version identifier specified after -oldapi option."); in validOptions()
192 err.msg("Use the -apiname or -oldapi option, but not both."); in validOptions()
204 err.msg("No directory specified after -oldapidir option."); in validOptions()
212 err.msg("No version identifier specified after -newapi option."); in validOptions()
214 err.msg("Use the -apiname or -newapi option, but not both."); in validOptions()
226 err.msg("No directory specified after -newapidir option."); in validOptions()
[all …]
/external/valgrind/main/none/tests/ppc32/
DtestVMX.c375 int i, err, j;//, b, bAux; in main() local
485 err = 0; in main()
490 err++; in main()
491 if (err) in main()
496 err = 0; in main()
501 err++; in main()
502 if (err) in main()
507 err = 0; in main()
512 err++; in main()
513 if (err) in main()
[all …]
/external/openssl/ssl/
Dssl_txt.c112 if (x == NULL) goto err; in SSL_SESSION_print()
113 if (BIO_puts(bp,"SSL-Session:\n") <= 0) goto err; in SSL_SESSION_print()
126 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err; in SSL_SESSION_print()
133 goto err; in SSL_SESSION_print()
138 goto err; in SSL_SESSION_print()
144 goto err; in SSL_SESSION_print()
146 if (BIO_puts(bp," Session-ID: ") <= 0) goto err; in SSL_SESSION_print()
149 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err; in SSL_SESSION_print()
151 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err; in SSL_SESSION_print()
155 goto err; in SSL_SESSION_print()
[all …]
/external/icu4c/test/cintltst/
Dcustrtrn.c145 UErrorCode err = U_ZERO_ERROR; in Test_strToUTF32() local
152 u_strToUTF32(u32Target, 0, &u32DestLen, src16, LENGTHOF(src16),&err); in Test_strToUTF32()
153 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != LENGTHOF(src32)) { in Test_strToUTF32()
156 (long)u32DestLen, (long)LENGTHOF(src32), u_errorName(err)); in Test_strToUTF32()
159 err = U_ZERO_ERROR; in Test_strToUTF32()
161 u_strToUTF32(u32Target, LENGTHOF(src32)+1, &u32DestLen, src16, LENGTHOF(src16),&err); in Test_strToUTF32()
162 if(err != U_ZERO_ERROR || u32DestLen != LENGTHOF(src32)) { in Test_strToUTF32()
165 (long)u32DestLen, (long)LENGTHOF(src32), u_errorName(err)); in Test_strToUTF32()
185 u_strToUTF32(NULL,0, &u32DestLen, src16, -1,&err); in Test_strToUTF32()
186 if(err != U_BUFFER_OVERFLOW_ERROR || u32DestLen != LENGTHOF(src32)-1) { in Test_strToUTF32()
[all …]
Dccapitst.c165 UErrorCode err = U_ZERO_ERROR; in ListNames() local
173 allNamesEnum = ucnv_openAllNames(&err); in ListNames()
174 if(U_FAILURE(err)) { in ListNames()
175 log_data_err("FAILURE! ucnv_openAllNames() -> %s\n", myErrorName(err)); in ListNames()
182 allNamesCount = uenum_count(allNamesEnum, &err); in ListNames()
183 while ((string = uenum_next(allNamesEnum, &len, &err))) { in ListNames()
187 if (U_FAILURE(err)) { in ListNames()
188 log_err("FAILURE! uenum_next(allNamesEnum...) set an error: %s\n", u_errorName(err)); in ListNames()
189 err = U_ZERO_ERROR; in ListNames()
191 uenum_reset(allNamesEnum, &err); in ListNames()
[all …]
/external/bluetooth/glib/tests/
Dspawn-test.c45 GError *err; in run_tests() local
53 err = NULL; in run_tests()
56 &err)) in run_tests()
58 g_error_free (err); in run_tests()
66 err = NULL; in run_tests()
68 &err)) in run_tests()
70 g_error_free (err); in run_tests()
78 err = NULL; in run_tests()
82 &err)) in run_tests()
84 fprintf (stderr, "Error: %s\n", err->message); in run_tests()
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dprinting_unittest.py157 printer, err, out = self.get_printer()
162 self.assertFalse(err.empty())
168 printer, err, bot = self.get_printer(['--print', switch])
170 self.assertEqual(err.get(), exp_err)
190 printer, err, out = self.get_printer(['--print', 'everything'])
220 printer, err, out = self.get_printer(['--print', 'nothing'])
222 self.assertTrue(err.empty())
224 printer, err, out = self.get_printer(['--print', 'one-line-summary'])
226 self.assertEquals(err.get(), ["All 1 tests ran as expected.\n", "\n"])
228 printer, err, out = self.get_printer(['--print', 'everything'])
[all …]
/external/zlib/contrib/minizip/
Dzip.c352 int err = (int)ZREAD64(*pzlib_filefunc_def,filestream,&c,1); in zip64local_getByte() local
353 if (err==1) in zip64local_getByte()
377 int err; in zip64local_getShort() local
379 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getShort()
382 if (err==ZIP_OK) in zip64local_getShort()
383 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getShort()
386 if (err==ZIP_OK) in zip64local_getShort()
390 return err; in zip64local_getShort()
399 int err; in zip64local_getLong() local
401 err = zip64local_getByte(pzlib_filefunc_def,filestream,&i); in zip64local_getLong()
[all …]
/external/sqlite/android/
Dsqlite3_android.cpp246 int err = unlink(path); in delete_file() local
247 if (err != -1) { in delete_file()
309 int err; in tokenize() local
345 err = sqlite3_prepare_v2(handle, sql, -1, &statement, NULL); in tokenize()
347 if (err) { in tokenize()
363 err = sqlite3_bind_int64(statement, 2, rowID); in tokenize()
364 if (err != SQLITE_OK) { in tokenize()
373 err = sqlite3_bind_value(statement, dataTagParamIndex, argv[5]); in tokenize()
374 if (err != SQLITE_OK) { in tokenize()
421 err = sqlite3_bind_text(statement, 1, base16buf, base16Size, SQLITE_STATIC); in tokenize()
[all …]
/external/dropbear/libtommath/
Dbn_mp_exptmod_fast.c36 int err, bitbuf, bitcpy, bitcnt, mode, digidx, x, y, winsize; in mp_exptmod_fast() local
70 if ((err = mp_init(&M[1])) != MP_OKAY) { in mp_exptmod_fast()
71 return err; in mp_exptmod_fast()
76 if ((err = mp_init(&M[x])) != MP_OKAY) { in mp_exptmod_fast()
81 return err; in mp_exptmod_fast()
89 if ((err = mp_montgomery_setup (P, &mp)) != MP_OKAY) { in mp_exptmod_fast()
93 err = MP_VAL; in mp_exptmod_fast()
109 err = MP_VAL; in mp_exptmod_fast()
119 err = MP_VAL; in mp_exptmod_fast()
125 if ((err = mp_reduce_2k_setup(P, &mp)) != MP_OKAY) { in mp_exptmod_fast()
[all …]

12345678910>>...70