HomeSort by relevance Sort by last modified time
    Searched refs:errno (Results 151 - 175 of 9577) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
2-2.c 5 #include <errno.h>
41 if (ESRCH == errno) {
45 ("kill() failed on ESRCH errno not set correctly\n");
61 if (EPERM == errno) {
65 ("kill() failed on EPERM errno not set correctly\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munlock/
10-1.c 10 * Test that the munlock() function sets errno = ENOMEM if some or all of the
20 #include <errno.h>
33 if (errno) {
41 if (result == -1 && errno == ENOMEM) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
1-1.c 16 #include <errno.h>
29 if (result == 0 && param.sched_priority != -1 && errno == 0) {
39 if (errno != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
3-2.c 46 #include <errno.h>
104 UNRESOLVED(errno, "Failed to open shared memory segment");
111 UNRESOLVED(errno, "Failed to size the shared memory segment");
120 UNRESOLVED(errno, "Failed to mmap the shared memory segment");
129 UNRESOLVED(errno, "Failed to init the semaphore");
136 UNRESOLVED(errno, "Failed to fork");
145 UNRESOLVED(errno, "Failed to post the semaphore");
155 } while (ret != 0 && errno == EINTR);
158 UNRESOLVED(errno, "Failed to wait for the semaphore");
165 UNRESOLVED(errno, "Waitpid returned the wrong PID")
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/
3-1.c 19 * sem_unlink will return -1 and set errno to EACCESS if the process has not
52 #include <errno.h>
114 if (errno == EPERM) {
142 if ((sem == SEM_FAILED) && (errno == EEXIST)) {
148 UNRESOLVED(errno, "Failed to create the semaphore");
155 UNRESOLVED(errno, "Failed to fork");
165 errno, strerror(errno));
185 if (errno != EACCES) {
188 errno, strerror(errno))
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
41-1.c 10 * Test that the shm_open() function sets errno = ENOENT if O_CREAT is not set
18 #include <errno.h>
28 if (result != 0 && errno != ENOENT) {
37 if (fd == -1 && errno == ENOENT) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/
3-1.c 12 * errno to EINVAL
19 #include <errno.h>
32 if (ret != -1 || errno != EINVAL) {
34 printf("Failed sighold(%i) ret=%i errno=%i\n",
35 sigs[i], ret, errno);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/
5-1.c 12 * return -1 and set errno to EINVAL
18 #include <errno.h>
31 if (ret != -1 || errno != EINVAL) {
33 printf("Failed sigignore(%i) ret=%i errno=%i\n",
34 sigs[i], ret, errno);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/
3-1.c 12 * return -1 and set errno to EINVAL
21 #include <errno.h>
35 if (ret != -1 || errno != EINVAL) {
37 printf("Failed sigrelse(%i) ret=%i errno=%i\n",
38 sigs[i], ret, errno);
  /external/strace/
string_to_uint.c 32 #include <errno.h>
49 errno = 0;
53 || (val == LLONG_MAX && errno == ERANGE))
  /external/syslinux/com32/lib/
fread.c 5 #include <errno.h>
18 if (errno == EINTR || errno == EAGAIN)
fwrite.c 5 #include <errno.h>
18 if (errno == EINTR || errno == EAGAIN)
  /system/core/base/include/android-base/
parsedouble.h 20 #include <errno.h>
34 errno = 0;
37 if (errno != 0 || s == end || *end != '\0') {
  /system/core/libnetutils/
dhcptool.c 18 #include <errno.h>
34 err(errno, "dhcptool %s: ifc_init failed", interface);
41 err(errno, "dhcptool %s: do_dhcp failed", interface);
  /bionic/libc/bionic/
futimens.cpp 29 #include <errno.h>
isatty.c 31 #include <errno.h>
  /bionic/tests/
sys_random_test.cpp 34 #include <errno.h>
52 errno = 0;
54 ASSERT_EQ(EFAULT, errno);
65 errno = 0;
67 ASSERT_EQ(EIO, errno);
88 errno = 0;
90 ASSERT_EQ(EFAULT, errno);
98 errno = 0;
101 ASSERT_EQ(EINVAL, errno);
sys_sem_test.cpp 31 #include <errno.h>
37 if (semctl(-1, 0, IPC_RMID) == -1 && errno == ENOSYS) {
64 errno = 0;
66 ASSERT_EQ(EAGAIN, errno);
79 errno = 0;
81 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS);
85 errno = 0;
87 ASSERT_TRUE(errno == EINVAL || errno == ENOSYS)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
connect.c 50 In the case of an error, ::errno contains more details.
71 &errno );
82 errno = 0;
86 &errno );
93 ConnectStatus = (0 == errno) ? 0 : -1;
  /external/compiler-rt/test/tsan/
mmap_stress.cc 3 #include <errno.h>
13 exit(printf("mmap failed: %d\n", errno));
16 exit(printf("munmap failed: %d\n", errno));
26 exit(printf("pthread_create failed: %d\n", errno));
30 exit(printf("pthread_join failed: %d\n", errno));
40 exit(printf("pthread_create failed: %d\n", errno));
44 exit(printf("pthread_join failed: %d\n", errno));
57 exit(printf("pthread_create failed: %d\n", errno));
61 exit(printf("pthread_join failed: %d\n", errno));
  /external/dhcpcd-6.8.2/compat/
strtoi.c 28 #include <errno.h>
48 serrno = errno;
49 errno = 0;
51 *rstatus = errno;
52 errno = serrno;
88 serrno = errno;
89 errno = 0;
91 *rstatus = errno;
92 errno = serrno;
  /external/libchrome/base/posix/
eintr_wrapper.h 23 #include <errno.h>
31 } while (eintr_wrapper_result == -1 && errno == EINTR); \
42 } while (eintr_wrapper_result == -1 && errno == EINTR && \
53 if (eintr_wrapper_result == -1 && errno == EINTR) { \
  /external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/
ipc_unmuxed.c 14 #include <errno.h>
27 errno = 0; \
29 printf("\treturned %d, errno %d\n", rc, errno); \
30 return errno == ENOSYS; \
  /external/ltp/include/old/
ltp_signal.h 32 #include <errno.h>
  /external/ltp/lib/tests/
tst_strerrno.c 24 #include <errno.h>

Completed in 327 milliseconds

1 2 3 4 5 67 8 91011>>