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

1 2 3 4 5 6 7 8

  /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/opencv3/3rdparty/openexr/Iex/
IexThrowErrnoExc.h 54 // error code errnum. The exception text is initialized with a copy
90 void throwErrnoExc (const std::string &txt, int errnum);
91 void throwErrnoExc (const std::string &txt = "%T." /*, int errnum = oserror() */);
  /external/libxml2/win32/wince/
wincecompat.c 62 char *strerror(int errnum)
64 if (errnum>MAX_STRERROR)
67 return 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/opencv3/3rdparty/include/ffmpeg_/libavutil/
error.h 77 * Put a description of the AVERROR code errnum in errbuf.
80 * error message indicating the errnum provided to errbuf.
82 * @param errnum error code to describe
85 * @return 0 on success, a negative value if a description for errnum
88 int av_strerror(int errnum, char *errbuf, size_t errbuf_size);
92 * corresponding to the AVERROR code errnum.
96 * @param errnum error code to describe
100 static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int errnum)
102 av_strerror(errnum, errbuf, errbuf_size);
110 #define av_err2str(errnum) \
    [all...]
  /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/conscrypt/src/openjdk/native/
JNIHelp.cpp 125 int jniThrowIOException(JNIEnv* env, int errnum) {
127 const char* message = jniStrError(errnum, buffer, sizeof(buffer));
131 const char* jniStrError(int errnum, char* buf, size_t buflen) {
134 // char *strerror_r(int errnum, char *buf, size_t n);
135 return strerror_r(errnum, buf, buflen);
137 int rc = strerror_r(errnum, buf, buflen);
142 snprintf(buf, buflen, "errno %d", errnum);
  /external/valgrind/drd/tests/
pth_cond_destroy_busy.c 15 static const char* err_to_str(int errnum)
17 switch (errnum) {
  /external/libbrillo/brillo/errors/
error_codes.h 37 int errnum);
error_codes.cc 32 int errnum; member in struct:brillo::errors::system::__anon15035::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...]
  /frameworks/native/services/surfaceflinger/
GpuService.cpp 151 int errnum; local
154 errnum = errno;
155 ALOGE("vkjson: failed to create output stream: %s", strerror(errnum));
156 return -errnum;
160 errnum = errno;
161 ALOGE("vkjson: failed to create error stream: %s", strerror(errnum));
163 return -errnum;
  /external/conscrypt/src/compat/native/
JNIHelp.cpp 126 int jniThrowIOException(C_JNIEnv* env, int errnum) {
128 const char* message = jniStrError(errnum, buffer, sizeof(buffer));
132 const char* jniStrError(int errnum, char* buf, size_t buflen) {
135 // char *strerror_r(int errnum, char *buf, size_t n);
136 return strerror_r(errnum, buf, buflen);
138 int rc = strerror_r(errnum, buf, buflen);
143 snprintf(buf, buflen, "errno %d", errnum);
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);
  /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 710 milliseconds

1 2 3 4 5 6 7 8