Home
last modified time | relevance | path

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

1234

/dflybsd-src/lib/libdmsg/
H A Ddebug.c117 const char *errstr; in dmsg_msg_str() local
147 errstr = ""; in dmsg_msg_str()
150 errstr = "err=IOQ:NOSYNC"; in dmsg_msg_str()
153 errstr = "err=IOQ:STREAMEOF"; in dmsg_msg_str()
156 errstr = "err=IOQ:SOCKERR"; in dmsg_msg_str()
159 errstr = "err=IOQ:BADFIELD"; in dmsg_msg_str()
162 errstr = "err=IOQ:BADHCRC"; in dmsg_msg_str()
165 errstr = "err=IOQ:BADXCRC"; in dmsg_msg_str()
168 errstr = "err=IOQ:BADACRC"; in dmsg_msg_str()
171 errstr = "err=IOQ:BADSTATE"; in dmsg_msg_str()
[all …]
/dflybsd-src/contrib/binutils-2.27/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()
/dflybsd-src/contrib/gcc-8.0/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()
/dflybsd-src/contrib/gcc-4.7/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()
/dflybsd-src/contrib/gdb-7/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()
/dflybsd-src/contrib/binutils-2.34/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()
/dflybsd-src/crypto/openssh/
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()
/dflybsd-src/usr.sbin/autofs/
H A Dlog.c91 char *errstr; in log_common() local
125 errstr = strerror(log_errno); in log_common()
129 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
131 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
134 peer_addr, msgbuf_strvised, errstr); in log_common()
136 peer_addr, msgbuf_strvised, errstr); in log_common()
139 msgbuf_strvised, errstr); in log_common()
141 msgbuf_strvised, errstr); in log_common()
/dflybsd-src/usr.sbin/watchdogd/
H A Dwatchdogd.c59 const char *errstr; in main() local
72 &errstr); in main()
73 if (errstr) in main()
74 errx(1, "interval is %s: %s", errstr, optarg); in main()
80 period = (u_int)strtonum(optarg, 2LL, 86400LL, &errstr); in main()
81 if (errstr) in main()
82 errx(1, "period is %s: %s", errstr, optarg); in main()
/dflybsd-src/usr.sbin/ypserv/
H A Dyp_main.c243 char *errstr; in main() local
259 (const char **)&errstr); in main()
260 if (yp_port == 0 && errstr != NULL) { in main()
314 if ((asprintf(&errstr, "cannot create a %s socket", in main()
317 _msgout(errstr); in main()
318 free((void *)errstr); in main()
323 if ((asprintf(&errstr, "cannot bind %s socket", in main()
326 _msgout(errstr); in main()
327 free((void *)errstr); in main()
330 errstr = NULL; in main()
/dflybsd-src/lib/libc/yp/
H A Dyplib.c268 const char *errstr; in ypbinderr_string() local
272 errstr = "Success"; in ypbinderr_string()
275 errstr = "Internal ypbind error"; in ypbinderr_string()
278 errstr = "Domain not bound"; in ypbinderr_string()
281 errstr = "System resource allocation failure"; in ypbinderr_string()
284 errstr = NULL; in ypbinderr_string()
287 if (errstr != NULL) in ypbinderr_string()
288 strlcpy(err, errstr, sizeof(err)); in ypbinderr_string()
1089 const char *errstr; in yperr_string() local
1094 errstr = "Success"; in yperr_string()
[all …]
/dflybsd-src/crypto/libressl/apps/openssl/
H A Dasn1pars.c94 const char *errstr; in asn1pars_opt_dlimit() local
96 asn1pars_config.dump = strtonum(arg, 1, INT_MAX, &errstr); in asn1pars_opt_dlimit()
97 if (errstr) { in asn1pars_opt_dlimit()
99 errstr); in asn1pars_opt_dlimit()
108 const char *errstr; in asn1pars_opt_length() local
110 asn1pars_config.length = strtonum(arg, 1, UINT_MAX, &errstr); in asn1pars_opt_length()
111 if (errstr) { in asn1pars_opt_length()
113 errstr); in asn1pars_opt_length()
244 const char *errstr = NULL; in asn1parse_main() local
351 1, INT_MAX, &errstr); in asn1parse_main()
[all …]
H A Docsp.c228 const char *errstr = NULL; in ocsp_opt_ndays() local
230 ocsp_config.ndays = strtonum(arg, 0, INT_MAX, &errstr); in ocsp_opt_ndays()
231 if (errstr != NULL) { in ocsp_opt_ndays()
233 arg, errstr); in ocsp_opt_ndays()
242 const char *errstr = NULL; in ocsp_opt_nmin() local
244 ocsp_config.nmin = strtonum(arg, 0, INT_MAX, &errstr); in ocsp_opt_nmin()
245 if (errstr != NULL) { in ocsp_opt_nmin()
247 arg, errstr); in ocsp_opt_nmin()
261 const char *errstr = NULL; in ocsp_opt_nrequest() local
263 ocsp_config.accept_count = strtonum(arg, 0, INT_MAX, &errstr); in ocsp_opt_nrequest()
[all …]
H A Dgendh.c161 const char *errstr; in gendh_main() local
162 numbits = strtonum(strbits, 0, INT_MAX, &errstr); in gendh_main()
163 if (errstr) { in gendh_main()
164 fprintf(stderr, "Invalid number of bits: %s\n", errstr); in gendh_main()
/dflybsd-src/crypto/libressl/apps/nc/
H A Dnetcat.c169 const char *errstr; in main() local
230 iflag = strtonum(optarg, 0, UINT_MAX, &errstr); in main()
231 if (errstr) in main()
232 errx(1, "interval %s: %s", errstr, optarg); in main()
244 ttl = strtonum(optarg, 0, 255, &errstr); in main()
245 if (errstr) in main()
246 errx(1, "ttl is %s", errstr); in main()
249 minttl = strtonum(optarg, 0, 255, &errstr); in main()
250 if (errstr) in main()
251 errx(1, "minttl is %s", errstr); in main()
[all …]
/dflybsd-src/usr.bin/sdiff/
H A Dsdiff.c214 const char *errstr, *outfile = NULL; in main() local
294 INT_MAX, &errstr); in main()
295 if (errstr) in main()
296 errx(2, "width is %s: %s", errstr, optarg); in main()
304 tabsize = strtonum(optarg, 1, INT_MAX, &errstr); in main()
305 if (errstr) in main()
306 errx(2, "tabsize is %s: %s", errstr, optarg); in main()
717 const char *errstr; in parsecmd() local
730 file1start = strtonum(line, 0, INT_MAX, &errstr); in parsecmd()
731 if (errstr) in parsecmd()
[all …]
/dflybsd-src/test/testcases/crypto/aes/
H A Daestest.c246 const char *cp, *errstr; in run_file() local
269 blocksize = (int)strtonum(cp, 128, 128, &errstr); in run_file()
270 if (errstr) in run_file()
272 lnum, errstr, cp); in run_file()
276 keysize = (int)strtonum(cp, 128, 256, &errstr); in run_file()
277 if (errstr) in run_file()
279 lnum, errstr, cp); in run_file()
331 test = (int)strtonum(cp, 0, 65536, &errstr); in run_file()
332 if (errstr) in run_file()
334 lnum, errstr, cp); in run_file()
/dflybsd-src/test/testcases/crypto/twofish/
H A Dtwofish_test.c261 const char *cp, *errstr; in run_file() local
285 blocksize = (int)strtonum(cp, 128, 128, &errstr); in run_file()
286 if (errstr) in run_file()
288 lnum, errstr, cp); in run_file()
303 keysize = (int)strtonum(cp, 128, 256, &errstr); in run_file()
304 if (errstr) in run_file()
306 lnum, errstr, cp); in run_file()
359 test = (int)strtonum(cp, 0, 65536, &errstr); in run_file()
360 if (errstr) in run_file()
362 lnum, errstr, cp); in run_file()
/dflybsd-src/test/testcases/crypto/serpent/
H A Dserpent_test.c261 const char *cp, *errstr; in run_file() local
285 blocksize = (int)strtonum(cp, 128, 128, &errstr); in run_file()
286 if (errstr) in run_file()
288 lnum, errstr, cp); in run_file()
303 keysize = (int)strtonum(cp, 128, 256, &errstr); in run_file()
304 if (errstr) in run_file()
306 lnum, errstr, cp); in run_file()
359 test = (int)strtonum(cp, 0, 65536, &errstr); in run_file()
360 if (errstr) in run_file()
362 lnum, errstr, cp); in run_file()
/dflybsd-src/usr.bin/xargs/
H A Dxargs.c122 const char *errstr; in main() local
174 Lflag = strtonum(optarg, 0, INT_MAX, &errstr); in main()
175 if (errstr) in main()
176 errx(1, "-L %s: %s", optarg, errstr); in main()
180 nargs = strtonum(optarg, 1, INT_MAX, &errstr); in main()
181 if (errstr) in main()
182 errx(1, "-n %s: %s", optarg, errstr); in main()
188 maxprocs = strtonum(optarg, 0, INT_MAX, &errstr); in main()
189 if (errstr) in main()
190 errx(1, "-P %s: %s", optarg, errstr); in main()
[all …]
/dflybsd-src/games/boggle/mkdict/
H A Dmkdict.c58 const char *errstr; in main() local
68 n = strtonum(argv[1], 1, INT_MAX, &errstr); in main()
69 if (errstr) in main()
70 errx(1, "%s: %s", argv[1], errstr); in main()
/dflybsd-src/contrib/mdocml/
H A Dmanpath.c236 const char *errstr; in manconf_output() local
296 conf->indent = strtonum(cp, 0, 1000, &errstr); in manconf_output()
297 if (errstr == NULL) in manconf_output()
300 "-O indent=%s is %s", cp, errstr); in manconf_output()
307 conf->width = strtonum(cp, 1, 1000, &errstr); in manconf_output()
308 if (errstr == NULL) in manconf_output()
311 "-O width=%s is %s", cp, errstr); in manconf_output()
H A Dmandocd.c123 const char *errstr; in main() local
168 errstr = NULL; in main()
169 clientfd = strtonum(argv[0], 3, INT_MAX, &errstr); in main()
170 if (errstr) in main()
171 errx(1, "file descriptor %s %s", argv[1], errstr); in main()
/dflybsd-src/usr.bin/perror/
H A Dperror.c43 char *errstr; in main() local
57 if ((errstr = strerror(errnum)) == NULL) in main()
60 printf("%s\n", errstr); in main()

1234