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

1 2 3 4

  /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, 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 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/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);
  /prebuilt/linux-x86/toolchain/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))
  /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...]
char_io.c 94 if (errnum > ERR_NONE && errnum < MAX_ERR_NUM)
96 /* printf("\7\n %s\n", err_list[errnum]); */
97 printf ("\nError %u: %s\n", errnum, err_list[errnum]);
99 printf ("Error %u\n", errnum);
608 errnum = ERR_NONE;
621 errnum = ERR_NONE;
881 errnum = ERR_NUMBER_OVERFLOW;
890 errnum = ERR_NUMBER_PARSING
    [all...]
fsys_fat.c 260 errnum = ERR_FSYS_CORRUPT;
288 return errnum ? 0 : ret;
323 errnum = ERR_BAD_FILETYPE;
337 errnum = ERR_BAD_FILETYPE;
357 if (!errnum)
369 errnum = ERR_FILE_NOT_FOUND;
fsys_iso9660.c 78 errnum = ERR_OUTSIDE_PART;
169 errnum = ERR_FSYS_CORRUPT;
338 errnum = 0; /* this is not fatal. */
361 errnum = ERR_BAD_FILETYPE;
368 errnum = ERR_BAD_FILETYPE;
395 errnum = ERR_FILE_NOT_FOUND;
  /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...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/alsa/
error.h 45 const char *snd_strerror(int errnum);
  /external/elfutils/
config-compat-darwin.h 25 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...)
30 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
config-compat-freebsd.h 28 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...)
33 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno));
  /bionic/libc/string/
strerror_r.c 93 strerror_r(int errnum, char *strerrbuf, size_t buflen)
100 msg = __code_string_lookup( _sys_error_strings, errnum );
110 int ret = __itoa(errnum, 1, strerrbuf, len, buflen);
  /dalvik/libnativehelper/include/nativehelper/
JNIHelp.h 73 int jniThrowIOException(C_JNIEnv* env, int errnum);
77 * value 'errnum'. The returned pointer may or may not be equal to 'buf'.
81 const char* jniStrError(int errnum, char* buf, size_t buflen);
143 inline int jniThrowIOException(JNIEnv* env, int errnum) {
144 return jniThrowIOException(&env->functions, errnum);
  /external/grub/netboot/
fsys_tftp.c 352 errnum = ERR_WRITE;
394 errnum = ERR_READ;
401 errnum = ERR_READ;
444 errnum = ERR_WRITE;
451 errnum = ERR_FILE_NOT_FOUND;
471 errnum = ERR_READ;

Completed in 1321 milliseconds

1 2 3 4