/external/swiftshader/third_party/LLVM/lib/Support/ |
Errno.cpp | 38 std::string StrError(int errnum) { 45 if (errnum) 49 str = strerror_r(errnum,buffer,MaxErrStrLen-1); 51 strerror_r(errnum,buffer,MaxErrStrLen-1); 54 if (errnum) 55 strerror_s(buffer, errnum); 60 if (errnum) 61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1); 66 sprintf(buffer, "Error #%d", errnum);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
xstrerror.c | 7 @deftypefn Replacement char* xstrerror (int @var{errnum}) 54 xstrerror (int errnum) 65 We assume that `errnum' corresponds to the last value assigned to 67 errstr = (*vmslib_strerror) (errnum, vaxc$errno); 69 errstr = strerror (errnum); 72 /* If `errnum' is out of range, result might be NULL. We'll fix that. */ 75 sprintf (xstrerror_buf, ERRSTR_FMT, errnum);
|
/external/llvm/lib/Support/ |
Errno.cpp | 37 std::string StrError(int errnum) { 39 if (errnum == 0) 52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1); 54 strerror_r(errnum, buffer, MaxErrStrLen - 1); 58 strerror_s(buffer, MaxErrStrLen - 1, errnum); 64 str = strerror(errnum); 69 stream << "Error #" << errnum; local
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Errno.cpp | 37 std::string StrError(int errnum) {
39 if (errnum == 0)
52 str = strerror_r(errnum, buffer, MaxErrStrLen - 1);
54 strerror_r(errnum, buffer, MaxErrStrLen - 1);
58 strerror_s(buffer, MaxErrStrLen - 1, errnum);
64 str = strerror(errnum);
69 stream << "Error #" << errnum;
local
|
/external/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/llvm/lib/Support/Unix/ |
Unix.h | 52 /// string and the Unix error number given by \p errnum. If errnum is -1, the 59 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 62 if (errnum == -1) 63 errnum = errno; 64 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
Errno.h | 28 /// Like the no-argument version above, but uses \p errnum instead of errno. 29 std::string StrError(int errnum);
|
/external/syslinux/com32/lib/ |
strerror.c | 7 char *strerror(int errnum) 12 unsigned int e = (unsigned int)errnum;
|
/device/linaro/bootloader/edk2/StdLib/LibC/String/ |
Misc.c | 41 strerror_r(int errnum, char *buf, size_t buflen)
47 if( (errnum < 0) || (errnum >= EMAXERRORVAL)) {
48 (void) AsciiSPrint( buf, ASCII_STRING_MAX, "Unknown Error: %d.", errnum);
52 estring = sys_errlist[errnum];
65 /** The strerror function maps the number in errnum to a message string.
66 Typically, the values for errnum come from errno, but strerror shall map
78 strerror(int errnum)
83 status = strerror_r(errnum, errorbuf, sizeof(errorbuf));
|
/external/libxml2/win32/wince/ |
wincecompat.c | 62 char *strerror(int errnum) 64 if (errnum>MAX_STRERROR) 67 return strError[errnum];
|
/external/swiftshader/third_party/LLVM/lib/Support/Unix/ |
Unix.h | 71 /// string and the Unix error number given by \p errnum. If errnum is -1, the 78 std::string* ErrMsg, const std::string& prefix, int errnum = -1) { 81 if (errnum == -1) 82 errnum = errno; 83 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
|
/external/bison/lib/ |
strerror_r.c | 37 extern int __xpg_strerror_r (int errnum, char *buf, size_t buflen); 137 strerror_r (int errnum, char *buf, size_t buflen) 152 char const *msg = strerror_override (errnum); 165 ret = __xpg_strerror_r (errnum, buf, buflen); 173 safe_copy (buf, buflen, strerror_r (errnum, buf, buflen)); 190 ret = strerror_r (errnum, stackbuf, sizeof stackbuf); 195 ret = strerror_r (errnum, buf, buflen); 198 ret = strerror_r (errnum, buf, buflen); 212 strerror_r (errnum, stackbuf, sizeof stackbuf); 232 if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE [all...] |
strerror-override.h | 29 /* If ERRNUM maps to an errno value defined by gnulib, return a string 51 extern const char *strerror_override (int errnum);
|
/external/valgrind/none/tests/ |
pth_atfork1.c | 32 static void error (int status, int errnum, char* msg) 36 errnum ? ": " : "", 37 errnum ? strerror(errnum) : ""); 38 if (errnum) 39 exit(errnum);
|
/external/autotest/client/cros/ |
rtc.py | 42 except IOError as (errnum, strerror): 43 if errnum != errno.EBUSY:
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
Unix.h | 57 /// string and the Unix error number given by \p errnum. If errnum is -1, the 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);
|