/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.27/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-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/darwin-x86/clang-4393122/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-4479392/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);
|
/prebuilts/clang/host/linux-x86/clang-4393122/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-4479392/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 | 43 strerror_r(int errnum, char *buf, size_t buflen)
49 if( (errnum < 0) || (errnum >= EMAXERRORVAL)) {
50 (void) AsciiSPrint( buf, ASCII_STRING_MAX, "Unknown Error: %d.", errnum);
54 estring = sys_errlist[errnum];
67 /** The strerror function maps the number in errnum to a message string.
68 Typically, the values for errnum come from errno, but strerror shall map
80 strerror(int errnum)
85 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/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);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
assert.h | 54 /* void assert_perror (int errnum); 56 If NDEBUG is defined, do nothing. If not, and ERRNUM is not zero, print an 57 error message with the error text for ERRNUM and abort. 61 # define assert_perror(errnum) (__ASSERT_VOID_CAST (0)) 75 /* Likewise, but prints the error text for ERRNUM. */ 97 # define assert_perror(errnum) \ 98 (!(errnum) \ 100 : __assert_perror_fail ((errnum), __FILE__, __LINE__, __ASSERT_FUNCTION))
|
/external/valgrind/drd/tests/ |
pth_cond_destroy_busy.c | 15 static const char* err_to_str(int errnum) 17 switch (errnum) {
|
/system/core/adb/sysdeps/win32/ |
errno.cpp | 47 #define ERR(errnum, desc) case errnum: custom_msg = desc; break
|
/external/libbrillo/brillo/errors/ |
error_codes.h | 37 int errnum);
|