Searched defs:root (Results 1 - 10 of 10) sorted by relevance

/bionic/libc/bionic/
H A Dtdestroy.cpp23 void tdestroy(void* root, void (*destroy_func)(void*)) { argument
24 node_t* root_node = (node_t*) root;
35 free(root);
H A Dfts.c76 FTSENT *p, *root; local
104 /* Allocate/initialize root's parent. */
109 /* Allocate/initialize root(s). */
110 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) {
133 p->fts_link = root;
134 root = p;
137 if (root == NULL)
138 tmp = root = p;
146 root = fts_sort(sp, root, nitem
[all...]
H A Dsystem_properties.cpp114 // Allocate enough space for the root node.
435 prop_bt* root = NULL; local
437 root = reinterpret_cast<prop_bt*>(to_prop_obj(current->children));
440 root = new_prop_bt(remaining_name, substr_size, &new_bt_offset);
441 if (root) {
446 if (!root) {
450 current = find_prop_bt(root, remaining_name, substr_size, alloc_if_needed);
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dtsearch.c96 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) argument
98 if (root->left == (struct node_t *)0 && root->right == (struct node_t *)0)
99 (*action)(root, leaf, level);
101 (*action)(root, preorder, level);
102 if (root->left != (struct node_t *)0)
103 trecurse(root->left, action, level + 1);
104 (*action)(root, postorder, level);
105 if (root->right != (struct node_t *)0)
106 trecurse(root
115 node *root = (node *)vroot; local
[all...]
/bionic/tests/
H A Dsearch_test.cpp79 void* root = nullptr; local
86 ASSERT_EQ(nullptr, tfind(&n1, &root, node_cmp));
87 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp));
88 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp));
91 void* i1 = tsearch(&n1, &root, node_cmp);
95 ASSERT_EQ(i1, tfind(&n1, &root, node_cmp));
96 ASSERT_EQ(nullptr, tfind(&n2, &root, node_cmp));
97 ASSERT_EQ(nullptr, tfind(&n3, &root, node_cmp));
100 ASSERT_NE(nullptr, tsearch(&n2, &root, node_cmp));
101 ASSERT_NE(nullptr, tsearch(&n3, &root, node_cm
127 void* root = nullptr; local
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dadfs_fs.h39 __le32 root; member in struct:adfs_discrecord
H A Dcramfs_fs.h57 struct cramfs_inode root; member in struct:cramfs_super
H A Dnfs_mount.h50 struct nfs3_fh root; member in struct:nfs_mount_data
/bionic/libc/kernel/uapi/sound/
H A Dsfnt_info.h109 short root; member in struct:soundfont_voice_info
H A Dasequencer.h447 struct snd_seq_addr root; member in struct:snd_seq_query_subs

Completed in 2137 milliseconds