/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/mksh/src/ |
histrap.c | 834 char *nfile = NULL; local 848 nfile = shf_smprintf("%s.%d", hname, (int)procpid); 849 if ((fd = open(nfile, O_CREAT | O_TRUNC | O_WRONLY, 0600)) < 0) 852 chown(nfile, statb.st_uid, statb.st_gid)) 863 if (rename(nfile, hname) < 0) { 867 if (nfile) 868 unlink(nfile); 872 afree(nfile, ATEMP); [all...] |
/external/valgrind/main/coregrind/m_debuginfo/ |
readpdb.c | 1554 Int nfile; local [all...] |