/dragonfly/lib/libc/citrus/ |
H A D | citrus_prop.c | 197 int ch, errnum; in _citrus_prop_read_character() local 206 if (errnum != 0) in _citrus_prop_read_character() 207 return (errnum); in _citrus_prop_read_character() 295 return (errnum); in _citrus_prop_read_str() 343 int ch, errnum; in _citrus_prop_parse_element() local 350 if (errnum != 0) in _citrus_prop_parse_element() 351 return (errnum); in _citrus_prop_parse_element() 366 if (errnum != 0) in _citrus_prop_parse_element() 415 if (errnum != 0) in _citrus_prop_parse_element() 428 int ch, errnum; in _citrus_prop_parse_variable() local [all …]
|
/dragonfly/contrib/libpcap/ |
H A D | fmtutils.c | 269 pcap_fmt_errmsg_for_errno(char *errbuf, size_t errbuflen, int errnum, in pcap_fmt_errmsg_for_errno() argument 306 errno_t err = _wcserror_s(utf_16_errbuf, PCAP_ERRBUF_SIZE, errnum); in pcap_fmt_errmsg_for_errno() 312 snprintf(p, errbuflen_remaining, "Error %d", errnum); in pcap_fmt_errmsg_for_errno() 346 int err = strerror_r(errnum, p, errbuflen_remaining); in pcap_fmt_errmsg_for_errno() 353 errnum); in pcap_fmt_errmsg_for_errno() 360 "Message for error %d is too long", errnum); in pcap_fmt_errmsg_for_errno() 367 snprintf(p, errbuflen_remaining, "%s", pcap_strerror(errnum)); in pcap_fmt_errmsg_for_errno() 426 NULL, errnum, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), in pcap_fmt_errmsg_for_win32_err() 433 "Couldn't get error message for error (%lu)", errnum); in pcap_fmt_errmsg_for_win32_err() 449 snprintf(p, errbuflen_remaining, "(%lu)", errnum); in pcap_fmt_errmsg_for_win32_err() [all …]
|
/dragonfly/contrib/diffutils/lib/ |
H A D | error.c | 116 char *strerror_r (int errnum, char *buf, size_t buflen); 118 int strerror_r (int errnum, char *buf, size_t buflen); 175 print_errno_message (int errnum) in print_errno_message() argument 182 s = __strerror_r (errnum, errbuf, sizeof errbuf); in print_errno_message() 184 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) in print_errno_message() 190 s = strerror (errnum); in print_errno_message() 277 if (errnum) in error_tail() 278 print_errno_message (errnum); in error_tail() 295 error (int status, int errnum, const char *message, ...) in error() argument 323 error_tail (status, errnum, message, args); in error() [all …]
|
H A D | strerror-override.c | 35 strerror_override (int errnum) in strerror_override() argument 38 switch (errnum) in strerror_override()
|
/dragonfly/contrib/grep/lib/ |
H A D | error.c | 116 char *strerror_r (int errnum, char *buf, size_t buflen); 118 int strerror_r (int errnum, char *buf, size_t buflen); 175 print_errno_message (int errnum) in print_errno_message() argument 182 s = __strerror_r (errnum, errbuf, sizeof errbuf); in print_errno_message() 184 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) in print_errno_message() 190 s = strerror (errnum); in print_errno_message() 277 if (errnum) in error_tail() 278 print_errno_message (errnum); in error_tail() 295 error (int status, int errnum, const char *message, ...) in error() argument 323 error_tail (status, errnum, message, args); in error() [all …]
|
H A D | openat-die.c | 34 openat_save_fail (int errnum) in openat_save_fail() argument 37 error (exit_failure, errnum, in openat_save_fail() 53 openat_restore_fail (int errnum) in openat_restore_fail() argument 56 error (exit_failure, errnum, in openat_restore_fail()
|
H A D | strerror-override.c | 35 strerror_override (int errnum) in strerror_override() argument 38 switch (errnum) in strerror_override()
|
/dragonfly/lib/libc/string/ |
H A D | strerror.c | 82 strerror_rl(int errnum, char *strerrbuf, size_t buflen, locale_t locale) in strerror_rl() argument 92 if (errnum < 0 || errnum >= sys_nerr) { in strerror_rl() 93 errstr(errnum, in strerror_rl() 104 catgets(catd, 1, errnum, sys_errlist[errnum]), in strerror_rl() 106 sys_errlist[errnum], in strerror_rl() 121 strerror_r(int errnum, char *strerrbuf, size_t buflen) in strerror_r() argument 123 return (strerror_rl(errnum, strerrbuf, buflen, __get_locale())); in strerror_r()
|
/dragonfly/crypto/libressl/ssl/ |
H A D | tls13_error.c | 27 error->errnum = 0; in tls13_error_clear() 35 tls13_error_vset(struct tls13_error *error, int code, int subcode, int errnum, in tls13_error_vset() argument 45 error->errnum = errnum; in tls13_error_vset() 54 if (errnum == -1) { in tls13_error_vset() 59 if (asprintf(&error->msg, "%s: %s", errmsg, strerror(errnum)) == -1) { in tls13_error_vset() 76 int errnum, rv; in tls13_error_set() local 78 errnum = errno; in tls13_error_set() 81 rv = tls13_error_vset(error, code, subcode, errnum, file, line, fmt, ap); in tls13_error_set()
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | error.c | 108 error (int status, int errnum, const char *message, ...) in error() argument 162 errnum ? ": " : "", errnum ? strerror (errnum) : ""); in error() 173 last_errnum = errnum; in error() 230 status, errnum); in error() 253 fperrmsg (FILE *fp, int status, int errnum, char *message, ...) in fperrmsg() argument 261 if (errnum) in fperrmsg() 262 fprintf (fp, ": %s", strerror (errnum)); in fperrmsg()
|
/dragonfly/contrib/binutils-2.34/libiberty/ |
H A D | xstrerror.c | 54 xstrerror (int errnum) in xstrerror() argument 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror() 69 errstr = strerror (errnum); in xstrerror() 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum); in xstrerror()
|
/dragonfly/contrib/binutils-2.27/libiberty/ |
H A D | xstrerror.c | 54 xstrerror (int errnum) in xstrerror() argument 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror() 69 errstr = strerror (errnum); in xstrerror() 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum); in xstrerror()
|
/dragonfly/contrib/gdb-7/libiberty/ |
H A D | xstrerror.c | 54 xstrerror (int errnum) in xstrerror() argument 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror() 69 errstr = strerror (errnum); in xstrerror() 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum); in xstrerror()
|
/dragonfly/contrib/gcc-4.7/libiberty/ |
H A D | xstrerror.c | 54 xstrerror (int errnum) in xstrerror() argument 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror() 69 errstr = strerror (errnum); in xstrerror() 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum); in xstrerror()
|
/dragonfly/contrib/gcc-8.0/libiberty/ |
H A D | xstrerror.c | 54 xstrerror (int errnum) in xstrerror() argument 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); in xstrerror() 69 errstr = strerror (errnum); in xstrerror() 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum); in xstrerror()
|
/dragonfly/lib/libc/rpc/ |
H A D | clnt_perror.c | 213 unsigned int errnum = stat; in clnt_sperrno() local 215 if (errnum < (sizeof(rpc_errlist)/sizeof(rpc_errlist[0]))) in clnt_sperrno() 217 return (char *)rpc_errlist[errnum]; in clnt_sperrno() 304 unsigned int errnum = stat; in auth_errmsg() local 306 if (errnum < (sizeof(auth_errlist)/sizeof(auth_errlist[0]))) in auth_errmsg() 308 return (char *)auth_errlist[errnum]; in auth_errmsg()
|
/dragonfly/usr.bin/perror/ |
H A D | perror.c | 44 long errnum; in main() local 52 errnum = strtol(argv[1], &cp, 0); in main() 57 if ((errstr = strerror(errnum)) == NULL) in main()
|
/dragonfly/crypto/libressl/tls/ |
H A D | tls.c | 91 error->num = errnum; in tls_error_vset() 99 if (errnum == -1) { in tls_error_vset() 120 int errnum, rv; in tls_error_set() local 122 errnum = errno; in tls_error_set() 125 rv = tls_error_vset(error, errnum, fmt, ap); in tls_error_set() 148 int errnum, rv; in tls_config_set_error() local 150 errnum = errno; in tls_config_set_error() 153 rv = tls_error_vset(&config->error, errnum, fmt, ap); in tls_config_set_error() 176 int errnum, rv; in tls_set_error() local 178 errnum = errno; in tls_set_error() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | posix-hdep.c | 32 safe_strerror (int errnum) in safe_strerror() argument 36 msg = strerror (errnum); in safe_strerror() 41 xsnprintf (buf, sizeof buf, "(undocumented errno %d)", errnum); in safe_strerror()
|
/dragonfly/contrib/gcc-8.0/libbacktrace/ |
H A D | print.c | 69 error_callback (void *data, const char *msg, int errnum) in error_callback() argument 76 if (errnum > 0) in error_callback() 77 fprintf (stderr, ": %s", strerror (errnum)); in error_callback()
|
/dragonfly/bin/pax/ |
H A D | tty_subs.c | 162 syswarn(int set, int errnum, const char *fmt, ...) in syswarn() argument 184 if (errnum > 0) in syswarn() 185 fprintf(stderr, " <%s>", strerror(errnum)); in syswarn()
|
/dragonfly/usr.bin/top/ |
H A D | commands.c | 100 int errnum; /* value of errno (that is, the actual error) */ member 112 errs[errcnt++].errnum = (e); \ 126 if ((result = ((struct errs *)p1)->errnum - in err_compar() 127 ((struct errs *)p2)->errnum) == 0) in err_compar() 235 if (errp->errnum != currerr) in err_string() 249 currerr = errp->errnum; in err_string() 345 errp->errnum == 0 ? "Not a number" : errmsg(errp->errnum)); in show_errors()
|
H A D | utils.c | 488 errmsg(int errnum) in errmsg() argument 492 char *msg = strerror(errnum); in errmsg() 498 if (errnum > 0 && errnum < sys_nerr) in errmsg() 500 return((char *)(sys_errlist[errnum])); in errmsg()
|
/dragonfly/lib/i18n_module/VIQR/ |
H A D | citrus_viqr.c | 439 int errnum; in _citrus_VIQR_encoding_module_init() local 453 errnum = mnemonic_append_child(ei->mroot, in _citrus_VIQR_encoding_module_init() 455 if (errnum != 0) { in _citrus_VIQR_encoding_module_init() 457 return (errnum); in _citrus_VIQR_encoding_module_init() 465 errnum = mnemonic_append_child(ei->mroot, in _citrus_VIQR_encoding_module_init() 467 if (errnum != 0) { in _citrus_VIQR_encoding_module_init() 469 return (errnum); in _citrus_VIQR_encoding_module_init()
|
/dragonfly/sys/dev/serial/sio/ |
H A D | sio_private.h | 56 #define CE_RECORD(com, errnum) (++(com)->delta_error_counts[errnum]) argument
|