cmdp 1038 src/dps8/dps8_console.c CTAB *cmdp; cmdp 1039 src/dps8/dps8_console.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1041 src/dps8/dps8_console.c t_stat stat = cmdp->action (cmdp->arg, cptr); cmdp 1763 src/dps8/dps8_sys.c CTAB *cmdp; cmdp 1764 src/dps8/dps8_sys.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1766 src/dps8/dps8_sys.c t_stat stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 2253 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2277 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 2278 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 2286 src/simh/scp.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 2287 src/simh/scp.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 2336 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2339 src/simh/scp.c cmdp = find_ctab (sim_vm_cmd, gbuf); cmdp 2340 src/simh/scp.c if (cmdp == NULL) /* try regular cmds */ cmdp 2341 src/simh/scp.c cmdp = find_ctab (cmd_table, gbuf); cmdp 2342 src/simh/scp.c return cmdp; cmdp 2365 src/simh/scp.c CTAB *cmdp; cmdp 2372 src/simh/scp.c for (cmdp = sim_vm_cmd; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2373 src/simh/scp.c if (cmdp->help) { cmdp 2390 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2392 src/simh/scp.c if (strlen(cmdp->name) > max_cmdname_size) cmdp 2393 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2396 src/simh/scp.c for (cmdp = cmd_table; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2397 src/simh/scp.c if (cmdp->help && (NULL == sim_vm_cmd || NULL == find_ctab (sim_vm_cmd, cmdp->name))) { cmdp 2414 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2416 src/simh/scp.c if (strlen (cmdp->name) > max_cmdname_size) cmdp 2417 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2760 src/simh/scp.c CTAB *cmdp; cmdp 2764 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2765 src/simh/scp.c if (cmdp->action == &exdep_cmd) { cmdp 2769 src/simh/scp.c (void)fprintf (st, "No HELP available for the %s %s command\r\n", cmdp->name, sim_dname(dptr)); cmdp 2772 src/simh/scp.c if (cmdp->action == &set_cmd) { cmdp 2776 src/simh/scp.c if (cmdp->action == &show_cmd) { cmdp 2780 src/simh/scp.c if (cmdp->action == &attach_cmd) { cmdp 2784 src/simh/scp.c if (cmdp->action == &brk_cmd) { cmdp 2790 src/simh/scp.c (void)fprintf (st, "No %s HELP is available for the %s device\r\n", cmdp->name, dptr->name); cmdp 2837 src/simh/scp.c CTAB *cmdp; cmdp 2844 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2846 src/simh/scp.c if ((cmdp->action == &set_cmd) || (cmdp->action == &show_cmd)) { cmdp 2855 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2857 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2860 src/simh/scp.c if (cmdp->action == &set_cmd) { /* HELP SET xxx (not device or unit) */ cmdp 2862 src/simh/scp.c if ((cmdp = find_ctab (set_glob_tab, gbuf)) && cmdp 2863 src/simh/scp.c (cmdp->help)) cmdp 2864 src/simh/scp.c return help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2877 src/simh/scp.c if (cmdp->help) { cmdp 2878 src/simh/scp.c if (strcmp (cmdp->name, "HELP") == 0) { cmdp 2915 src/simh/scp.c if (((cmdp->action == &exdep_cmd) || (0 == strcmp(cmdp->name, "BOOT"))) && cmdp 2917 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2919 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2922 src/simh/scp.c help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2927 src/simh/scp.c if ((cmdpa->action == cmdp->action) && (cmdpa->help)) { cmdp 2929 src/simh/scp.c cmdp->name, cmdpa->name, cmdpa->help); cmdp 2933 src/simh/scp.c sim_printf ("No help available for the %s command\r\n", cmdp->name); cmdp 3030 src/simh/scp.c CTAB *cmdp = NULL; cmdp 3113 src/simh/scp.c cmdp = find_cmd (gbuf); /* return the errorStage things to the stat will be returned */ cmdp 3144 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { /* lookup command */ cmdp 3145 src/simh/scp.c if (cmdp->action == &return_cmd) /* RETURN command? */ cmdp 3147 src/simh/scp.c if (cmdp->action == &do_cmd) { /* DO command? */ cmdp 3154 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* exec other cmd */ cmdp 3161 src/simh/scp.c if (cmdp) cmdp 3163 src/simh/scp.c ((cmdp->action != &return_cmd) && cmdp 3164 src/simh/scp.c (cmdp->action != &goto_cmd) && cmdp 3165 src/simh/scp.c (cmdp->action != &on_cmd) && cmdp 3166 src/simh/scp.c (cmdp->action != &echo_cmd))) cmdp 3186 src/simh/scp.c !(cmdp && cmdp->message)) { /* and not handling them specially */ cmdp 3191 src/simh/scp.c if (cmdp && cmdp->message) /* special message handler */ cmdp 3192 src/simh/scp.c cmdp->message ((!echo && !sim_quiet) ? sim_do_ocptr[sim_do_depth] : NULL, stat); cmdp 3231 src/simh/scp.c if (cmdp && (cmdp->action == &return_cmd) && (0 != *cptr)) { /* return command with argument? */ cmdp 556 src/simh/sim_console.c CTAB *cmdp, *cmdph; cmdp 568 src/simh/sim_console.c for (cmdp=allowed_remote_cmds; cmdp->name != NULL; ++cmdp) { cmdp 569 src/simh/sim_console.c cmdph = find_cmd (cmdp->name); cmdp 571 src/simh/sim_console.c sim_printf (" %s\r\n", cmdp->name); cmdp 579 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 582 src/simh/sim_console.c cmdp = find_cmd (cmd); cmdp 585 src/simh/sim_console.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 586 src/simh/sim_console.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 656 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 927 src/simh/sim_console.c if ((cmdp = find_ctab ( cmdp 931 src/simh/sim_console.c if (cmdp->action == &x_continue_cmd) cmdp 934 src/simh/sim_console.c if (cmdp->action == &exit_cmd) cmdp 936 src/simh/sim_console.c if (cmdp->action == &x_step_cmd) { cmdp 950 src/simh/sim_console.c cmdp = NULL; cmdp 953 src/simh/sim_console.c if (cmdp->action == &x_run_cmd) { cmdp 955 src/simh/sim_console.c stat = basecmdp->action (cmdp->arg, cptr); cmdp 959 src/simh/sim_console.c cmdp = find_ctab (allowed_master_remote_cmds, "CONTINUE"); cmdp 978 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) { cmdp 1008 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) //-V560 cmdp 1021 src/simh/sim_console.c if ((cmdp && (cmdp->action == &x_step_cmd)) ||