/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_get_priority_min/ |
1-1.c | 16 #include <errno.h> 25 if (result != -1 && errno == 0) {
|
1-2.c | 16 #include <errno.h> 25 if (result != -1 && errno == 0) {
|
1-4.c | 16 #include <errno.h> 25 if (result != -1 && errno == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/ |
6-1.c | 18 #include <errno.h> 25 if (errno == EINVAL) { 26 printf("Test PASSED: errno set to EINVAL\n"); 29 printf("errno was not set to EINVAL\n");
|
6-2.c | 18 #include <errno.h> 25 if (EINVAL == errno) { 26 printf("Test PASSED: errno set to EINVAL\n"); 29 printf("errno was not set to EINVAL\n");
|
/external/strace/tests/ |
fstatx.c | 34 int saved_errno = errno; \ 37 errno = saved_errno; \
|
overflowuid.c | 29 #include <errno.h> 44 int saved_errno = errno; 48 errno = saved_errno; 54 errno = 0; 60 || ERANGE == errno) { 61 if (!errno) 62 errno = EINVAL; 76 if (ENOENT == errno)
|
/external/strace/tests-m32/ |
fstatx.c | 34 int saved_errno = errno; \ 37 errno = saved_errno; \
|
overflowuid.c | 29 #include <errno.h> 44 int saved_errno = errno; 48 errno = saved_errno; 54 errno = 0; 60 || ERANGE == errno) { 61 if (!errno) 62 errno = EINVAL; 76 if (ENOENT == errno)
|
/external/strace/tests-mx32/ |
fstatx.c | 34 int saved_errno = errno; \ 37 errno = saved_errno; \
|
overflowuid.c | 29 #include <errno.h> 44 int saved_errno = errno; 48 errno = saved_errno; 54 errno = 0; 60 || ERANGE == errno) { 61 if (!errno) 62 errno = EINVAL; 76 if (ENOENT == errno)
|
/external/toybox/toys/posix/ |
nice.c | 34 errno = 0; 35 if (nice(TT.priority)==-1 && errno) perror_exit("Can't set priority");
|
/prebuilts/ndk/r16/sources/cxx-stl/system/include/ |
cerrno | 34 * Standard C++ Library wrapper around the C errno.h header file. 36 #include <errno.h> 38 // errno is a macro, so we can't define std::errno
|
/bionic/tests/libs/ |
ld_preload_test_helper.cpp | 17 #include <errno.h>
|
/external/ltp/testcases/kernel/containers/share/ |
setns_check.c | 28 if (syscall(__NR_setns, -1, 0) == -1 && errno == ENOSYS)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlock/ |
5-1.c | 16 #include <errno.h> 33 if (result == 0 && errno == 0) { 36 } else if (errno == 0) { 39 } else if (errno == EPERM) {
|
8-1.c | 10 * Test that the mlock() function sets errno = ENOMEM if some or all of the 20 #include <errno.h> 33 if (errno) { 41 if (result == -1 && errno == ENOMEM) { 44 } else if (errno == EPERM) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/ |
7-1.c | 16 #include <errno.h> 33 if (errno == EPERM) { 43 if (result == 0 && errno == 0) { 46 } else if (errno == 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
4-2.c | 19 * sem_unlink will return -1 and set errno to ENOENT when the named semaphore 44 #include <errno.h> 99 if (errno != ENOENT) { 100 output("Error %d: %s\n", errno, strerror(errno));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
30-1.c | 19 * sigaction returns -1 and errno is set to EINVAL if signal number is invalid 46 #include <errno.h> 124 if (errno != EINVAL) { 126 errno, strerror(errno), EINVAL, strerror(EINVAL)); 141 if (errno != EINVAL) { 143 errno, strerror(errno), EINVAL, strerror(EINVAL)); 158 if (errno != EINVAL) { 160 errno, strerror(errno), EINVAL, strerror(EINVAL)) [all...] |
/system/core/base/ |
errors_unix.cpp | 19 #include <errno.h>
|
/bionic/libc/bionic/ |
faccessat.cpp | 31 #include <errno.h> 41 errno = EINVAL; 55 errno = EINVAL;
|
/bionic/tests/ |
nl_types_test.cpp | 19 #include <errno.h> 28 errno = 0; 30 ASSERT_EQ(EBADF, errno);
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
bind.c | 39 In the case of an error, ::errno contains more information.
52 pSocketProtocol = BslFdToSocketProtocol ( s, NULL, &errno );
59 &errno );
63 BindStatus = ( 0 == errno ) ? 0 : -1;
|
listen.c | 34 In the case of an error, ::errno contains more details.
46 pSocketProtocol = BslFdToSocketProtocol ( s, NULL, &errno );
51 &errno );
54 ListenStatus = ( 0 == errno ) ? 0 : -1;
|