/bionic/libc/bionic/ |
H A D | tdestroy.cpp | 23 void tdestroy(void* root, void (*destroy_func)(void*)) { argument 24 node_t* root_node = (node_t*) root; 35 free(root);
|
H A D | fts.c | 76 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 D | system_properties.cpp | 114 // 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 D | tsearch.c | 96 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 D | search_test.cpp | 79 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/tools/ |
H A D | update_all.py | 54 for root, dirs, files in os.walk( original_dir ): 57 warning_ion.append(" Skipped file %s/%s" % (root, file)) 61 sources.append( "%s/%s" % (root,file) )
|
H A D | utils.py | 94 for root, dirs, files in os.walk(path): 95 #print "w-- %s (ex: %s)" % (repr((root,dirs)), repr(excludes)) 98 if os.path.join(root,d) in excludes: 103 callback( "%s/%s" % (root,f), args ) 111 for root, dirs, files in os.walk(path, topdown=False): 112 if root.endswith("kernel_headers/"): 116 os.remove(os.path.join(root, name)) 118 os.rmdir(os.path.join(root, name)) 135 for root, dirs, files in os.walk(path): 137 dst = "%s/%s" % (root, [all...] |
/bionic/libc/kernel/uapi/linux/ |
H A D | adfs_fs.h | 39 __le32 root; member in struct:adfs_discrecord
|
H A D | cramfs_fs.h | 57 struct cramfs_inode root; member in struct:cramfs_super
|
H A D | nfs_mount.h | 50 struct nfs3_fh root; member in struct:nfs_mount_data
|
/bionic/libc/kernel/uapi/sound/ |
H A D | sfnt_info.h | 109 short root; member in struct:soundfont_voice_info
|
H A D | asequencer.h | 447 struct snd_seq_addr root; member in struct:snd_seq_query_subs
|
/bionic/libc/dns/nameser/ |
H A D | ns_print.c | 136 goto root; 141 /* Origin not used or not root, and no trailing dot? */ 145 root: 1196 goto root; 1208 root:
|