/external/valgrind/memcheck/tests/ |
writev1.c | 5 #include <errno.h> 36 fprintf(stderr, "open(2) failed: fname = %s, errno = %d\n", 37 f_name, errno); 40 fprintf(stderr, "write(2) failed: nbytes = %d, errno = %d\n", 41 nbytes, errno); 45 fprintf(stderr, "close failed: errno = %d\n", errno); 50 fprintf(stderr, "open failed: fname = %s, errno = %d\n", 51 f_name, errno); 57 if (errno == EFAULT) [all...] |
/external/fdlibm/ |
k_standard.c | 16 #include <errno.h> 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 [all...] |
s_ldexp.c | 15 #include <errno.h> 26 if(!ieee_finite(value)||value==0.0) errno = ERANGE;
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
test_execve.c | 10 #include <errno.h> 43 ksft_exit_fail_msg("vsnprintf failed - %s\n", strerror(errno)); 51 if ((errno == ENOENT) && enoent_ok) 54 filename, strerror(errno)); 62 filename, strerror(errno)); 67 filename, strerror(errno)); 107 strerror(errno)); 109 ksft_exit_fail_msg("setresuid - %s\n", strerror(errno)); 118 "capng_apply - %s\n", strerror(errno)); 134 strerror(errno)); [all...] |
/bionic/libc/bionic/ |
getdomainname.cpp | 29 #include <errno.h> 43 errno = EINVAL;
|
posix_fallocate.cpp | 35 return (fallocate(fd, 0, offset, length) == 0) ? 0 : errno; 40 return (fallocate64(fd, 0, offset, length) == 0) ? 0 : errno;
|
pthread_getschedparam.cpp | 29 #include <errno.h> 40 if (sched_getparam(tid, param) == -1) return errno;
|
pthread_kill.cpp | 29 #include <errno.h> 41 return (tgkill(getpid(), tid, sig) == -1) ? errno : 0;
|
/bionic/tests/libs/ |
preinit_syscall_test_helper.cpp | 17 #include <errno.h> 30 g_errno = errno;
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getpeername.c | 34 In the case of an error, ::errno contains more details.
56 pSocketProtocol = BslFdToSocketProtocol ( s, NULL, &errno );
64 &errno );
|
getsockname.c | 34 In the case of an error, ::errno contains more details.
56 pSocketProtocol = BslFdToSocketProtocol ( s, NULL, &errno );
64 &errno );
|
poll.c | 35 pSocketProtocol = BslValidateSocketFd ( pDescriptor, &errno );
41 &errno );
|
shutdown.c | 32 error occurs. In the latter case, ::errno contains more details.
53 pSocketProtocol = BslFdToSocketProtocol ( s, NULL, &errno );
60 &errno );
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
s_ldexp.c | 18 #include <errno.h>
27 if(!finite(value)||value==0.0) errno = ERANGE;
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
feof.c | 51 #include <errno.h>
64 errno = EINVAL;
|
ferror.c | 51 #include <errno.h>
64 errno = EINVAL;
|
fgetc.c | 49 #include <errno.h>
68 errno = ENOSTR;
|
fgetpos.c | 50 #include <errno.h>
60 errno = EINVAL;
|
fputc.c | 49 #include <errno.h>
68 errno = ENOSTR;
|
perror.c | 46 #include <errno.h>
70 (void)strerror_r(errno, buf, sizeof(buf));
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
access.c | 17 #include <errno.h>
42 is indicated by errno. Values of errno specific to the access
58 errno = EINVAL;
63 errno = ENAMETOOLONG;
80 errno = (WantDir) ? ENOTDIR : EISDIR;
89 errno = EDOOFUS; /* Programming Error. */
96 errno = EACCES; /* Writing is not OK. */
104 errno = EACCES;
113 errno = ENOENT; [all...] |
/external/ltp/testcases/kernel/syscalls/mremap/ |
mremap04.c | 30 * mremap() should return -1 and set errno to ENOMEM. 42 * if errno set == expected errno 43 * Issue sys call failed with expected return value and errno. 45 * Issue sys call failed with unexpected errno. 50 * Print errno log and/or timing stats if options given 56 * -e : Turn on errno logging. 80 #include <errno.h> 124 errno = 0; 126 TEST_ERRNO = errno; [all...] |
/external/ltp/testcases/kernel/syscalls/umount2/ |
umount2.h | 28 if (ret == 0 || errno != EBUSY) 40 errno = EBUSY;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_getres/ |
6-1.c | 8 * Test that clock_getres() sets errno=EINVAL if clock_id does not 13 #include <errno.h> 23 if (EINVAL == errno) { 27 printf("errno != EINVAL\n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_gettime/ |
8-1.c | 8 Test that clock_gettime() sets errno to EINVAL if clock_id does not 13 #include <errno.h> 22 if (EINVAL == errno) { 26 printf("errno not set to EINVAL\n");
|