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

<<11121314151617181920>>

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
3-1.c 16 #include <errno.h>
35 errno, strerror(errno));
57 if (result == -1 && errno == ESRCH) {
62 if (errno != ESRCH) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
25-4.c 11 * Test that sched_setparam() sets errno == EINVAL when the sched_ss_max_repl
18 #include <errno.h>
43 } else if (errno == EPERM) {
47 } else if (errno != EINVAL) {
56 if (result == -1 && errno == EINVAL) {
65 } else if (errno == EPERM) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
19-4.c 11 * Test that sched_setscheduler() sets errno == EINVAL when
19 #include <errno.h>
48 } else if (errno == EPERM) {
52 } else if (errno != EINVAL) {
61 if (result == -1 && errno == EINVAL) {
70 } else if (errno == EPERM) {
  /external/netcat/
atomicio.c 31 #include <errno.h>
54 if (errno == EINTR)
56 if ((errno == EAGAIN) || (errno == ENOBUFS)) {
62 errno = EPIPE;
  /external/valgrind/none/tests/solaris/
posix_spawn.c 4 #include <errno.h>
20 errno = err;
27 errno = err;
37 errno = err;
47 errno = err;
  /external/valgrind/none/tests/
syscall-restart1.c 4 #include <errno.h>
46 if (ret != -1 || errno != EINTR)
48 ret, strerror(errno), ch);
56 if (write(fds[1], "x", 1) != -1 || errno != EPIPE)
57 fprintf(stderr, "FAIL: expected write to fail with EPIPE, not %d\n", errno);
  /external/webrtc/webrtc/base/
linuxfdwalk.c 13 #include <errno.h>
46 // Have to clear errno to distinguish readdir() completion from failure.
47 while (errno = 0, (ent = readdir(dir)) != NULL) {
64 int saved_errno = errno;
73 errno = saved_errno;
76 errno = EBADF;
  /system/core/liblog/
log_ratelimit.cpp 17 #include <errno.h>
42 // on to that. Preserves value of non-zero errno. Return -1 if we
46 int save_errno = errno;
55 if (save_errno) errno = save_errno;
79 if (save_errno) errno = save_errno;
84 if (save_errno) errno = save_errno;
  /system/core/trusty/libtrusty/
trusty.c 19 #include <errno.h>
39 rc = -errno;
41 __func__, dev_name, strerror(errno));
47 rc = -errno;
49 __func__, srv_name, errno);
  /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/InteractiveIO/
TerminalFunctions.c 18 #include <errno.h>
71 @retval -1 An error occured and errno is set to indicate the error.
89 errno = EINVAL;
104 @retval -1 An error occured and errno is set to indicate the error.
122 errno = EINVAL;
137 @retval -1 An error occured and errno is set to indicate the error.
163 errno = ENOTTY;
168 errno = EBADF;
194 @retval -1 An error occured and errno is set to indicate the error.
221 errno = ENOTTY;
    [all...]
  /external/strace/tests/
test_ucopy.c 33 #include <errno.h>
110 errno = 0;
113 if (errno == EINTR)
115 saved = errno;
117 errno = saved;
135 errno = 0;
138 saved = errno;
141 saved = errno;
143 errno = saved;
149 errno = saved
    [all...]
  /external/strace/tests-m32/
test_ucopy.c 33 #include <errno.h>
110 errno = 0;
113 if (errno == EINTR)
115 saved = errno;
117 errno = saved;
135 errno = 0;
138 saved = errno;
141 saved = errno;
143 errno = saved;
149 errno = saved
    [all...]
  /external/strace/tests-mx32/
test_ucopy.c 33 #include <errno.h>
110 errno = 0;
113 if (errno == EINTR)
115 saved = errno;
117 errno = saved;
135 errno = 0;
138 saved = errno;
141 saved = errno;
143 errno = saved;
149 errno = saved
    [all...]
  /external/libdaemon/libdaemon/
dpid.c 36 #include <errno.h>
85 if (enable && errno == EBADF) {
92 daemon_log(LOG_WARNING, "fcntl(F_SETLKW) failed: %s", strerror(errno));
109 errno = EINVAL;
115 if (errno != ENOENT)
116 daemon_log(LOG_WARNING, "Failed to open PID file: %s", strerror(errno));
126 int saved_errno = errno;
127 daemon_log(LOG_WARNING, "read(): %s", strerror(errno));
129 errno = saved_errno;
136 errno = 0
    [all...]
  /external/ltp/testcases/kernel/io/direct_io/
diotest4.c 67 #include <errno.h>
104 if (errno != errnum) {
106 strerror(errno));
110 errno = 0;
112 if (ret >= 0 || errno != errnum) {
114 msg, ret, strerror(errno));
119 if (errno != errnum) {
121 strerror(errno));
125 errno = 0;
127 if (ret >= 0 || errno != errnum)
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
ns_name.c 63 #include <errno.h>
85 * Number of bytes written to buffer, or -1 (with errno set)
104 errno = EMSGSIZE;
109 errno = EMSGSIZE;
115 errno = EMSGSIZE;
122 errno = EMSGSIZE;
129 errno = EMSGSIZE;
138 errno = EMSGSIZE;
147 errno = EMSGSIZE;
153 errno = EMSGSIZE;
    [all...]
  /external/linux-kselftest/tools/testing/selftests/timers/
rtctest.c 22 #include <errno.h>
120 exit(errno);
135 if (errno == EINVAL) {
141 exit(errno);
152 exit(errno);
171 exit(errno);
177 exit(errno);
188 exit(errno);
196 exit(errno);
218 if (errno == EINVAL)
    [all...]
  /external/linux-kselftest/tools/testing/selftests/breakpoints/
step_after_suspend_test.c 17 #include <errno.h>
41 strerror(errno));
47 strerror(errno));
52 ksft_print_msg("raise(SIGSTOP) failed: %s\n", strerror(errno));
66 ksft_print_msg("fork() failed: %s\n", strerror(errno));
74 ksft_print_msg("waitpid() failed: %s\n", strerror(errno));
78 ksft_print_msg("child did not stop: %s\n", strerror(errno));
83 strerror(errno));
88 if (errno == EIO) {
91 strerror(errno));
    [all...]
  /toolchain/binutils/binutils-2.27/libiberty/
