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

1 2 3 4 5 6 7

  /external/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, MaxErrStrLen - 1, errnum);
60 if (errnum)
61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1);
66 sprintf(buffer, "Error #%d", errnum);
  /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 65 /// string and the Unix error number given by \p errnum. If errnum is -1, the
72 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
75 if (errnum == -1)
76 errnum = errno;
77 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
  /external/elfutils/bionic-fixup/
error.h 26 error(int status, int errnum, const char *fmt, ...)
31 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
  /external/valgrind/main/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);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-4.6/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.7-4.6/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/grub/stage2/
cmdline.c 92 errnum = ERR_UNRECOGNIZED;
105 errnum = 0;
140 errnum = ERR_NONE;
158 errnum = ERR_UNRECOGNIZED;
198 if (errnum)
200 errnum = ERR_NONE;
245 errnum = ERR_UNRECOGNIZED;
disk_io.c 148 while (byte_len > 0 && !errnum)
161 errnum = ERR_NO_DISK;
172 errnum = ERR_GEOM;
215 errnum = ERR_GEOM;
225 errnum = ERR_READ;
251 errnum = ERR_READ;
289 return (!errnum);
303 errnum = ERR_OUTSIDE_PART;
339 errnum = ERR_WRITE;
354 errnum = ERR_WRITE
    [all...]
boot.c 71 if (!errnum)
72 errnum = ERR_EXEC_FORMAT;
85 errnum = ERR_BOOT_FEATURES;
112 errnum = ERR_BELOW_1MB;
119 errnum = ERR_EXEC_FORMAT;
163 errnum = ERR_EXEC_FORMAT;
166 errnum = ERR_BELOW_1MB;
214 errnum = ERR_BELOW_1MB;
276 errnum = ERR_WONT_FIT;
280 errnum = ERR_WONT_FIT
    [all...]
fsys_ffs.c 130 errnum = ERR_FSYS_CORRUPT;
149 while (len && !errnum)
175 if (errnum)
206 errnum = ERR_BAD_FILETYPE;
224 errnum = ERR_BAD_FILETYPE;
246 errnum = ERR_FILE_NOT_FOUND;
260 errnum = ERR_FSYS_CORRUPT;
fsys_ufs2.c 155 errnum = ERR_FSYS_CORRUPT;
174 while (len && !errnum)
200 if (errnum)
231 errnum = ERR_BAD_FILETYPE;
249 errnum = ERR_BAD_FILETYPE;
267 errnum = ERR_FILE_NOT_FOUND;
281 errnum = ERR_FSYS_CORRUPT;
builtins.c 227 return errnum;
308 errnum = ERR_BOOT_COMMAND;
342 if (errnum == ERR_NONE)
343 errnum = ERR_DEV_VALUES;
436 if (errnum == ERR_NONE)
437 errnum = ERR_EXEC_FORMAT;
448 errnum = ERR_EXEC_FORMAT;
464 errnum = ERR_NONE;
502 errnum = ERR_BAD_ARGUMENT;
827 errnum = ERR_FILE_NOT_FOUND
    [all...]
fsys_minix.c 217 errnum = ERR_FSYS_CORRUPT;
229 errnum = ERR_FSYS_CORRUPT;
237 errnum = ERR_FSYS_CORRUPT;
284 if (errnum)
358 errnum = ERR_SYMLINK_LOOP;
374 errnum = ERR_FILELENGTH;
418 errnum = ERR_BAD_FILETYPE;
437 errnum = ERR_BAD_FILETYPE;
468 errnum = ERR_FILE_NOT_FOUND;
487 errnum = ERR_FSYS_CORRUPT
    [all...]
gunzip.c 285 return ! errnum;
301 if (! errnum)
302 errnum = ERR_BAD_GZIP_HEADER;
313 if (! errnum)
314 errnum = ERR_BAD_GZIP_HEADER;
746 errnum = ERR_BAD_GZIP_DATA;
784 errnum = ERR_BAD_GZIP_DATA;
866 errnum = ERR_BAD_GZIP_DATA;
897 errnum = ERR_BAD_GZIP_DATA;
907 errnum = ERR_BAD_GZIP_DATA
    [all...]
fsys_ext2fs.c 328 errnum = ERR_FSYS_CORRUPT;
343 errnum = ERR_FSYS_CORRUPT;
352 errnum = ERR_FSYS_CORRUPT;
365 errnum = ERR_FSYS_CORRUPT;
374 errnum = ERR_FSYS_CORRUPT;
382 errnum = ERR_FSYS_CORRUPT;
452 if (errnum)
607 errnum = ERR_SYMLINK_LOOP;
620 errnum = ERR_FILELENGTH;
674 errnum = ERR_BAD_FILETYPE
    [all...]
  /external/bison/lib/
error.c 66 extern void __error (int status, int errnum, const char *message, ...)
68 extern void __error_at_line (int status, int errnum, const char *file_name,
105 print_errno_message (int errnum)
112 s = __strerror_r (errnum, errbuf, sizeof errbuf);
114 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
120 if (! s && ! (s = strerror (errnum)))
136 error_tail (int status, int errnum, const char *message, va_list args)
170 if (errnum)
171 print_errno_message (errnum);
186 If ERRNUM is nonzero, print its corresponding system error message
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/lib/
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,
105 print_errno_message (int errnum)
112 s = __strerror_r (errnum, errbuf, sizeof errbuf);
114 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
120 s = strerror (errnum);
136 error_tail (int status, int errnum, const char *message, va_list args)
209 if (errnum)
210 print_errno_message (errnum);
224 If ERRNUM is nonzero, print its corresponding system error message
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /external/elfutils/host-darwin-fixup/
AndroidFixup.h 59 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...)
64 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
  /external/elfutils/libdwfl/
argp-std.c 117 inline void failure (Dwfl *dwfl, int errnum, const char *msg)
121 if (errnum == -1)
125 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg);
127 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg)
129 failure (dwfl, errnum, msg);
130 return errnum == -1 ? EIO : errnum;
  /libnativehelper/include/nativehelper/
JNIHelp.h 74 int jniThrowIOException(C_JNIEnv* env, int errnum);
78 * value 'errnum'. The returned pointer may or may not be equal to 'buf'.
82 const char* jniStrError(int errnum, char* buf, size_t buflen);
144 inline int jniThrowIOException(JNIEnv* env, int errnum) {
145 return jniThrowIOException(&env->functions, errnum);

Completed in 425 milliseconds

1 2 3 4 5 6 7