Home
last modified time | relevance | path

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

/system/core/sh/
Dexec.c92 short cmdtype; /* index identifying command */ member
351 if (verbose || cmdp->cmdtype == CMDNORMAL) in hashcmd()
359 && (cmdp->cmdtype == CMDNORMAL in hashcmd()
360 || (cmdp->cmdtype == CMDBUILTIN && builtinloc >= 0))) in hashcmd()
364 if (entry.cmdtype != CMDUNKNOWN) { /* if no error msg */ in hashcmd()
383 switch (cmdp->cmdtype) { in printentry()
412 error("internal error: %s cmdtype %d", cmdp->cmdname, cmdp->cmdtype); in printentry()
447 entry->cmdtype = CMDUNKNOWN; in find_command()
451 entry->cmdtype = CMDNORMAL; in find_command()
455 entry->cmdtype = CMDNORMAL; in find_command()
[all …]
Dexec.h46 int cmdtype; member
Deval.c783 cmdentry.cmdtype = CMDSPLBLTIN; in evalcommand()
800 if (cmdentry.cmdtype == CMDUNKNOWN) { in evalcommand()
807 if (cmdentry.cmdtype != CMDBUILTIN || in evalcommand()
822 if (cmdentry.cmdtype == CMDSPLBLTIN && cmd_flags & DO_NOFUNC) in evalcommand()
825 cmdentry.cmdtype = CMDBUILTIN; in evalcommand()
830 || (cmdentry.cmdtype == CMDNORMAL && (flags & EV_EXIT) == 0) in evalcommand()
832 && ((cmdentry.cmdtype != CMDBUILTIN && cmdentry.cmdtype != CMDSPLBLTIN) in evalcommand()
848 if (cmdentry.cmdtype == CMDNORMAL) { in evalcommand()
921 switch (cmdentry.cmdtype) { in evalcommand()
1009 cmdentry.cmdtype == CMDSPLBLTIN ? 0 : VNOSET); in evalcommand()
[all …]