ep 32 src/dps8/ucache.c ucache_t * ep; ep 33 src/dps8/ucache.c ep = & cpu.uCache.caches[ucNum][segno]; ep 34 src/dps8/ucache.c ep->valid = true; ep 35 src/dps8/ucache.c ep->segno = segno; ep 36 src/dps8/ucache.c ep->offset = offset; ep 37 src/dps8/ucache.c ep->bound = bound; ep 38 src/dps8/ucache.c ep->address = address; ep 39 src/dps8/ucache.c ep->r1 = r1; ep 40 src/dps8/ucache.c ep->p = p; ep 41 src/dps8/ucache.c ep->paged = paged; ep 57 src/dps8/ucache.c ucache_t * ep; ep 58 src/dps8/ucache.c ep = & cpu.uCache.caches[ucNum][segno]; ep 60 src/dps8/ucache.c if (! ep->valid) { ep 68 src/dps8/ucache.c ep 70 src/dps8/ucache.c ep 76 src/dps8/ucache.c if (ep->paged && ((ep->offset & PG18MASK) != (offset & PG18MASK))) { ep 78 src/dps8/ucache.c hdbgNote ("ucache", "pgno %o != %o\r\n", (ep->offset & PG18MASK), (offset & PG18MASK)); ep 83 src/dps8/ucache.c if (((offset >> 4) & 037777) > ep->bound) { ep 86 src/dps8/ucache.c hdbgNote ("ucache", "bound %o != %o\r\n", ((offset >> 4) & 037777), ep->bound); ep 92 src/dps8/ucache.c ucNum, segno, offset, ep->bound, ep->p, ep->address, ep->r1, ep->paged); ep 94 src/dps8/ucache.c * bound = ep->bound; ep 96 src/dps8/ucache.c ep 98 src/dps8/ucache.c ep 103 src/dps8/ucache.c ep 109 src/dps8/ucache.c * address = ep->address; ep 111 src/dps8/ucache.c * r1 = ep->r1; ep 112 src/dps8/ucache.c * p = ep->p; ep 113 src/dps8/ucache.c * paged = ep->paged; ep 9448 src/simh/scp.c char *ep; ep 9458 src/simh/scp.c if ((ep = strchr (sim_brk_act[sim_do_depth], ';'))) { /* cmd delimiter? */ ep 9459 src/simh/scp.c lnt = ep - sim_brk_act[sim_do_depth]; /* cmd length */ ep 9674 src/simh/scp.c t_stat sim_exp_clr_tab (EXPECT *exp, EXPTAB *ep) ep 9678 src/simh/scp.c if (NULL == ep) /* not there? ok */ ep 9680 src/simh/scp.c FREE (ep->match); /* deallocate match string */ ep 9681 src/simh/scp.c FREE (ep->match_pattern); /* deallocate the display format match string */ ep 9682 src/simh/scp.c FREE (ep->act); /* deallocate action */ ep 9685 src/simh/scp.c for (i=ep-exp->rules; i<exp->size; i++) /* shuffle up remaining rules */ ep 9697 src/simh/scp.c EXPTAB *ep = (EXPTAB *)sim_exp_fnd (exp, match, 0); ep 9699 src/simh/scp.c while (ep) { ep 9700 src/simh/scp.c sim_exp_clr_tab (exp, ep); ep 9701 src/simh/scp.c ep = (EXPTAB *)sim_exp_fnd (exp, match, ep - exp->rules); ep 9731 src/simh/scp.c EXPTAB *ep; ep 9776 src/simh/scp.c ep = &exp->rules[exp->size]; ep 9779 src/simh/scp.c (void)memset (ep, 0, sizeof(*ep)); ep 9780 src/simh/scp.c ep->match_pattern = (char *)malloc (strlen (match) + 1); ep 9781 src/simh/scp.c if (ep->match_pattern) ep 9782 src/simh/scp.c strcpy (ep->match_pattern, match); ep 9783 src/simh/scp.c ep->cnt = cnt; /* set proceed count */ ep 9784 src/simh/scp.c ep->switches = switches; /* set switches */ ep 9786 src/simh/scp.c if ((match_buf == NULL) || (ep->match_pattern == NULL)) { ep 9787 src/simh/scp.c sim_exp_clr_tab (exp, ep); /* clear it */ ep 9798 src/simh/scp.c ep->match = match_buf; ep 9799 src/simh/scp.c ep->size = match_size; ep 9801 src/simh/scp.c ep->match_pattern = (char *)malloc (strlen (match) + 1); ep 9802 src/simh/scp.c if (!ep->match_pattern) ep 9814 src/simh/scp.c strcpy (ep->match_pattern, match); ep 9815 src/simh/scp.c if (ep->act) { /* replace old action? */ ep 9816 src/simh/scp.c FREE (ep->act); /* deallocate */ ep 9817 src/simh/scp.c ep->act = NULL; /* now no action */ ep 9825 src/simh/scp.c ep->act = newp; /* set pointer */ ep 9829 src/simh/scp.c size_t compare_size = (exp->rules[i].switches & EXP_TYP_REGEX) ? MAX(10 * strlen(ep->match_pattern), 1024) : exp->rules[i].size; ep 9840 src/simh/scp.c t_stat sim_exp_show_tab (FILE *st, const EXPECT *exp, const EXPTAB *ep) ep 9842 src/simh/scp.c if (!ep) ep 9845 src/simh/scp.c if (ep->switches & EXP_TYP_PERSIST) ep 9847 src/simh/scp.c if (ep->switches & EXP_TYP_CLEARALL) ep 9849 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX) ep 9851 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX_I) ep 9853 src/simh/scp.c (void)fprintf (st, " %s", ep->match_pattern); ep 9854 src/simh/scp.c if (ep->cnt > 0) ep 9855 src/simh/scp.c (void)fprintf (st, " [%d]", ep->cnt); ep 9856 src/simh/scp.c if (ep->act) ep 9857 src/simh/scp.c (void)fprintf (st, " %s", ep->act); ep 9864 src/simh/scp.c CONST EXPTAB *ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 0); ep 9887 src/simh/scp.c if (!ep) { ep 9892 src/simh/scp.c sim_exp_show_tab (st, exp, ep); ep 9893 src/simh/scp.c ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 1 + (ep - exp->rules)); ep 9894 src/simh/scp.c } while (ep); ep 9914 src/simh/scp.c EXPTAB *ep = NULL; ep 9927 src/simh/scp.c ep = &exp->rules[i]; ep 9928 src/simh/scp.c if (ep == NULL) ep 9930 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX) { ep 9933 src/simh/scp.c if (exp->buf_ins < ep->size) { /* Match stradle end of buffer */ ep 9941 src/simh/scp.c char *mstr = sim_encode_quoted_string (&ep->match[ep->size-exp->buf_ins], exp->buf_ins); ep 9949 src/simh/scp.c if (memcmp (exp->buf, &ep->match[ep->size-exp->buf_ins], exp->buf_ins)) ep 9953 src/simh/scp.c char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->size-exp->buf_ins); ep 9954 src/simh/scp.c char *mstr = sim_encode_quoted_string (ep->match, ep->size-exp->buf_ins); ep 9957 src/simh/scp.c (long long)exp->buf_size-(ep->size-exp->buf_ins), ep 9958 src/simh/scp.c (long long)ep->size-exp->buf_ins, estr); ep 9963 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->match, ep->size-exp->buf_ins)) ep 9969 src/simh/scp.c char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_ins-ep->size], ep->size); ep 9970 src/simh/scp.c char *mstr = sim_encode_quoted_string (ep->match, ep->size); ep 9973 src/simh/scp.c (long long)exp->buf_ins-ep->size, ep 9974 src/simh/scp.c (long long)ep->size, estr); ep 9979 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_ins-ep->size], ep->match, ep->size)) ep 9989 src/simh/scp.c if ((ep != NULL) && (i != exp->size)) { /* Found? */ ep 9991 src/simh/scp.c if (ep->cnt > 0) { ep 9992 src/simh/scp.c ep->cnt -= 1; ep 9994 src/simh/scp.c (long long)ep->cnt, (ep->cnt == 1) ? "" : "es"); ep 9998 src/simh/scp.c int32 switches = ep->switches; ep 9999 src/simh/scp.c if (ep->act && *ep->act) { ep 10000 src/simh/scp.c sim_debug (exp->dbit, exp->dptr, "Initiating actions: %s\n", ep->act); ep 10005 src/simh/scp.c sim_brk_setact (ep->act); /* set up actions */ ep 10006 src/simh/scp.c if (ep->switches & EXP_TYP_CLEARALL) /* Clear-all expect rule? */ ep 10009 src/simh/scp.c if (!(ep->switches & EXP_TYP_PERSIST)) /* One shot expect rule? */ ep 10010 src/simh/scp.c sim_exp_clr_tab (exp, ep); /* delete it */ ep 10736 src/simh/scp.c const char *ep; ep 10826 src/simh/scp.c ep = start; ep 10827 src/simh/scp.c while (*ep) { ep 10828 src/simh/scp.c if (*ep == '\n') { ep 10829 src/simh/scp.c ep++; /* Segment to \n */ ep 10830 src/simh/scp.c appendText (topic, start, ep - start); ep 10831 src/simh/scp.c if (*ep) { /* More past \n, indent */ ep 10836 src/simh/scp.c start = ep; ep 10839 src/simh/scp.c ep++; ep 10841 src/simh/scp.c appendText (topic, start, ep-start);