/glibc-2.36/nptl/ |
D | tst-attr3.c | 43 error (0, err, "pthread_attr_init failed"); in tf() 53 error (0, err, "pthread_getattr_np failed"); in tf() 61 error (0, err, "pthread_attr_getdetachstate failed"); in tf() 69 error (0, err, "pthread_attr_getdetachstate failed"); in tf() 74 error (0, 0, "detachstate differs %d != %d", in tf() 85 error (0, err, "pthread_attr_getstack failed"); in tf() 91 error (0, 0, "pthread_attr_getstack returned range does not cover thread's stack"); in tf() 102 error (0, err, "pthread_attr_getguardsize failed"); in tf() 110 error (0, err, "pthread_attr_getguardsize failed"); in tf() 115 error (0, 0, "guardsize differs %zd != %zd", in tf() [all …]
|
D | nptl_setxid.c | 30 setxid_error (struct xid_command *cmdp, int error) in setxid_error() argument 34 int olderror = cmdp->error; in setxid_error() 35 if (olderror == error) in setxid_error() 42 volatile int xid_err __attribute__ ((unused)) = error; in setxid_error() 46 while (atomic_compare_and_exchange_bool_acq (&cmdp->error, error, -1)); in setxid_error() 71 int error = 0; in __nptl_setxid_sighandler() local 73 error = INTERNAL_SYSCALL_ERRNO (result); in __nptl_setxid_sighandler() 74 setxid_error (xidcmd, error); in __nptl_setxid_sighandler() 183 cmdp->error = -1; in __nptl_setxid() 267 int error = 0; in __nptl_setxid() local [all …]
|
/glibc-2.36/stdlib/ |
D | tst-width-stdint.c | 44 # error "missing INT8_WIDTH" in do_test() 48 # error "missing INT16_WIDTH" in do_test() 52 # error "missing INT32_WIDTH" in do_test() 56 # error "missing INT64_WIDTH" in do_test() 60 # error "missing UINT8_WIDTH" in do_test() 64 # error "missing UINT16_WIDTH" in do_test() 68 # error "missing UINT32_WIDTH" in do_test() 72 # error "missing UINT64_WIDTH" in do_test() 77 # error "missing INT_LEAST8_WIDTH" in do_test() 81 # error "missing INT_LEAST16_WIDTH" in do_test() [all …]
|
D | tst-width.c | 40 # error "missing CHAR_WIDTH" in do_test() 44 # error "missing SCHAR_WIDTH" in do_test() 48 # error "missing UCHAR_WIDTH" in do_test() 52 # error "missing SHRT_WIDTH" in do_test() 56 # error "missing USHRT_WIDTH" in do_test() 60 # error "missing INT_WIDTH" in do_test() 64 # error "missing UINT_WIDTH" in do_test() 68 # error "missing LONG_WIDTH" in do_test() 72 # error "missing ULONG_WIDTH" in do_test() 76 # error "missing LLONG_WIDTH" in do_test() [all …]
|
/glibc-2.36/io/ |
D | test-lfs.c | 64 error (0, 0, "open64 is not supported"); in do_prepare() 68 error (EXIT_FAILURE, errno, "cannot create temporary file"); in do_prepare() 76 error (0, errno, "cannot get resource limit"); in do_prepare() 84 error (0, errno, "cannot reset file size limits"); in do_prepare() 102 error (0, 0, "fseeko64 is not supported."); in test_ftello() 107 error (0, 0, "LFS seems not to be supported"); in test_ftello() 112 error (0, errno, "fseeko64 failed with error"); in test_ftello() 119 error (0, errno, "LFS seems not to be supported"); in test_ftello() 125 error (0, 0, "Not enough space to write file."); in test_ftello() 130 error (EXIT_FAILURE, errno, "Cannot write test string to large file"); in test_ftello() [all …]
|
/glibc-2.36/sunrpc/ |
D | rpc_prot.c | 172 struct rpc_err *error) in libc_hidden_nolink_sunrpc() 178 error->re_status = RPC_PROGUNAVAIL; in libc_hidden_nolink_sunrpc() 182 error->re_status = RPC_PROGVERSMISMATCH; in libc_hidden_nolink_sunrpc() 186 error->re_status = RPC_PROCUNAVAIL; in libc_hidden_nolink_sunrpc() 190 error->re_status = RPC_CANTDECODEARGS; in libc_hidden_nolink_sunrpc() 194 error->re_status = RPC_SYSTEMERROR; in libc_hidden_nolink_sunrpc() 198 error->re_status = RPC_SUCCESS; in libc_hidden_nolink_sunrpc() 202 error->re_status = RPC_FAILED; in libc_hidden_nolink_sunrpc() 203 error->re_lb.s1 = (long) MSG_ACCEPTED; in libc_hidden_nolink_sunrpc() 204 error->re_lb.s2 = (long) acpt_stat; in libc_hidden_nolink_sunrpc() [all …]
|
/glibc-2.36/sysdeps/pthread/ |
D | tst-cancel19.c | 66 error (EXIT_FAILURE, errno, "couldn't create pipe"); in do_test() 70 error (EXIT_FAILURE, rc, "couldn't create thread"); in do_test() 75 error (0, rc, "1st pthread_setcanceltype failed"); in do_test() 80 error (0, 0, "1st pthread_setcanceltype returned invalid value %d", in do_test() 91 error (0, rc, "pthread_setcanceltype after close failed"); in do_test() 96 error (0, 0, "pthread_setcanceltype after close returned invalid value %d", in do_test() 107 error (0, rc, "pthread_setcanceltype after 2nd close failed"); in do_test() 112 error (0, 0, "pthread_setcanceltype after 2nd close returned invalid value %d", in do_test() 136 error (0, rc, "pthread_setcanceltype after pause failed"); in do_test() 141 error (0, 0, "pthread_setcanceltype after pause returned invalid value %d", in do_test() [all …]
|
D | tst-pthread-mutexattr.c | 29 int error; in do_test() local 31 error = pthread_mutexattr_init (&attr); in do_test() 32 if (error) in do_test() 34 printf ("pthread_mutexattr_init: %s\n", strerror (error)); in do_test() 37 error = pthread_mutexattr_settype (&attr, PTHREAD_MUTEX_DEFAULT); in do_test() 38 if (error) in do_test() 40 printf ("pthread_mutexattr_settype (1): %s\n", strerror (error)); in do_test() 43 error = pthread_mutexattr_gettype (&attr, &kind); in do_test() 44 if (error) in do_test() 46 printf ("pthread_mutexattr_gettype: %s\n", strerror (error)); in do_test() [all …]
|
/glibc-2.36/posix/ |
D | tst-fork.c | 50 error (EXIT_FAILURE, errno, "cannot allocate file name"); in main() 58 error (EXIT_FAILURE, errno, "cannot open test file `%s'", name); in main() 65 error (EXIT_FAILURE, errno, "cannot write test data"); in main() 70 error (EXIT_FAILURE, errno, "wrong file position"); in main() 81 error (EXIT_FAILURE, 0, "child and parent have same PID"); in main() 86 error (EXIT_FAILURE, 0, in main() 93 error (EXIT_FAILURE, errno, "wrong file position in child"); in main() 97 error (EXIT_FAILURE, errno, "cannot reset position in child"); in main() 101 error (EXIT_FAILURE, errno, "cannot read data in child"); in main() 105 error (EXIT_FAILURE, 0, "data comparison failed in child"); in main() [all …]
|
D | tst-exec.c | 86 error (EXIT_FAILURE, 0, "value of fd1 and fd2 is the same"); in handle_restart() 91 error (EXIT_FAILURE, errno, "file 2 not in right position"); in handle_restart() 93 error (EXIT_FAILURE, 0, "cannot reset position in file 2"); in handle_restart() 95 error (EXIT_FAILURE, 0, "cannot read file 2"); in handle_restart() 97 error (EXIT_FAILURE, 0, "file 2 does not match"); in handle_restart() 101 error (EXIT_FAILURE, 0, "file 1 (%d) is not closed", fd1); in handle_restart() 106 error (EXIT_FAILURE, errno, in handle_restart() 110 error (EXIT_FAILURE, errno, "cannot read file 1"); in handle_restart() 112 error (EXIT_FAILURE, 0, "file 1 does not match"); in handle_restart() 140 error (EXIT_FAILURE, 0, "wrong number of arguments (%d)", argc); in do_test() [all …]
|
D | wordexp.c | 373 int error; in do_parse_glob() local 377 error = glob (glob_word, GLOB_NOCHECK, NULL, &globbuf); in do_parse_glob() 379 if (error != 0) in do_parse_glob() 382 assert (error == GLOB_NOSPACE); in do_parse_glob() 430 int error = WRDE_NOSPACE; in parse_glob() local 475 error = parse_dollars (word, word_length, max_length, words, in parse_glob() 478 if (error) in parse_glob() 486 error = parse_qtd_backslash (word, word_length, max_length, in parse_glob() 489 error = parse_backslash (word, word_length, max_length, in parse_glob() 492 if (error) in parse_glob() [all …]
|
/glibc-2.36/mach/ |
D | setup-thread.c | 39 kern_return_t error; in __mach_setup_thread() local 50 error = __vm_allocate (task, &stack, size + __vm_page_size, anywhere); in __mach_setup_thread() 51 if (error) in __mach_setup_thread() 52 return error; in __mach_setup_thread() 69 #error stack direction unknown in __mach_setup_thread() 73 if (error = __vm_protect (task, stack, __vm_page_size, 0, VM_PROT_NONE)) in __mach_setup_thread() 74 return error; in __mach_setup_thread() 86 kern_return_t error; in weak_alias() local 95 if (error = __thread_get_state (thread, MACHINE_THREAD_STATE_FLAVOR, in weak_alias() 97 return error; in weak_alias() [all …]
|
/glibc-2.36/login/ |
D | tst-utmp.c | 69 error (EXIT_FAILURE, errno, "cannot open test file `%s'", name); in do_prepare() 106 error (0, errno, "cannot write UTMP entry"); in do_init() 131 error (0, 0, "UTMP entry does not match"); in do_check() 140 error (0, 0, "number of UTMP entries is incorrect"); in do_check() 168 error (0, errno, "cannot write UTMP entry"); in simulate_login() 178 error (0, 0, "no entries available"); in simulate_login() 198 error (0, errno, "cannot write UTMP entry"); in simulate_logout() 208 error (0, 0, "no entry found for `%s'", line); in simulate_logout() 225 error (0, errno, "cannot get entry for line `%s'", line); in check_login() 237 error (0, 0, "UTMP entry does not match"); in check_login() [all …]
|
/glibc-2.36/elf/ |
D | tst-glibcelf.py | 29 def error(message): function 65 error('{} has {}={} and {}={}'.format( 71 error('{} has {}={} after {}={}'.format( 74 error('{} used in {} and {}'.format( 87 error('constant {!r} for {} has unknown prefix'.format( 94 error('prefix {!r} for constant {!r}, expected {!r}'.format( 97 error('empty enum type {}'.format(typ)) 100 error('missing constant prefix {!r}'.format(prefix)) 202 error('constant {} is missing from glibcelf'.format(name)) 207 error('constant {} is supposed to be filtered from glibcelf'.format( [all …]
|
D | ldconfig.c | 371 error (0, 0, _("Path `%s' given more than once"), entry->path); in add_single_dir() 404 error (EXIT_FAILURE, errno, _("Could not form glibc-hwcaps path")); in add_glibc_hwcaps_subdirectories() 418 error (EXIT_FAILURE, errno, _("Listing directory %s"), path); in add_glibc_hwcaps_subdirectories() 444 error (EXIT_FAILURE, errno, in add_glibc_hwcaps_subdirectories() 487 error (0, 0, _("%s is not a known library type"), equal_sign); in add_dir_1() 519 error (0, errno, _("Can't stat %s"), entry->path); in add_dir_1() 600 error (0, 0, _("Can't stat %s\n"), full_libname); in create_links() 610 error (0, 0, _("%s is not a symbolic link\n"), full_soname); in create_links() 629 error (0, 0, _("Can't unlink %s"), full_soname); in create_links() 635 error (0, 0, _("Can't link %s to %s"), full_soname, libname); in create_links() [all …]
|
/glibc-2.36/signal/ |
D | tst-sigset2.c | 32 error (1, errno, "sigaction"); in printSigMask() 78 error (1, errno, "sighold"); in returnTest1() 84 error(1, errno, "sigset"); in returnTest1() 107 error (1, errno, "sigset"); in returnTest2() 130 error (1, errno, "sigset"); in returnTest3() 135 error (1, errno, "sigset"); in returnTest3() 155 error (1, errno, "fork"); in main() 162 error (1, errno, "waitpid"); in main() 167 error (1, errno, "fork"); in main() 173 error (1, errno, "waitpid"); in main() [all …]
|
/glibc-2.36/support/ |
D | support_paths.c | 30 # error please -DSRCDIR_PATH=something in the Makefile 36 # error please -DOBJDIR_PATH=something in the Makefile 44 # error please -DOBJDIR_ELF_LDSO_PATH=something in the Makefile 51 # error please -DINSTDIR_PATH=something in the Makefile 58 # error please -DLIBDIR_PATH=something in the Makefile 65 # error please -DBINDIR_PATH=something in the Makefile 72 # error please -DSBINDIR_PATH=something in the Makefile 79 # error please -DSLIBDIR_PATH=something in the Makefile 86 # error please -DROOTSBINDIR_PATH=something in the Makefile 93 # error please -DCOMPLOCALEDIR_PATH=something in the Makefile
|
/glibc-2.36/sysdeps/generic/ |
D | math-type-macros.h | 54 # error "M_PFX must be defined." 57 # error "M_LIT must be defined." 60 # error "M_MLIT must be defined." 63 # error "M_SUF must be defined." 66 # error "FLOAT must be defined." 69 # error "CFLOAT must be defined." 72 # error "declare_mgen_alias must be defined." 75 # error "declare_mgen_alias_r must be defined." 78 # error "declare_mgen_alias_narrow must be defined." 81 # error "SET_NAN_PAYLOAD must be defined."
|
/glibc-2.36/rt/ |
D | tst-aio.c | 57 error (EXIT_FAILURE, errno, "cannot open test file `%s'", name); in do_prepare() 71 error (0, errno, "%s: failed stat", msg); in test_file() 77 error (0, errno, "%s: wrong size: %lu, should be %lu", in test_file() 84 error (0, errno, "%s: failed pread", msg); in test_file() 90 error (0, errno, "%s: failed comparison", msg); in test_file() 122 error (0, aio_error (cbp[cnt]), "Operation failed\n"); in do_wait() 163 error (0, 0, "no aio support in this configuration"); in do_test() 187 error (0, 0, "comparison failed for aio_read test"); in do_test() 197 error (0, errno, "ftruncate failed\n"); in do_test() 220 error (0, errno, "ftruncate failed\n"); in do_test() [all …]
|
D | tst-aio64.c | 58 error (EXIT_FAILURE, errno, "cannot open test file `%s'", name); in do_prepare() 72 error (0, errno, "%s: failed stat", msg); in test_file() 78 error (0, errno, "%s: wrong size: %lu, should be %lu", in test_file() 85 error (0, errno, "%s: failed pread", msg); in test_file() 91 error (0, errno, "%s: failed comparison", msg); in test_file() 123 error (0, aio_error64 (cbp[cnt]), "Operation failed\n"); in do_wait() 164 error (0, 0, "no aio support in this configuration"); in do_test() 188 error (0, 0, "comparison failed for aio_read test"); in do_test() 198 error (0, errno, "ftruncate failed\n"); in do_test() 221 error (0, errno, "ftruncate failed\n"); in do_test() [all …]
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-skeleton-affinity.c | 280 bool error = false; in do_test() local 281 error |= !test_size (&conf, 1024); in do_test() 282 error |= !test_size (&conf, conf.set_size); in do_test() 283 error |= !test_size (&conf, 2); in do_test() 284 error |= !test_size (&conf, 32); in do_test() 285 error |= !test_size (&conf, 40); in do_test() 286 error |= !test_size (&conf, 64); in do_test() 287 error |= !test_size (&conf, 96); in do_test() 288 error |= !test_size (&conf, 128); in do_test() 289 error |= !test_size (&conf, 256); in do_test() [all …]
|
/glibc-2.36/manual/ |
D | errno.texi | 4 @cindex error reporting 6 @cindex error codes 9 Many functions in @theglibc{} detect and report error conditions, 10 and sometimes your programs need to check for these error conditions. 12 file was actually opened correctly, and print an error message or take 15 This chapter describes how the error reporting facility works. Your 24 * Error Messages:: Mapping error codes onto error messages. 33 return value tells you only that an error has occurred. To find out 34 what kind of error it was, you need to look at the error code stored in the 41 The variable @code{errno} contains the system error number. You can [all …]
|
/glibc-2.36/dlfcn/ |
D | tst-dladdr.c | 41 error (EXIT_FAILURE, 0, "cannot load: glreflib1.so"); in do_test() 45 error (EXIT_FAILURE, 0, "dlsym failed"); in do_test() 51 error (EXIT_FAILURE, 0, "dladdr failed"); in do_test() 60 error (EXIT_FAILURE, 0, "dli_fname is NULL"); in do_test() 62 error (EXIT_FAILURE, 0, "dli_fbase is NULL"); in do_test() 64 error (EXIT_FAILURE, 0, "dli_sname is NULL"); in do_test() 66 error (EXIT_FAILURE, 0, "dli_saddr is NULL"); in do_test()
|
/glibc-2.36/hurd/ |
D | hurdselect.c | 67 int error; in _hurd_select() member 147 int error = 0; in _hurd_select() local 191 d[i].error = EBADF; in _hurd_select() 193 error = 1; in _hurd_select() 199 if (error) in _hurd_select() 357 d[i].error = err; in _hurd_select() 394 } error; in _hurd_select() member 409 } error; in _hurd_select() member 462 && msg.head.msgh_size >= sizeof msg.error in _hurd_select() 465 && msg.error.err_type.word == inttype.word in _hurd_select() [all …]
|
/glibc-2.36/iconv/ |
D | iconv_prog.c | 175 error (EXIT_FAILURE, errno, in main() 211 error (0, 0, in main() 216 error (0, 0, in main() 223 error (0, 0, in main() 227 error (0, 0, in main() 237 error (EXIT_FAILURE, errno, in main() 272 error (0, errno, _("cannot open input file `%s'"), in main() 289 error (EXIT_FAILURE, errno, in main() 336 error (EXIT_FAILURE, errno, _("error while closing output file")); in main() 427 error (EXIT_FAILURE, errno, _("cannot open output file")); in write_output() [all …]
|