Home
last modified time | relevance | path

Searched refs:root (Results 1 – 19 of 19) sorted by relevance

/bionic/tests/
Dftw_test.cpp29 static void MakeTree(const char* root) { in MakeTree() argument
32 snprintf(path, sizeof(path), "%s/dir", root); in MakeTree()
34 snprintf(path, sizeof(path), "%s/dir/sub", root); in MakeTree()
36 snprintf(path, sizeof(path), "%s/unreadable-dir", root); in MakeTree()
39 snprintf(path, sizeof(path), "%s/dangler", root); in MakeTree()
41 snprintf(path, sizeof(path), "%s/symlink", root); in MakeTree()
45 snprintf(path, sizeof(path), "%s/regular", root); in MakeTree()
89 TemporaryDir root; in TEST() local
90 MakeTree(root.dirname); in TEST()
91 ASSERT_EQ(0, ftw(root.dirname, check_ftw, 128)); in TEST()
[all …]
Dsearch_test.cpp79 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 …]
Dmalloc_test.cpp340 auto root = doc.FirstChildElement(); in TEST() local
341 ASSERT_NE(nullptr, root); in TEST()
342 ASSERT_STREQ("malloc", root->Name()); in TEST()
343 ASSERT_STREQ("jemalloc-1", root->Attribute("version")); in TEST()
345 auto arena = root->FirstChildElement(); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dtsearch.c96 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) in trecurse() argument
98 if (root->left == (struct node_t *)0 && root->right == (struct node_t *)0) in trecurse()
99 (*action)(root, leaf, level); in trecurse()
101 (*action)(root, preorder, level); in trecurse()
102 if (root->left != (struct node_t *)0) in trecurse()
103 trecurse(root->left, action, level + 1); in trecurse()
104 (*action)(root, postorder, level); in trecurse()
105 if (root->right != (struct node_t *)0) in trecurse()
106 trecurse(root->right, action, level + 1); in trecurse()
107 (*action)(root, endorder, level); in trecurse()
[all …]
/bionic/libc/bionic/
Dtdestroy.cpp23 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()
Dfts.c77 FTSENT *p, *root; in fts_open() local
111 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) { in fts_open()
134 p->fts_link = root; in fts_open()
135 root = p; in fts_open()
138 if (root == NULL) in fts_open()
139 tmp = root = p; in fts_open()
147 root = fts_sort(sp, root, nitems); in fts_open()
156 sp->fts_cur->fts_link = root; in fts_open()
174 mem3: fts_lfree(root); in fts_open()
Dmalloc_info.cpp65 Elem root(fp, "malloc", "version=\"jemalloc-1\""); in malloc_info() local
Dsystem_properties.cpp490 prop_bt* root = NULL; in find_property() local
493 root = to_prop_bt(&current->children); in find_property()
496 root = new_prop_bt(remaining_name, substr_size, &new_offset); in find_property()
497 if (root) { in find_property()
502 if (!root) { in find_property()
506 current = find_prop_bt(root, remaining_name, substr_size, alloc_if_needed); in find_property()
/bionic/libc/kernel/uapi/linux/
Dnfs_mount.h50 struct nfs3_fh root; member
Dadfs_fs.h39 __le32 root; member
Dcramfs_fs.h57 struct cramfs_inode root; member
/bionic/libc/kernel/tools/
Dupdate_all.py59 for root, _, files in os.walk(original_dir):
63 rel_path = os.path.normpath(os.path.join(root, file))
Dutils.py82 for root, dirs, files in os.walk(path):
84 dst = "%s/%s" % (root,f)
/bionic/libc/kernel/uapi/sound/
Dsfnt_info.h109 short root; member
Dasequencer.h449 struct snd_seq_addr root; member
/bionic/linker/
Dlinker.cpp1264 static const ElfW(Sym)* dlsym_handle_lookup(soinfo* root, soinfo* skip_until, in ElfW()
1270 walk_dependencies_tree(&root, 1, [&](soinfo* current_soinfo) { in ElfW()
2175 static void soinfo_unload(soinfo* root) { in soinfo_unload() argument
2176 if (root->is_linked()) { in soinfo_unload()
2177 root = root->get_local_group_root(); in soinfo_unload()
2180 if (!root->can_unload()) { in soinfo_unload()
2181 TRACE("not unloading \"%s\" - the binary is flagged with NODELETE", root->get_realpath()); in soinfo_unload()
2185 soinfo_unload(&root, 1); in soinfo_unload()
2220 soinfo* root = soinfos[0]; in soinfo_unload() local
2241 } else if (child->is_linked() && child->get_local_group_root() != root) { in soinfo_unload()
[all …]
/bionic/libc/dns/nameser/
Dns_print.c130 goto root; in ns_sprintrrf()
139 root: in ns_sprintrrf()
1190 goto root; in addname()
1202 root: in addname()
/bionic/libc/malloc_debug/
DREADME.md7 Currently, malloc debug requires root to enable. When it is enabled, it works
/bionic/libc/
DAndroid.bp1751 //TODO: This is to work around b/24465209. Remove after root cause is fixed
1793 //TODO: This is to work around b/24465209. Remove after root cause is fixed
1841 //TODO: This is to work around b/24465209. Remove after root cause is fixed