Home
last modified time | relevance | path

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

12345

/netbsd-src/external/bsd/mdocml/dist/
H A Dtest-strtonum.c23 const char *errstr; in main() local
25 if (strtonum("1", 0, 2, &errstr) != 1) in main()
27 if (errstr != NULL) in main()
29 if (strtonum("1x", 0, 2, &errstr) != 0) in main()
31 if (errstr == NULL) in main()
33 if (strtonum("2", 0, 1, &errstr) != 0) in main()
35 if (errstr == NULL) in main()
37 if (strtonum("0", 1, 2, &errstr) != 0) in main()
39 if (errstr == NULL) in main()
/netbsd-src/external/gpl3/gcc/dist/libcody/
H A Dnetserver.cc29 char const *errstr = nullptr; in ListenSocket() local
34 errstr = "creating socket"; in ListenSocket()
39 *e = errstr; in ListenSocket()
48 errstr = "binding socket"; in ListenSocket()
54 errstr = "listening socket"; in ListenSocket()
83 char const *errstr = nullptr; in ListenInet6() local
88 errstr = "creating socket"; in ListenInet6()
93 *e = errstr; in ListenInet6()
116 errstr = gai_strerror (err); in ListenInet6()
138 errstr = "binding socket"; in ListenInet6()
[all …]
H A Dnetclient.cc29 char const *errstr = nullptr; in OpenSocket() local
34 errstr = "creating socket"; in OpenSocket()
39 *e = errstr; in OpenSocket()
48 errstr = "connecting socket"; in OpenSocket()
76 char const *errstr = nullptr; in OpenInet6() local
81 errstr = "socket"; in OpenInet6()
86 *e = errstr; in OpenInet6()
107 errstr = gai_strerror (err); in OpenInet6()
128 errstr = "connecting"; in OpenInet6()
/netbsd-src/usr.sbin/ypserv/yppush/
H A Dyppush_err.c48 static char errstr[64]; in yppush_err_string() local
100 memset(errstr, 0, sizeof(errstr)); in yppush_err_string()
101 snprintf(errstr, sizeof(errstr), "unknown error code: %d", y); in yppush_err_string()
102 return errstr; in yppush_err_string()
/netbsd-src/external/ibm-public/postfix/dist/src/postqueue/
H A Dpostqueue.c368 const char *errstr; in show_queue() local
374 && (errstr = check_user_acl_byuid(VAR_SHOWQ_ACL, var_showq_acl, in show_queue()
378 errstr, (long) uid); in show_queue()
451 const char *errstr; in flush_queue() local
455 && (errstr = check_user_acl_byuid(VAR_FLUSH_ACL, var_flush_acl, in flush_queue()
459 errstr, (long) uid); in flush_queue()
478 const char *errstr; in flush_site() local
482 && (errstr = check_user_acl_byuid(VAR_FLUSH_ACL, var_flush_acl, in flush_site()
486 errstr, (long) uid); in flush_site()
513 const char *errstr; in flush_file() local
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/external/gpl3/gcc/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/external/gpl3/gdb/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/external/gpl3/binutils.old/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/external/gpl3/gdb.old/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/external/gpl3/binutils/dist/libiberty/
H A Dxstrerror.c56 char *errstr; in xstrerror() local
67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror()
69 errstr = strerror (errnum); in xstrerror()
73 if (!errstr) in xstrerror()
76 errstr = xstrerror_buf; in xstrerror()
78 return errstr; in xstrerror()
/netbsd-src/lib/libc/stdlib/
H A Dstrtonum.c44 const char **errstr) in strtonum() argument
51 if (errstr == NULL) in strtonum()
52 errstr = &resp; in strtonum()
61 *errstr = NULL; in strtonum()
69 *errstr = rv == maxval ? "too large" : "too small"; in strtonum()
76 *errstr = "invalid"; in strtonum()
/netbsd-src/sbin/bioctl/
H A Dbioctl.c204 const char *errstr; in str2locator() local
216 location->lun = strtonum(lun, 0, 256, &errstr); in str2locator()
217 if (errstr) in str2locator()
218 return errstr; in str2locator()
222 location->target = strtonum(targ, 0, 256, &errstr); in str2locator()
223 if (errstr) in str2locator()
224 return errstr; in str2locator()
225 location->channel = strtonum(parse, 0, 256, &errstr); in str2locator()
226 if (errstr) in str2locator()
227 return errstr; in str2locator()
[all …]
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauth-options.c260 const char *errstr = "unknown error"; in handle_permit() local
266 if ((opt = opt_dequote(optsp, &errstr)) == NULL) { in handle_permit()
329 const char *errstr = "unknown error"; in sshauthopt_parse() local
368 errstr = "multiple \"command\" clauses"; in sshauthopt_parse()
371 ret->force_command = opt_dequote(&opts, &errstr); in sshauthopt_parse()
376 errstr = "multiple \"principals\" clauses"; in sshauthopt_parse()
379 ret->cert_principals = opt_dequote(&opts, &errstr); in sshauthopt_parse()
384 errstr = "multiple \"from\" clauses"; in sshauthopt_parse()
388 &errstr); in sshauthopt_parse()
392 if ((opt = opt_dequote(&opts, &errstr)) == NULL) in sshauthopt_parse()
[all …]
H A Ddh.c65 const char *errstr = NULL; in parse_prime() local
85 n = strtonum(arg, 0, 5, &errstr); in parse_prime()
86 if (errstr != NULL || n != MODULI_TYPE_SAFE) { in parse_prime()
94 n = strtonum(arg, 0, 0x1f, &errstr); in parse_prime()
95 if (errstr != NULL || in parse_prime()
103 n = strtonum(arg, 0, 1<<30, &errstr); in parse_prime()
104 if (errstr != NULL || n == 0) { in parse_prime()
110 (dhg->size = (int)strtonum(strsize, 0, 64*1024, &errstr)) == 0 || in parse_prime()
111 errstr) { in parse_prime()
/netbsd-src/sys/arch/mips/mips/
H A Dmips_fixup.c300 const char *errstr = "mips"; in mips_fixup_addr() local
324 errstr = "LD"; in mips_fixup_addr()
333 errstr = "SD"; in mips_fixup_addr()
340 errstr = "LW"; in mips_fixup_addr()
350 errstr = "SW"; in mips_fixup_addr()
357 errstr = "ORI"; in mips_fixup_addr()
367 errstr = "dmtc0 dst"; in mips_fixup_addr()
371 errstr = "dmtc0 src"; in mips_fixup_addr()
376 errstr = "COP0"; in mips_fixup_addr()
383 errstr = "JAL-non-_mcount"; in mips_fixup_addr()
[all …]
/netbsd-src/usr.sbin/autofs/
H A Dlog.c97 char *errstr; in log_common() local
132 errstr = strerror(log_errno); in log_common()
136 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
138 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
141 peer_addr, msgbuf_strvised, errstr); in log_common()
143 peer_addr, msgbuf_strvised, errstr); in log_common()
146 msgbuf_strvised, errstr); in log_common()
148 msgbuf_strvised, errstr); in log_common()
/netbsd-src/usr.bin/sdiff/
H A Dsdiff.c183 const char *errstr; in main() local
236 INT_MAX, &errstr); in main()
237 if (errstr) in main()
238 errx(2, "width is %s: %s", errstr, optarg); in main()
573 const char *errstr; in parsecmd() local
586 file1start = strtonum(line, 0, INT_MAX, &errstr); in parsecmd()
587 if (errstr) in parsecmd()
588 errx(2, "file1 start is %s: %s", errstr, line); in parsecmd()
599 file1end = strtonum(q, 0, INT_MAX, &errstr); in parsecmd()
600 if (errstr) in parsecmd()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Dsupport.go30 var errstr *C.char
33 C.LLVMLoadLibraryPermanently2(libstr, &errstr)
34 if errstr != nil {
35 err := errors.New(C.GoString(errstr))
36 C.free(unsafe.Pointer(errstr))
H A Dtarget.go217 var errstr *C.char
220 fail := C.LLVMGetTargetFromTriple(ctriple, &t.C, &errstr)
222 err = errors.New(C.GoString(errstr))
223 C.free(unsafe.Pointer(errstr))
271 var errstr *C.char
273 fail := C.LLVMTargetMachineEmitToMemoryBuffer(tm.C, m.C, C.LLVMCodeGenFileType(ft), &errstr, &mb.C)
275 err := errors.New(C.GoString(errstr))
276 C.free(unsafe.Pointer(errstr))
/netbsd-src/external/bsd/libfido2/dist/src/
H A Dlog.c102 char errstr[LINELEN]; in fido_log_error() local
107 if (strerror_r(errnum, errstr, sizeof(errstr)) != 0) in fido_log_error()
108 snprintf(errstr, sizeof(errstr), "error %d", errnum); in fido_log_error()
111 do_log(errstr, fmt, args); in fido_log_error()
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dldifutil.c110 const char *errstr, in ldap_parse_ldif_record_x() argument
166 errstr, linenum+i, dn == NULL ? "" : dn ); in ldap_parse_ldif_record_x()
186 errstr, lr->lr_vals[i].bv_val, linenum ); in ldap_parse_ldif_record_x()
229 errstr, BV_CONTROL.bv_val, linenum+i, ldap_err2string(rc) ); in ldap_parse_ldif_record_x()
237 errstr, lr->lr_btype[i-1].bv_val, linenum+i ); in ldap_parse_ldif_record_x()
259 errstr, BV_CHANGETYPE.bv_val, lr->lr_vals[i].bv_val, linenum+i, dn ); in ldap_parse_ldif_record_x()
271 errstr, linenum, in ldap_parse_ldif_record_x()
294 errstr, BV_NEWRDN.bv_val, lr->lr_btype[i].bv_val, linenum+i, dn ); in ldap_parse_ldif_record_x()
305 errstr, BV_DELETEOLDRDN.bv_val, lr->lr_btype[i].bv_val, linenum+i, dn ); in ldap_parse_ldif_record_x()
315 errstr, BV_NEWSUP.bv_val, lr->lr_btype[i].bv_val, linenum+i, dn ); in ldap_parse_ldif_record_x()
[all …]
/netbsd-src/external/bsd/am-utils/dist/libamu/
H A Dstrerror.c58 static char errstr[30]; in strerror() local
59 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror()
60 return errstr; in strerror()
/netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man1/
H A Derrstr.pod5 openssl-errstr,
6 errstr - lookup error codes
10 B<openssl errstr error_code>
15 numerical forms will be available. The B<errstr> utility can be used to
31 openssl errstr 2006D080
/netbsd-src/sys/arch/i386/pci/
H A Dpcibios.c421 const char *errstr; in pcibios_return_code() local
429 errstr = "service not present"; in pcibios_return_code()
433 errstr = "function not supported"; in pcibios_return_code()
437 errstr = "bad vendor ID"; in pcibios_return_code()
441 errstr = "device not found"; in pcibios_return_code()
445 errstr = "bad register number"; in pcibios_return_code()
449 errstr = "set failed"; in pcibios_return_code()
453 errstr = "buffer too small"; in pcibios_return_code()
461 aprint_error("%s: %s\n", func, errstr); in pcibios_return_code()

12345