Home
last modified time | relevance | path

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

12345678910>>...79

/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/distrib/jpeg-6b/
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/bison/lib/glthread/
Dlock.c40 int err; in glthread_rwlock_init_multithreaded() local
42 err = pthread_rwlock_init (&lock->rwlock, NULL); in glthread_rwlock_init_multithreaded()
43 if (err != 0) in glthread_rwlock_init_multithreaded()
44 return err; in glthread_rwlock_init_multithreaded()
54 int err; in glthread_rwlock_rdlock_multithreaded() local
56 err = pthread_mutex_lock (&lock->guard); in glthread_rwlock_rdlock_multithreaded()
57 if (err != 0) in glthread_rwlock_rdlock_multithreaded()
58 return err; in glthread_rwlock_rdlock_multithreaded()
61 err = glthread_rwlock_init_multithreaded (lock); in glthread_rwlock_rdlock_multithreaded()
62 if (err != 0) in glthread_rwlock_rdlock_multithreaded()
[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/src/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/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/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/zlib/src/test/
Dexample.c22 #define CHECK_ERR(err, msg) { \ argument
23 if (err != Z_OK) { \
24 fprintf(stderr, "%s error: %d\n", msg, err); \
92 int err; local
95 err = compress(compr, &comprLen, (const Bytef*)hello, len);
96 CHECK_ERR(err, "compress");
100 err = uncompress(uncompr, &uncomprLen, compr, comprLen);
101 CHECK_ERR(err, "uncompress");
122 int err;
134 fprintf(stderr, "gzputs err: %s\n", gzerror(file, &err));
[all …]
/external/openssl/crypto/ec/
Dec2_mult.c92 if (t1 == NULL) goto err; in gf2m_Mdouble()
94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
100 if (!BN_GF2m_add(x, x, t1)) goto err; in gf2m_Mdouble()
104 err: in gf2m_Mdouble()
125 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/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()
130 if (BIO_printf(bp," Protocol : %s\n",s) <= 0) goto err; in SSL_SESSION_print()
137 goto err; in SSL_SESSION_print()
142 goto err; in SSL_SESSION_print()
148 goto err; in SSL_SESSION_print()
150 if (BIO_puts(bp," Session-ID: ") <= 0) goto err; in SSL_SESSION_print()
153 if (BIO_printf(bp,"%02X",x->session_id[i]) <= 0) goto err; in SSL_SESSION_print()
155 if (BIO_puts(bp,"\n Session-ID-ctx: ") <= 0) goto err; in SSL_SESSION_print()
159 goto err; in SSL_SESSION_print()
[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/sqlite/android/
Dsqlite3_android.cpp198 int err = unlink(path); in delete_file() local
199 if (err != -1) { in delete_file()
261 int err; in tokenize() local
297 err = sqlite3_prepare_v2(handle, sql, -1, &statement, NULL); in tokenize()
299 if (err) { in tokenize()
315 err = sqlite3_bind_int64(statement, 2, rowID); in tokenize()
316 if (err != SQLITE_OK) { in tokenize()
325 err = sqlite3_bind_value(statement, dataTagParamIndex, argv[5]); in tokenize()
326 if (err != SQLITE_OK) { in tokenize()
373 err = sqlite3_bind_text(statement, 1, base16buf, base16Size, SQLITE_STATIC); in tokenize()
[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 …]
/external/linux-tools-perf/util/
Dusage.c8 static void report(const char *prefix, const char *err, va_list params) in report() argument
11 vsnprintf(msg, sizeof(msg), err, params); in report()
15 static NORETURN void usage_builtin(const char *err) in usage_builtin() argument
17 fprintf(stderr, "\n Usage: %s\n", err); in usage_builtin()
21 static NORETURN void die_builtin(const char *err, va_list params) in die_builtin() argument
23 report(" Fatal: ", err, params); in die_builtin()
27 static void error_builtin(const char *err, va_list params) in error_builtin() argument
29 report(" Error: ", err, params); in error_builtin()
39 static void (*usage_routine)(const char *err) NORETURN = usage_builtin;
40 static void (*die_routine)(const char *err, va_list params) NORETURN = die_builtin;
[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/src/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 …]

12345678910>>...79