/system/core/sh/ |
redir.c | 129 for (n = redir ; n ; n = n->nfile.next) { 130 fd = n->nfile.fd; 132 if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) && 177 int fd = redir->nfile.fd; 189 switch (redir->nfile.type) { 191 fname = redir->nfile.expfname; 202 fname = redir->nfile.expfname; 211 fname = redir->nfile.expfname; 216 fname = redir->nfile.expfname [all...] |
nodes.c | 75 SHELL_ALIGN(sizeof (struct nfile)), 76 SHELL_ALIGN(sizeof (struct nfile)), 77 SHELL_ALIGN(sizeof (struct nfile)), 78 SHELL_ALIGN(sizeof (struct nfile)), 79 SHELL_ALIGN(sizeof (struct nfile)), 175 calcsize(n->nfile.fname); 176 calcsize(n->nfile.next); 273 new->nfile.fname = copynode(n->nfile.fname); 274 new->nfile.fd = n->nfile.fd [all...] |
nodes.h | 102 struct nfile { struct 145 struct nfile nfile; member in union:node
|
show.c | 138 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) { 141 switch (np->nfile.type) { 151 if (np->nfile.fd != dftfd) 152 fprintf(fp, "%d", np->nfile.fd); 154 if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) { 157 sharg(np->nfile.fname, fp);
|
parser.c | 304 rpp = &n2->nfile.next; 501 rpp = &n2->nfile.next; 566 rpp = &n->nfile.next; 670 n->nfile.fname = makename(); 1200 np = (union node *)stalloc(sizeof (struct nfile)); 1202 np->nfile.fd = 1; 1215 np->nfile.fd = 0; 1218 if (sizeof (struct nfile) != sizeof (struct nhere)) { 1220 np->nfile.fd = 0; 1248 np->nfile.fd = digit_val(fd) [all...] |
eval.c | 456 for (redir = n ; redir ; redir = redir->nfile.next) { 465 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); 466 redir->nfile.expfname = fn.list->text;
|
jobs.c | 1355 if (n->nfile.fd != i) { 1356 s[0] = n->nfile.fd + '0'; 1366 cmdtxt(n->nfile.fname);
|
/external/clearsilver/imd/ |
imd.c | 203 char nfile[_POSIX_PATH_MAX]; local 262 snprintf (nfile, sizeof(nfile), "%s/%s.orig", path, file); 263 if (stat(nfile, &s)) 265 if (link(ofile, nfile)) 266 return nerr_raise_errno (NERR_SYSTEM, "Unable to link %s -> %s", ofile, nfile); 729 char nfile[_POSIX_PATH_MAX]; local 764 err = rotate_image(path, picture, rotate, nfile); 766 picture = strrchr(nfile, '/') + 1;
|