/external/toybox/lib/ |
dirtree.c | 0 /* dirtree.c - Functions for dealing with directory trees. 17 int dirtree_notdotdot(struct dirtree *catch) 24 // Create a dirtree node from a path, with stat and symlink info. 28 struct dirtree *dirtree_add_node(struct dirtree *parent, char *name, int flags) 30 struct dirtree *dt = NULL; 46 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); 75 char *dirtree_path(struct dirtree *node, int *plen) 95 int dirtree_parentfd(struct dirtree *node) 105 struct dirtree *dirtree_handle_callback(struct dirtree *new [all...] |
lib.h | 58 // dirtree.c 81 #define DIRTREE_ABORTVAL ((struct dirtree *)1) 83 struct dirtree { struct 84 struct dirtree *next, *parent, *child; 94 struct dirtree *dirtree_add_node(struct dirtree *p, char *name, int flags); 95 char *dirtree_path(struct dirtree *node, int *plen); 96 int dirtree_notdotdot(struct dirtree *catch); 97 int dirtree_parentfd(struct dirtree *node); 98 int dirtree_recurse(struct dirtree *node, int (*callback)(struct dirtree *node) [all...] |
/external/toybox/toys/other/ |
chcon.c | 24 static int do_chcon(struct dirtree *try)
|
lsusb.c | 18 static int list_device(struct dirtree *new)
|
acpi.c | 44 static int acpi_callback(struct dirtree *tree) 85 static int temp_callback(struct dirtree *tree) 108 static int cool_callback(struct dirtree *tree)
|
lspci.c | 40 static int do_lspci(struct dirtree *new)
|
switch_root.c | 30 static int del_node(struct dirtree *node)
|
hwclock.c | 34 static int rtc_find(struct dirtree* node)
|
modinfo.c | 75 static int check_module(struct dirtree *new)
|
sysctl.c | 67 static int do_show_keys(struct dirtree *dt)
|
taskset.c | 91 static int task_callback(struct dirtree *new)
|
lsattr.c | 142 static int retell_dir(struct dirtree *root) 252 static int update_attr(struct dirtree *root)
|
losetup.c | 128 static int dash_a(struct dirtree *node)
|
/external/toybox/toys/posix/ |
chmod.c | 42 static int do_chmod(struct dirtree *try)
|
du.c | 48 struct dirtree *node; 53 static void print(long long size, struct dirtree *node) 106 // dirtree callback, compute/display size of node 107 static int do_du(struct dirtree *node) 120 struct dirtree *try = node;
|
rm.c | 25 static int do_rm(struct dirtree *try) 99 // dirtree's stat would report the nonexistence as an error, but that's
|
ls.c | 68 struct dirtree *files, *singledir; 140 static void entrylen(struct dirtree *dt, unsigned *len) 170 struct dirtree *dta = *(struct dirtree **)a; 171 struct dirtree *dtb = *(struct dirtree **)b; 188 static int filter(struct dirtree *new) 293 // Display a list of dirtree entries, according to current format 296 static void listfiles(int dirfd, struct dirtree *indir) 298 struct dirtree *dt, **sort [all...] |
chgrp.c | 45 static int do_chgrp(struct dirtree *node)
|
find.c | 84 static int flush_exec(struct dirtree *new, struct exec_range *aa) 152 static void do_print(struct dirtree *new, char c) 161 static void execdir(struct dirtree *new, int flush) 199 static int do_find(struct dirtree *new) 217 struct dirtree *n; 382 struct dirtree *dt = new;
|
cp.c | 112 int (*callback)(struct dirtree *try); 126 static int cp_node(struct dirtree *try) 224 struct dirtree *or; 458 static int install_node(struct dirtree *try)
|
ps.c | 279 struct dirtree *threadparent; 655 // dirtree callback: read data about process to display, store, or discard it. 658 static int get_ps(struct dirtree *new) [all...] |
/external/python/cpython2/Demo/tix/samples/ |
DirTree.py | 25 dirtree = DemoDirTree(root) 26 dirtree.mainloop() 27 dirtree.destroy() 45 # Create the DirTree widget. By default it will show the current 49 top.dir = Tix.DirTree(top) 58 # can choose from the DirTree widget, or he can type in the directory
|
/external/toybox/toys/pending/ |
mke2fs.c | 83 char *gendir; // Where to read dirtree from. 86 struct dirtree *dt; // Tree of files to copy into the new filesystem. 152 static struct dirtree *treenext(struct dirtree *this) 164 static long check_treesize(struct dirtree *that, off_t *size) 192 static void check_treelinks(struct dirtree *tree) 194 struct dirtree *current=tree, *that; 362 // Fill out an inode structure from struct stat info in dirtree. 363 static void fill_inode(struct ext2_inode *in, struct dirtree *that) 414 struct dirtree *dti, *dtb [all...] |
mdev.c | 201 static int callback(struct dirtree *node)
|
/external/toybox/generated/ |
globals.h | 719 char *gendir; // Where to read dirtree from. 722 struct dirtree *dt; // Tree of files to copy into the new filesystem. 1014 int (*callback)(struct dirtree *try); 1158 struct dirtree *files, *singledir; 1286 struct dirtree *threadparent;
|