Lines Matching refs:com
455 const struct cmd *com; in execute() local
490 com = lex(word); in execute()
491 if (com == NONE) { in execute()
509 if ((com->c_argtype & F) == 0) in execute()
520 if (com->c_func == (int (*)(void *))edstop) { in execute()
537 if (!rcvmode && (com->c_argtype & M) == 0) { in execute()
540 com->c_name); in execute()
547 if (sourcing && com->c_argtype & I) { in execute()
550 com->c_name); in execute()
557 if (readonly && com->c_argtype & W) { in execute()
560 com->c_name); in execute()
567 if (contxt && com->c_argtype & R) { in execute()
569 com->c_name); in execute()
573 switch (com->c_argtype & ~(F|P|I|M|T|W|R)) { in execute()
584 if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0) in execute()
590 *msgvec = first(com->c_msgflag, in execute()
591 com->c_msgmask); in execute()
598 e = (*com->c_func)(msgvec); in execute()
612 if (getmessage(cp, msgvec, com->c_msgflag) < 0) in execute()
614 e = (*com->c_func)(msgvec); in execute()
624 e = (*com->c_func)(cp); in execute()
634 if (c < com->c_minargs) { in execute()
637 com->c_name, com->c_minargs); in execute()
640 if (c > com->c_maxargs) { in execute()
643 com->c_name, com->c_maxargs); in execute()
646 e = (*com->c_func)(arglist); in execute()
654 e = (*com->c_func)(0); in execute()
670 if (com->c_func == (int (*)(void *))edstop) in execute()
672 if (value("autoprint") != NOSTR && com->c_argtype & P) in execute()
678 if (!sourcing && (com->c_argtype & T) == 0) in execute()