/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_filesystem_test.c | 31 errno = 0; in show_prompt() 42 errno = 0; in child() 44 return errno; in child() 182 errno == EPERM) in main() 184 else if (errno == ENODEV) in main() 187 printf("BUG: %s\n", strerror(errno)); in main() 191 errno == ENOMEM) in main() 193 else if (errno == ENODEV) in main() 196 printf("BUG: %s\n", strerror(errno)); in main() 200 errno == ENOMEM) in main() [all …]
|
/external/fdlibm/ |
D | k_standard.c | 104 errno = EDOM; 109 errno = EDOM; 118 errno = EDOM; 123 errno = EDOM; 134 errno = EDOM; 139 errno = EDOM; 151 errno = ERANGE; 153 errno = ERANGE; 165 errno = ERANGE; 167 errno = ERANGE; [all …]
|
/external/libdaemon/libdaemon/ |
D | dfork.c | 125 daemon_log(LOG_ERR, "dup(): %s", strerror(errno)); in move_fd_up() 148 daemon_log(LOG_ERR, "sigemptyset() failed: %s", strerror(errno)); in daemon_fork() 153 daemon_log(LOG_ERR, "sigaddset() failed: %s", strerror(errno)); in daemon_fork() 158 daemon_log(LOG_ERR, "sigaction() failed: %s", strerror(errno)); in daemon_fork() 163 daemon_log(LOG_ERR, "sigprocmask() failed: %s", strerror(errno)); in daemon_fork() 165 saved_errno = errno; in daemon_fork() 167 errno = saved_errno; in daemon_fork() 173 daemon_log(LOG_ERR, "pipe() failed: %s", strerror(errno)); in daemon_fork() 175 saved_errno = errno; in daemon_fork() 178 errno = saved_errno; in daemon_fork() [all …]
|
D | dpid.c | 85 if (enable && errno == EBADF) { in lock_file() 92 daemon_log(LOG_WARNING, "fcntl(F_SETLKW) failed: %s", strerror(errno)); in lock_file() 109 errno = EINVAL; in daemon_pid_file_is_running() 115 if (errno != ENOENT) in daemon_pid_file_is_running() 116 daemon_log(LOG_WARNING, "Failed to open PID file: %s", strerror(errno)); in daemon_pid_file_is_running() 126 int saved_errno = errno; in daemon_pid_file_is_running() 127 daemon_log(LOG_WARNING, "read(): %s", strerror(errno)); in daemon_pid_file_is_running() 129 errno = saved_errno; in daemon_pid_file_is_running() 136 errno = 0; in daemon_pid_file_is_running() 140 if (errno != 0 || !e || *e || (long) pid != lpid) { in daemon_pid_file_is_running() [all …]
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); in vmaybe_write_file() 51 if ((errno == ENOENT) && enoent_ok) in vmaybe_write_file() 54 filename, strerror(errno)); in vmaybe_write_file() 62 filename, strerror(errno)); in vmaybe_write_file() 67 filename, strerror(errno)); in vmaybe_write_file() 107 strerror(errno)); in create_and_enter_ns() 109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); in create_and_enter_ns() 118 "capng_apply - %s\n", strerror(errno)); in create_and_enter_ns() 134 strerror(errno)); in create_and_enter_ns() 143 ksft_exit_fail_msg("getcwd - %s\n", strerror(errno)); in chdir_to_tmpfs() [all …]
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest4.c | 104 if (errno != errnum) { in runtest_f() 106 strerror(errno)); in runtest_f() 110 errno = 0; in runtest_f() 112 if (ret >= 0 || errno != errnum) { in runtest_f() 114 msg, ret, strerror(errno)); in runtest_f() 119 if (errno != errnum) { in runtest_f() 121 strerror(errno)); in runtest_f() 125 errno = 0; in runtest_f() 127 if (ret >= 0 || errno != errnum) { in runtest_f() 129 msg, ret, strerror(errno)); in runtest_f() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 14-1.c | 66 UNRESOLVED(errno, "Failed to create the named semaphore"); in main() 72 UNRESOLVED(errno, "Failed to create the named semaphore"); in main() 78 UNRESOLVED(errno, "Failed to unlink the semaphore"); in main() 85 UNRESOLVED(errno, "Failed to fork"); in main() 93 while ((ret != 0) && (errno == EINTR)); in main() 96 UNRESOLVED(errno, "Failed to post semaphore A"); in main() 102 while ((ret != 0) && (errno == EINTR)); in main() 105 UNRESOLVED(errno, "Failed to post semaphore B"); in main() 116 UNRESOLVED(errno, "Waitpid returned the wrong PID"); in main() 127 while ((ret != 0) && (errno == EINTR)); in main() [all …]
|
D | 12-1.c | 67 UNRESOLVED(errno, "Failed to initialize signal set"); in main() 73 UNRESOLVED(errno, "Failed to add SIGUSR1 to signal set"); in main() 79 UNRESOLVED(errno, "Failed to add SIGUSR2 to signal set"); in main() 85 UNRESOLVED(errno, "Sigprocmask failed"); in main() 92 UNRESOLVED(errno, "failed to kill with SIGUSR1"); in main() 98 UNRESOLVED(errno, "failed to kill with SIGUSR2"); in main() 105 UNRESOLVED(errno, in main() 112 UNRESOLVED(errno, in main() 120 UNRESOLVED(errno, in main() 137 UNRESOLVED(errno, "Failed to fork"); in main() [all …]
|
D | 11-1.c | 39 strerror(errno), errno); in child() 49 if (errno == EACCES || errno == EAGAIN) { in child() 55 strerror(errno), errno); in child() 78 strerror(errno), errno); in main() 84 strerror(errno), errno); in main() 90 printf("Fork failed: %s (%d)\n", strerror(errno), errno); in main() 98 printf("Wait failed: %s (%d)\n", strerror(errno), errno); in main()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_socket_bind_listen.c | 103 if (sk != -1 || errno != EAFNOSUPPORT) in main() 105 "error:%d, errno:%d", error, errno); in main() 111 if (sk != -1 || errno != EINVAL) in main() 113 "error:%d, errno:%d", error, errno); in main() 121 "error:%d, errno:%d", error, errno); in main() 127 if (error != -1 || errno != EFAULT) in main() 129 "error:%d, errno:%d", error, errno); in main() 139 if (error != -1 || errno != EINVAL) in main() 141 "error:%d, errno:%d", error, errno); in main() 150 filename, strerror(errno)); in main() [all …]
|
D | test_tcp_style.c | 136 if ((-1 != error) && (EINVAL != errno)) in main() 138 "error:%d, errno:%d", error, errno); in main() 145 if ((-1 != error) && (EISCONN != errno)) in main() 147 "error:%d, errno:%d", error, errno); in main() 161 if ((-1 != error) && (ECONNREFUSED != errno)) in main() 163 "error:%d, errno:%d", error, errno); in main() 176 error, errno, poll_fd.revents); in main() 187 if ((-1 != error) || (EISCONN != errno)) in main() 189 "error:%d errno:%d", error, errno); in main() 195 if ((-1 != error) && (EINVAL != errno)) in main() [all …]
|
D | test_1_to_1_shutdown.c | 110 if (error != -1 || errno != EBADF) in main() 112 "error:%d, errno:%d", error, errno); in main() 121 filename, strerror(errno)); in main() 124 err_no = errno; in main() 133 errno = 0; in main() 141 "error:%d, errno:%d", error, errno); in main() 147 if ((error != 0) || (errno != 0)) in main() 149 "error:%d, errno:%d", error, errno); in main() 158 if ((error != -1) || (errno != ENOTCONN)) in main() 160 "messages error:%d, errno:%d", error, errno); in main() [all …]
|
D | test_1_to_1_sockopt.c | 116 if (error != -1 || errno != EBADF) in main() 118 "descriptor error:%d, errno:%d", error, errno); in main() 127 filename, strerror(errno)); in main() 130 err_no = errno; in main() 141 if (error != -1 || errno != ENOPROTOOPT) in main() 143 "error:%d, errno:%d", error, errno); in main() 150 if (error != -1 || errno != EFAULT) in main() 152 "buffer error:%d, errno:%d", error, errno); in main() 158 if (error != -1 || errno != EOPNOTSUPP) in main() 160 "name error:%d, errno:%d", error, errno); in main() [all …]
|
/external/autotest/client/tests/rtc/src/ |
D | rtctest.c | 58 exit(errno); in main() 66 if (errno == ENOTTY) { in main() 72 exit(errno); in main() 83 exit(errno); in main() 102 exit(errno); in main() 108 exit(errno); in main() 119 exit(errno); in main() 127 exit(errno); in main() 149 if (errno == ENOTTY) { in main() 155 exit(errno); in main() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 30-1.c | 124 if (errno != EINVAL) { in main() 126 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main() 141 if (errno != EINVAL) { in main() 143 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main() 158 if (errno != EINVAL) { in main() 160 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main() 177 if (errno != EINVAL) { in main() 179 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main() 194 if (errno != EINVAL) { in main() 196 errno, strerror(errno), EINVAL, strerror(EINVAL)); in main()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | rtctest.c | 120 exit(errno); in main() 135 if (errno == EINVAL) { in main() 141 exit(errno); in main() 152 exit(errno); in main() 171 exit(errno); in main() 177 exit(errno); in main() 188 exit(errno); in main() 196 exit(errno); in main() 218 if (errno == EINVAL) { in main() 225 exit(errno); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 653 errno = TEST_ERRNO; in creat_symlink() 658 path1, errno, strerror(errno)); in creat_symlink() 685 path1, errno, strerror(errno)); in creat_object() 698 path1, errno, strerror(errno)); in creat_object() 765 else if ((stat(path3, &statter) == -1) && (errno == ENOENT)) { in ck_both() 771 } else if ((stat(path2, &asymlink) == -1) && (errno == ENOENT)) { in ck_both() 1029 errno = TEST_ERRNO; in do_EEXIST() 1030 if ((TEST_RETURN == -1) && (errno == EEXIST)) in do_EEXIST() 1039 errno = TEST_ERRNO; in do_EEXIST() 1040 if ((TEST_RETURN == -1) && (errno == EEXIST)) { in do_EEXIST() [all …]
|
/external/syslinux/gpxe/src/hci/ |
D | strerror.c | 29 static struct errortab * find_error ( int errno ) { in find_error() argument 33 if ( errortab->errno == errno ) in find_error() 48 static struct errortab * find_closest_error ( int errno ) { in find_closest_error() argument 52 if ( ( errortab = find_error ( errno ) ) != NULL ) in find_closest_error() 58 if ( ( errortab = find_error ( errno & 0x7f0000ff ) ) != NULL ) in find_closest_error() 77 const char * strerror ( int errno ) { in strerror() argument 82 if ( errno < 0 ) in strerror() 83 errno = -errno; in strerror() 86 errortab = find_closest_error ( errno ); in strerror() 91 errortab->text, errno ); in strerror() [all …]
|
/external/libunwind/src/ptrace/ |
D | _UPT_access_reg.c | 61 errno = 0; in _UPT_access_reg() 66 if (errno) in _UPT_access_reg() 79 errno = 0; in _UPT_access_reg() 81 if (errno) in _UPT_access_reg() 104 errno = 0; in _UPT_access_reg() 106 if (errno) in _UPT_access_reg() 116 errno = 0; in _UPT_access_reg() 119 if (errno) in _UPT_access_reg() 128 errno = 0; in _UPT_access_reg() 130 if (errno) in _UPT_access_reg() [all …]
|
/external/linux-kselftest/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 41 strerror(errno)); in child() 47 strerror(errno)); in child() 52 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno)); in child() 66 ksft_print_msg("fork() failed: %s\n", strerror(errno)); in run_test() 74 ksft_print_msg("waitpid() failed: %s\n", strerror(errno)); in run_test() 78 ksft_print_msg("child did not stop: %s\n", strerror(errno)); in run_test() 83 strerror(errno)); in run_test() 88 if (errno == EIO) { in run_test() 91 strerror(errno)); in run_test() 94 strerror(errno)); in run_test() [all …]
|
/external/ltp/testcases/kernel/syscalls/sigprocmask/ |
D | sigprocmask01.c | 141 errno = 0; in main() 146 "error:%d", errno); in main() 153 errno = 0; in main() 157 "error:%d", errno); in main() 166 errno = 0; in main() 172 "error=%d", errno); in main() 218 errno, strerror(errno)); in setup() 223 errno, strerror(errno)); in setup() 231 errno, strerror(errno)); in setup() 241 errno, strerror(errno)); in setup()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 87 wjh_f, wjh_ret, errno, strerror(errno)); in main() 89 if (wjh_ret == -1 && errno == EINVAL) { in main() 94 wjh_ret, errno, EINVAL); in main() 97 errno = 0; in main() 109 errno = 0; in main() 124 errno = 0; in main() 142 wjh_f, wjh_ret, errno, strerror(errno)); in main() 144 if ((flag == O_RDONLY) && (wjh_ret == -1) && (errno == EINVAL)) { in main() 158 wjh_ret, errno, EINVAL); in main() 161 errno = 0; in main() [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | cmathmodule.c.h | 28 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_acos() 31 if (errno == EDOM) { in cmath_acos() 35 else if (errno == ERANGE) { in cmath_acos() 70 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_acosh() 73 if (errno == EDOM) { in cmath_acosh() 77 else if (errno == ERANGE) { in cmath_acosh() 112 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_asin() 115 if (errno == EDOM) { in cmath_asin() 119 else if (errno == ERANGE) { in cmath_asin() 154 errno = 0; PyFPE_START_PROTECT("complex function", goto exit); in cmath_asinh() [all …]
|
/external/dhcpcd-6.8.2/ |
D | if-sun.c | 61 errno = ENOTSUP; in if_openlinksocket() 69 errno = ENOTSUP; in if_getssid() 85 errno = ENOTSUP; in if_openrawsocket() 94 errno = ENOTSUP; in if_sendrawpacket() 103 errno = ENOTSUP; in if_readrawpacket() 113 errno = ENOTSUP; in if_address() 121 errno = ENOTSUP; in if_route() 131 errno = ENOTSUP; in if_address6() 139 errno = ENOTSUP; in if_route6() 149 errno = ENOTSUP; in if_addrflags6() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 98 if ((sem1 == SEM_FAILED) && (errno == EEXIST)) { in main() 104 UNRESOLVED(errno, "Failed to create the semaphore"); in main() 111 UNRESOLVED(errno, "Failed to unlink the semaphore"); in main() 121 if (errno != ENOENT) { in main() 122 output("Error %d: %s\n", errno, strerror(errno)); in main() 131 output("Gor error %d: %s\n", errno, strerror(errno)); in main() 139 UNRESOLVED(errno, "Failed to read sem1 value"); in main() 150 UNRESOLVED(errno, "Failed to read sem1 value"); in main() 162 UNRESOLVED(errno, "Failed to unlink the semaphore"); in main() 169 UNRESOLVED(errno, "Failed to close the semaphore"); in main() [all …]
|