Home | History | Annotate | Download | only in sh

Lines Matching refs:cmdentry

687 	struct cmdentry cmdentry;
783 cmdentry.cmdtype = CMDSPLBLTIN;
784 cmdentry.u.bltin = bltincmd;
799 find_command(argv[0], &cmdentry, cmd_flags, path);
800 if (cmdentry.cmdtype == CMDUNKNOWN) {
807 if (cmdentry.cmdtype != CMDBUILTIN ||
808 cmdentry.u.bltin != bltincmd)
814 cmdentry.u.bltin = typecmd;
822 if (cmdentry.cmdtype == CMDSPLBLTIN && cmd_flags & DO_NOFUNC)
825 cmdentry.cmdtype = CMDBUILTIN;
830 || (cmdentry.cmdtype == CMDNORMAL && (flags & EV_EXIT) == 0)
832 && ((cmdentry.cmdtype != CMDBUILTIN && cmdentry.cmdtype != CMDSPLBLTIN)
833 || cmdentry.u.bltin == dotcmd
834 || cmdentry.u.bltin == evalcmd))) {
848 if (cmdentry.cmdtype == CMDNORMAL) {
921 switch (cmdentry.cmdtype) {
956 evaltree(cmdentry.u.func, flags & EV_TESTED);
979 mode = (cmdentry.u.bltin == execcmd) ? 0 : REDIR_PUSH;
995 if (path != pathval() && (cmdentry.u.bltin == hashcmd ||
996 cmdentry.u.bltin == typecmd)) {
1009 cmdentry.cmdtype == CMDSPLBLTIN ? 0 : VNOSET);
1019 exitstatus = cmdentry.u.bltin(argc, argv);
1042 || cmdentry.cmdtype == CMDSPLBLTIN)
1046 if (cmdentry.u.bltin != execcmd)
1065 shellexec(argv, envp, path, cmdentry.u.index, vforked);
1104 struct cmdentry entry;