Searched refs:root (Results 1 - 25 of 30) sorted by relevance

12

/bionic/tests/
H A Dftw_test.cpp31 static void MakeTree(const char* root) { argument
34 snprintf(path, sizeof(path), "%s/dir", root);
36 snprintf(path, sizeof(path), "%s/dir/sub", root);
38 snprintf(path, sizeof(path), "%s/unreadable-dir", root);
41 snprintf(path, sizeof(path), "%s/dangler", root);
43 snprintf(path, sizeof(path), "%s/symlink", root);
47 snprintf(path, sizeof(path), "%s/regular", root);
104 TemporaryDir root; local
105 MakeTree(root.dirname);
106 ASSERT_EQ(0, ftw(root
110 TemporaryDir root; local
116 TemporaryDir root; local
122 TemporaryDir root; local
146 TemporaryDir root; local
[all...]
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...]
H A Dmalloc_test.cpp330 auto root = doc.FirstChildElement(); local
331 ASSERT_NE(nullptr, root);
332 ASSERT_STREQ("malloc", root->Name());
333 ASSERT_STREQ("jemalloc-1", root->Attribute("version"));
335 auto arena = root->FirstChildElement();
/bionic/libc/bionic/
H A Dtdestroy.cpp28 void tdestroy(void* root, void (*destroy_func)(void*)) { argument
29 node_t* root_node = reinterpret_cast<node_t*>(root);
40 free(root);
H A Dmalloc_info.cpp65 Elem root(fp, "malloc", "version=\"jemalloc-1\"");
H A Dfts.c78 FTSENT *p, *root; local
106 /* Allocate/initialize root's parent. */
111 /* Allocate/initialize root(s). */
112 for (root = NULL, nitems = 0; *argv; ++argv, ++nitems) {
135 p->fts_link = root;
136 root = p;
139 if (root == NULL)
140 tmp = root = p;
148 root = fts_sort(sp, root, nitem
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dtsearch.c95 trecurse(node *root, void (*action)(const void *, VISIT, int), int level) argument
97 if (root->left == (struct node_t *)0 && root->right == (struct node_t *)0)
98 (*action)(root, leaf, level);
100 (*action)(root, preorder, level);
101 if (root->left != (struct node_t *)0)
102 trecurse(root->left, action, level + 1);
103 (*action)(root, postorder, level);
104 if (root->right != (struct node_t *)0)
105 trecurse(root
114 node *root = (node *)vroot; local
[all...]
/bionic/libc/kernel/tools/
H A Dutils.py34 # Verify that the current directory is in the root.
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)
41 panic("Unable to find root of tree, did you forget to lunch a target?\n")
88 for root, dirs, files in os.walk(path):
90 dst = "%s/%s" % (root,f)
H A Dupdate_all.py39 for root, _, files in os.walk(src_dir):
44 src_file = os.path.normpath(os.path.join(root, file))
/bionic/libc/kernel/uapi/linux/
H A Dadfs_fs.h35 __le32 root; member in struct:adfs_discrecord
H A Dcramfs_fs.h50 struct cramfs_inode root; member in struct:cramfs_super
H A Dnfs_mount.h44 struct nfs3_fh root; member in struct:nfs_mount_data
H A Dbtrfs_tree.h184 __le64 root; member in struct:btrfs_extent_data_ref
197 __le64 root; member in struct:btrfs_extent_ref_v0
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dadfs_fs.h35 __le32 root; member in struct:adfs_discrecord
H A Dcramfs_fs.h50 struct cramfs_inode root; member in struct:cramfs_super
H A Dnfs_mount.h44 struct nfs3_fh root; member in struct:nfs_mount_data
H A Dbtrfs_tree.h184 __le64 root; member in struct:btrfs_extent_data_ref
197 __le64 root; member in struct:btrfs_extent_ref_v0
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dadfs_fs.h35 __le32 root; member in struct:adfs_discrecord
H A Dcramfs_fs.h50 struct cramfs_inode root; member in struct:cramfs_super
H A Dnfs_mount.h44 struct nfs3_fh root; member in struct:nfs_mount_data
/bionic/libc/system_properties/
H A Dprop_area.cpp291 prop_bt* root = nullptr; local
294 root = to_prop_bt(&current->children);
297 root = new_prop_bt(remaining_name, substr_size, &new_offset);
298 if (root) {
303 if (!root) {
307 current = find_prop_bt(root, remaining_name, substr_size, alloc_if_needed);
/bionic/libc/kernel/uapi/sound/
H A Dsfnt_info.h91 short root; member in struct:soundfont_voice_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/sound/
H A Dsfnt_info.h91 short root; member in struct:soundfont_voice_info
/bionic/tools/versioner/dependencies/common/kernel_uapi/sound/
H A Dsfnt_info.h91 short root; member in struct:soundfont_voice_info
/bionic/linker/
H A Dlinker.cpp755 soinfo* root,
763 walk_dependencies_tree(root, [&](soinfo* current_soinfo) {
815 // we use ns associated with root si intentionally here. Using caller_ns
1698 for (auto root : local_group_roots) {
1700 android_namespace_t* local_group_ns = root->get_primary_namespace();
1702 walk_dependencies_tree(root,
1789 static void soinfo_unload_impl(soinfo* root) {
1790 ScopedTrace trace((std::string("unload ") + root->get_realpath()).c_str());
1791 bool is_linked = root->is_linked();
1793 if (!root
754 dlsym_handle_lookup(android_namespace_t* ns, soinfo* root, soinfo* skip_until, soinfo** found, SymbolName& symbol_name, const version_info* vi) argument
[all...]

Completed in 1340 milliseconds

12