cmdp 1017 src/dps8/dps8_console.c CTAB *cmdp; cmdp 1018 src/dps8/dps8_console.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1020 src/dps8/dps8_console.c t_stat stat = cmdp->action (cmdp->arg, cptr); cmdp 1753 src/dps8/dps8_sys.c CTAB *cmdp; cmdp 1754 src/dps8/dps8_sys.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1756 src/dps8/dps8_sys.c t_stat stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 2074 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2098 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 2099 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 2107 src/simh/scp.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 2108 src/simh/scp.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 2157 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2160 src/simh/scp.c cmdp = find_ctab (sim_vm_cmd, gbuf); cmdp 2161 src/simh/scp.c if (cmdp == NULL) /* try regular cmds */ cmdp 2162 src/simh/scp.c cmdp = find_ctab (cmd_table, gbuf); cmdp 2163 src/simh/scp.c return cmdp; cmdp 2186 src/simh/scp.c CTAB *cmdp; cmdp 2193 src/simh/scp.c for (cmdp = sim_vm_cmd; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2194 src/simh/scp.c if (cmdp->help) { cmdp 2211 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2213 src/simh/scp.c if (strlen(cmdp->name) > max_cmdname_size) cmdp 2214 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2217 src/simh/scp.c for (cmdp = cmd_table; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2218 src/simh/scp.c if (cmdp->help && (NULL == sim_vm_cmd || NULL == find_ctab (sim_vm_cmd, cmdp->name))) { cmdp 2235 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2237 src/simh/scp.c if (strlen (cmdp->name) > max_cmdname_size) cmdp 2238 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2581 src/simh/scp.c CTAB *cmdp; cmdp 2585 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2586 src/simh/scp.c if (cmdp->action == &exdep_cmd) { cmdp 2590 src/simh/scp.c (void)fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr)); cmdp 2593 src/simh/scp.c if (cmdp->action == &set_cmd) { cmdp 2597 src/simh/scp.c if (cmdp->action == &show_cmd) { cmdp 2601 src/simh/scp.c if (cmdp->action == &attach_cmd) { cmdp 2605 src/simh/scp.c if (cmdp->action == &brk_cmd) { cmdp 2611 src/simh/scp.c (void)fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name); cmdp 2658 src/simh/scp.c CTAB *cmdp; cmdp 2665 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2667 src/simh/scp.c if ((cmdp->action == &set_cmd) || (cmdp->action == &show_cmd)) { cmdp 2676 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2678 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2681 src/simh/scp.c if (cmdp->action == &set_cmd) { /* HELP SET xxx (not device or unit) */ cmdp 2683 src/simh/scp.c if ((cmdp = find_ctab (set_glob_tab, gbuf)) && cmdp 2684 src/simh/scp.c (cmdp->help)) cmdp 2685 src/simh/scp.c return help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2698 src/simh/scp.c if (cmdp->help) { cmdp 2699 src/simh/scp.c if (strcmp (cmdp->name, "HELP") == 0) { cmdp 2736 src/simh/scp.c if (((cmdp->action == &exdep_cmd) || (0 == strcmp(cmdp->name, "BOOT"))) && cmdp 2738 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2740 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2743 src/simh/scp.c help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2748 src/simh/scp.c if ((cmdpa->action == cmdp->action) && (cmdpa->help)) { cmdp 2750 src/simh/scp.c cmdp->name, cmdpa->name, cmdpa->help); cmdp 2754 src/simh/scp.c sim_printf ("No help available for the %s command\n", cmdp->name); cmdp 2851 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2934 src/simh/scp.c cmdp = find_cmd (gbuf); /* return the errorStage things to the stat will be returned */ cmdp 2962 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { /* lookup command */ cmdp 2963 src/simh/scp.c if (cmdp->action == &return_cmd) /* RETURN command? */ cmdp 2965 src/simh/scp.c if (cmdp->action == &do_cmd) { /* DO command? */ cmdp 2972 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* exec other cmd */ cmdp 2979 src/simh/scp.c if (cmdp) cmdp 2981 src/simh/scp.c ((cmdp->action != &return_cmd) && cmdp 2982 src/simh/scp.c (cmdp->action != &goto_cmd) && cmdp 2983 src/simh/scp.c (cmdp->action != &on_cmd) && cmdp 2984 src/simh/scp.c (cmdp->action != &echo_cmd))) cmdp 3004 src/simh/scp.c !(cmdp && cmdp->message)) { /* and not handling them specially */ cmdp 3009 src/simh/scp.c if (cmdp && cmdp->message) /* special message handler */ cmdp 3010 src/simh/scp.c cmdp->message ((!echo && !sim_quiet) ? sim_do_ocptr[sim_do_depth] : NULL, stat); cmdp 3049 src/simh/scp.c if (cmdp && (cmdp->action == &return_cmd) && (0 != *cptr)) { /* return command with argument? */ cmdp 555 src/simh/sim_console.c CTAB *cmdp, *cmdph; cmdp 567 src/simh/sim_console.c for (cmdp=allowed_remote_cmds; cmdp->name != NULL; ++cmdp) { cmdp 568 src/simh/sim_console.c cmdph = find_cmd (cmdp->name); cmdp 570 src/simh/sim_console.c sim_printf (" %s\r\n", cmdp->name); cmdp 578 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 581 src/simh/sim_console.c cmdp = find_cmd (cmd); cmdp 584 src/simh/sim_console.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 585 src/simh/sim_console.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 655 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 926 src/simh/sim_console.c if ((cmdp = find_ctab ( cmdp 930 src/simh/sim_console.c if (cmdp->action == &x_continue_cmd) cmdp 933 src/simh/sim_console.c if (cmdp->action == &exit_cmd) cmdp 935 src/simh/sim_console.c if (cmdp->action == &x_step_cmd) { cmdp 949 src/simh/sim_console.c cmdp = NULL; cmdp 952 src/simh/sim_console.c if (cmdp->action == &x_run_cmd) { cmdp 954 src/simh/sim_console.c stat = basecmdp->action (cmdp->arg, cptr); cmdp 958 src/simh/sim_console.c cmdp = find_ctab (allowed_master_remote_cmds, "CONTINUE"); cmdp 977 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) { cmdp 1007 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) //-V560 cmdp 1020 src/simh/sim_console.c if ((cmdp && (cmdp->action == &x_step_cmd)) ||