ep 33 src/dps8/ucache.c ucache_t * ep; ep 34 src/dps8/ucache.c ep = & cpu.uCache.caches[ucNum][segno]; ep 35 src/dps8/ucache.c ep->valid = true; ep 36 src/dps8/ucache.c ep->segno = segno; ep 37 src/dps8/ucache.c ep->offset = offset; ep 38 src/dps8/ucache.c ep->bound = bound; ep 39 src/dps8/ucache.c ep->address = address; ep 40 src/dps8/ucache.c ep->r1 = r1; ep 41 src/dps8/ucache.c ep->p = p; ep 42 src/dps8/ucache.c ep->paged = paged; ep 55 src/dps8/ucache.c ucache_t * ep; ep 56 src/dps8/ucache.c ep = & cpu.uCache.caches[ucNum][segno]; ep 58 src/dps8/ucache.c if (! ep->valid) { ep 66 src/dps8/ucache.c ep 68 src/dps8/ucache.c ep 74 src/dps8/ucache.c if (ep->paged && ((ep->offset & PG18MASK) != (offset & PG18MASK))) { ep 76 src/dps8/ucache.c hdbgNote ("ucache", "pgno %o != %o\r\n", (ep->offset & PG18MASK), (offset & PG18MASK)); ep 81 src/dps8/ucache.c if (((offset >> 4) & 037777) > ep->bound) { ep 84 src/dps8/ucache.c hdbgNote ("ucache", "bound %o != %o\r\n", ((offset >> 4) & 037777), ep->bound); ep 89 src/dps8/ucache.c hdbgNote ("ucache", "hit %u %05o:%06o %05o %o %08o %o %o", ucNum, segno, offset, ep->bound, ep->p, ep->address, ep->r1, ep->paged); ep 91 src/dps8/ucache.c * bound = ep->bound; ep 93 src/dps8/ucache.c ep 95 src/dps8/ucache.c ep 100 src/dps8/ucache.c ep 106 src/dps8/ucache.c * address = ep->address; ep 108 src/dps8/ucache.c * r1 = ep->r1; ep 109 src/dps8/ucache.c * p = ep->p; ep 110 src/dps8/ucache.c * paged = ep->paged; ep 9009 src/simh/scp.c char *ep; ep 9019 src/simh/scp.c if ((ep = strchr (sim_brk_act[sim_do_depth], ';'))) { /* cmd delimiter? */ ep 9020 src/simh/scp.c lnt = ep - sim_brk_act[sim_do_depth]; /* cmd length */ ep 9234 src/simh/scp.c t_stat sim_exp_clr_tab (EXPECT *exp, EXPTAB *ep) ep 9238 src/simh/scp.c if (!ep) /* not there? ok */ ep 9240 src/simh/scp.c FREE (ep->match); /* deallocate match string */ ep 9241 src/simh/scp.c FREE (ep->match_pattern); /* deallocate the display format match string */ ep 9242 src/simh/scp.c FREE (ep->act); /* deallocate action */ ep 9245 src/simh/scp.c for (i=ep-exp->rules; i<exp->size; i++) /* shuffle up remaining rules */ ep 9257 src/simh/scp.c EXPTAB *ep = (EXPTAB *)sim_exp_fnd (exp, match, 0); ep 9259 src/simh/scp.c while (ep) { ep 9260 src/simh/scp.c sim_exp_clr_tab (exp, ep); ep 9261 src/simh/scp.c ep = (EXPTAB *)sim_exp_fnd (exp, match, ep - exp->rules); ep 9291 src/simh/scp.c EXPTAB *ep; ep 9336 src/simh/scp.c ep = &exp->rules[exp->size]; ep 9339 src/simh/scp.c memset (ep, 0, sizeof(*ep)); ep 9340 src/simh/scp.c ep->match_pattern = (char *)malloc (strlen (match) + 1); ep 9341 src/simh/scp.c if (ep->match_pattern) ep 9342 src/simh/scp.c strcpy (ep->match_pattern, match); ep 9343 src/simh/scp.c ep->cnt = cnt; /* set proceed count */ ep 9344 src/simh/scp.c ep->switches = switches; /* set switches */ ep 9346 src/simh/scp.c if ((match_buf == NULL) || (ep->match_pattern == NULL)) { ep 9347 src/simh/scp.c sim_exp_clr_tab (exp, ep); /* clear it */ ep 9358 src/simh/scp.c ep->match = match_buf; ep 9359 src/simh/scp.c ep->size = match_size; ep 9361 src/simh/scp.c ep->match_pattern = (char *)malloc (strlen (match) + 1); ep 9362 src/simh/scp.c if (!ep->match_pattern) ep 9374 src/simh/scp.c strcpy (ep->match_pattern, match); ep 9375 src/simh/scp.c if (ep->act) { /* replace old action? */ ep 9376 src/simh/scp.c FREE (ep->act); /* deallocate */ ep 9377 src/simh/scp.c ep->act = NULL; /* now no action */ ep 9385 src/simh/scp.c ep->act = newp; /* set pointer */ ep 9389 src/simh/scp.c uint32 compare_size = (exp->rules[i].switches & EXP_TYP_REGEX) ? MAX(10 * strlen(ep->match_pattern), 1024) : exp->rules[i].size; ep 9400 src/simh/scp.c t_stat sim_exp_show_tab (FILE *st, const EXPECT *exp, const EXPTAB *ep) ep 9402 src/simh/scp.c if (!ep) ep 9405 src/simh/scp.c if (ep->switches & EXP_TYP_PERSIST) ep 9407 src/simh/scp.c if (ep->switches & EXP_TYP_CLEARALL) ep 9409 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX) ep 9411 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX_I) ep 9413 src/simh/scp.c fprintf (st, " %s", ep->match_pattern); ep 9414 src/simh/scp.c if (ep->cnt > 0) ep 9415 src/simh/scp.c fprintf (st, " [%d]", ep->cnt); ep 9416 src/simh/scp.c if (ep->act) ep 9417 src/simh/scp.c fprintf (st, " %s", ep->act); ep 9424 src/simh/scp.c CONST EXPTAB *ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 0); ep 9441 src/simh/scp.c if (!ep) { ep 9446 src/simh/scp.c sim_exp_show_tab (st, exp, ep); ep 9447 src/simh/scp.c ep = (CONST EXPTAB *)sim_exp_fnd (exp, match, 1 + (ep - exp->rules)); ep 9448 src/simh/scp.c } while (ep); ep 9468 src/simh/scp.c EXPTAB *ep = NULL; ep 9478 src/simh/scp.c ep = &exp->rules[i]; ep 9479 src/simh/scp.c if (ep == NULL) ep 9481 src/simh/scp.c if (ep->switches & EXP_TYP_REGEX) { ep 9484 src/simh/scp.c if (exp->buf_ins < ep->size) { /* Match stradle end of buffer */ ep 9492 src/simh/scp.c char *mstr = sim_encode_quoted_string (&ep->match[ep->size-exp->buf_ins], exp->buf_ins); ep 9499 src/simh/scp.c if (memcmp (exp->buf, &ep->match[ep->size-exp->buf_ins], exp->buf_ins)) ep 9503 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 9504 src/simh/scp.c char *mstr = sim_encode_quoted_string (ep->match, ep->size-exp->buf_ins); ep 9506 src/simh/scp.c sim_debug (exp->dbit, exp->dptr, "Checking String[%d:%d]: %s\n", exp->buf_size-(ep->size-exp->buf_ins), ep->size-exp->buf_ins, estr); ep 9511 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->match, ep->size-exp->buf_ins)) ep 9517 src/simh/scp.c char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_ins-ep->size], ep->size); ep 9518 src/simh/scp.c char *mstr = sim_encode_quoted_string (ep->match, ep->size); ep 9520 src/simh/scp.c sim_debug (exp->dbit, exp->dptr, "Checking String[%d:%d]: %s\n", exp->buf_ins-ep->size, ep->size, estr); ep 9525 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_ins-ep->size], ep->match, ep->size)) ep 9535 src/simh/scp.c if ((ep != NULL) && (i != exp->size)) { /* Found? */ ep 9537 src/simh/scp.c if (ep->cnt > 0) { ep 9538 src/simh/scp.c ep->cnt -= 1; ep 9540 src/simh/scp.c ep->cnt, (ep->cnt == 1) ? "" : "es"); ep 9544 src/simh/scp.c int32 switches = ep->switches; ep 9545 src/simh/scp.c if (ep->act && *ep->act) { ep 9546 src/simh/scp.c sim_debug (exp->dbit, exp->dptr, "Initiating actions: %s\n", ep->act); ep 9551 src/simh/scp.c sim_brk_setact (ep->act); /* set up actions */ ep 9552 src/simh/scp.c if (ep->switches & EXP_TYP_CLEARALL) /* Clear-all expect rule? */ ep 9555 src/simh/scp.c if (!(ep->switches & EXP_TYP_PERSIST)) /* One shot expect rule? */ ep 9556 src/simh/scp.c sim_exp_clr_tab (exp, ep); /* delete it */ ep 10281 src/simh/scp.c const char *ep; ep 10371 src/simh/scp.c ep = start; ep 10372 src/simh/scp.c while (*ep) { ep 10373 src/simh/scp.c if (*ep == '\n') { ep 10374 src/simh/scp.c ep++; /* Segment to \n */ ep 10375 src/simh/scp.c appendText (topic, start, ep - start); ep 10376 src/simh/scp.c if (*ep) { /* More past \n, indent */ ep 10381 src/simh/scp.c start = ep; ep 10384 src/simh/scp.c ep++; ep 10386 src/simh/scp.c appendText (topic, start, ep-start);