Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 14 of 14) sorted by relevance

/third_party/uapp/dash/src/
A Dredir.c171 char *fname; in openredirect() local
176 fname = redir->nfile.expfname; in openredirect()
177 if ((f = open(fname, O_RDONLY)) < 0) in openredirect()
181 fname = redir->nfile.expfname; in openredirect()
182 if ((f = open(fname, O_RDWR|O_CREAT, 0666)) < 0) in openredirect()
188 fname = redir->nfile.expfname; in openredirect()
189 if (stat(fname, &sb) < 0) { in openredirect()
193 if ((f = open(fname, O_WRONLY, 0666)) < 0) in openredirect()
208 fname = redir->nfile.expfname; in openredirect()
209 if ((f = open(fname, O_WRONLY|O_CREAT|O_TRUNC, 0666)) < 0) in openredirect()
[all …]
A Dmkinit.c171 readfile(char *fname) in readfile() argument
177 fp = ckfopen(fname, "r"); in readfile()
178 curfile = fname; in readfile()
185 doevent(ep, fp, fname); in readfile()
254 doevent(struct event *ep, FILE *fp, char *fname) in doevent() argument
260 sprintf(line, "\n /* from %s: */\n", fname); in doevent()
A Dnodetypes122 NTO nfile # fd> fname
123 NCLOBBER nfile # fd>| fname
124 NFROM nfile # fd< fname
125 NFROMTO nfile # fd<> fname
126 NAPPEND nfile # fd>> fname
130 fname nodeptr # file name, in a NARG node
A Dinput.c414 setinputfile(const char *fname, int flags) in setinputfile() argument
419 if ((fd = open(fname, O_RDONLY)) < 0) { in setinputfile()
423 exerror(EXERROR, "Can't open %s", fname); in setinputfile()
A Dnodes.h120 union node *fname; member
A Dnodes.c195 calcsize(n->nfile.fname);
301 new->nfile.fname = copynode(n->nfile.fname);
442 encodenode(n->nfile.fname); in encodenode()
546 decodenode(&n->nfile.fname); in decodenode()
A Dshow.c148 sharg(np->nfile.fname, fp); in shcmd()
A Deval.c533 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir()
A Djobs.c1367 n = n->nfile.fname; in cmdtxt()
A Dparser.c634 n->nfile.fname = makename(); in parsefname()
/third_party/uapp/fsck-msdosfs/
A Dcheck.c36 checkfilesys(const char *fname) in checkfilesys() argument
48 printf("** %s", fname); in checkfilesys()
50 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0); in checkfilesys()
52 dosfs = open(fname, O_RDONLY, 0); in checkfilesys()
62 perr("Can't open `%s'", fname); in checkfilesys()
74 printf("%s: ", fname); in checkfilesys()
/third_party/uapp/mkfs-msdosfs/
A Dnewfs_msdos.c75 const char* fname; in main() local
155 fname = *argv++; in main()
156 if (!o.create_size && !strchr(fname, '/')) { in main()
157 snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); in main()
158 if (!(fname = strdup(buf))) in main()
161 return !!mkfs_msdos(fname, &o); in main()
A Dmkfs_msdos.c180 int mkfs_msdos(const char* fname, const struct msdos_options* op) { in mkfs_msdos() argument
215 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644); in mkfs_msdos()
217 warnx("failed to create %s", fname); in mkfs_msdos()
224 } else if ((fd = open(fname, o.no_create ? O_RDONLY : O_RDWR)) == -1) { in mkfs_msdos()
225 warn("%s", fname); in mkfs_msdos()
229 warn("%s", fname); in mkfs_msdos()
234 warnx("warning, %s is not a regular file", fname); in mkfs_msdos()
237 warnx("warning, %s is not a character device", fname); in mkfs_msdos()
244 getdiskinfo(fd, fname, o.disk_size, &bpb); in mkfs_msdos()
609 warn("%s", fname); in mkfs_msdos()
[all …]
/third_party/ulib/jemalloc/bin/
A Djeprof.in748 my $fname = shift;
766 my $fname = shift;
772 my $fname = shift;
800 my $fname = shift;
1427 my $fname = "";
1472 RunWeb($fname);
1475 unlink($fname);
1957 my $fname = $current_file;
1962 $fname = "..." . substr($fname, -55);
3820 my $fname = shift;
[all …]

Completed in 30 milliseconds