Home
last modified time | relevance | path

Searched refs:errstr (Results 1 – 25 of 33) sorted by relevance

12

/external/valgrind/none/tests/
Dthreadederrno.c12 char errstr[128]; in thr2() local
14 strerror_r(errno, errstr, sizeof(errstr)); in thr2()
15 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in thr2()
21 char errstr[128]; in thr3() local
23 strerror_r(errno, errstr, sizeof(errstr)); in thr3()
24 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in thr3()
31 char errstr[128]; in main() local
37 strerror_r(errno, errstr, sizeof(errstr)); in main()
38 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, errstr); in main()
/external/netcat/
Dnetcat.c132 const char *errstr, *proxyhost = "", *proxyport = NULL; in main() local
175 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
176 if (errstr) in main()
177 errx(1, "interval %s: %s", errstr, optarg); in main()
215 RT_TABLEID_MAX, &errstr); in main()
216 if (errstr) in main()
217 errx(1, "rtable %s: %s", errstr, optarg); in main()
227 timeout = strtonum(optarg, 0, INT_MAX / 1000, &errstr); in main()
228 if (errstr) in main()
229 errx(1, "timeout %s: %s", errstr, optarg); in main()
[all …]
/external/llvm/bindings/go/llvm/
Dsupport.go31 var errstr *C.char
34 C.LLVMLoadLibraryPermanently2(libstr, &errstr)
35 if errstr != nil {
36 err := errors.New(C.GoString(errstr))
37 C.free(unsafe.Pointer(errstr))
Dtarget.go224 var errstr *C.char
227 fail := C.LLVMGetTargetFromTriple(ctriple, &t.C, &errstr)
229 err = errors.New(C.GoString(errstr))
230 C.free(unsafe.Pointer(errstr))
276 var errstr *C.char
278 fail := C.LLVMTargetMachineEmitToMemoryBuffer(tm.C, m.C, C.LLVMCodeGenFileType(ft), &errstr, &mb.C)
280 err := errors.New(C.GoString(errstr))
281 C.free(unsafe.Pointer(errstr))
/external/openssh/
Ddh.c50 const char *errstr = NULL; in parse_prime() local
70 n = strtonum(arg, 0, 5, &errstr); in parse_prime()
71 if (errstr != NULL || n != MODULI_TYPE_SAFE) { in parse_prime()
79 n = strtonum(arg, 0, 0x1f, &errstr); in parse_prime()
80 if (errstr != NULL || in parse_prime()
88 n = strtonum(arg, 0, 1<<30, &errstr); in parse_prime()
89 if (errstr != NULL || n == 0) { in parse_prime()
95 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || in parse_prime()
96 errstr) { in parse_prime()
Dmisc.c239 const char *errstr; in a2port() local
241 port = strtonum(s, 0, 65535, &errstr); in a2port()
242 if (errstr != NULL) in a2port()
250 const char *errstr = NULL; in a2tun() local
271 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun()
272 if (errstr != NULL) in a2tun()
Dssh-keygen.c2198 const char *errstr; in main() local
2239 bits = (u_int32_t)strtonum(optarg, 256, 32768, &errstr); in main()
2240 if (errstr) in main()
2242 optarg, errstr); in main()
2374 rounds = (int)strtonum(optarg, 1, INT_MAX, &errstr); in main()
2375 if (errstr) in main()
2377 optarg, errstr); in main()
2393 UINT_MAX, &errstr); in main()
2394 if (errstr) in main()
2396 optarg, errstr); in main()
[all …]
Dssh-agent.c1266 const char *errstr = NULL; in main() local
1274 pid = (int)strtonum(pidstr, 2, INT_MAX, &errstr); in main()
1275 if (errstr) { in main()
1278 SSH_AGENTPID_ENV_NAME, pidstr, errstr); in main()
Dscp.c374 const char *errstr; in main() local
434 &errstr); in main()
435 if (errstr != NULL) in main()
Dsftp.c2241 const char *errstr; in main() local
2339 &errstr); in main()
2340 if (errstr != NULL) in main()
/external/libevent/
Dlog.c59 static void _warn_helper(int severity, const char *errstr, const char *fmt,
170 _warn_helper(int severity, const char *errstr, const char *fmt, va_list ap) in _warn_helper() argument
180 if (errstr) { in _warn_helper()
183 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr); in _warn_helper()
/external/openssh/openbsd-compat/
Dstrtonum.c41 const char *errstr; in strtonum() member
64 *errstrp = ev[error].errstr; in strtonum()
/external/valgrind/helgrind/
Dhg_errors.c342 HChar* errstr; /* persistent, in tool-arena */ member
362 HChar* errstr; /* persistent, in tool-arena */ member
615 Word err, const HChar* errstr ) in HG_()
620 tl_assert(errstr); in HG_()
626 xe.XE.PthAPIerror.errstr = string_table_strdup(errstr); in HG_()
634 void HG_(record_error_Misc_w_aux) ( Thread* thr, const HChar* errstr, in HG_()
639 tl_assert(errstr); in HG_()
643 xe.XE.Misc.errstr = string_table_strdup(errstr); in HG_()
653 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr ) in HG_()
655 HG_(record_error_Misc_w_aux)(thr, errstr, NULL, NULL); in HG_()
[all …]
Dhg_errors.h78 void HG_(record_error_Misc_w_aux) ( Thread*, const HChar* errstr,
81 void HG_(record_error_Misc) ( Thread* thr, const HChar* errstr );
Dhg_main.c2105 const HChar* errstr = "Attempt to re-lock a " in evh__HG_PTHREAD_MUTEX_LOCK_PRE() local
2109 HG_(record_error_Misc_w_aux)( thr, errstr, auxstr, lk->acquired_at ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
2111 HG_(record_error_Misc)( thr, errstr ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver.py472 errstr = ('Ill formed action |%s|. Action must be of the form: '
477 self._setup_error(errstr)
479 self._setup_error(errstr)
481 self._setup_error(errstr)
490 self._setup_error(errstr)
494 self._setup_error(errstr)
/external/libpcap/
Dpcap-bpf.c1111 char *errstr; in bpf_odminit() local
1114 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
1115 errstr = "Unknown error"; in bpf_odminit()
1118 errstr); in bpf_odminit()
1123 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odminit()
1124 errstr = "Unknown error"; in bpf_odminit()
1127 errstr); in bpf_odminit()
1138 char *errstr; in bpf_odmcleanup() local
1142 if (odm_err_msg(odmerrno, &errstr) == -1) in bpf_odmcleanup()
1143 errstr = "Unknown error"; in bpf_odmcleanup()
[all …]
/external/valgrind/exp-sgcheck/
Dpc_common.c787 const HChar* errstr = VG_(get_error_string)(err); in pc_get_extra_suppression_info() local
788 tl_assert(errstr); in pc_get_extra_suppression_info()
789 return VG_(snprintf)(buf, nBuf, "%s", errstr); in pc_get_extra_suppression_info()
/external/sqlite/dist/
Dsqlite3ext.h244 const char *(*errstr)(int); member
487 #define sqlite3_errstr sqlite3_api->errstr
/external/dnsmasq/src/
Dtftp.c501 char *errstr = strerror(errno); in tftp_err() local
505 ret += (snprintf(mess->message, 500, message, file, errstr) + 1); in tftp_err()
/external/sqlite/dist/orig/
Dsqlite3ext.h244 const char *(*errstr)(int); member
487 #define sqlite3_errstr sqlite3_api->errstr
/external/valgrind/memcheck/
Dmc_errors.c1530 const HChar* errstr = VG_(get_error_string)(err); in MC_() local
1531 tl_assert(errstr); in MC_()
1532 return VG_(snprintf)(buf, nBuf, "%s", errstr); in MC_()
/external/javasqlite/src/main/native/
Dsqlite_jni.c2036 transstr errstr; in Java_SQLite_FunctionContext_set_1error() local
2039 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2046 errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2047 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()
2060 transstr errstr; in Java_SQLite_FunctionContext_set_1error()
2063 trans2iso(env, f->h->haveutf, f->h->enc, err, &errstr); in Java_SQLite_FunctionContext_set_1error()
2069 sqlite_set_result_error((sqlite_func *) f->sf, errstr.result, -1); in Java_SQLite_FunctionContext_set_1error()
2070 transfree(&errstr); in Java_SQLite_FunctionContext_set_1error()
/external/google-tv-pairing-protocol/cpp/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
/external/libogg/
Dltmain.sh3796 char *errstr = strerror (errno);
3797 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);

12