Searched refs:errno (Results 1 - 25 of 1727) sorted by relevance

1234567891011>>

/external/stlport/test/unit/
H A Derrno_header_test.c8 #include <errno.h>
H A Dtest_errno.cpp2 //those headers contains a errno macro definition without the underlying value
7 #include <errno.h>
8 #include <errno.h> // not typo, check errno def/undef/redef
32 //Using ERANGE improve the test as it means that the native errno.h file has really
34 errno = ERANGE;
36 CPPUNIT_ASSERT( errno == ERANGE );
37 errno = 0;
39 /* Note: in common, you can't write ::errno or std::errno,
[all...]
/external/kernel-headers/original/asm-x86/
H A Derrno.h1 #include <asm-generic/errno.h>
/external/bison/lib/
H A Dget-errno.c1 /* get-errno.c - get and set errno.
25 #include <errno.h>
27 #include "get-errno.h"
29 /* Get and set errno. A source file that needs to set or get errno,
30 but doesn't need to test for specific errno values, can use these
32 defines EQUAL should not include <errno.h>, since <errno.h> might
33 define EQUAL; such a file can include <get-errno
[all...]
H A Dfd-safer.c27 #include <errno.h>
39 failure to duplicate, close FD, set errno, and return -1. Preserve
40 errno if FD is negative, so that the caller can always inspect
41 errno when the returned value is negative.
52 int e = errno;
54 errno = e;
H A Dfopen-safer.c26 #include <errno.h>
51 int e = errno;
53 errno = e;
60 int e = errno;
62 errno = e;
/external/kernel-headers/original/asm-arm/
H A Derrno.h4 #include <asm-generic/errno.h>
/external/e2fsprogs/lib/et/
H A Dinternal.h14 #include <errno.h>
/external/e2fsprogs/lib/e2p/
H A Dsetversion.c18 #include <errno.h>
32 extern int errno;
33 errno = EOPNOTSUPP;
H A Dgetversion.c18 #include <errno.h>
33 extern int errno;
34 errno = EOPNOTSUPP;
/external/openssh/openbsd-compat/
H A Dbsd-statvfs.c21 #include <errno.h>
26 errno = ENOSYS;
34 errno = ENOSYS;
H A Dstrtonum.c27 #include <errno.h>
50 ev[0].err = errno;
51 errno = 0;
58 else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval)
60 else if ((ll == LLONG_MAX && errno == ERANGE) || ll > maxval)
65 errno = ev[error].err;
/external/openssl/crypto/
H A DLPdir_nyi.c35 errno = EINVAL;
40 errno = EINVAL;
/external/kernel-headers/original/linux/
H A Dunistd.h5 extern int errno;
/external/openssh/
H A Dsshconnect.h62 int save_errno = errno; \
65 strerror(errno)); \
66 errno = save_errno; \
70 int save_errno = errno; \
73 strerror(errno)); \
74 errno = save_errno; \
/external/bluetooth/bluez/test/
H A Dtest-textfile.c29 #include <errno.h>
54 return -errno;
59 return -errno;
68 return -errno;
72 fprintf(stderr, "%s (%d)\n", strerror(errno), errno);
76 fprintf(stderr, "%s (%d)\n", strerror(errno), errno);
86 fprintf(stderr, "%s (%d)\n", strerror(errno), errno);
[all...]
/external/chromium/base/
H A Deintr_wrapper.h18 #include <errno.h>
24 } while (__eintr_result__ == -1 && errno == EINTR); \
/external/tcpdump/missing/
H A Dinet_pton.c48 #include <errno.h>
54 errno = EAFNOSUPPORT;
/external/dropbear/
H A Datomicio.c51 if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK)
53 if (errno == EINTR || errno == EAGAIN)
/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/libselinux/src/
H A Dfreecon.c4 #include <errno.h>
/external/bluetooth/glib/glib/
H A Dgstdio.c37 #include <errno.h>
90 errno = EINVAL;
99 save_errno = errno;
103 errno = save_errno;
141 errno = EINVAL;
146 save_errno = errno;
150 errno = save_errno;
198 errno = EINVAL;
203 save_errno = errno;
207 errno
[all...]
/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 1970 milliseconds

1234567891011>>