Home
last modified time | relevance | path

Searched refs:arghead (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dexpand.c93 int path_expand(Shell_t *shp,const char *pattern, struct argnod **arghead) in path_expand() argument
123 extra += scantree(shp->alias_tree,pattern,arghead); in path_expand()
124 extra += scantree(shp->fun_tree,pattern,arghead); in path_expand()
207 ap->argchn.ap = *arghead; in path_expand()
210 *arghead = (struct argnod*)gp->gl_list; in path_expand()
219 static int scantree(Dt_t *tree, const char *pattern, struct argnod **arghead) in scantree() argument
234 ap->argchn.ap = *arghead; in scantree()
236 *arghead = ap; in scantree()
249 …t path_complete(Shell_t *shp,const char *name,register const char *suffix, struct argnod **arghead) in path_complete() argument
253 return(path_expand(shp,name,arghead)); in path_complete()
[all …]
H A Dmacro.c70 struct argnod **arghead; /* address of head of argument list */ member
202 int sh_macexpand(Shell_t* shp, register struct argnod *argp, struct argnod **arghead,int flag) in sh_macexpand() argument
220 mp->arghead = arghead; in sh_macexpand()
232 if(!arghead) in sh_macexpand()
247 if(!arghead) in sh_macexpand()
258 argp->argchn.ap = *arghead; in sh_macexpand()
2478 count = path_generate(mp->shp,argp,mp->arghead); in endfield()
2480 count = path_expand(mp->shp,argp->argval,mp->arghead); in endfield()
2491 argp->argchn.ap = *mp->arghead; in endfield()
2492 *mp->arghead = argp; in endfield()
[all …]
H A Dargs.c711 struct argnod *arghead=0; in sh_argbuild() local
737 n = arg_expand(shp,argp,&arghead,flag); in sh_argbuild()
747 argp = arghead; in sh_argbuild()