/openbmc/openbmc/poky/meta/recipes-core/musl/musl-legacy-error/ |
H A D | error.h | 14 static inline void error(int status, int errnum, const char* format, ...) in error() argument 25 if (errnum) in error() 26 fprintf(stderr, ": %s", strerror(errnum)); in error() 35 static inline void error_at_line(int status, int errnum, const char *filename, in error_at_line() argument 51 if (errnum) in error_at_line() 52 fprintf(stderr, ": %s", strerror(errnum)); in error_at_line()
|
/openbmc/linux/tools/perf/util/ |
H A D | target.c | 148 int target__strerror(struct target *target, int errnum, in target__strerror() argument 156 if (errnum >= 0) { in target__strerror() 157 str_error_r(errnum, buf, buflen); in target__strerror() 161 if (errnum < __TARGET_ERRNO__START || errnum >= __TARGET_ERRNO__END) in target__strerror() 164 idx = errnum - __TARGET_ERRNO__START; in target__strerror() 167 switch (errnum) { in target__strerror()
|
H A D | target.h | 58 int target__strerror(struct target *target, int errnum, char *buf, size_t buflen);
|
H A D | dso.c | 1499 int idx, errnum = dso->load_errno; in dso__strerror_load() local 1513 if (errnum >= 0) { in dso__strerror_load() 1514 const char *err = str_error_r(errnum, buf, buflen); in dso__strerror_load() 1522 if (errnum < __DSO_LOAD_ERRNO__START || errnum >= __DSO_LOAD_ERRNO__END) in dso__strerror_load() 1525 idx = errnum - __DSO_LOAD_ERRNO__START; in dso__strerror_load()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0019-errno-util-Make-STRERROR-portable-for-musl.patch | 25 -#define STRERROR(errnum) strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN) 27 +static inline const char * STRERROR(int errnum); 29 +static inline const char * STRERROR(int errnum) { 31 + return strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN); 34 + return strerror_r(abs(errnum), buf, ERRNO_BUF_LEN) ? "unknown error" : buf; 38 * Note that we can't use ({ … }) to define a temporary variable, so errnum is
|
H A D | 0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch | 9 int strerror_r(int errnum, char *buf, size_t buflen); 12 char *strerror_r(int errnum, char *buf, size_t buflen);
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0019-errno-util-Make-STRERROR-portable-for-musl.patch | 25 -#define STRERROR(errnum) strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN) 27 +static inline const char * STRERROR(int errnum); 29 +static inline const char * STRERROR(int errnum) { 31 + return strerror_r(abs(errnum), (char[ERRNO_BUF_LEN]){}, ERRNO_BUF_LEN); 34 + return strerror_r(abs(errnum), buf, ERRNO_BUF_LEN) ? "unknown error" : buf; 38 * Note that we can't use ({ … }) to define a temporary variable, so errnum is
|
H A D | 0010-distinguish-XSI-compliant-strerror_r-from-GNU-specif.patch | 9 int strerror_r(int errnum, char *buf, size_t buflen); 12 char *strerror_r(int errnum, char *buf, size_t buflen);
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | reiserfs.c | 34 static reiserfs_error_t errnum = ERR_NONE; variable 263 return errnum == 0; in journal_init() 416 errnum = ERR_FSYS_CORRUPT; in read_tree_node() 581 errnum = ERR_FSYS_CORRUPT; in search_stat() 605 while (! errnum) in reiserfs_read() 668 return errnum ? 0 : buf - prev_buf; in reiserfs_read() 724 errnum = ERR_SYMLINK_LOOP; in reiserfs_dir() 740 errnum = ERR_FILELENGTH; in reiserfs_dir() 754 if (! errnum) in reiserfs_dir() 755 errnum = ERR_FSYS_CORRUPT; in reiserfs_dir() [all …]
|
/openbmc/linux/tools/lib/ |
H A D | str_error_r.c | 21 char *str_error_r(int errnum, char *buf, size_t buflen) in str_error_r() argument 23 int err = strerror_r(errnum, buf, buflen); in str_error_r() 25 snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, [buf], %zd)=%d", errnum, buflen, err); in str_error_r()
|
/openbmc/qemu/tests/unit/ |
H A D | test-seccomp.c | 31 int errnum, int (*doit)(void)) in test_seccomp_helper() argument 50 if (errnum != 0) { in test_seccomp_helper() 52 g_assert(errno == errnum); in test_seccomp_helper() 75 static void test_seccomp_errno(const char *args, int errnum, int (*doit)(void)) in test_seccomp_errno() argument 77 test_seccomp_helper(args, false, errnum, doit); in test_seccomp_errno()
|
/openbmc/u-boot/common/ |
H A D | kgdb.c | 380 volatile int errnum; in handle_exception() local 392 errnum = kgdb_setjmp(error_jmp_buf); in handle_exception() 394 if (errnum == 0) switch (remcomInBuffer[0]) { in handle_exception() 511 if (errnum != 0) in handle_exception() 512 sprintf(remcomOutBuffer, "E%02d", errnum); in handle_exception() 541 kgdb_error(int errnum) in kgdb_error() argument 544 kgdb_longjmp(error_jmp_buf, errnum); in kgdb_error()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/vpnc/vpnc/ |
H A D | 0007-add-error-API-when-error.h-is-not-on-platform.patch | 37 +void error(int status, int errnum, const char* format, ...) 46 + if (errnum) 47 + fprintf(stderr, ":%d", errnum); 62 +void error(int status, int errnum, const char* format, ...);
|
/openbmc/linux/drivers/edac/ |
H A D | i7300_edac.c | 354 u32 errnum, error_reg; in i7300_process_error_global() local 366 errnum = find_first_bit(&errors, in i7300_process_error_global() 368 specific = GET_ERR_FROM_TABLE(ferr_global_hi_name, errnum); in i7300_process_error_global() 369 is_fatal = ferr_global_hi_is_fatal(errnum); in i7300_process_error_global() 382 errnum = find_first_bit(&errors, in i7300_process_error_global() 384 specific = GET_ERR_FROM_TABLE(ferr_global_lo_name, errnum); in i7300_process_error_global() 385 is_fatal = ferr_global_lo_is_fatal(errnum); in i7300_process_error_global() 409 u32 errnum, value, error_reg; in i7300_process_fbd_error() local 425 errnum = find_first_bit(&errors, in i7300_process_fbd_error() 427 specific = GET_ERR_FROM_TABLE(ferr_fat_fbd_name, errnum); in i7300_process_fbd_error() [all …]
|
H A D | i5400_edac.c | 524 int errnum; in i5400_proccess_non_recoverable_info() local 557 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_proccess_non_recoverable_info() 562 bank, buf_id, ras, cas, allErrors, error_name[errnum]); in i5400_proccess_non_recoverable_info() 588 int errnum; in i5400_process_nonfatal_error_info() local 623 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info() 634 allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info() 645 errnum = find_first_bit(&allErrors, ARRAY_SIZE(error_name)); in i5400_process_nonfatal_error_info() 651 branch >> 1, allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/gsoap/gsoap/ |
H A D | 0001-Provide-strtod_l-signature-on-non-glibc-linux-musl-s.patch | 38 soap->errnum = h_errno; 42 while ((r = gethostbyname_r(addr, hostent, tmpbuf, tmplen, &hostent, &soap->errnum)) < 0) 70 soap->errnum = h_errno; 74 while ((r = gethostbyname_r(addr, hostent, tmpbuf, tmplen, &hostent, &soap->errnum)) < 0)
|
/openbmc/bmcweb/src/ |
H A D | ssl_key_handler.cpp | 66 bool isTrustChainError(int errnum) in isTrustChainError() argument 68 return (errnum == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT) || in isTrustChainError() 69 (errnum == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN) || in isTrustChainError() 70 (errnum == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY) || in isTrustChainError() 71 (errnum == X509_V_ERR_CERT_UNTRUSTED) || in isTrustChainError() 72 (errnum == X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE); in isTrustChainError()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/augeas/augeas/ |
H A D | 0001-src-internal-Use-__GLIBC__-to-check-for-GNU-extentio.patch | 25 const char *xstrerror(int errnum, char *buf, size_t len) { 30 return strerror_r(errnum, buf, len);
|
/openbmc/u-boot/tools/dtoc/ |
H A D | fdt.py | 26 def CheckErr(errnum, msg): argument 27 if errnum: 29 (errnum, libfdt.fdt_strerror(errnum), msg))
|
/openbmc/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-unavailable.c | 37 #define err_at_line(status, errnum, format, ...) \ argument 38 error_at_line(status, errnum, __FILE__, __LINE__, format ##__VA_ARGS__)
|
/openbmc/linux/tools/include/linux/ |
H A D | string.h | 31 char *str_error_r(int errnum, char *buf, size_t buflen);
|
/openbmc/bmcweb/include/ |
H A D | ssl_key_handler.hpp | 26 bool isTrustChainError(int errnum);
|
/openbmc/qemu/include/hw/xen/interface/io/ |
H A D | xs_wire.h | 51 int errnum; member
|
/openbmc/linux/include/xen/interface/io/ |
H A D | xs_wire.h | 50 int errnum; member
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_helpers.h | 17 #define _FAIL(errnum, fmt...) \ argument 19 error_at_line(0, (errnum), __func__, __LINE__, fmt); \
|