/external/grub/stage2/ |
D | disk_io.c | 148 while (byte_len > 0 && !errnum) in rawread() 161 errnum = ERR_NO_DISK; in rawread() 172 errnum = ERR_GEOM; in rawread() 215 errnum = ERR_GEOM; in rawread() 225 errnum = ERR_READ; in rawread() 251 errnum = ERR_READ; in rawread() 289 return (!errnum); in rawread() 303 errnum = ERR_OUTSIDE_PART; in devread() 339 errnum = ERR_WRITE; in rawwrite() 354 errnum = ERR_WRITE; in rawwrite() [all …]
|
D | builtins.c | 226 return errnum; in blocklist_func() 307 errnum = ERR_BOOT_COMMAND; in boot_func() 340 if (errnum == ERR_NONE) in bootp_func() 341 errnum = ERR_DEV_VALUES; in bootp_func() 432 if (errnum == ERR_NONE) in chainloader_func() 433 errnum = ERR_EXEC_FORMAT; in chainloader_func() 444 errnum = ERR_EXEC_FORMAT; in chainloader_func() 460 errnum = ERR_NONE; in chainloader_func() 497 errnum = ERR_BAD_ARGUMENT; in cmp_func() 817 errnum = ERR_FILE_NOT_FOUND; in device_func() [all …]
|
D | boot.c | 71 if (!errnum) in load_image() 72 errnum = ERR_EXEC_FORMAT; in load_image() 85 errnum = ERR_BOOT_FEATURES; in load_image() 112 errnum = ERR_BELOW_1MB; in load_image() 119 errnum = ERR_EXEC_FORMAT; in load_image() 163 errnum = ERR_EXEC_FORMAT; in load_image() 166 errnum = ERR_BELOW_1MB; in load_image() 214 errnum = ERR_BELOW_1MB; in load_image() 276 errnum = ERR_WONT_FIT; in load_image() 280 errnum = ERR_WONT_FIT; in load_image() [all …]
|
D | gunzip.c | 285 return ! errnum; in gunzip_test_header() 301 if (! errnum) in gunzip_test_header() 302 errnum = ERR_BAD_GZIP_HEADER; in gunzip_test_header() 313 if (! errnum) in gunzip_test_header() 314 errnum = ERR_BAD_GZIP_HEADER; in gunzip_test_header() 746 errnum = ERR_BAD_GZIP_DATA; in inflate_codes_in_window() 784 errnum = ERR_BAD_GZIP_DATA; in inflate_codes_in_window() 866 errnum = ERR_BAD_GZIP_DATA; in init_stored_block() 897 errnum = ERR_BAD_GZIP_DATA; in init_fixed_block() 907 errnum = ERR_BAD_GZIP_DATA; in init_fixed_block() [all …]
|
D | cmdline.c | 92 errnum = ERR_UNRECOGNIZED; in find_command() 105 errnum = 0; in init_cmdline() 140 errnum = ERR_NONE; in enter_cmdline() 158 errnum = ERR_UNRECOGNIZED; in enter_cmdline() 198 if (errnum) in run_script() 200 errnum = ERR_NONE; in run_script() 245 errnum = ERR_UNRECOGNIZED; in run_script()
|
D | fsys_minix.c | 217 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 229 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 237 errnum = ERR_FSYS_CORRUPT; in minix_block_map() 284 if (errnum) in minix_read() 358 errnum = ERR_SYMLINK_LOOP; in minix_dir() 374 errnum = ERR_FILELENGTH; in minix_dir() 418 errnum = ERR_BAD_FILETYPE; in minix_dir() 437 errnum = ERR_BAD_FILETYPE; in minix_dir() 468 errnum = ERR_FILE_NOT_FOUND; in minix_dir() 487 errnum = ERR_FSYS_CORRUPT; in minix_dir()
|
D | fsys_ffs.c | 130 errnum = ERR_FSYS_CORRUPT; in block_map() 149 while (len && !errnum) in ffs_read() 175 if (errnum) in ffs_read() 206 errnum = ERR_BAD_FILETYPE; in ffs_dir() 224 errnum = ERR_BAD_FILETYPE; in ffs_dir() 246 errnum = ERR_FILE_NOT_FOUND; in ffs_dir() 260 errnum = ERR_FSYS_CORRUPT; in ffs_dir()
|
D | fsys_ufs2.c | 155 errnum = ERR_FSYS_CORRUPT; in block_map() 174 while (len && !errnum) in ufs2_read() 200 if (errnum) in ufs2_read() 231 errnum = ERR_BAD_FILETYPE; in ufs2_dir() 249 errnum = ERR_BAD_FILETYPE; in ufs2_dir() 267 errnum = ERR_FILE_NOT_FOUND; in ufs2_dir() 281 errnum = ERR_FSYS_CORRUPT; in ufs2_dir()
|
D | fsys_ext2fs.c | 328 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 343 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 352 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 365 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 374 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 382 errnum = ERR_FSYS_CORRUPT; in ext2fs_block_map() 452 if (errnum) in ext2fs_read() 607 errnum = ERR_SYMLINK_LOOP; in ext2fs_dir() 620 errnum = ERR_FILELENGTH; in ext2fs_dir() 674 errnum = ERR_BAD_FILETYPE; in ext2fs_dir() [all …]
|
D | char_io.c | 94 if (errnum > ERR_NONE && errnum < MAX_ERR_NUM) in print_error() 97 printf ("\nError %u: %s\n", errnum, err_list[errnum]); in print_error() 99 printf ("Error %u\n", errnum); in print_error() 608 errnum = ERR_NONE; in real_get_cmdline() 621 errnum = ERR_NONE; in real_get_cmdline() 881 errnum = ERR_NUMBER_OVERFLOW; in safe_parse_maxint() 890 errnum = ERR_NUMBER_PARSING; in safe_parse_maxint() 1207 return ! errnum; in memcheck() 1215 errnum = ERR_WONT_FIT; in memcheck() 1217 return ! errnum; in memcheck() [all …]
|
D | fsys_iso9660.c | 78 errnum = ERR_OUTSIDE_PART; in iso9660_devread() 169 errnum = ERR_FSYS_CORRUPT; in iso9660_dir() 338 errnum = 0; /* this is not fatal. */ in iso9660_dir() 361 errnum = ERR_BAD_FILETYPE; in iso9660_dir() 368 errnum = ERR_BAD_FILETYPE; in iso9660_dir() 395 errnum = ERR_FILE_NOT_FOUND; in iso9660_dir()
|
D | fsys_fat.c | 260 errnum = ERR_FSYS_CORRUPT; in fat_read() 288 return errnum ? 0 : ret; in fat_read() 323 errnum = ERR_BAD_FILETYPE; in fat_dir() 337 errnum = ERR_BAD_FILETYPE; in fat_dir() 357 if (!errnum) in fat_dir() 369 errnum = ERR_FILE_NOT_FOUND; in fat_dir()
|
D | fsys_reiserfs.c | 564 return errnum == 0; in journal_init() 716 errnum = ERR_FSYS_CORRUPT; in read_tree_node() 881 errnum = ERR_FSYS_CORRUPT; in search_stat() 905 while (! errnum) in reiserfs_read() 982 return errnum ? 0 : buf - prev_buf; in reiserfs_read() 1033 errnum = ERR_SYMLINK_LOOP; in reiserfs_dir() 1047 errnum = ERR_FILELENGTH; in reiserfs_dir() 1061 if (! errnum) in reiserfs_dir() 1062 errnum = ERR_FSYS_CORRUPT; in reiserfs_dir() 1095 errnum = ERR_BAD_FILETYPE; in reiserfs_dir() [all …]
|
D | fsys_jfs.c | 293 errnum = ERR_SYMLINK_LOOP; in jfs_dir() 304 errnum = ERR_FILELENGTH; in jfs_dir() 317 errnum = ERR_BAD_FILETYPE; in jfs_dir() 326 errnum = ERR_BAD_FILETYPE; in jfs_dir() 378 errnum = ERR_FILE_NOT_FOUND; in jfs_dir()
|
/external/llvm/lib/Support/ |
D | Errno.cpp | 38 std::string StrError(int errnum) { in StrError() argument 45 if (errnum) in StrError() 49 str = strerror_r(errnum,buffer,MaxErrStrLen-1); in StrError() 51 strerror_r(errnum,buffer,MaxErrStrLen-1); in StrError() 54 if (errnum) in StrError() 55 strerror_s(buffer, errnum); in StrError() 60 if (errnum) in StrError() 61 strncpy(buffer,strerror(errnum),MaxErrStrLen-1); in StrError() 66 sprintf(buffer, "Error #%d", errnum); in StrError()
|
/external/bison/lib/ |
D | 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) in print_errno_message() argument 112 s = __strerror_r (errnum, errbuf, sizeof errbuf); in print_errno_message() 114 if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) in print_errno_message() 120 if (! s && ! (s = strerror (errnum))) in print_errno_message() 136 error_tail (int status, int errnum, const char *message, va_list args) in error_tail() argument 170 if (errnum) in error_tail() 171 print_errno_message (errnum); in error_tail() 189 error (int status, int errnum, const char *message, ...) in error() argument [all …]
|
/external/valgrind/main/none/tests/ |
D | pth_atfork1.c | 32 static void error (int status, int errnum, char* msg) in error() argument 36 errnum ? ": " : "", in error() 37 errnum ? strerror(errnum) : ""); in error() 38 if (errnum) in error() 39 exit(errnum); in error()
|
/external/llvm/lib/Support/Unix/ |
D | Unix.h | 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/elfutils/libdwfl/ |
D | argp-std.c | 117 inline void failure (Dwfl *dwfl, int errnum, const char *msg) in parse_opt() 121 if (errnum == -1) in parse_opt() 125 argp_failure (state, EXIT_FAILURE, errnum, "%s", msg); in parse_opt() 127 inline error_t fail (Dwfl *dwfl, int errnum, const char *msg) in parse_opt() 129 failure (dwfl, errnum, msg); in parse_opt() 130 return errnum == -1 ? EIO : errnum; in parse_opt()
|
/external/grub/netboot/ |
D | fsys_tftp.c | 352 errnum = ERR_WRITE; in tftp_read() 394 errnum = ERR_READ; in tftp_read() 401 errnum = ERR_READ; in tftp_read() 444 errnum = ERR_WRITE; in tftp_dir() 451 errnum = ERR_FILE_NOT_FOUND; in tftp_dir() 471 errnum = ERR_READ; in tftp_dir()
|
/external/elfutils/bionic-fixup/ |
D | error.h | 26 error(int status, int errnum, const char *fmt, ...) in error() argument 31 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno)); in error()
|
/external/skia/third_party/glu/libtess/ |
D | tess.h | 76 void (GLAPIENTRY *callError)( GLenum errnum ); 123 void (GLAPIENTRY *callErrorData)( GLenum errnum, void *polygonData ); 137 void GLAPIENTRY __gl_noErrorData( GLenum errnum, void *polygonData );
|
/external/zlib/contrib/iostream2/ |
D | zstream.h | 97 const char* error(int* errnum) { in error() argument 98 return ::gzerror(m_fp, errnum); in error() 230 const char* error(int* errnum) { in error() argument 231 return ::gzerror(m_fp, errnum); in error()
|
/external/elfutils/host-darwin-fixup/ |
D | AndroidFixup.h | 59 static inline void __attribute__((noreturn)) error(int status, int errnum, const char *fmt, ...) in error() argument 64 fprintf(stderr, "error %d: %s\n", errnum, strerror(errno)); in error()
|
/external/dbus/dbus/ |
D | dbus-spawn.c | 208 int errnum; /**< Error number */ member 423 sitter->errnum = 0; in read_data() 431 sitter->errnum = arg; in read_data() 432 _dbus_verbose ("recorded fork errnum %d\n", sitter->errnum); in read_data() 437 sitter->errnum = arg; in read_data() 438 _dbus_verbose ("recorded exec errnum %d\n", sitter->errnum); in read_data() 691 sitter->executable, _dbus_strerror (sitter->errnum)); in _dbus_babysitter_set_child_exit_error() 697 sitter->executable, _dbus_strerror (sitter->errnum)); in _dbus_babysitter_set_child_exit_error()
|