/bionic/tests/ |
D | ftw_test.cpp | 31 static void MakeTree(const char* root) { in MakeTree() argument 34 snprintf(path, sizeof(path), "%s/dir", root); in MakeTree() 36 snprintf(path, sizeof(path), "%s/dir/sub", root); in MakeTree() 38 snprintf(path, sizeof(path), "%s/unreadable-dir", root); in MakeTree() 41 snprintf(path, sizeof(path), "%s/dangler", root); in MakeTree() 43 snprintf(path, sizeof(path), "%s/symlink", root); in MakeTree() 47 snprintf(path, sizeof(path), "%s/regular", root); in MakeTree() 104 TemporaryDir root; in TEST() local 105 MakeTree(root.dirname); in TEST() 106 ASSERT_EQ(0, ftw(root.dirname, check_ftw, 128)); in TEST() [all …]
|
D | search_test.cpp | 79 void* root = nullptr; in TEST() local 86 ASSERT_EQ(nullptr, tfind(&n1, &root, node_cmp)); in TEST() 87 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); in TEST() 88 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); in TEST() 91 void* i1 = tsearch(&n1, &root, node_cmp); in TEST() 95 ASSERT_EQ(i1, tfind(&n1, &root, node_cmp)); in TEST() 96 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp)); in TEST() 97 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp)); in TEST() 100 ASSERT_NE(nullptr, tsearch(&n2, &root, node_cmp)); in TEST() 101 ASSERT_NE(nullptr, tsearch(&n3, &root, node_cmp)); in TEST() [all …]
|
D | malloc_test.cpp | 330 auto root = doc.FirstChildElement(); in TEST() local 331 ASSERT_NE(nullptr, root); in TEST() 332 ASSERT_STREQ("malloc", root->Name()); in TEST() 333 ASSERT_STREQ("jemalloc-1", root->Attribute("version")); in TEST() 335 auto arena = root->FirstChildElement(); in TEST()
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | tsearch.c | 95 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) in trecurse() argument 97 if (root->left == (struct node_t *)0 && root->right == (struct node_t *)0) in trecurse() 98 (*action)(root, leaf, level); in trecurse() 100 (*action)(root, preorder, level); in trecurse() 101 if (root->left != (struct node_t *)0) in trecurse() 102 trecurse(root->left, action, level + 1); in trecurse() 103 (*action)(root, postorder, level); in trecurse() 104 if (root->right != (struct node_t *)0) in trecurse() 105 trecurse(root->right, action, level + 1); in trecurse() 106 (*action)(root, endorder, level); in trecurse() [all …]
|
/bionic/libc/bionic/ |
D | tdestroy.cpp | 23 void tdestroy(void* root, void (*destroy_func)(void*)) { in tdestroy() argument 24 node_t* root_node = reinterpret_cast<node_t*>(root); in tdestroy() 35 free(root); in tdestroy()
|
D | fts.c | 78 FTSENT *p, *root; in fts_open() local 112 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in fts_open() 135 p->fts_link = root; in fts_open() 136 root = p; in fts_open() 139 if (root == NULL) in fts_open() 140 tmp = root = p; in fts_open() 148 root = fts_sort(sp, root, nitems); in fts_open() 157 sp->fts_cur->fts_link = root; in fts_open() 175 mem3: fts_lfree(root); in fts_open()
|
D | malloc_info.cpp | 65 Elem root(fp, "malloc", "version=\"jemalloc-1\""); in malloc_info() local
|
D | system_properties.cpp | 437 prop_bt* root = nullptr; in find_property() local 440 root = to_prop_bt(¤t->children); in find_property() 443 root = new_prop_bt(remaining_name, substr_size, &new_offset); in find_property() 444 if (root) { in find_property() 449 if (!root) { in find_property() 453 current = find_prop_bt(root, remaining_name, substr_size, alloc_if_needed); in find_property()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 37 root = os.environ["ANDROID_BUILD_TOP"] 38 if len(cwd) < len(root) or not root == cwd[:len(root)]: 39 panic("Not in android tree pointed at by ANDROID_BUILD_TOP (%s)\n" % root) 88 for root, dirs, files in os.walk(path): 90 dst = "%s/%s" % (root,f)
|
D | update_all.py | 39 for root, _, files in os.walk(src_dir): 44 src_file = os.path.normpath(os.path.join(root, file))
|
/bionic/libc/kernel/uapi/linux/ |
D | nfs_mount.h | 44 struct nfs3_fh root; member
|
D | adfs_fs.h | 35 __le32 root; member
|
D | cramfs_fs.h | 50 struct cramfs_inode root; member
|
D | btrfs_tree.h | 182 __le64 root; member 195 __le64 root; member
|
/bionic/libc/kernel/uapi/sound/ |
D | sfnt_info.h | 91 short root; member
|
D | asequencer.h | 365 struct snd_seq_addr root; member
|
/bionic/ |
D | README.md | 204 $ adb root && adb remount && adb sync 221 a non-root user, so the unit tests must also pass when not run as root. 222 Some tests cannot do any useful work unless run as root. In this case, 225 rewritten to not require root, that's an even better solution. 237 $ adb unroot # Because real CTS doesn't run as root.
|
/bionic/linker/ |
D | linker.cpp | 746 soinfo* root, in ElfW() 754 walk_dependencies_tree(&root, 1, [&](soinfo* current_soinfo) { in ElfW() 1745 static void soinfo_unload(soinfo* root) { in soinfo_unload() argument 1746 if (root->is_linked()) { in soinfo_unload() 1747 root = root->get_local_group_root(); in soinfo_unload() 1750 ScopedTrace trace((std::string("unload ") + root->get_realpath()).c_str()); in soinfo_unload() 1752 if (!root->can_unload()) { in soinfo_unload() 1753 TRACE("not unloading \"%s\" - the binary is flagged with NODELETE", root->get_realpath()); in soinfo_unload() 1757 soinfo_unload(&root, 1); in soinfo_unload() 1792 soinfo* root = soinfos[0]; in soinfo_unload() local [all …]
|
/bionic/libc/dns/nameser/ |
D | ns_print.c | 130 goto root; in ns_sprintrrf() 139 root: in ns_sprintrrf() 1190 goto root; in addname() 1202 root: in addname()
|
/bionic/libc/malloc_debug/ |
D | README_marshmallow_and_earlier.md | 17 run as root on the device.
|
D | README.md | 15 ability to run as root on the device.
|
/bionic/libc/ |
D | Android.bp | 1807 //TODO: This is to work around b/24465209. Remove after root cause is fixed 1840 //TODO: This is to work around b/24465209. Remove after root cause is fixed 1868 //TODO (dimitry): This is to work around b/24465209. Remove after root cause is fixed
|