| /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/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/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/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/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/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-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/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 | 67 bool isTrustChainError(int errnum) in isTrustChainError() argument 69 return (errnum == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT) || in isTrustChainError() 70 (errnum == X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN) || in isTrustChainError() 71 (errnum == X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY) || in isTrustChainError() 72 (errnum == X509_V_ERR_CERT_UNTRUSTED) || in isTrustChainError() 73 (errnum == X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE); in isTrustChainError()
|
| /openbmc/bmcweb/include/ |
| H A D | ssl_key_handler.hpp | 26 bool isTrustChainError(int errnum);
|
| /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/qemu/include/hw/xen/interface/io/ |
| H A D | xs_wire.h | 51 int errnum; member
|
| /openbmc/u-boot/include/ |
| H A D | bzlib.h | 320 int *errnum
|
| /openbmc/qemu/hw/i386/kvm/ |
| H A D | xen_xenstore.c | 327 xs_transaction_t tx_id, int errnum) in xs_error() argument 335 if (xsd_error->errnum == errnum) { in xs_error()
|
| /openbmc/u-boot/lib/bzip2/ |
| H A D | bzlib.c | 1584 const char * BZ_API(BZ2_bzerror) (BZFILE *b, int *errnum) in BZ_API() 1589 *errnum = err; in BZ_API()
|