HomeSort by relevance Sort by last modified time
    Searched refs:dirtree (Results 1 - 25 of 32) sorted by null

1 2

  /external/toybox/lib/
dirtree.c 0 /* dirtree.c - Functions for dealing with directory trees.
17 int dirtree_notdotdot(struct dirtree *catch)
23 // Create a dirtree node from a path, with stat and symlink info.
27 struct dirtree *dirtree_add_node(struct dirtree *parent, char *name, int flags)
29 struct dirtree *dt = NULL;
45 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen);
74 char *dirtree_path(struct dirtree *node, int *plen)
94 int dirtree_parentfd(struct dirtree *node)
101 // By default, allocates a tree of struct dirtree, not following symlink
    [all...]
lib.h 49 // dirtree.c
68 #define DIRTREE_ABORTVAL ((struct dirtree *)1)
70 struct dirtree { struct
71 struct dirtree *next, *parent, *child;
80 struct dirtree *dirtree_start(char *name, int symfollow);
81 struct dirtree *dirtree_add_node(struct dirtree *p, char *name, int flags);
82 char *dirtree_path(struct dirtree *node, int *plen);
83 int dirtree_notdotdot(struct dirtree *catch);
84 int dirtree_parentfd(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 139 static int retell_dir(struct dirtree *root)
249 static int update_attr(struct dirtree *root)
losetup.c 135 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 60 struct dirtree *files, *singledir;
128 static void entrylen(struct dirtree *dt, unsigned *len)
160 struct dirtree *dta = *(struct dirtree **)a;
161 struct dirtree *dtb = *(struct dirtree **)b;
178 static int filter(struct dirtree *new)
283 // Display a list of dirtree entries, according to current format
286 static void listfiles(int dirfd, struct dirtree *indir)
288 struct dirtree *dt, **sort
    [all...]
find.c 82 static int flush_exec(struct dirtree *new, struct exec_range *aa)
150 static void do_print(struct dirtree *new, char c)
159 static void execdir(struct dirtree *new, int flush)
197 static int do_find(struct dirtree *new)
215 struct dirtree *n;
376 struct dirtree *dt = new;
chgrp.c 45 static int do_chgrp(struct dirtree *node)
cp.c 129 int (*callback)(struct dirtree *try);
143 int cp_node(struct dirtree *try)
241 struct dirtree *or;
407 struct dirtree *new;
462 static int install_node(struct dirtree *try)
grep.c 317 static int do_grep_r(struct dirtree *new)
  /ndk/sources/host-tools/make-3.81/tests/
test_driver.pl 948 local ($basedir, %dirtree) = @_;
954 foreach $path (sort keys (%dirtree))
956 if ($dirtree {$path} =~ /^DIR$/)
961 elsif ($dirtree {$path} =~ /^FILE:(.*)$/)
965 elsif ($dirtree {$path} =~ /^LINK:(.*)$/)
972 &error ("Bogus dirtree type: \"$dirtree{$path}\"\n", 1);
988 local ($basedir, %dirtree) = @_;
1004 print "dirtree: (%dirtree)\n$basedir: (@allfiles)\n"
    [all...]
  /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 202 static int callback(struct dirtree *node)
  /external/toybox/generated/
globals.h 655 char *gendir; // Where to read dirtree from.
658 struct dirtree *dt; // Tree of files to copy into the new filesystem.
937 int (*callback)(struct dirtree *try);
1056 struct dirtree *files, *singledir;

Completed in 1129 milliseconds

1 2