mptr              316 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag);
mptr             2448 src/simh/scp.c MTAB *mptr;
mptr             2460 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2461 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
mptr             2463 src/simh/scp.c         if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD))
mptr             2465 src/simh/scp.c         if (mptr->mstring) {
mptr             2468 src/simh/scp.c                            mptr->mstring,
mptr             2469 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2470 src/simh/scp.c                                ? ""       : (MODMASK(mptr,MTAB_VALR) \
mptr             2471 src/simh/scp.c                                ? "=val"   : (MODMASK(mptr,MTAB_VALO) \
mptr             2473 src/simh/scp.c             if ((strlen (buf) < 30) || (NULL == mptr->help))
mptr             2474 src/simh/scp.c                 (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2476 src/simh/scp.c                 (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help);
mptr             2523 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2524 src/simh/scp.c         if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD))
mptr             2526 src/simh/scp.c         if ((NULL == mptr->valid) && MODMASK(mptr,MTAB_XTD))
mptr             2528 src/simh/scp.c         if (mptr->mstring) {
mptr             2531 src/simh/scp.c                            (dptr->numunits > 1) ? "n" : "0", mptr->mstring,
mptr             2532 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2533 src/simh/scp.c                                ? ""       : (MODMASK(mptr,MTAB_VALR) \
mptr             2534 src/simh/scp.c                                ? "=val"   : (MODMASK(mptr,MTAB_VALO) \
mptr             2537 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2538 src/simh/scp.c                                ? "" : (mptr->help ? mptr->help : ""));
mptr             2553 src/simh/scp.c MTAB *mptr;
mptr             2564 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2565 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
mptr             2567 src/simh/scp.c         if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD))
mptr             2569 src/simh/scp.c         if ((!mptr->disp) || (!mptr->pstring) || !(*mptr->pstring))
mptr             2573 src/simh/scp.c                        mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : "");
mptr             2574 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2583 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2584 src/simh/scp.c         if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD))
mptr             2586 src/simh/scp.c         if ((!mptr->disp) || (!mptr->pstring))
mptr             2590 src/simh/scp.c                        (dptr->numunits > 1) ? "n" : "0", mptr->pstring,
mptr             2591 src/simh/scp.c                        MODMASK(mptr,MTAB_SHP) ? "=arg" : "");
mptr             2592 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2785 src/simh/scp.c 
mptr             2786 src/simh/scp.c 
mptr             2787 src/simh/scp.c 
mptr             4092 src/simh/scp.c MTAB *mptr;
mptr             4122 src/simh/scp.c         for (mptr = sim_dflt_dev->modifiers; mptr->mask != 0; mptr++) {
mptr             4123 src/simh/scp.c             if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) {
mptr             4147 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4148 src/simh/scp.c         if ((mptr->mstring) &&                          /* match string */
mptr             4149 src/simh/scp.c             (MATCH_CMD (gbuf, mptr->mstring) == 0)) {   /* matches option? */
mptr             4150 src/simh/scp.c             if (mptr->mask & MTAB_XTD) {                /* extended? */
mptr             4151 src/simh/scp.c                 if (((lvl & mptr->mask) & ~MTAB_XTD) == 0)
mptr             4155 src/simh/scp.c                 if (mptr->valid) {                      /* validation rtn? */
mptr             4156 src/simh/scp.c                     if (cvptr && MODMASK(mptr,MTAB_QUOTE)) {
mptr             4164 src/simh/scp.c                         if (cvptr && MODMASK(mptr,MTAB_NC)) {
mptr             4170 src/simh/scp.c                     r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc);
mptr             4174 src/simh/scp.c                 else if (!mptr->desc)                   /* value desc? */
mptr             4178 src/simh/scp.c                 else *((int32 *) mptr->desc) = mptr->match;
mptr             4185 src/simh/scp.c                 if ((mptr->valid) &&                    /* invalid? */
mptr             4186 src/simh/scp.c                     ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK))
mptr             4188 src/simh/scp.c                 uptr->flags = (uptr->flags & ~(mptr->mask)) |
mptr             4189 src/simh/scp.c                     (mptr->match & mptr->mask);         /* set new value */
mptr             4194 src/simh/scp.c     if (!mptr || (mptr->mask == 0)) {                   /* no match? */
mptr             4358 src/simh/scp.c MTAB *mptr;
mptr             4389 src/simh/scp.c         for (mptr = sim_dflt_dev->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4390 src/simh/scp.c             if ((((mptr->mask & MTAB_VDV) == MTAB_VDV) &&
mptr             4391 src/simh/scp.c                  (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600
mptr             4392 src/simh/scp.c                 (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) {
mptr             4421 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4422 src/simh/scp.c         if (((mptr->mask & MTAB_XTD)?                   /* right level? */
mptr             4423 src/simh/scp.c             ((mptr->mask & lvl) == lvl): (MTAB_VUN & lvl)) &&
mptr             4424 src/simh/scp.c             ((mptr->disp && mptr->pstring &&            /* named disp? */
mptr             4425 src/simh/scp.c             (MATCH_CMD (gbuf, mptr->pstring) == 0))
mptr             4427 src/simh/scp.c             if (cvptr && !MODMASK(mptr,MTAB_SHP))
mptr             4429 src/simh/scp.c             show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1);
mptr             4433 src/simh/scp.c     if (!mptr || (mptr->mask == 0)) {                   /* no match? */
mptr             5759 src/simh/scp.c MTAB *mptr;
mptr             5764 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             5765 src/simh/scp.c     if (mptr->pstring &&
mptr             5766 src/simh/scp.c         ((mptr->mask & MTAB_XTD)?
mptr             5767 src/simh/scp.c             (MODMASK(mptr,flag) && !MODMASK(mptr,MTAB_NMO)):
mptr             5768 src/simh/scp.c             ((MTAB_VUN == (uint32)flag) && ((uptr->flags & mptr->mask) == mptr->match)))) {
mptr             5775 src/simh/scp.c         r = show_one_mod (st, dptr, uptr, mptr, NULL, 0);
mptr             5781 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr,
mptr             5786 src/simh/scp.c if (mptr->disp)
mptr             5787 src/simh/scp.c     r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc));
mptr             5789 src/simh/scp.c     fputs (mptr->pstring, st);
mptr             5790 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO))))
mptr              586 src/simh/sim_defs.h # define MODMASK(mptr,flag) (((mptr)->mask & (uint32)(flag)) == (uint32)(flag))/* flag mask test */
mptr             3409 src/simh/sim_tmxr.c     MTAB *mptr;
mptr             3411 src/simh/sim_tmxr.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++)
mptr             3412 src/simh/sim_tmxr.c         if (mptr->valid == &tmxr_dscln) {
mptr             3414 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET %s %s=n\n\n", dptr->name, mptr->mstring);
mptr             3419 src/simh/sim_tmxr.c             fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring);
mptr             3420 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring);