Searched refs:Pathcomp_t (Results 1 – 13 of 13) sorted by relevance
/titanic_50/usr/src/lib/libshell/common/include/ |
H A D | path.h | 66 } Pathcomp_t; typedef 73 extern void path_newdir(Pathcomp_t*); 74 extern Pathcomp_t *path_dirfind(Pathcomp_t*,const char*,int); 75 extern Pathcomp_t *path_unsetfpath(Pathcomp_t*); 76 extern Pathcomp_t *path_addpath(Pathcomp_t*,const char*,int); 77 extern Pathcomp_t *path_dup(Pathcomp_t*); 78 extern void path_delete(Pathcomp_t*); 79 extern void path_alias(Namval_t*,Pathcomp_t*); 80 extern Pathcomp_t *path_absolute(const char*, Pathcomp_t*); 85 extern pid_t path_spawn(const char*,char*[],char*[],Pathcomp_t*,int); [all …]
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | path.c | 57 static int path_chkpaths(Pathcomp_t*,Pathcomp_t*,Pathcomp_t*,int); 58 static void path_checkdup(register Pathcomp_t*); 285 register Pathcomp_t *pp= (Pathcomp_t*)data; in free_bltin() 305 void path_delete(Pathcomp_t *first) in path_delete() 307 register Pathcomp_t *pp=first, *old=0, *ppnext; in path_delete() 339 static char *path_lib(Pathcomp_t *pp, char *path) in path_lib() 353 Pathcomp_t pcomp; in path_lib() 365 if(path_chkpaths((Pathcomp_t*)0,(Pathcomp_t*)0,&pcomp,PATH_OFFSET)) in path_lib() 373 void path_dump(register Pathcomp_t *pp) 388 static void path_checkdup(register Pathcomp_t *pp) in path_checkdup() [all …]
|
H A D | expand.c | 80 Pathcomp_t *pp = (Pathcomp_t*)gp->gl_handle; in nextdir()
|
H A D | init.c | 286 Pathcomp_t *pp; in put_restricted() 299 shp->pathlist = (void*)path_unsetfpath((Pathcomp_t*)shp->pathlist); in put_restricted() 306 pp = (void*)path_addpath((Pathcomp_t*)shp->pathlist,val,PATH_PATH); in put_restricted() 308 pp = (void*)path_addpath((Pathcomp_t*)shp->pathlist,val,PATH_FPATH); in put_restricted() 321 path_dump((Pathcomp_t*)shp->pathlist); in put_restricted() 328 Pathcomp_t *pp; in put_cdpath() 334 pp = (void*)path_addpath((Pathcomp_t*)shp->cdpathlist,val,PATH_CDPATH); in put_cdpath()
|
H A D | subshell.c | 67 Pathcomp_t *pathlist; /* for PATH variable */ 509 sp->pathlist = path_dup((Pathcomp_t*)shp->pathlist); in sh_subshell() 654 path_delete((Pathcomp_t*)shp->pathlist); in sh_subshell()
|
H A D | main.c | 101 #define PATHCOMP NIL(Pathcomp_t*) 324 if(path_absolute(name,NIL(Pathcomp_t*))) in sh_main()
|
H A D | xec.c | 888 if(path_search(com0,NIL(Pathcomp_t**),1)) in sh_exec() 1100 indx = path_search(com0,NIL(Pathcomp_t**),0); in sh_exec() 2986 Pathcomp_t *pp; in sh_ntfork() 3150 else if(path_absolute(path,NIL(Pathcomp_t*))) in sh_ntfork()
|
H A D | io.c | 2404 n = path_open(cp,(Pathcomp_t*)0); in sh_pathopen()
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | cd_pwd.c | 46 Pathcomp_t *pp = (Pathcomp_t*)np->nvalue.cp; in rehash() 55 Pathcomp_t *cdpath = 0; in b_cd() 101 if(!(cdpath = (Pathcomp_t*)shp->cdpathlist) && (dp=(CDPNOD)->nvalue.cp)) in b_cd() 103 if(cdpath=path_addpath((Pathcomp_t*)0,dp,PATH_CDPATH)) in b_cd()
|
H A D | whence.c | 144 Pathcomp_t *pp=0; in whence()
|
H A D | typeset.c | 512 path_alias(np,path_absolute(nv_name(np),NIL(Pathcomp_t*))); in b_common() 793 path_absolute(argv[0],NIL(Pathcomp_t*)); in b_builtin()
|
H A D | misc.c | 243 path_search(script,NIL(Pathcomp_t**),0); in b_dot_cmd()
|
/titanic_50/usr/src/lib/libshell/common/edit/ |
H A D | completion.c | 415 Pathcomp_t *pp; in ed_expand()
|