/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 55 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 57 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 77 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/third_party/abseil-cpp/absl/base/internal/ |
D | strerror.cc | 32 const char* StrErrorAdaptor(int errnum, char* buf, size_t buflen) { in StrErrorAdaptor() argument 34 int rc = strerror_s(buf, buflen, errnum); in StrErrorAdaptor() 41 auto ret = strerror_r(errnum, buf, buflen); in StrErrorAdaptor() 53 std::string StrErrorInternal(int errnum) { in StrErrorInternal() argument 56 const char* str = StrErrorAdaptor(errnum, buf, sizeof buf); in StrErrorInternal() 58 snprintf(buf, sizeof buf, "Unknown error %d", errnum); in StrErrorInternal() 78 std::string StrError(int errnum) { in StrError() argument 80 if (errnum >= 0 && errnum < static_cast<int>(table->size())) { in StrError() 81 return (*table)[errnum]; in StrError() 83 return StrErrorInternal(errnum); in StrError()
|
/third_party/pulseaudio/src/pulsecore/ |
D | core-error.c | 41 const char* pa_cstrerror(int errnum) { in pa_cstrerror() argument 46 if (errnum < 0) in pa_cstrerror() 47 errnum = -errnum; in pa_cstrerror() 53 original = strerror_r(errnum, errbuf, sizeof(errbuf)); in pa_cstrerror() 55 if (strerror_r(errnum, errbuf, sizeof(errbuf)) == 0) { in pa_cstrerror() 61 original = strerror(errnum); in pa_cstrerror() 66 pa_snprintf(errbuf, sizeof(errbuf), "Unknown error %d", errnum); in pa_cstrerror()
|
/third_party/ltp/testcases/kernel/syscalls/statx/ |
D | statx03.c | 43 int32_t errnum; member 46 .mask = 0, .errnum = EBADF}, 49 .mask = 0, .errnum = EFAULT}, 52 .mask = 0, .errnum = EINVAL}, 55 .mask = -1, .errnum = EINVAL}, 58 .mask = 0, .errnum = ENOENT}, 61 .mask = 0, .errnum = ENOTDIR}, 64 .mask = 0, .errnum = ENAMETOOLONG}, 80 if (tc->errnum == TST_ERR) { in run_test() 86 "statx() should fail with %s", tst_strerrno(tc->errnum)); in run_test()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | Errno.cpp | 36 std::string StrError(int errnum) { in StrError() argument 38 if (errnum == 0) in StrError() 51 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 53 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 57 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 63 str = strerror(errnum); in StrError() 68 stream << "Error #" << errnum; in StrError()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Errno.cpp | 37 std::string StrError(int errnum) { in StrError() argument 39 if (errnum == 0) in StrError() 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 54 strerror_r(errnum, buffer, MaxErrStrLen - 1); in StrError() 58 strerror_s(buffer, MaxErrStrLen - 1, errnum); in StrError() 64 str = strerror(errnum); in StrError() 69 stream << "Error #" << errnum; in StrError()
|
/third_party/alsa-lib/src/ |
D | error.c | 51 const char *snd_strerror(int errnum) in snd_strerror() argument 53 if (errnum < 0) in snd_strerror() 54 errnum = -errnum; in snd_strerror() 55 if (errnum < SND_ERROR_BEGIN) in snd_strerror() 56 return (const char *) strerror(errnum); in snd_strerror() 57 errnum -= SND_ERROR_BEGIN; in snd_strerror() 58 if ((unsigned int) errnum >= sizeof(snd_error_codes) / sizeof(const char *)) in snd_strerror() 60 return snd_error_codes[errnum]; in snd_strerror()
|
/third_party/openssl/test/recipes/ |
D | 02-test_errstr.t | 90 my $errnum = "Errno::$errname"->(); 93 skip "Error $errname ($errnum) isn't within our range", 1 94 if $errnum > NUM_SYS_STR_REASONS; 98 local $! = $errnum; 104 my @oerr = run(app([ qw(openssl errstr), sprintf("2%06x", $errnum) ]), 109 ok($oerr[0] eq $perr, "($errnum) '$oerr[0]' == '$perr'");
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Unix.h | 64 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 67 if (errnum == -1) 68 errnum = errno; 69 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum); 75 int errnum) { in ReportErrnumFatal() argument 77 MakeErrMsg(&ErrMsg, Msg, errnum); in ReportErrnumFatal()
|
D | Threading.inc | 61 int errnum; 65 if ((errnum = ::pthread_attr_init(&Attr)) != 0) { 66 ReportErrnumFatal("pthread_attr_init failed", errnum); 70 if ((errnum = ::pthread_attr_destroy(&Attr)) != 0) { 71 ReportErrnumFatal("pthread_attr_destroy failed", errnum); 77 if ((errnum = ::pthread_attr_setstacksize(&Attr, *StackSizeInBytes)) != 0) { 78 ReportErrnumFatal("pthread_attr_setstacksize failed", errnum); 84 if ((errnum = ::pthread_create(&Thread, &Attr, ThreadFunc, Arg)) != 0) 85 ReportErrnumFatal("pthread_create failed", errnum); 89 if ((errnum = ::pthread_join(Thread, nullptr)) != 0) { [all …]
|
/third_party/ffmpeg/libavutil/ |
D | error.h | 97 int av_strerror(int errnum, char *errbuf, size_t errbuf_size); 109 static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum) in av_make_error_string() argument 111 av_strerror(errnum, errbuf, errbuf_size); in av_make_error_string() 119 #define av_err2str(errnum) \ argument 120 av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)
|
D | error.c | 105 int av_strerror(int errnum, char *errbuf, size_t errbuf_size) in av_strerror() argument 111 if (errnum == error_entries[i].num) { in av_strerror() 120 ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); in av_strerror() 125 snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum); in av_strerror()
|
/third_party/skia/third_party/externals/microhttpd/src/include/ |
D | platform_interface.h | 108 #define MHD_strerror_(errnum) strerror((errnum)) argument 110 #define MHD_strerror_(errnum) MHD_W32_strerror_((errnum)) argument 115 #define MHD_set_socket_errno_(errnum) errno=(errnum) argument 117 #define MHD_set_socket_errno_(errnum) MHD_W32_set_last_winsock_error_((errnum)) argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Unix.h | 64 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 67 if (errnum == -1) 68 errnum = errno; 69 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/third_party/libxml2/win32/wince/ |
D | wincecompat.c | 62 char *strerror(int errnum) in strerror() argument 64 if (errnum>MAX_STRERROR) in strerror() 67 return strError[errnum]; in strerror()
|
/third_party/openssl/crypto/ |
D | o_str.c | 221 int openssl_strerror_r(int errnum, char *buf, size_t buflen) in openssl_strerror_r() argument 224 return !strerror_s(buf, buflen, errnum); in openssl_strerror_r() 233 err = strerror_r(errnum, buf, buflen); in openssl_strerror_r() 253 return !strerror_r(errnum, buf, buflen); in openssl_strerror_r() 260 err = strerror(errnum); in openssl_strerror_r()
|
/third_party/gettext/gettext-tools/src/ |
D | po-error.c | 30 void (*po_error) (int status, int errnum, 34 void (*po_error_at_line) (int status, int errnum,
|
D | po-error.h | 46 void (*po_error) (int status, int errnum, 53 void (*po_error_at_line) (int status, int errnum,
|
/third_party/nghttp2/src/ |
D | xsi_strerror.c | 38 char *xsi_strerror(int errnum, char *buf, size_t buflen) { in xsi_strerror() argument 41 rv = strerror_r(errnum, buf, buflen); in xsi_strerror()
|
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/iostream2/ |
D | zstream.h | 97 const char* error(int* errnum) { in error() argument 98 return ::gzerror(m_fp, errnum); in error() 230 const char* error(int* errnum) { in error() argument 231 return ::gzerror(m_fp, errnum); in error()
|
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/iostream2/ |
D | zstream.h | 97 const char* error(int* errnum) { in error() argument 98 return ::gzerror(m_fp, errnum); in error() 230 const char* error(int* errnum) { in error() argument 231 return ::gzerror(m_fp, errnum); in error()
|
/third_party/zlib/contrib/iostream2/ |
D | zstream.h | 97 const char* error(int* errnum) { in error() argument 98 return ::gzerror(m_fp, errnum); in error() 230 const char* error(int* errnum) { in error() argument 231 return ::gzerror(m_fp, errnum); in error()
|
/third_party/skia/third_party/externals/microhttpd/src/platform/ |
D | w32functions.c | 108 const char* MHD_W32_strerror_(int errnum) in MHD_W32_strerror_() argument 110 switch(errnum) in MHD_W32_strerror_() 187 return strerror(errnum); in MHD_W32_strerror_() 398 void MHD_W32_set_last_winsock_error_(int errnum) in MHD_W32_set_last_winsock_error_() argument 400 switch (errnum) in MHD_W32_set_last_winsock_error_()
|
/third_party/flutter/skia/third_party/externals/freetype/src/gzip/ |
D | zutil.h | 150 # define zstrerror(errnum) strerror(errnum) argument 152 # define zstrerror(errnum) "" argument
|
/third_party/freetype/src/gzip/ |
D | zutil.h | 150 # define zstrerror(errnum) strerror(errnum) argument 152 # define zstrerror(errnum) "" argument
|