pex-djgpp.c 25 #include <errno.h>
27 extern int errno;
135 *err = errno;
141 *err = errno;
147 *err = errno;
158 *err = errno;
164 *err = errno;
170 *err = errno;
182 *err = errno;
189 *err = errno;
    [all...]
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
tempnam.c 31 #include <errno.h>
58 errno = ENAMETOOLONG;
70 errno = ENAMETOOLONG;
80 errno = ENAMETOOLONG;
89 errno = ENAMETOOLONG;
96 sverrno = errno;
98 errno = sverrno;
vswprintf.c 31 #include <errno.h>
51 errno = EINVAL;
60 errno = ENOMEM;
66 sverrno = errno;
68 errno = sverrno;
86 errno = EILSEQ;
91 errno = EOVERFLOW;
  /device/generic/goldfish/include/
qemud.h 57 D("QEMUD pipe is not available for %s: %s", name, strerror(errno));
63 D("no qemud control socket: %s", strerror(errno));
70 strerror(errno));
99 D("can't write qemud frame header: %s", strerror(errno));
104 D("can4t write qemud frame payload: %s", strerror(errno));
117 D("can't read qemud frame header: %s", strerror(errno));
129 D("can't read qemud frame payload: %s", strerror(errno));
  /device/google/contexthub/firmware/lib/libm/
wf_exp.c 21 #include <errno.h>
65 errno = ERANGE;
67 errno = ERANGE;
70 errno = exc.err;
80 errno = ERANGE;
82 errno = ERANGE;
85 errno = exc.err;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
getcwd.c 6 #include <errno.h>
33 errno = EINVAL;
38 errno = ERANGE;
42 errno = EACCES; /* Most likely error */
63 errno = EINVAL;
69 errno = EACCES; /* Most likely error */
74 errno = ERANGE;
  /device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RecvDgram/
RecvDgram.c 15 #include <errno.h>
62 Print ( L"ERROR - Unable to open the socket, errno: %d\r\n", errno );
73 Print ( L"ERROR - Unable to set the receive timeout, errno: %d\r\n", errno );
84 if ( ETIMEDOUT == errno ) {
88 Print ( L"ERROR - No datagram received, errno: %d\r\n", errno );
112 "%a exiting, errno: %d\r\n",
114 errno ));
    [all...]

Completed in 465 milliseconds

<<11121314151617181920>>