Searched refs:filename (Results 1 - 11 of 11) sorted by relevance

/ast/src/cmd/ksh93/bltins/
H A Dmisc.c214 char *filename=0, *buffer=0; local
260 filename = path_fullname(shp,stkptr(shp->stk,PATH_OFFSET));
266 if(filename)
268 shp->st.filename = filename;
278 shp->st.filename = np->nvalue.rp->fname;
279 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
302 free((void*)shp->st.filename);
316 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
/ast/src/cmd/ksh93/sh/
H A Dmain.c107 shp->st.filename = path_fullname(shp,stakptr(PATH_OFFSET));
300 shp->st.filename = path_fullname(shp,name);
313 shp->st.filename = path_fullname(shp,sp);
373 nv_putval(SH_PATHNAMENOD, shp->st.filename ,NV_NOFREE);
605 if(shp->st.filename)
606 free((void*)shp->st.filename);
607 shp->st.filename = 0;
H A Dtrestore.c151 if(shp->st.filename)
152 fp->functnam = stkcopy(shp->stk,shp->st.filename);
H A Dpath.c588 char *pname,*oldname=shp->st.filename, buff[IOBSIZE+1];
621 shp->st.filename = pname;
634 pname = stakcopy(shp->st.filename);
637 free((void*)shp->st.filename);
639 shp->st.filename = oldname;
H A Dxec.c555 nv_putval(SH_PATHNAMENOD,shp->st.filename,NV_NOFREE);
3392 shp->st.filename = fp->node->nvalue.rp->fname;
3395 nv_putval(SH_PATHNAMENOD,shp->st.filename,NV_NOFREE);
3526 nv_putval(SH_PATHNAMENOD,shp->st.filename,NV_NOFREE);
H A Dinit.c1676 shp->st.filename = strdup(shp->lastarg);
H A Dname.c3534 SH_PATHNAMENOD->nvalue.cp = shp->st.filename;
/ast/src/cmd/ksh93/tests/
H A Dfunctions.sh950 typeset filename="$3"
955 then [[ $filename == "$basefile" ]] || err_exit "filename for level 0 is $filename not $basename"
959 then [[ $filename == "$tmp/debug" ]] || err_exit "filename for level 1 is $filename not $tmp/debug"
/ast/src/cmd/ksh93/include/
H A Dshell.h124 char *filename; member in struct:sh_scope
H A Ddefs.h73 char *filename; member in struct:sh_scoped
304 #define SH_FCOMPLETE 17 /* set for filename completion */
/ast/src/cmd/builtin/
H A Dpr.c132 char *filename; member in struct:_pr_
176 else if(!(pp->flags&M_FLAG) && pp->filename)
177 header = pp->filename;
866 pp->filename = cp;

Completed in 51 milliseconds