/bionic/tests/ |
D | sys_prctl_test.cpp | 78 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in TEST() local 79 EXPECT_EQ(0, err); in TEST() 87 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0); in TEST() 88 EXPECT_EQ(-1, err); in TEST() 91 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0); in TEST() 92 EXPECT_EQ(0, err); in TEST() 94 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0); in TEST() 95 EXPECT_EQ(0, err); in TEST() 98 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0); in TEST() 99 EXPECT_EQ(-1, err); in TEST() [all …]
|
D | netdb_test.cpp | 200 int err; in TEST() local 201 int result = gethostbyname_r("localhost", &hent, buf, sizeof(buf), &hp, &err); in TEST() 211 result = gethostbyname_r("localhost", &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 222 int err; in TEST() local 223 int result = gethostbyname2_r("localhost", AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() 233 result = gethostbyname2_r("localhost", AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 251 int err; in TEST() local 252 int result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent, buf, sizeof(buf), &hp, &err); in TEST() 262 result = gethostbyaddr_r(&addr, sizeof(addr), AF_INET, &hent2, buf2, sizeof(buf2), &hp2, &err); in TEST() 280 int err = 0; in TEST() local [all …]
|
D | fdtrack_test.cpp | 271 err(1, "pipe failed"); 279 err(1, "pipe failed"); 287 err(1, "socketpair failed");
|
D | sys_ptrace_test.cpp | 387 err(1, "failed to create pipe"); in PtraceResumptionTest() 393 err(1, "failed to create pipe"); in PtraceResumptionTest() 398 err(1, "failed to fork worker"); in PtraceResumptionTest() 407 err(1, "prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY) failed for pid %d", getpid()); in PtraceResumptionTest()
|
D | leak_test.cpp | 94 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()
|
D | malloc_map_benchmark.cpp | 55 err(1, "FillInVmaStats failed"); in Gather()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fvwrite.c | 87 goto err; in __sfvwrite() 118 goto err; in __sfvwrite() 138 goto err; in __sfvwrite() 151 goto err; in __sfvwrite() 186 goto err; in __sfvwrite() 190 goto err; in __sfvwrite() 200 goto err; in __sfvwrite() 209 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-openbsd/lib/libc/gen/ |
D | err.c | 35 err(int eval, const char *fmt, ...) in err() function 43 DEF_WEAK(err);
|
/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 | 127 err(1, "failed to create directory '%s'", dirname(path).c_str()); in writeFileLines() 446 err(1, "failed to open directory %s", src_dir.c_str()); in preprocessHeaders() 452 err(1, "path '%s' doesn't start with source dir '%s'", ent->fts_path, src_dir.c_str()); in preprocessHeaders()
|
/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/libc/kernel/uapi/linux/ |
D | uhid.h | 71 __u16 err; member 84 __u16 err; member 121 __u16 err; member
|
D | cn_proc.h | 38 __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/kernel/uapi/asm-x86/asm/ |
D | sigcontext.h | 108 __u32 err; member 141 __u64 err; member 165 __u32 err; member 202 __u64 err; member
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 342 const int err = foreach_property(to_prop_trie_node(&trie->left), propfn, cookie); in foreach_property() local 343 if (err < 0) return false; in foreach_property() 353 const int err = foreach_property(to_prop_trie_node(&trie->children), propfn, cookie); in foreach_property() local 354 if (err < 0) return false; in foreach_property() 358 const int err = foreach_property(to_prop_trie_node(&trie->right), propfn, cookie); in foreach_property() local 359 if (err < 0) return false; in foreach_property()
|
/bionic/libc/tzcode/ |
D | localtime.c | 487 int err = nread < 0 ? errno : EINVAL; in tzloadbody() local 489 return err; in tzloadbody() 814 int err = tzloadbody(name, sp, doextend, lsp); in tzload() local 816 return err; in tzload() 1445 int err = tzload(name, sp, true); in zoneinit() local 1446 if (err != 0 && name && name[0] != ':' && tzparse(name, sp, NULL)) in zoneinit() 1447 err = 0; in zoneinit() 1448 if (err == 0) in zoneinit() 1449 err = scrub_abbrs(sp); in zoneinit() 1450 return err; in zoneinit() [all …]
|
/bionic/libc/include/ |
D | err.h | 53 __noreturn void err(int __status, const char* _Nullable __fmt, ...) __printflike(2, 3);
|
/bionic/libc/kernel/uapi/xen/ |
D | privcmd.h | 39 int * err; member
|
/bionic/libc/dns/nameser/ |
D | ns_parse.c | 51 #define RETERR(err) do { errno = (err); return (-1); } while (/*NOTREACHED*//*CONSTCOND*/0) argument
|