/bionic/tests/ |
D | sys_prctl_test.cpp | 83 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in TEST() local 84 EXPECT_EQ(0, err); in TEST() 92 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0); in TEST() 93 EXPECT_EQ(-1, err); in TEST() 96 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0); in TEST() 97 EXPECT_EQ(0, err); in TEST() 99 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0); in TEST() 100 EXPECT_EQ(0, err); in TEST() 103 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0); in TEST() 104 EXPECT_EQ(-1, err); in TEST() [all …]
|
D | netdb_test.cpp | 199 int err; in TEST() local 200 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() 210 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 221 int err; in TEST() local 222 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() 232 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 250 int err; in TEST() local 251 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() 261 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 272 int err; in TEST() local [all …]
|
D | clang_fortify_tests.cpp | 109 if (stdin_saved < 0) err(1, "failed to dup stdin"); in SetUp() 112 if (devnull < 0) err(1, "failed to open /dev/null"); in SetUp() 114 if (!dup2(devnull, STDIN_FILENO)) err(1, "failed to overwrite stdin"); in SetUp() 432 if (pipe(pipe_fds)) err(1, "pipe failed"); in FORTIFY_TEST() 435 if (close(pipe_fds[1])) err(1, "close failed"); in FORTIFY_TEST()
|
D | fdtrack_test.cpp | 224 err(1, "pipe failed"); 232 err(1, "pipe failed"); 240 err(1, "socketpair failed");
|
D | sys_ptrace_test.cpp | 382 err(1, "failed to create pipe"); in PtraceResumptionTest() 388 err(1, "failed to create pipe"); in PtraceResumptionTest() 393 err(1, "failed to fork worker"); in PtraceResumptionTest() 402 err(1, "prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY) failed for pid %d", getpid()); in PtraceResumptionTest()
|
D | leak_test.cpp | 93 err(1, "failed to parse maps"); in GetMappingSize()
|
/bionic/benchmarks/ |
D | unistd_benchmark.cpp | 52 std::string err = android::base::StringPrintf("Fork failed: %s", strerror(errno)); in BM_unistd_fork_call() local 53 state.SkipWithError(err.c_str()); in BM_unistd_fork_call() 58 std::string err = android::base::StringPrintf("waitpid call failed: %s", strerror(errno)); in BM_unistd_fork_call() local 59 state.SkipWithError(err.c_str()); in BM_unistd_fork_call() 61 std::string err = android::base::StringPrintf( in BM_unistd_fork_call() local 63 state.SkipWithError(err.c_str()); in BM_unistd_fork_call()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fvwrite.c | 88 goto err; in __sfvwrite() 118 goto err; in __sfvwrite() 138 goto err; in __sfvwrite() 143 goto err; in __sfvwrite() 178 goto err; in __sfvwrite() 182 goto err; in __sfvwrite() 192 goto err; in __sfvwrite() 201 err: in __sfvwrite()
|
D | vasprintf.c | 41 goto err; in vasprintf() 45 goto err; in vasprintf() 53 goto err; in vasprintf() 59 err: in vasprintf()
|
/bionic/libc/dns/resolv/ |
D | herror.c | 127 hstrerror(int err) { in hstrerror() argument 128 if (err < 0) in hstrerror() 130 else if (err < h_nerr) in hstrerror() 131 return (h_errlist[err]); in hstrerror()
|
/bionic/libc/upstream-freebsd/lib/libc/gen/ |
D | glob.c | 535 int err; in glob0() local 600 if ((err = glob1(patbuf, pglob, limit)) != 0) in glob0() 601 return(err); in glob0() 722 int err, too_long, saverrno, saverrno2; in glob3() local 743 err = err_aborted(pglob, errno, buf); in glob3() 746 return (err); in glob3() 749 err = 0; in glob3() 769 err = GLOB_NOSPACE; in glob3() 796 if (too_long && (err = err_aborted(pglob, ENAMETOOLONG, in glob3() 808 err = glob2(pathbuf, --dc, pathend_last, restpattern, in glob3() [all …]
|
/bionic/tools/versioner/src/ |
D | VFS.cpp | 43 err(1, "failed to open directory %s", path.c_str()); in addDirectoryToVFS() 54 err(1, "failed to open header '%s'", file_path); in addDirectoryToVFS() 86 err(1, "failed to open %s", header_path.c_str()); in createCommonVFS()
|
D | Utils.cpp | 35 err(1, "getcwd failed"); in getWorkingDir() 49 err(1, "failed to open directory '%s'", directory.c_str()); in collectHeaders()
|
D | versioner.cpp | 76 err(1, "sched_getaffinity failed"); in getCpuCount() 112 err(1, "failed to open dependency directory '%s'", dir_path.c_str()); in collectRequirements() 126 err(1, "failed to stat dependency '%s'", dependency.c_str()); in collectRequirements() 221 err(1, "failed to create temporary file"); in compileHeaders() 540 err(1, "failed to stat platform directory '%s'", platform_dir.c_str()); in main() 621 err(1, "failed to get realpath for path '%s'", argv[optind]); in main() 651 err(1, "failed to stat '%s'", path); in main()
|
D | Preprocessor.cpp | 126 err(1, "failed to create directory '%s'", dirname(path).c_str()); in writeFileLines() 436 err(1, "failed to open directory %s", src_dir.c_str()); in preprocessHeaders() 442 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | err.c | 35 err(int eval, const char *fmt, ...) in err() function 43 DEF_WEAK(err);
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 339 const int err = foreach_property(to_prop_bt(&trie->left), propfn, cookie); in foreach_property() local 340 if (err < 0) return false; in foreach_property() 350 const int err = foreach_property(to_prop_bt(&trie->children), propfn, cookie); in foreach_property() local 351 if (err < 0) return false; in foreach_property() 355 const int err = foreach_property(to_prop_bt(&trie->right), propfn, cookie); in foreach_property() local 356 if (err < 0) return false; in foreach_property()
|
/bionic/libc/tzcode/ |
D | localtime.c | 433 int err = nread < 0 ? errno : EINVAL; in tzloadbody() local 435 return err; in tzloadbody() 693 int err = tzloadbody(name, sp, doextend, lsp); in tzload() local 695 return err; in tzload() 1272 int err = tzload(name, sp, true); in zoneinit() local 1273 if (err != 0 && name && name[0] != ':' && tzparse(name, sp, false)) in zoneinit() 1274 err = 0; in zoneinit() 1275 if (err == 0) in zoneinit() 1277 return err; in zoneinit() 1358 int err = zoneinit(sp, name); in tzalloc() local [all …]
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
D | sigcontext.h | 120 __u32 err; member 153 __u64 err; member 177 __u32 err; member 214 __u64 err; member
|
/bionic/libc/kernel/uapi/linux/ |
D | uhid.h | 83 __u16 err; member 96 __u16 err; member 133 __u16 err; member
|
D | cn_proc.h | 43 __u32 err; member
|
/bionic/libc/bionic/ |
D | bionic_netlink.cpp | 84 nlmsgerr* err = reinterpret_cast<nlmsgerr*>(NLMSG_DATA(hdr)); in ReadResponses() local 85 errno = (hdr->nlmsg_len >= NLMSG_LENGTH(sizeof(nlmsgerr))) ? -err->error : EIO; in ReadResponses()
|
/bionic/libc/include/ |
D | err.h | 53 __noreturn void err(int __status, const char* __fmt, ...) __printflike(2, 3);
|
/bionic/libc/kernel/uapi/xen/ |
D | privcmd.h | 51 int __user * err; member
|
/bionic/libc/dns/nameser/ |
D | ns_parse.c | 51 #define RETERR(err) do { errno = (err); return (-1); } while (/*NOTREACHED*//*CONSTCOND*/0) argument
|