Searched refs:errstr (Results 126 - 150 of 434) sorted by relevance

1234567891011>>

/openbsd-current/usr.sbin/rpki-client/
H A Dparser.c172 const char *errstr; local
185 if (!valid_x509(file, ctx, x509, a, crl, &errstr)) {
186 warnx("%s: %s", file, errstr);
212 const char *errstr; local
225 if (!valid_x509(file, ctx, x509, a, crl, &errstr)) {
226 warnx("%s: %s", file, errstr);
346 char **crlfile, struct mft *cached_mft, const char **errstr)
358 *errstr = NULL;
389 if (!valid_x509(file, ctx, x509, a, *crl, errstr))
552 const char *errstr local
345 proc_parser_mft_pre(struct entity *entp, char *file, struct crl **crl, char **crlfile, struct mft *cached_mft, const char **errstr) argument
702 const char *errstr; local
739 const char *errstr; local
778 const char *errstr; local
[all...]
H A Drrdp_delta.c62 const char *errstr; local
70 1, MAX_VERSION, &errstr);
71 if (errstr == NULL)
81 1, LLONG_MAX, &errstr);
82 if (errstr == NULL)
H A Drrdp_snapshot.c60 const char *errstr; local
68 1, MAX_VERSION, &errstr);
69 if (errstr == NULL)
79 1, LLONG_MAX, &errstr);
80 if (errstr == NULL)
/openbsd-current/usr.bin/ftp/
H A Dmain.c229 const char *errstr; local
267 depth = strtonum(str, 0, INT_MAX, &errstr);
268 if (errstr)
270 errstr);
322 const char *errstr; local
485 &errstr);
486 if (errstr != NULL) {
487 warnx("keep alive amount is %s: %s", errstr,
519 retry_connect = strtonum(optarg, 0, INT_MAX, &errstr);
520 if (errstr !
[all...]
/openbsd-current/usr.bin/tmux/
H A Dcmd-new-session.c79 const char *errstr, *template, *group, *tmp; local
213 dsx = strtonum(tmp, 1, USHRT_MAX, &errstr);
214 if (errstr != NULL) {
215 cmdq_error(item, "width %s", errstr);
229 dsy = strtonum(tmp, 1, USHRT_MAX, &errstr);
230 if (errstr != NULL) {
231 cmdq_error(item, "height %s", errstr);
/openbsd-current/usr.bin/nfsstat/
H A Dnfsstat.c84 const char *errstr; local
98 interval = (u_int)strtonum(optarg, 0, 1000, &errstr);
99 if (errstr)
101 optarg, errstr);
116 interval = (u_int)strtonum(*argv, 0, 1000, &errstr);
117 if (errstr)
118 errx(1, "invalid interval %s: %s", *argv, errstr);
/openbsd-current/usr.sbin/ospf6ctl/
H A Dparser.c330 const char *errstr; local
343 ina.s_addr = htonl(strtonum(word, 0, 0xffffffff, &errstr));
344 if (errstr == NULL) {
356 const char *errstr; local
363 mask = strtonum(p + 1, 0, 128, &errstr);
364 if (errstr)
365 errx(1, "invalid netmask: %s", errstr);
/openbsd-current/usr.bin/ldap/
H A Dldapclient.c112 const char *errstr, *url = NULL, *secretfile = NULL; local
163 &errstr);
164 if (errstr != NULL)
165 errx(1, "timelimit %s", errstr);
199 &errstr);
200 if (errstr != NULL)
201 errx(1, "sizelimit %s", errstr);
299 const char *errstr; local
312 aldap_get_errno(ldap->ldap_al, &errstr);
313 log_warnx("LDAP search failed: %s", errstr);
494 const char *errstr; local
[all...]
/openbsd-current/sys/arch/i386/pci/
H A Dpcibios.c426 const char *errstr; local
440 errstr = "service not present";
444 errstr = "function not supported";
448 errstr = "bad vendor ID";
452 errstr = "device not found";
456 errstr = "bad register number";
460 errstr = "set failed";
464 errstr = "buffer too small";
473 printf("%s: %s - %s\n", nam, func, errstr);
/openbsd-current/usr.sbin/unbound/cachedb/
H A Dredis.c97 const char *errstr = "out of memory"; local
99 errstr = ctx->errstr;
100 log_err("failed to connect to redis server: %s", errstr);
263 "closing connection: %s", ctx->errstr);
/openbsd-current/usr.bin/top/
H A Dutils.c52 const char *errstr; local
62 i = (int)strtonum(str, 0, INT_MAX, &errstr);
63 if (errstr) {
/openbsd-current/lib/libc/rpc/
H A Dgetrpcent.c154 const char *errstr; local
182 d->rpc.r_number = strtonum(num, 0, INT_MAX, &errstr);
183 if (errstr)
/openbsd-current/usr.sbin/syslogd/
H A Dparsemsg.c67 const char *errstr; local
74 maybepri = strtonum(buf, 0, INT_MAX, &errstr);
75 if (errstr == NULL) {
/openbsd-current/lib/libc/net/
H A Dinet_net_pton.c214 const char *errstr; local
232 bits = strtonum(sep, 0, 128, &errstr);
233 if (errstr) {
/openbsd-current/usr.bin/tftp/
H A Dmain.c491 const char *errstr; local
506 t = strtonum(argv[1], TIMEOUT_MIN, TIMEOUT_MAX, &errstr);
507 if (errstr)
508 printf("%s: value is %s\n", argv[1], errstr);
517 const char *errstr; local
532 t = strtonum(argv[1], TIMEOUT_MIN, TIMEOUT_MAX, &errstr);
533 if (errstr)
534 printf("%s: value is %s\n", argv[1], errstr);
744 const char *errstr; local
759 t = strtonum(argv[1], SEGSIZE_MIN, SEGSIZE_MAX, &errstr);
[all...]
/openbsd-current/sbin/iked/
H A Docsp.c518 const char *errstr; local
523 errstr = "error querying OCSP responder";
529 errstr = OCSP_response_status_str(status);
536 errstr = "no verify_other";
542 errstr = "error parsing response";
552 errstr = "nonce verify error";
563 errstr = "response verify failure";
570 errstr = "no status found";
577 errstr = "status times invalid";
580 errstr
[all...]
/openbsd-current/lib/libtls/
H A Dtls_keypair.c138 char *errstr = "unknown"; local
160 errstr = ERR_error_string(ssl_err, NULL);
162 "failed to load certificate: %s", errstr);
/openbsd-current/bin/stty/
H A Dkey.c215 const char *errstr; local
218 speed = strtonum(ip->arg, 0, UINT_MAX, &errstr);
219 if (errstr)
257 const char *errstr; local
260 speed = strtonum(ip->arg, 0, UINT_MAX, &errstr);
261 if (errstr)
/openbsd-current/sys/ddb/
H A Ddb_elf.c67 char *errstr = ""; local
98 errstr = "bad magic";
103 errstr = "bad e_machine";
156 errstr = "symtab unaligned";
161 errstr = "symtab corrupted";
180 db_printf("[ %s ELF symbol table not valid: %s ]\n", name, errstr);
/openbsd-current/usr.bin/openssl/
H A Docsp.c228 const char *errstr = NULL; local
230 cfg.ndays = strtonum(arg, 0, INT_MAX, &errstr);
231 if (errstr != NULL) {
233 arg, errstr);
242 const char *errstr = NULL; local
244 cfg.nmin = strtonum(arg, 0, INT_MAX, &errstr);
245 if (errstr != NULL) {
247 arg, errstr);
261 const char *errstr = NULL; local
263 cfg.accept_count = strtonum(arg, 0, INT_MAX, &errstr);
302 const char *errstr = NULL; local
324 const char *errstr = NULL; local
360 const char *errstr = NULL; local
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Dmda_variables.c58 const char *errstr = NULL; local
81 EXPAND_BUFFER, &errstr);
86 EXPAND_BUFFER, &errstr);
88 if (errstr == NULL)
90 EXPAND_BUFFER, &errstr);
93 if (errstr)
/openbsd-current/usr.sbin/eigrpctl/
H A Dparser.c401 const char *errstr; local
407 uval = strtonum(word, EIGRP_MIN_AS, EIGRP_MAX_AS, &errstr);
408 if (errstr)
409 errx(1, "AS number is %s: %s", errstr, word);
454 const char *errstr; local
466 mask = strtonum(p + 1, 0, 128, &errstr);
467 if (errstr)
468 errx(1, "netmask %s", errstr);
/openbsd-current/usr.sbin/ldomctl/
H A Dparse.y292 const char *errstr;
302 vcpu_opts.count = strtonum($1, 0, INT_MAX, &errstr);
303 if (errstr) {
304 yyerror("number %s is %s", $1, errstr);
307 vcpu_opts.stride = strtonum(colon, 0, INT_MAX, &errstr);
308 if (errstr) {
309 yyerror("number %s is %s", colon, errstr);
578 const char *errstr = NULL;
582 LLONG_MAX, &errstr);
583 if (errstr) {
[all...]
/openbsd-current/usr.sbin/cron/
H A Datrun.c64 const char *errstr; local
114 run_time = strtonum(file->d_name, 0, LLONG_MAX, &errstr);
115 if (errstr != NULL)
250 const char *errstr; local
275 *nuid = strtonum(cp, 0, UID_MAX - 1, &errstr);
276 if (errstr != NULL)
283 *ngid = strtonum(cp, 0, GID_MAX - 1, &errstr);
284 if (errstr != NULL)
/openbsd-current/sbin/disklabel/
H A Ddisklabel.c742 #define GETNUM(field, nptr, min, errstr) \
746 (sizeof(field) == 2 ? USHRT_MAX : UCHAR_MAX)), (errstr))
749 getnum(char *nptr, u_int64_t min, u_int64_t max, const char **errstr) argument
758 ret = strtonum(nptr, min, max, errstr);
803 const char *errstr; local
923 #define NXTNUM(n, field, errstr) { \
929 cp = tp, tp = word(cp), (n) = GETNUM(field, cp, 0, errstr); \
931 NXTNUM(lv, lv, &errstr);
932 if (errstr) {
939 NXTNUM(lv, lv, &errstr);
[all...]

Completed in 223 milliseconds

1234567891011>>