cmdp 1009 src/dps8/dps8_console.c CTAB *cmdp; cmdp 1010 src/dps8/dps8_console.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1012 src/dps8/dps8_console.c t_stat stat = cmdp->action (cmdp->arg, cptr); cmdp 1774 src/dps8/dps8_sys.c CTAB *cmdp; cmdp 1775 src/dps8/dps8_sys.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1777 src/dps8/dps8_sys.c t_stat stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 1911 src/simh/scp.c CTAB *cmdp = NULL; cmdp 1935 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ cmdp 1936 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* if found, exec */ cmdp 1944 src/simh/scp.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 1945 src/simh/scp.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 1994 src/simh/scp.c CTAB *cmdp = NULL; cmdp 1997 src/simh/scp.c cmdp = find_ctab (sim_vm_cmd, gbuf); cmdp 1998 src/simh/scp.c if (cmdp == NULL) /* try regular cmds */ cmdp 1999 src/simh/scp.c cmdp = find_ctab (cmd_table, gbuf); cmdp 2000 src/simh/scp.c return cmdp; cmdp 2023 src/simh/scp.c CTAB *cmdp; cmdp 2030 src/simh/scp.c for (cmdp = sim_vm_cmd; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2031 src/simh/scp.c if (cmdp->help) { cmdp 2048 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2050 src/simh/scp.c if (strlen(cmdp->name) > max_cmdname_size) cmdp 2051 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2054 src/simh/scp.c for (cmdp = cmd_table; cmdp && (cmdp->name != NULL); cmdp++) { cmdp 2055 src/simh/scp.c if (cmdp->help && (!sim_vm_cmd || !find_ctab (sim_vm_cmd, cmdp->name))) { cmdp 2072 src/simh/scp.c hlp_cmdp[cmd_cnt] = cmdp; cmdp 2074 src/simh/scp.c if (strlen (cmdp->name) > max_cmdname_size) cmdp 2075 src/simh/scp.c max_cmdname_size = strlen(cmdp->name); cmdp 2383 src/simh/scp.c CTAB *cmdp; cmdp 2387 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2388 src/simh/scp.c if (cmdp->action == &exdep_cmd) { cmdp 2392 src/simh/scp.c fprintf (st, "No HELP available for the %s %s command\n", cmdp->name, sim_dname(dptr)); cmdp 2395 src/simh/scp.c if (cmdp->action == &set_cmd) { cmdp 2399 src/simh/scp.c if (cmdp->action == &show_cmd) { cmdp 2403 src/simh/scp.c if (cmdp->action == &attach_cmd) { cmdp 2407 src/simh/scp.c if (cmdp->action == &brk_cmd) { cmdp 2413 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", cmdp->name, dptr->name); cmdp 2460 src/simh/scp.c CTAB *cmdp; cmdp 2467 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { cmdp 2469 src/simh/scp.c if ((cmdp->action == &set_cmd) || (cmdp->action == &show_cmd)) { cmdp 2478 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2480 src/simh/scp.c help_dev_help (sim_log, dptr, uptr, flag | SCP_HELP_FLAT, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); cmdp 2483 src/simh/scp.c if (cmdp->action == &set_cmd) { /* HELP SET xxx (not device or unit) */ cmdp 2485 src/simh/scp.c if ((cmdp = find_ctab (set_glob_tab, gbuf)) && cmdp 2486 src/simh/scp.c (cmdp->help)) cmdp 2487 src/simh/scp.c return help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2500 src/simh/scp.c if (cmdp->help) { cmdp 2501 src/simh/scp.c if (strcmp (cmdp->name, "HELP") == 0) { cmdp 2534 src/simh/scp.c if (((cmdp->action == &exdep_cmd) || (0 == strcmp(cmdp->name, "BOOT"))) && cmdp 2536 src/simh/scp.c sim_dflt_dev->help (stdout, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2538 src/simh/scp.c sim_dflt_dev->help (sim_log, sim_dflt_dev, sim_dflt_dev->units, 0, cmdp->name); cmdp 2541 src/simh/scp.c help_cmd_output (flag, cmdp->help, cmdp->help_base); cmdp 2546 src/simh/scp.c if ((cmdpa->action == cmdp->action) && (cmdpa->help)) { cmdp 2548 src/simh/scp.c cmdp->name, cmdpa->name, cmdpa->help); cmdp 2552 src/simh/scp.c sim_printf ("No help available for the %s command\n", cmdp->name); cmdp 2649 src/simh/scp.c CTAB *cmdp = NULL; cmdp 2732 src/simh/scp.c cmdp = find_cmd (gbuf); /* return the errorStage things to the stat will be returned */ cmdp 2760 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { /* lookup command */ cmdp 2761 src/simh/scp.c if (cmdp->action == &return_cmd) /* RETURN command? */ cmdp 2763 src/simh/scp.c if (cmdp->action == &do_cmd) { /* DO command? */ cmdp 2770 src/simh/scp.c stat = cmdp->action (cmdp->arg, cptr); /* exec other cmd */ cmdp 2777 src/simh/scp.c if (cmdp) cmdp 2779 src/simh/scp.c ((cmdp->action != &return_cmd) && cmdp 2780 src/simh/scp.c (cmdp->action != &goto_cmd) && cmdp 2781 src/simh/scp.c (cmdp->action != &on_cmd) && cmdp 2782 src/simh/scp.c (cmdp->action != &echo_cmd))) cmdp 2802 src/simh/scp.c !(cmdp && cmdp->message)) { /* and not handling them specially */ cmdp 2807 src/simh/scp.c if (cmdp && cmdp->message) /* special message handler */ cmdp 2808 src/simh/scp.c cmdp->message ((!echo && !sim_quiet) ? sim_do_ocptr[sim_do_depth] : NULL, stat); cmdp 2847 src/simh/scp.c if (cmdp && (cmdp->action == &return_cmd) && (0 != *cptr)) { /* return command with argument? */ cmdp 547 src/simh/sim_console.c CTAB *cmdp, *cmdph; cmdp 559 src/simh/sim_console.c for (cmdp=allowed_remote_cmds; cmdp->name != NULL; ++cmdp) { cmdp 560 src/simh/sim_console.c cmdph = find_cmd (cmdp->name); cmdp 562 src/simh/sim_console.c sim_printf (" %s\r\n", cmdp->name); cmdp 570 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 573 src/simh/sim_console.c cmdp = find_cmd (cmd); cmdp 576 src/simh/sim_console.c if (cmdp && (cmdp->message)) /* special message handler? */ cmdp 577 src/simh/sim_console.c cmdp->message (NULL, stat); /* let it deal with display */ cmdp 647 src/simh/sim_console.c CTAB *cmdp = NULL; cmdp 911 src/simh/sim_console.c if ((cmdp = find_ctab (sim_rem_single_mode[i] ? allowed_single_remote_cmds : (master_session ? allowed_master_remote_cmds : allowed_remote_cmds), gbuf))) {/* lookup command */ cmdp 912 src/simh/sim_console.c if (cmdp->action == &x_continue_cmd) cmdp 915 src/simh/sim_console.c if (cmdp->action == &exit_cmd) cmdp 917 src/simh/sim_console.c if (cmdp->action == &x_step_cmd) { cmdp 931 src/simh/sim_console.c cmdp = NULL; cmdp 934 src/simh/sim_console.c if (cmdp->action == &x_run_cmd) { cmdp 936 src/simh/sim_console.c stat = basecmdp->action (cmdp->arg, cptr); cmdp 940 src/simh/sim_console.c cmdp = find_ctab (allowed_master_remote_cmds, "CONTINUE"); cmdp 959 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) { cmdp 989 src/simh/sim_console.c if (cmdp && (cmdp->action == &x_continue_cmd)) //-V560 cmdp 1002 src/simh/sim_console.c if ((cmdp && (cmdp->action == &x_step_cmd)) ||