Searched refs:errno (Results 26 - 50 of 2487) sorted by relevance

1234567891011>>

/external/strace/test/
H A Dmmap_offset_decode.c24 #include <errno.h>
30 return errno != 0;
/external/tcpdump/missing/
H A Dinet_pton.c48 #include <errno.h>
54 errno = EAFNOSUPPORT;
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf_policy.cc7 #include <errno.h>
/external/bison/lib/
H A Dclose-stream.c22 #include <errno.h>
31 /* Close STREAM. Return 0 if successful, EOF (setting errno)
32 otherwise. A failure might set errno to 0 if the error number
35 A failure with errno set to EPIPE may or may not indicate an error
70 if (prev_fail || (fclose_fail && (some_pending || errno != EBADF)))
73 errno = 0;
H A Dfd-safer-flag.c26 #include <errno.h>
32 semantics. On failure to duplicate, close FD, set errno, and
33 return -1. Preserve errno if FD is negative, so that the caller
34 can always inspect errno when the returned value is negative.
45 int e = errno;
47 errno = e;
H A Dfd-safer.c24 #include <errno.h>
29 failure to duplicate, close FD, set errno, and return -1. Preserve
30 errno if FD is negative, so that the caller can always inspect
31 errno when the returned value is negative.
42 int e = errno;
44 errno = e;
H A Dpipe2-safer.c25 #include <errno.h>
42 int e = errno;
44 errno = e;
H A Dfopen-safer.c24 #include <errno.h>
45 int e = errno;
47 errno = e;
54 int e = errno;
56 errno = e;
H A Dcloseout.c23 #include <errno.h>
110 && !(ignore_EPIPE && errno == EPIPE))
114 error (0, errno, "%s: %s", quotearg_colon (file_name),
117 error (0, errno, "%s", write_error);
H A Ddup2.c25 #include <errno.h>
55 errno = EBADF;
65 errno = EBADF;
75 errno = EBADF;
105 /* Correct an errno value on FreeBSD 6.1 and Cygwin 1.5.x. */
106 if (result == -1 && errno == EMFILE)
107 errno = EBADF;
129 int e = errno;
131 errno = e;
153 if (result == -1 && (errno
[all...]
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_util.h8 #include <errno.h>
16 // return errno;
23 return result < 0 ? errno : 0;
30 // return errno;
43 return errno;
/external/e2fsprogs/lib/e2p/
H A Dgetversion.c20 #include <errno.h>
35 extern int errno;
36 errno = EOPNOTSUPP;
/external/libpcap/Win32/Src/
H A Dinet_pton.c46 #include <errno.h>
50 #define EAFNOSUPPORT 97 /* not present in errno.h provided with VC */
56 #define errno (*_errno()) macro
67 errno = EAFNOSUPPORT;
/external/stlport/stlport/
H A Derrno.h26 # pragma message("eMbedded Visual C++ 3 and .NET don't have a errno.h header; STLport won't include native errno.h here")
29 # ifndef errno
33 # include_next <errno.h>
35 # include _STLP_NATIVE_C_HEADER(errno.h)
42 # endif /* errno */
45 /* If errno has been defined before inclusion of native errno.h including it from STLport errno.h
47 * #define errno fo
[all...]
/external/valgrind/main/none/tests/
H A Dthreadederrno.c4 #include <errno.h>
11 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
18 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
30 printf("f = %ld, errno = %d (%s)\n", (long)f, errno, strerror(errno));
[all...]
H A Dthreadederrno.stdout.exp1 f = 0, errno = 2 (No such file or directory)
2 f = 0, errno = 2 (No such file or directory)
3 f = 0, errno = 2 (No such file or directory)
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_posix.c23 #include <errno.h>
36 usbi_dbg("Failed to get pipe fd flags: %d", errno);
41 usbi_dbg("Failed to set non-blocking on new pipe: %d", errno);
/external/compiler-rt/test/tsan/
H A Dignore_lib1.cc16 #include <errno.h>
24 exit(printf("failed to load the library (%d)\n", errno));
27 exit(printf("failed to find the func (%d)\n", errno));
/external/chromium_org/base/posix/
H A Deintr_wrapper.h23 #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/chromium_org/content/browser/download/
H A Dbase_file_posix.cc23 return LogSystemError("WriteFile", errno);
28 LogSystemError("stat", errno);
31 return LogSystemError("Move", errno);
37 LogSystemError("chmod", errno);
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dsem_open.c56 errno = ENOSYS;
/external/libselinux/src/
H A Dfreecon.c4 #include <errno.h>
/external/qemu/distrib/libselinux/src/
H A Dfreecon.c4 #include <errno.h>
/external/chromium_org/third_party/boringssl/src/crypto/
H A Ddirectory_posix.c37 #include <errno.h>
42 errno = 0;
47 if (errno) {
63 errno = EINVAL;
67 errno = 0;
71 errno = ENOMEM;
78 int save_errno = errno; /* Probably not needed, but I'm paranoid */
81 errno = save_errno;
102 errno = EINVAL;
/external/valgrind/main/memcheck/tests/
H A Dwritev1.c5 #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
[all...]

Completed in 615 milliseconds

1234567891011>>