mptr              314 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr, CONST char *cptr, int32 flag);
mptr             2386 src/simh/scp.c MTAB *mptr;
mptr             2398 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2399 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
mptr             2401 src/simh/scp.c         if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD))
mptr             2403 src/simh/scp.c         if (mptr->mstring) {
mptr             2406 src/simh/scp.c                            mptr->mstring,
mptr             2407 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2408 src/simh/scp.c                                ? ""       : (MODMASK(mptr,MTAB_VALR) \
mptr             2409 src/simh/scp.c                                ? "=val"   : (MODMASK(mptr,MTAB_VALO) \
mptr             2411 src/simh/scp.c             if ((strlen (buf) < 30) || (NULL == mptr->help))
mptr             2412 src/simh/scp.c                 (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2414 src/simh/scp.c                 (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help);
mptr             2461 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2462 src/simh/scp.c         if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD))
mptr             2464 src/simh/scp.c         if ((NULL == mptr->valid) && MODMASK(mptr,MTAB_XTD))
mptr             2466 src/simh/scp.c         if (mptr->mstring) {
mptr             2469 src/simh/scp.c                            (dptr->numunits > 1) ? "n" : "0", mptr->mstring,
mptr             2470 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2471 src/simh/scp.c                                ? ""       : (MODMASK(mptr,MTAB_VALR) \
mptr             2472 src/simh/scp.c                                ? "=val"   : (MODMASK(mptr,MTAB_VALO) \
mptr             2475 src/simh/scp.c                            (strchr(mptr->mstring, '=')) \
mptr             2476 src/simh/scp.c                                ? "" : (mptr->help ? mptr->help : ""));
mptr             2491 src/simh/scp.c MTAB *mptr;
mptr             2502 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2503 src/simh/scp.c         if (!MODMASK(mptr,MTAB_VDV) && MODMASK(mptr,MTAB_VUN) && (dptr->numunits != 1))
mptr             2505 src/simh/scp.c         if ((enabled_units != 1) && !(mptr->mask & MTAB_XTD))
mptr             2507 src/simh/scp.c         if ((!mptr->disp) || (!mptr->pstring) || !(*mptr->pstring))
mptr             2511 src/simh/scp.c                        mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : "");
mptr             2512 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2521 src/simh/scp.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             2522 src/simh/scp.c         if ((!MODMASK(mptr,MTAB_VUN)) && MODMASK(mptr,MTAB_XTD))
mptr             2524 src/simh/scp.c         if ((!mptr->disp) || (!mptr->pstring))
mptr             2528 src/simh/scp.c                        (dptr->numunits > 1) ? "n" : "0", mptr->pstring,
mptr             2529 src/simh/scp.c                        MODMASK(mptr,MTAB_SHP) ? "=arg" : "");
mptr             2530 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
mptr             2723 src/simh/scp.c 
mptr             2724 src/simh/scp.c 
mptr             2725 src/simh/scp.c 
mptr             4029 src/simh/scp.c MTAB *mptr;
mptr             4059 src/simh/scp.c         for (mptr = sim_dflt_dev->modifiers; mptr->mask != 0; mptr++) {
mptr             4060 src/simh/scp.c             if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) {
mptr             4084 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4085 src/simh/scp.c         if ((mptr->mstring) &&                          /* match string */
mptr             4086 src/simh/scp.c             (MATCH_CMD (gbuf, mptr->mstring) == 0)) {   /* matches option? */
mptr             4087 src/simh/scp.c             if (mptr->mask & MTAB_XTD) {                /* extended? */
mptr             4088 src/simh/scp.c                 if (((lvl & mptr->mask) & ~MTAB_XTD) == 0)
mptr             4092 src/simh/scp.c                 if (mptr->valid) {                      /* validation rtn? */
mptr             4093 src/simh/scp.c                     if (cvptr && MODMASK(mptr,MTAB_QUOTE)) {
mptr             4101 src/simh/scp.c                         if (cvptr && MODMASK(mptr,MTAB_NC)) {
mptr             4107 src/simh/scp.c                     r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc);
mptr             4111 src/simh/scp.c                 else if (!mptr->desc)                   /* value desc? */
mptr             4115 src/simh/scp.c                 else *((int32 *) mptr->desc) = mptr->match;
mptr             4122 src/simh/scp.c                 if ((mptr->valid) &&                    /* invalid? */
mptr             4123 src/simh/scp.c                     ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK))
mptr             4125 src/simh/scp.c                 uptr->flags = (uptr->flags & ~(mptr->mask)) |
mptr             4126 src/simh/scp.c                     (mptr->match & mptr->mask);         /* set new value */
mptr             4131 src/simh/scp.c     if (!mptr || (mptr->mask == 0)) {                   /* no match? */
mptr             4295 src/simh/scp.c MTAB *mptr;
mptr             4326 src/simh/scp.c         for (mptr = sim_dflt_dev->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4327 src/simh/scp.c             if ((((mptr->mask & MTAB_VDV) == MTAB_VDV) &&
mptr             4328 src/simh/scp.c                  (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600
mptr             4329 src/simh/scp.c                 (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) {
mptr             4358 src/simh/scp.c     for (mptr = dptr->modifiers; mptr && (mptr->mask != 0); mptr++) {
mptr             4359 src/simh/scp.c         if (((mptr->mask & MTAB_XTD)?                   /* right level? */
mptr             4360 src/simh/scp.c             ((mptr->mask & lvl) == lvl): (MTAB_VUN & lvl)) &&
mptr             4361 src/simh/scp.c             ((mptr->disp && mptr->pstring &&            /* named disp? */
mptr             4362 src/simh/scp.c             (MATCH_CMD (gbuf, mptr->pstring) == 0))
mptr             4364 src/simh/scp.c             if (cvptr && !MODMASK(mptr,MTAB_SHP))
mptr             4366 src/simh/scp.c             show_one_mod (ofile, dptr, uptr, mptr, cvptr, 1);
mptr             4370 src/simh/scp.c     if (!mptr || (mptr->mask == 0)) {                   /* no match? */
mptr             5701 src/simh/scp.c MTAB *mptr;
mptr             5706 src/simh/scp.c for (mptr = dptr->modifiers; mptr->mask != 0; mptr++) {
mptr             5707 src/simh/scp.c     if (mptr->pstring &&
mptr             5708 src/simh/scp.c         ((mptr->mask & MTAB_XTD)?
mptr             5709 src/simh/scp.c             (MODMASK(mptr,flag) && !MODMASK(mptr,MTAB_NMO)):
mptr             5710 src/simh/scp.c             ((MTAB_VUN == (uint32)flag) && ((uptr->flags & mptr->mask) == mptr->match)))) {
mptr             5717 src/simh/scp.c         r = show_one_mod (st, dptr, uptr, mptr, NULL, 0);
mptr             5723 src/simh/scp.c t_stat show_one_mod (FILE *st, DEVICE *dptr, UNIT *uptr, MTAB *mptr,
mptr             5728 src/simh/scp.c if (mptr->disp)
mptr             5729 src/simh/scp.c     r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc));
mptr             5731 src/simh/scp.c     fputs (mptr->pstring, st);
mptr             5732 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             3413 src/simh/sim_tmxr.c     MTAB *mptr;
mptr             3415 src/simh/sim_tmxr.c     for (mptr = dptr->modifiers; mptr->mask != 0; mptr++)
mptr             3416 src/simh/sim_tmxr.c         if (mptr->valid == &tmxr_dscln) {
mptr             3418 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET %s %s=n\n\n", dptr->name, mptr->mstring);
mptr             3423 src/simh/sim_tmxr.c             fprintf (st, "adding the -C switch to a %s command.\n\n", mptr->mstring);
mptr             3424 src/simh/sim_tmxr.c             fprintf (st, "   sim> SET -C %s %s=n\n\n", dptr->name, mptr->mstring);