Home
last modified time | relevance | path

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

12345

/freebsd-13.1/contrib/ofed/infiniband-diags/src/
H A Dibccconfig.c127 char *errstr; in congestion_key_info() local
133 return errstr; in congestion_key_info()
135 return errstr; in congestion_key_info()
137 return errstr; in congestion_key_info()
139 return errstr; in congestion_key_info()
208 char *errstr; in parse256() local
233 char *errstr; in parsecct() local
267 char *errstr; in switch_congestion_setting() local
354 char *errstr; in switch_port_congestion_setting() local
434 char *errstr; in ca_congestion_setting() local
[all …]
/freebsd-13.1/usr.sbin/ugidfw/
H A Dugidfw.c76 char errstr[BUFSIZ], charstr[BUFSIZ]; in add_rule() local
82 warnx("%s", errstr); in add_rule()
88 warnx("%s", errstr); in add_rule()
100 char errstr[BUFSIZ], charstr[BUFSIZ]; in list_rules() local
108 errx(1, "bsde_get_rule_slots: %s", errstr); in list_rules()
123 warnx("rule %d: %s", i, errstr); in list_rules()
139 char errstr[BUFSIZ]; in set_rule() local
159 warnx("%s", errstr); in set_rule()
165 warnx("%s", errstr); in set_rule()
173 char errstr[BUFSIZ]; in remove_rule() local
[all …]
/freebsd-13.1/lib/libugidfw/
H A Dugidfw.c619 if (errstr && buflen) { in bsde_get_jailid()
622 jiov[3].iov_base = errstr; in bsde_get_jailid()
624 errstr[0] = 0; in bsde_get_jailid()
626 if (jid < 0 && !errstr[0]) in bsde_get_jailid()
872 buflen, errstr) < 0) in bsde_parse_object()
918 buflen, errstr) < 0) in bsde_parse_object()
928 snprintf(errstr, buflen, in bsde_parse_object()
964 char *errstr) in bsde_parse_mode() argument
1192 char *errstr) in bsde_get_rule() argument
1262 char *errstr) in bsde_set_rule() argument
[all …]
H A Dugidfw.h43 char *errstr);
45 struct mac_bsdextended_rule *rule, size_t buflen, char *errstr);
47 struct mac_bsdextended_rule *rule, size_t buflen, char *errstr);
49 int bsde_get_rule_count(size_t buflen, char *errstr);
50 int bsde_get_rule_slots(size_t buflen, char *errstr);
52 size_t errlen, char *errstr);
53 int bsde_delete_rule(int rulenum, size_t buflen, char *errstr);
55 size_t buflen, char *errstr);
57 size_t buflen, char *errstr);
/freebsd-13.1/sbin/gvinum/
H A Dgvinum.c141 const char *errstr; in gvinum_attach() local
169 if (errstr != NULL) in gvinum_attach()
185 const char *errstr; in gvinum_create() local
425 const char *errstr; in create_drive() local
492 const char *errstr; in create_volume() local
543 if (errstr != NULL) in create_volume()
652 const char *errstr; in gvinum_detach() local
683 if (errstr != NULL) in gvinum_detach()
753 const char *errstr; in gvinum_setstate() local
798 if (errstr != NULL) in gvinum_setstate()
[all …]
/freebsd-13.1/contrib/mandoc/
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()
/freebsd-13.1/usr.sbin/pw/
H A Dpw_utils.c43 const char *errstr; in pw_checkfd() local
48 fd = strtonum(nptr, 0, INT_MAX, &errstr); in pw_checkfd()
49 if (errstr != NULL) in pw_checkfd()
51 nptr, errstr); in pw_checkfd()
58 const char *errstr = NULL; in pw_checkid() local
61 id = strtounum(nptr, 0, maxval, &errstr); in pw_checkid()
62 if (errstr) in pw_checkid()
63 errx(EX_USAGE, "Bad id '%s': %s", nptr, errstr); in pw_checkid()
H A Dpw_conf.c250 const char *errstr; in read_userconfig() local
345 UID_MAX, &errstr); in read_userconfig()
346 if (errstr) in read_userconfig()
354 UID_MAX, &errstr); in read_userconfig()
355 if (errstr) in read_userconfig()
363 GID_MAX, &errstr); in read_userconfig()
364 if (errstr) in read_userconfig()
372 GID_MAX, &errstr); in read_userconfig()
373 if (errstr) in read_userconfig()
382 if (errstr) in read_userconfig()
[all …]
/freebsd-13.1/usr.sbin/bsdinstall/partedit/
H A Dgpart_ops.c293 if (errstr != NULL && errstr[0] != '\0') { in gpart_partition()
346 if (errstr != NULL && errstr[0] != '\0') in gpart_activate()
348 errstr); in gpart_activate()
366 if (errstr != NULL && errstr[0] != '\0') in gpart_set_root()
368 errstr); in gpart_set_root()
420 if (errstr != NULL && errstr[0] != '\0') in gpart_bootcode()
490 if (errstr != NULL && errstr[0] != '\0') { in gpart_destroy()
648 if (errstr != NULL && errstr[0] != '\0') { in gpart_edit()
1225 if (errstr != NULL && errstr[0] != '\0') { in gpart_create()
1326 if (errstr != NULL && errstr[0] != '\0') { in gpart_delete()
[all …]
/freebsd-13.1/crypto/openssh/regress/unittests/authopt/
H A Dtests.c139 const char *errstr; in test_authkeys_parse() local
146 ASSERT_PTR_NE(errstr, NULL); \ in test_authkeys_parse()
151 if (errstr != NULL) \ in test_authkeys_parse()
152 ASSERT_STRING_EQ(errstr, ""); \ in test_authkeys_parse()
161 opts = sshauthopt_parse("", &errstr); in test_authkeys_parse()
382 const char *errstr; in test_merge() local
396 if (errstr != NULL) \ in test_merge()
397 ASSERT_STRING_EQ(errstr, ""); \ in test_merge()
400 cert_opts, &errstr); \ in test_merge()
416 if (errstr != NULL) \ in test_merge()
[all …]
/freebsd-13.1/usr.sbin/traceroute/
H A Dfindsaddr-udp.c58 const char *errstr; in findsaddr() local
67 errstr = NULL; in findsaddr()
72 errstr = "failed to connect to peer for src addr selection."; in findsaddr()
77 errstr = "failed to get socket name for src addr selection."; in findsaddr()
82 errstr = "unexpected address family in src addr selection."; in findsaddr()
93 return (errstr); in findsaddr()
/freebsd-13.1/lib/libc/tests/resolv/
H A Dresolv_test.c122 *errstr = gai_strerror(error); in resolv_getaddrinfo()
123 DBG("T%ld: host %s not found: %s\n", threadnum, host, *errstr); in resolv_getaddrinfo()
129 resolv_gethostby(long threadnum, char *host, const char **errstr) in resolv_gethostby() argument
143 *errstr = hstrerror(h_errno); in resolv_gethostby()
144 DBG("T%ld: host %s not found: %s\n", threadnum, host, *errstr); in resolv_gethostby()
168 *errstr = hstrerror(error); in resolv_getipnodeby()
177 const char* errstr = NULL; in resolvone() local
185 error = resolv_getaddrinfo(threadnum, host, i, &errstr); in resolvone()
188 error = resolv_gethostby(threadnum, host, &errstr); in resolvone()
191 error = resolv_getipnodeby(threadnum, host, &errstr); in resolvone()
[all …]
/freebsd-13.1/tools/regression/sockets/unix_cmsg/
H A Dunix_cmsg.c350 const char *errstr; in main() local
373 IPC_MSG_NUM_MAX, &errstr); in main()
374 if (errstr != NULL) in main()
376 errstr); in main()
380 IPC_MSG_SIZE_MAX, &errstr); in main()
381 if (errstr != NULL) in main()
383 errstr); in main()
395 zvalue = strtonum(optarg, 0, 3, &errstr); in main()
396 if (errstr != NULL) in main()
398 errstr); in main()
[all …]
/freebsd-13.1/usr.sbin/autofs/
H A Dlog.c92 char *errstr; in log_common() local
126 errstr = strerror(log_errno); in log_common()
130 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
132 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
135 peer_addr, msgbuf_strvised, errstr); in log_common()
137 peer_addr, msgbuf_strvised, errstr); in log_common()
140 msgbuf_strvised, errstr); in log_common()
142 msgbuf_strvised, errstr); in log_common()
/freebsd-13.1/usr.sbin/ctld/
H A Dlog.c92 char *errstr; in log_common() local
126 errstr = strerror(log_errno); in log_common()
130 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
132 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
135 peer_addr, msgbuf_strvised, errstr); in log_common()
137 peer_addr, msgbuf_strvised, errstr); in log_common()
140 msgbuf_strvised, errstr); in log_common()
142 msgbuf_strvised, errstr); in log_common()
/freebsd-13.1/usr.sbin/iscsid/
H A Dlog.c92 char *errstr; in log_common() local
126 errstr = strerror(log_errno); in log_common()
130 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
132 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common()
135 peer_addr, msgbuf_strvised, errstr); in log_common()
137 peer_addr, msgbuf_strvised, errstr); in log_common()
140 msgbuf_strvised, errstr); in log_common()
142 msgbuf_strvised, errstr); in log_common()
/freebsd-13.1/usr.bin/m4/
H A Deval.c129 const char *errstr; in expand_builtin() local
185 const char *errstr; in expand_builtin() local
189 if (errstr) { in expand_builtin()
191 errstr, argv[3]); in expand_builtin()
196 if (errstr) { in expand_builtin()
198 errstr, argv[4]); in expand_builtin()
239 if (errstr != NULL) in expand_builtin()
253 if (errstr) in expand_builtin()
360 if (errstr) in expand_builtin()
869 const char *errstr; in doundiv() local
[all …]
/freebsd-13.1/crypto/openssh/
H A Dauth-options.c256 const char *errstr = "unknown error"; in handle_permit() local
325 const char *errstr = "unknown error"; in sshauthopt_parse() local
384 &errstr); in sshauthopt_parse()
393 errstr = "invalid expires time"; in sshauthopt_parse()
462 errstr = "invalid tun device"; in sshauthopt_parse()
474 errstr = "unknown key option"; in sshauthopt_parse()
490 errstr = "memory allocation failed"; in sshauthopt_parse()
494 *errstrp = errstr; in sshauthopt_parse()
534 const char *errstr = "internal error"; in sshauthopt_merge() local
645 errstr = "memory allocation failed"; in sshauthopt_merge()
[all …]
/freebsd-13.1/sbin/ccdconfig/
H A Dccdconfig.c172 char const *errstr; in do_single() local
192 errstr = gctl_issue(grq); in do_single()
193 if (errstr == NULL) { in do_single()
201 errstr); in do_single()
267 errstr = gctl_issue(grq); in do_single()
268 if (errstr == NULL) { in do_single()
277 errstr); in do_single()
369 char const *errstr; in dumpout() local
378 errstr = gctl_issue(grq); in dumpout()
379 if (errstr != NULL) in dumpout()
[all …]
/freebsd-13.1/tests/sys/fifo/
H A Dfifo_open.c103 run_in_process(int (*func)(void), pid_t *pidp, const char *errstr) in run_in_process() argument
109 warn("%s: run_in_process: fork", errstr); in run_in_process()
128 wait_and_timeout(pid_t pid, int timeout, int *status, const char *errstr) in wait_and_timeout() argument
140 warn("%s: wait_and_timeout: waitpid %d", errstr, pid); in wait_and_timeout()
152 warn("%s: wait_and_timeout: waitpid %d", errstr, pid); in wait_and_timeout()
160 warn("%s: wait_and_timeout: kill %d", errstr, pid); in wait_and_timeout()
166 warn("%s: wait_and_timeout: waitpid %d", errstr, pid); in wait_and_timeout()
171 warn("%s: waitpid: returned %d not %d", errstr, wpid, pid); in wait_and_timeout()
175 warnx("%s: process blocked", errstr); in wait_and_timeout()
/freebsd-13.1/contrib/libfido2/src/
H A Dlog.c101 char errstr[LINELEN]; in fido_log_error() local
106 if (strerror_r(errnum, errstr, sizeof(errstr)) != 0) in fido_log_error()
107 snprintf(errstr, sizeof(errstr), "error %d", errnum); in fido_log_error()
110 do_log(errstr, fmt, args); in fido_log_error()
/freebsd-13.1/contrib/subversion/subversion/svnserve/
H A Dlogger.c105 char *errstr = apr_palloc(logger->pool, errstr_size); in log_message() local
126 apr_size_t len = apr_snprintf(errstr, errstr_size, in log_message()
134 len += escape_errorlog_item(errstr + len, message, in log_message()
141 memcpy(errstr + len, APR_EOL_STR, sizeof(APR_EOL_STR)); in log_message()
144 svn_error_clear(svn_stream_write(logger->stream, errstr, &len)); in log_message()
176 const char *errstr, in logger__write() argument
180 svn_stream_write(logger->stream, errstr, &len)); in logger__write()
/freebsd-13.1/contrib/netcat/
H A Dnetcat.c227 if (errstr) in main()
275 if (errstr) in main()
283 if (errstr) in main()
300 if (errstr != NULL) in main()
302 errstr, optarg); in main()
316 errstr = NULL; in main()
325 &errstr); in main()
1156 const char *errstr; in build_ports() local
1167 if (errstr) in build_ports()
1170 if (errstr) in build_ports()
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Datomic.c119 const char *errstr; member
156 init_baton->errstr = init_baton->str_init_func(init_baton->baton); in str_init_func_wrapper()
157 return (init_baton->errstr == NULL); in str_init_func_wrapper()
167 init_baton.errstr = NULL; in svn_atomic__init_once_no_error()
175 if (!init_baton.errstr) in svn_atomic__init_once_no_error()
178 return init_baton.errstr; in svn_atomic__init_once_no_error()
/freebsd-13.1/crypto/openssl/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

12345