Lines Matching refs:com
454 const struct cmd *com; in execute() local
489 com = lex(word); in execute()
490 if (com == NONE) { in execute()
508 if ((com->c_argtype & F) == 0) in execute()
519 if ((uintptr_t)com->c_func == (uintptr_t)edstop) { in execute()
536 if (!rcvmode && (com->c_argtype & M) == 0) { in execute()
539 com->c_name); in execute()
546 if (sourcing && com->c_argtype & I) { in execute()
549 com->c_name); in execute()
556 if (readonly && com->c_argtype & W) { in execute()
559 com->c_name); in execute()
566 if (contxt && com->c_argtype & R) { in execute()
568 com->c_name); in execute()
572 switch (com->c_argtype & ~(F|P|I|M|T|W|R)) { in execute()
583 if ((c = getmsglist(cp, msgvec, com->c_msgflag)) < 0) in execute()
589 *msgvec = first(com->c_msgflag, in execute()
590 com->c_msgmask); in execute()
597 e = (*com->c_func)(msgvec); in execute()
611 if (getmessage(cp, msgvec, com->c_msgflag) < 0) in execute()
613 e = (*com->c_func)(msgvec); in execute()
623 e = (*com->c_func)(cp); in execute()
633 if (c < com->c_minargs) { in execute()
636 com->c_name, com->c_minargs); in execute()
639 if (c > com->c_maxargs) { in execute()
642 com->c_name, com->c_maxargs); in execute()
645 e = (*com->c_func)(arglist); in execute()
653 e = (*com->c_func)(0); in execute()
669 if ((uintptr_t)com->c_func == (uintptr_t)edstop) in execute()
671 if (value("autoprint") != NOSTR && com->c_argtype & P) in execute()
677 if (!sourcing && (com->c_argtype & T) == 0) in execute()