Home
last modified time | relevance | path

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

/system/core/sh/
Dexec.h45 struct cmdentry { struct
68 void find_command(char *, struct cmdentry *, int, const char *); argument
74 void getcmdentry(char *, struct cmdentry *);
75 void addcmdentry(char *, struct cmdentry *);
Deval.c687 struct cmdentry cmdentry; in evalcommand() local
783 cmdentry.cmdtype = CMDSPLBLTIN; in evalcommand()
784 cmdentry.u.bltin = bltincmd; in evalcommand()
799 find_command(argv[0], &cmdentry, cmd_flags, path); in evalcommand()
800 if (cmdentry.cmdtype == CMDUNKNOWN) { in evalcommand()
807 if (cmdentry.cmdtype != CMDBUILTIN || in evalcommand()
808 cmdentry.u.bltin != bltincmd) in evalcommand()
814 cmdentry.u.bltin = typecmd; in evalcommand()
822 if (cmdentry.cmdtype == CMDSPLBLTIN && cmd_flags & DO_NOFUNC) in evalcommand()
825 cmdentry.cmdtype = CMDBUILTIN; in evalcommand()
[all …]
Dexec.c337 struct cmdentry entry; in hashcmd()
427 find_command(char *name, struct cmdentry *entry, int act, const char *path) in find_command()
869 getcmdentry(char *name, struct cmdentry *entry) in getcmdentry()
890 addcmdentry(char *name, struct cmdentry *entry) in addcmdentry()
914 struct cmdentry entry; in defun()
950 struct cmdentry entry; in typecmd()