Searched refs:errstr (Results 51 - 75 of 126) sorted by relevance

123456

/freebsd-current/lib/geom/part/
H A Dgeom_part.c869 const char *s, *flags, *errstr, *label; local
913 errstr = gctl_issue(r);
914 if (errstr != NULL && errstr[0] != '\0') {
915 gpart_print_error(errstr);
957 errstr = gctl_issue(r);
958 if (errstr != NULL && errstr[0] != '\0') {
959 gpart_print_error(errstr);
997 errstr
1235 gpart_print_error(const char *errstr) argument
1256 const char *errstr; local
[all...]
/freebsd-current/contrib/bsnmp/tests/
H A Dasn1.cc133 * \param errstr expected error string (default empty)
140 std::string_view errstr = {})
146 REQUIRE(g_errstr == errstr);
264 asn_err err, std::string_view errstr) {
268 REQUIRE(g_errstr == errstr);
321 * \param errstr expected error string
324 std::string_view errstr) {
330 REQUIRE(g_errstr == errstr);
429 std::string_view errstr) {
433 REQUIRE(g_errstr == errstr);
[all...]
/freebsd-current/contrib/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);
/freebsd-current/stand/liblua/
H A Dgfx_utils.c268 const char *errstr = lua_tostring(L, -1); local
269 errstr = errstr == NULL ? "unknown" : errstr;
270 printf("Error adding compat loader bindings: %s.\n", errstr);
/freebsd-current/contrib/ntp/sntp/libevent/
H A Dlog.c187 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) argument
200 if (errstr) {
203 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr);
H A Dlog-internal.h75 void event_logv_(int severity, const char *errstr, const char *fmt, va_list ap)
/freebsd-current/contrib/libevent/
H A Dlog.c187 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) argument
200 if (errstr) {
203 evutil_snprintf(buf + len, sizeof(buf) - len, ": %s", errstr);
H A Dlog-internal.h75 void event_logv_(int severity, const char *errstr, const char *fmt, va_list ap)
/freebsd-current/lib/libpmcstat/
H A Dlibpmcstat_logging.c430 const char *p, *errstr; local
434 errstr = NULL;
455 errstr = strerror(EINVAL);
467 errstr = gai_strerror(error);
475 errstr = strerror(errno);
480 errstr = strerror(errno);
489 errstr = strerror(errno);
496 errstr = strerror(errno);
502 errstr = NULL;
510 errstr
[all...]
/freebsd-current/usr.sbin/ppp/
H A Dradius.h58 char *errstr; /* Error-Message */ member in struct:radius
/freebsd-current/lib/geom/multipath/
H A Dgeom_multipath.c308 const char *name, *comp, *errstr; local
318 errstr = gctl_issue (req);
319 if (errstr != NULL) {
321 name, comp, errstr);
/freebsd-current/usr.sbin/watchdogd/
H A Dwatchdogd.c486 const char *errstr; local
490 errstr = NULL;
495 errstr = "is not a number";
497 errstr = "must be greater than zero";
498 if (errstr) {
500 errx(EX_USAGE, "--%s argument %s", longopt, errstr);
502 errx(EX_USAGE, "-%c argument %s", opt, errstr);
/freebsd-current/sbin/ifconfig/
H A Daf_inet.c219 const char *errstr; local
225 errstr = "invalid";
227 masklen = (int)strtonum(p + 1, 0, 32, &errstr);
228 if (errstr != NULL) {
230 errx(1, "%s: bad value (width %s)", s, errstr);
303 const char *errstr; local
308 errstr = "invalid";
310 masklen = (int)strtonum(p + 1, 0, 32, &errstr);
311 if (errstr != NULL) {
313 errx(1, "%s: bad value (width %s)", s, errstr);
[all...]
/freebsd-current/sys/geom/part/
H A Dg_part_ldm.c775 const char *errstr; local
783 errstr = "object id";
788 errstr = "object name";
804 errstr = "volume state";
809 errstr = "children count";
815 errstr = "volume id";
831 errstr = "too small buffer";
838 errstr = "partition size";
843 errstr = "component id";
848 errstr
[all...]
/freebsd-current/contrib/arm-optimized-routines/math/test/rtest/
H A Ddotest.c1631 char *errstr = NULL; local
1800 errstr = ((testsemi1)(fn->func))(args, result);
1804 errstr = ((testsemi2)(fn->func))(args, args+2, result);
1809 errstr = ((testsemi2f)(fn->func))(args, args+2, result);
1812 errstr = ((testldexp)(fn->func))(args, args+2, result);
1815 errstr = ((testfrexp)(fn->func))(args, result, result+2);
1818 errstr = ((testfrexp)(fn->func))(args, result, result+2);
1821 errstr = ((testmodf)(fn->func))(args, result, result+2);
1824 errstr = ((testmodf)(fn->func))(args, result, result+2);
1827 errstr
[all...]
/freebsd-current/sbin/ping/
H A Dping.c207 const char *errstr; local
287 ltmp = strtonum(optarg, -1, 7, &errstr);
288 if (errstr != NULL)
293 ltmp = strtonum(optarg, 1, LONG_MAX, &errstr);
294 if (errstr != NULL)
317 ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
318 if (errstr != NULL) {
331 ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
332 if (errstr != NULL) {
348 ltmp = strtonum(optarg, 1, INT_MAX, &errstr);
[all...]
/freebsd-current/crypto/openssh/
H A Dsshsig.c641 const char *errstr = NULL; local
654 errstr = "multiple \"namespaces\" clauses";
657 ret->namespaces = opt_dequote(&opts, &errstr);
662 errstr = "multiple \"valid-after\" clauses";
665 if ((opt = opt_dequote(&opts, &errstr)) == NULL)
670 errstr = "invalid \"valid-after\" time";
676 errstr = "multiple \"valid-before\" clauses";
679 if ((opt = opt_dequote(&opts, &errstr)) == NULL)
684 errstr = "invalid \"valid-before\" time";
697 errstr
[all...]
/freebsd-current/lib/libc/tests/sys/
H A Dcpuset_test.c281 const char *errstr; local
329 errstr = do_jail_errstr(WEXITSTATUS(status));
330 if (errstr != NULL)
331 atf_tc_fail("%s", errstr);
552 const char *errstr; local
569 errstr = do_jail_errstr(fail);
570 if (errstr != NULL)
571 atf_tc_fail("%s", errstr);
/freebsd-current/crypto/openssl/test/recipes/
H A D02-test_errstr.t138 ( run(app([ qw(openssl errstr), $errcode_hex ]), capture => 1) )[0];
/freebsd-current/usr.bin/grep/
H A Dgrep.h40 extern const char *errstr[];
/freebsd-current/lib/libc/gen/
H A Dsyslog.c142 errstr[64], tz_sign; local
245 strerror_r(saved_errno, errstr, sizeof(errstr));
246 fputs(errstr, fmt_fp);
/freebsd-current/usr.bin/lockf/
H A Dlockf.c115 const char *errstr; local
117 waitsec = strtonum(optarg, 0, UINT_MAX, &errstr);
118 if (errstr != NULL)
/freebsd-current/bin/timeout/
H A Dtimeout.c103 const char *errstr; local
105 sig = strtonum(str, 1, sys_nsig - 1, &errstr);
107 if (errstr == NULL)
/freebsd-current/usr.bin/diff/
H A Ddiff.c140 const char *errstr = NULL; local
306 width = (int) strtonum(optarg, 1, INT_MAX, &errstr);
307 if (errstr) {
347 tabsize = (int) strtonum(optarg, 1, INT_MAX, &errstr);
348 if (errstr) {
/freebsd-current/contrib/pf/ftp-proxy/
H A Dftp-proxy.c603 const char *errstr; local
642 &errstr);
643 if (errstr)
644 errx(1, "loglevel %s", errstr);
650 max_sessions = strtonum(optarg, 1, 500, &errstr);
651 if (errstr)
652 errx(1, "max sessions %s", errstr);
677 timeout = strtonum(optarg, 0, 86400, &errstr);
678 if (errstr)
679 errx(1, "timeout %s", errstr);
[all...]

Completed in 312 milliseconds

123456