HomeSort by relevance Sort by last modified time
    Searched refs:errnum (Results 1 - 25 of 292) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/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/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);
error.c 70 extern void __error (int status, int errnum, const char *message, ...)
72 extern void __error_at_line (int status, int errnum, const char *file_name,
168 print_errno_message (int errnum)
175 s = __strerror_r (errnum, errbuf, sizeof errbuf);
177 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
183 s = strerror (errnum);
199 error_tail (int status, int errnum, const char *message, va_list args)
272 if (errnum)
273 print_errno_message (errnum);
287 If ERRNUM is nonzero, print its corresponding system error message
    [all...]
  /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:
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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))
  /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);
error_codes.cc 32 int errnum; member in struct:brillo::errors::system::__anon22413::ErrorMapEntry
188 // by increasing errnum values which is the same order used in the header
195 std::string ErrorCodeFromSystemError(int errnum) {
198 if (entry.errnum == errnum) {
210 int errnum) {
211 std::string message = base::safe_strerror(errnum);
212 std::string code = ErrorCodeFromSystemError(errnum);
214 message = "Unknown error " + std::to_string(errnum);
217 code = "error_" + std::to_string(errnum);
    [all...]
  /libnativehelper/include/nativehelper/
JNIHelp.h 76 int jniThrowIOException(C_JNIEnv* env, int errnum);
80 * value 'errnum'. The returned pointer may or may not be equal to 'buf'.
84 const char* jniStrError(int errnum, char* buf, size_t buflen);
151 inline int jniThrowIOException(JNIEnv* env, int errnum) {
152 return jniThrowIOException(&env->functions, errnum);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /system/extras/multinetwork/
httpurl.cpp 155 int errnum = errno; local
157 << " errno: " << errnum << " [" << strerror(errnum) << "]"
174 int errnum = errno; local
175 std::cerr << "Failed to connect; errno=" << errnum
176 << " [" << strerror(errnum) << "]"
225 int errnum = errno; local
227 << " errno: " << errnum << " [" << strerror(errnum) << "]"

Completed in 465 milliseconds

1 2 3 4 5 6 7 8 91011>>