| /freebsd-12.1/contrib/ofed/infiniband-diags/src/ |
| H A D | ibccconfig.c | 127 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-12.1/usr.sbin/ugidfw/ |
| H A D | ugidfw.c | 76 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-12.1/lib/libugidfw/ |
| H A D | ugidfw.c | 620 if (errstr && buflen) { in bsde_get_jailid() 623 jiov[3].iov_base = errstr; in bsde_get_jailid() 625 errstr[0] = 0; in bsde_get_jailid() 627 if (jid < 0 && !errstr[0]) in bsde_get_jailid() 873 buflen, errstr) < 0) in bsde_parse_object() 919 buflen, errstr) < 0) in bsde_parse_object() 929 snprintf(errstr, buflen, in bsde_parse_object() 965 char *errstr) in bsde_parse_mode() argument 1193 char *errstr) in bsde_get_rule() argument 1263 char *errstr) in bsde_set_rule() argument [all …]
|
| H A D | ugidfw.h | 43 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-12.1/sbin/gvinum/ |
| H A D | gvinum.c | 141 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-12.1/contrib/mandoc/ |
| H A D | test-strtonum.c | 23 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-12.1/contrib/subversion/subversion/svnserve/ |
| H A D | logger.c | 103 char errstr[8192]; in logger__log_error() local 123 apr_size_t len = apr_snprintf(errstr, sizeof(errstr), in logger__log_error() 131 len += escape_errorlog_item(errstr + len, message, in logger__log_error() 132 sizeof(errstr) - len); in logger__log_error() 134 if (len > sizeof(errstr) - sizeof(APR_EOL_STR)) { in logger__log_error() 135 len = sizeof(errstr) - sizeof(APR_EOL_STR); in logger__log_error() 138 memcpy(errstr + len, APR_EOL_STR, sizeof(APR_EOL_STR)); in logger__log_error() 141 svn_error_clear(svn_stream_write(logger->stream, errstr, &len)); in logger__log_error() 155 const char *errstr, in logger__write() argument 159 svn_stream_write(logger->stream, errstr, &len)); in logger__write()
|
| /freebsd-12.1/usr.sbin/pw/ |
| H A D | pw_utils.c | 43 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 D | pw_conf.c | 251 const char *errstr; in read_userconfig() local 346 UID_MAX, &errstr); in read_userconfig() 347 if (errstr) in read_userconfig() 355 UID_MAX, &errstr); in read_userconfig() 356 if (errstr) in read_userconfig() 364 GID_MAX, &errstr); in read_userconfig() 365 if (errstr) in read_userconfig() 373 GID_MAX, &errstr); in read_userconfig() 374 if (errstr) in read_userconfig() 383 if (errstr) in read_userconfig() [all …]
|
| /freebsd-12.1/usr.sbin/bsdinstall/partedit/ |
| H A D | gpart_ops.c | 292 if (errstr != NULL && errstr[0] != '\0') { in gpart_partition() 345 if (errstr != NULL && errstr[0] != '\0') in gpart_activate() 347 errstr); in gpart_activate() 365 if (errstr != NULL && errstr[0] != '\0') in gpart_set_root() 367 errstr); in gpart_set_root() 419 if (errstr != NULL && errstr[0] != '\0') in gpart_bootcode() 489 if (errstr != NULL && errstr[0] != '\0') { in gpart_destroy() 647 if (errstr != NULL && errstr[0] != '\0') { in gpart_edit() 1229 if (errstr != NULL && errstr[0] != '\0') { in gpart_create() 1330 if (errstr != NULL && errstr[0] != '\0') { in gpart_delete() [all …]
|
| /freebsd-12.1/crypto/openssh/regress/unittests/authopt/ |
| H A D | tests.c | 135 const char *errstr; in test_authkeys_parse() local 142 ASSERT_PTR_NE(errstr, NULL); \ in test_authkeys_parse() 147 if (errstr != NULL) \ in test_authkeys_parse() 148 ASSERT_STRING_EQ(errstr, ""); \ in test_authkeys_parse() 157 opts = sshauthopt_parse("", &errstr); in test_authkeys_parse() 376 const char *errstr; in test_merge() local 390 if (errstr != NULL) \ in test_merge() 391 ASSERT_STRING_EQ(errstr, ""); \ in test_merge() 394 cert_opts, &errstr); \ in test_merge() 410 if (errstr != NULL) \ in test_merge() [all …]
|
| /freebsd-12.1/contrib/gcclibs/libiberty/ |
| H A D | xstrerror.c | 56 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()
|
| /freebsd-12.1/contrib/binutils/libiberty/ |
| H A D | xstrerror.c | 56 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()
|
| /freebsd-12.1/usr.sbin/traceroute/ |
| H A D | findsaddr-udp.c | 58 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-12.1/tools/regression/sockets/unix_cmsg/ |
| H A D | unix_cmsg.c | 350 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-12.1/usr.bin/m4/ |
| H A D | eval.c | 129 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-12.1/usr.sbin/iscsid/ |
| H A D | log.c | 93 char *errstr; in log_common() local 127 errstr = strerror(log_errno); in log_common() 131 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 133 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 136 peer_addr, msgbuf_strvised, errstr); in log_common() 138 peer_addr, msgbuf_strvised, errstr); in log_common() 141 msgbuf_strvised, errstr); in log_common() 143 msgbuf_strvised, errstr); in log_common()
|
| /freebsd-12.1/usr.sbin/ctld/ |
| H A D | log.c | 93 char *errstr; in log_common() local 127 errstr = strerror(log_errno); in log_common() 131 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 133 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 136 peer_addr, msgbuf_strvised, errstr); in log_common() 138 peer_addr, msgbuf_strvised, errstr); in log_common() 141 msgbuf_strvised, errstr); in log_common() 143 msgbuf_strvised, errstr); in log_common()
|
| /freebsd-12.1/usr.sbin/autofs/ |
| H A D | log.c | 93 char *errstr; in log_common() local 127 errstr = strerror(log_errno); in log_common() 131 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 133 peer_addr, peer_name, msgbuf_strvised, errstr); in log_common() 136 peer_addr, msgbuf_strvised, errstr); in log_common() 138 peer_addr, msgbuf_strvised, errstr); in log_common() 141 msgbuf_strvised, errstr); in log_common() 143 msgbuf_strvised, errstr); in log_common()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | auth-options.c | 321 const char *errstr = "unknown error"; in handle_permit() local 389 const char *errstr = "unknown error"; in sshauthopt_parse() local 443 &errstr); in sshauthopt_parse() 452 errstr = "invalid expires time"; in sshauthopt_parse() 502 errstr = "invalid tun device"; in sshauthopt_parse() 514 errstr = "unknown key option"; in sshauthopt_parse() 530 errstr = "memory allocation failed"; in sshauthopt_parse() 534 *errstrp = errstr; in sshauthopt_parse() 574 const char *errstr = "internal error"; in sshauthopt_merge() local 681 errstr = "memory allocation failed"; in sshauthopt_merge() [all …]
|
| /freebsd-12.1/contrib/netcat/ |
| H A D | netcat.c | 218 if (errstr) in main() 259 if (errstr) in main() 267 if (errstr) in main() 284 if (errstr != NULL) in main() 286 errstr, optarg); in main() 300 errstr = NULL; in main() 309 &errstr); in main() 1110 const char *errstr; in build_ports() local 1121 if (errstr) in build_ports() 1124 if (errstr) in build_ports() [all …]
|
| /freebsd-12.1/sbin/ccdconfig/ |
| H A D | ccdconfig.c | 172 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-12.1/tests/sys/fifo/ |
| H A D | fifo_open.c | 103 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-12.1/contrib/amd/libamu/ |
| H A D | strerror.c | 56 static char errstr[30]; in strerror() local 57 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror() 58 return errstr; in strerror()
|
| /freebsd-12.1/contrib/subversion/subversion/libsvn_subr/ |
| H A D | atomic.c | 119 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()
|