Searched refs:err (Results 1 - 25 of 63) sorted by relevance

123

/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Derr.c1 /* $OpenBSD: err.c,v 1.12 2015/08/31 02:53:57 guenther Exp $ */
31 #include <err.h>
35 err(int eval, const char *fmt, ...) function
43 DEF_WEAK(err); variable
H A Dwarn.c31 #include <err.h>
H A Dwarnx.c31 #include <err.h>
H A Derrx.c31 #include <err.h>
H A Dverrx.c31 #include <err.h>
H A Dvwarnx.c31 #include <err.h>
H A Dverr.c31 #include <err.h>
H A Dvwarn.c31 #include <err.h>
/bionic/tests/
H A Dsys_prctl_test.cpp79 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); local
80 EXPECT_EQ(0, err);
88 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0);
89 EXPECT_EQ(-1, err);
92 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0);
93 EXPECT_EQ(0, err);
95 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0);
96 EXPECT_EQ(0, err);
99 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0);
100 EXPECT_EQ(-1, err);
[all...]
H A Dnetdb_test.cpp199 int err; local
200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err);
210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err);
221 int err; local
222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err);
232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err);
250 int err; local
251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err);
261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err);
272 int err; local
283 int err; local
295 int err; local
306 int err; local
317 int err; local
329 int err; local
[all...]
H A Dleak_test.cpp17 #include <err.h>
90 err(1, "failed to parse maps");
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvasprintf.c38 goto err;
42 goto err;
46 goto err;
50 err:
H A Dfvwrite.c87 goto err;
118 goto err;
138 goto err;
143 goto err;
178 goto err;
182 goto err;
192 goto err;
201 err:
/bionic/libc/dns/resolv/
H A Dherror.c127 hstrerror(int err) { argument
128 if (err < 0)
130 else if (err < h_nerr)
131 return (h_errlist[err]);
/bionic/tools/versioner/src/
H A DVFS.cpp17 #include <err.h>
43 err(1, "failed to open directory %s", path.c_str());
54 err(1, "failed to open header '%s'", file_path);
86 err(1, "failed to open %s", header_path.c_str());
H A DUtils.cpp19 #include <err.h>
35 err(1, "getcwd failed");
49 err(1, "failed to open directory '%s'", directory.c_str());
H A DArch.cpp19 #include <err.h>
/bionic/libc/include/
H A Derr.h1 /* $OpenBSD: err.h,v 1.10 2006/01/06 18:53:04 millert Exp $ */
2 /* $NetBSD: err.h,v 1.11 1994/10/26 00:55:52 cgd Exp $ */
32 * @(#)err.h 8.1 (Berkeley) 6/2/93
44 __noreturn void err(int __status, const char* __fmt, ...) __printflike(2, 3);
/bionic/tools/versioner/current/
H A Derr.h1 /* $OpenBSD: err.h,v 1.10 2006/01/06 18:53:04 millert Exp $ */
2 /* $NetBSD: err.h,v 1.11 1994/10/26 00:55:52 cgd Exp $ */
32 * @(#)err.h 8.1 (Berkeley) 6/2/93
44 __noreturn void err(int __status, const char* __fmt, ...) __printflike(2, 3);
/bionic/libc/bionic/
H A Dbionic_netlink.cpp88 nlmsgerr* err = reinterpret_cast<nlmsgerr*>(NLMSG_DATA(hdr)); local
89 errno = (hdr->nlmsg_len >= NLMSG_LENGTH(sizeof(nlmsgerr))) ? -err->error : EIO;
/bionic/libc/kernel/uapi/linux/
H A Duhid.h83 __u16 err; member in struct:uhid_get_report_reply_req
96 __u16 err; member in struct:uhid_set_report_reply_req
133 __u16 err; member in struct:uhid_feature_answer_req
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Duhid.h83 __u16 err; member in struct:uhid_get_report_reply_req
96 __u16 err; member in struct:uhid_set_report_reply_req
133 __u16 err; member in struct:uhid_feature_answer_req
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Duhid.h83 __u16 err; member in struct:uhid_get_report_reply_req
96 __u16 err; member in struct:uhid_set_report_reply_req
133 __u16 err; member in struct:uhid_feature_answer_req
/bionic/libc/system_properties/
H A Dprop_area.cpp339 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie); local
340 if (err < 0) return false;
350 const int err = foreach_property(to_prop_bt(&trie->children), propfn, cookie); local
351 if (err < 0) return false;
355 const int err = foreach_property(to_prop_bt(&trie->right), propfn, cookie); local
356 if (err < 0) return false;
/bionic/libc/upstream-freebsd/lib/libc/gen/
H A Dglob.c535 int err; local
600 if ((err = glob1(patbuf, pglob, limit)) != 0)
601 return(err);
722 int err, too_long, saverrno, saverrno2; local
743 err = err_aborted(pglob, errno, buf);
746 return (err);
749 err = 0;
769 err = GLOB_NOSPACE;
796 if (too_long && (err = err_aborted(pglob, ENAMETOOLONG,
808 err
1099 err_aborted(glob_t *pglob, int err, char *buf) argument
[all...]

Completed in 2736 milliseconds

123