Lines Matching refs:cmdname
81 char cmdname[]; /* name of command */ member
107 char *cmdname; in shellexec() local
116 while ((cmdname = padvance(&path, &opt, argv[0])) != NULL) { in shellexec()
118 tryexec(cmdname, argv, envp); in shellexec()
124 stunalloc(cmdname); in shellexec()
312 name = padvance(&path, &opt, cmdp->cmdname); in printentry()
317 out1fmt("builtin %s", cmdp->cmdname); in printentry()
319 out1fmt("function %s", cmdp->cmdname); in printentry()
575 if (equal(cmdp->cmdname, name)) in cmdlookup()
585 memcpy(cmdp->cmdname, name, len + 1); in cmdlookup()
603 i = hashname(e->cmdname) + 1; in itercmd()
612 result->cmdname = e->cmdname; in itercmd()