/external/toybox/lib/ |
D | dirtree.c | 17 int dirtree_notdotdot(struct dirtree *catch) in dirtree_notdotdot() 28 struct dirtree *dirtree_add_node(struct dirtree *parent, char *name, int flags) in dirtree_add_node() 30 struct dirtree *dt = NULL; in dirtree_add_node() 46 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node() 75 char *dirtree_path(struct dirtree *node, int *plen) in dirtree_path() 95 int dirtree_parentfd(struct dirtree *node) in dirtree_parentfd() 105 struct dirtree *dirtree_handle_callback(struct dirtree *new, in dirtree_handle_callback() 106 int (*callback)(struct dirtree *node)) in dirtree_handle_callback() 130 int dirtree_recurse(struct dirtree *node, in dirtree_recurse() 131 int (*callback)(struct dirtree *node), int dirfd, int flags) in dirtree_recurse() [all …]
|
D | lib.h | 82 #define DIRTREE_ABORTVAL ((struct dirtree *)1) 84 struct dirtree { struct 85 struct dirtree *next, *parent, *child; argument 95 struct dirtree *dirtree_add_node(struct dirtree *p, char *name, int flags); argument 96 char *dirtree_path(struct dirtree *node, int *plen); 97 int dirtree_notdotdot(struct dirtree *catch); 98 int dirtree_parentfd(struct dirtree *node); 99 int dirtree_recurse(struct dirtree *node, int (*callback)(struct dirtree *node), 101 struct dirtree *dirtree_flagread(char *path, int flags, 102 int (*callback)(struct dirtree *node)); [all …]
|
/external/toybox/toys/posix/ |
D | du.c | 48 struct dirtree *node; 53 static void print(long long size, struct dirtree *node) in print() 107 static int do_du(struct dirtree *node) in do_du() 120 struct dirtree *try = node; in do_du()
|
D | ls.c | 60 struct dirtree *files, *singledir; 131 static void entrylen(struct dirtree *dt, unsigned *len) in entrylen() 161 struct dirtree *dta = *(struct dirtree **)a; in compare() 162 struct dirtree *dtb = *(struct dirtree **)b; in compare() 181 static int filter(struct dirtree *new) in filter() 289 static void listfiles(int dirfd, struct dirtree *indir) in listfiles() 291 struct dirtree *dt, **sort; in listfiles() 533 struct dirtree *dt; in ls_main()
|
D | find.c | 83 static int flush_exec(struct dirtree *new, struct exec_range *aa) in flush_exec() 151 static void do_print(struct dirtree *new, char c) in do_print() 160 static void execdir(struct dirtree *new, int flush) in execdir() 198 static int do_find(struct dirtree *new) in do_find() 216 struct dirtree *n; in do_find() 406 struct dirtree *dt = new; in do_find()
|
D | cp.c | 112 int (*callback)(struct dirtree *try); 126 static int cp_node(struct dirtree *try) in cp_node() 224 struct dirtree *or; in cp_node() 474 static int install_node(struct dirtree *try) in install_node()
|
D | chmod.c | 42 static int do_chmod(struct dirtree *try)
|
D | ps.c | 211 struct dirtree *threadparent; 694 static int get_ps(struct dirtree *new) in get_ps() 992 static int get_threads(struct dirtree *new) in get_threads() 994 struct dirtree *dt; in get_threads() 1237 static struct procpid **collate_leaves(struct procpid **tb, struct dirtree *dt) in collate_leaves() 1240 struct dirtree *next = dt->next; in collate_leaves() 1253 static struct procpid **collate(int count, struct dirtree *dt) in collate() 1277 struct dirtree *dt; in ps_main() 1480 struct dirtree *dt; in top_common()
|
D | rm.c | 26 static int do_rm(struct dirtree *try) in do_rm()
|
D | chgrp.c | 45 static int do_chgrp(struct dirtree *node) in do_chgrp()
|
/external/toybox/toys/pending/ |
D | mke2fs.c | 86 struct dirtree *dt; // Tree of files to copy into the new filesystem. 288 static struct dirtree *treenext(struct dirtree *this) in treenext() 300 static long check_treesize(struct dirtree *that, off_t *size) in check_treesize() 328 static void check_treelinks(struct dirtree *tree) in check_treelinks() 330 struct dirtree *current=tree, *that; in check_treelinks() 499 static void fill_inode(struct ext2_inode *in, struct dirtree *that) in fill_inode() 550 struct dirtree *dti, *dtb; in mke2fs_main() 580 dti = xzalloc(sizeof(struct dirtree)+11); in mke2fs_main() 590 dtb = xzalloc(sizeof(struct dirtree)+1); in mke2fs_main()
|
D | mdev.c | 264 static int callback(struct dirtree *node) in callback()
|
/external/python/cpython2/Demo/tix/samples/ |
D | DirTree.py | 25 dirtree = DemoDirTree(root) 26 dirtree.mainloop() 27 dirtree.destroy()
|
/external/toybox/toys/other/ |
D | acpi.c | 44 static int acpi_callback(struct dirtree *tree) in acpi_callback() 85 static int temp_callback(struct dirtree *tree) in temp_callback() 108 static int cool_callback(struct dirtree *tree) in cool_callback()
|
D | chcon.c | 24 static int do_chcon(struct dirtree *try) in do_chcon()
|
D | lsusb.c | 18 static int list_device(struct dirtree *new) in list_device()
|
D | lsattr.c | 142 static int retell_dir(struct dirtree *root) in retell_dir() 252 static int update_attr(struct dirtree *root) in update_attr()
|
D | switch_root.c | 30 static int del_node(struct dirtree *node)
|
D | lspci.c | 40 static int do_lspci(struct dirtree *new)
|
D | taskset.c | 91 static int task_callback(struct dirtree *new) in task_callback()
|
D | modinfo.c | 73 static int check_module(struct dirtree *new) in check_module()
|
D | hwclock.c | 36 static int rtc_find(struct dirtree* node)
|
D | sysctl.c | 67 static int do_show_keys(struct dirtree *dt) in do_show_keys()
|
D | losetup.c | 129 static int dash_a(struct dirtree *node) in dash_a()
|
/external/toybox/generated/ |
D | globals.h | 714 struct dirtree *dt; // Tree of files to copy into the new filesystem. 991 int (*callback)(struct dirtree *try); 1127 struct dirtree *files, *singledir; 1222 struct dirtree *threadparent;
|