tptr 276 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2274 src/simh/scp.c CONST char *tptr; tptr 2289 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2337 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3503 src/simh/scp.c CONST char *tptr, *gptr; tptr 3525 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3528 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3554 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3556 src/simh/scp.c if (!*tptr) tptr 3592 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3593 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3595 src/simh/scp.c gptr = tptr; /* update */ tptr 3670 src/simh/scp.c CONST char *tptr; tptr 3679 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3684 src/simh/scp.c cptr = tptr; tptr 3685 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3695 src/simh/scp.c cptr = tptr; tptr 3696 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3703 src/simh/scp.c cptr = tptr; tptr 3704 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3729 src/simh/scp.c CONST char *tptr; tptr 3733 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3738 src/simh/scp.c cptr = tptr; tptr 3750 src/simh/scp.c CONST char *tptr; tptr 3754 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3756 src/simh/scp.c cptr = tptr; tptr 3769 src/simh/scp.c CONST char *tptr; tptr 3773 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3778 src/simh/scp.c cptr = tptr; tptr 3784 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3785 src/simh/scp.c if (*tptr != '\0') tptr 5770 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5799 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5800 src/simh/scp.c if (tptr == NULL) tptr 5802 src/simh/scp.c if (*tptr == '[') { tptr 5803 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5804 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5805 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5806 src/simh/scp.c tptr = t1ptr + 1; tptr 5809 src/simh/scp.c if (*tptr != 0) tptr 5810 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 6228 src/simh/scp.c CONST char *tptr; tptr 6245 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 6246 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 6247 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6630 src/simh/scp.c CONST char *tptr = NULL; tptr 6655 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6658 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6659 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6671 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6673 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6675 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6676 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6682 src/simh/scp.c if (*tptr == '[') { tptr 6685 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6687 src/simh/scp.c if (tptr == NULL) tptr 6691 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6698 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6701 src/simh/scp.c if (tptr == NULL) tptr 6703 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6946 src/simh/scp.c CONST char *tptr; tptr 6965 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 6966 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 7300 src/simh/scp.c char *tptr; tptr 7326 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 7327 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 7328 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 7329 src/simh/scp.c *tptr = 0; /* terminate */ tptr 7439 src/simh/scp.c char *tptr; tptr 7441 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 7442 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 7443 src/simh/scp.c *tptr = 0; tptr 7496 src/simh/scp.c CONST char *tptr; tptr 7499 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 7500 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 7503 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 7504 src/simh/scp.c if (*tptr != 0) tptr 7528 src/simh/scp.c CONST char *tptr; tptr 7531 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 7541 src/simh/scp.c tptr = cptr + strlen ("."); tptr 7546 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 7551 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7553 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7554 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 7558 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 7559 src/simh/scp.c cptr = tptr + 1; tptr 7561 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7562 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7563 src/simh/scp.c if (cptr == tptr) tptr 7568 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7569 src/simh/scp.c cptr = tptr + 1; tptr 7570 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7571 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7578 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7580 src/simh/scp.c return tptr; tptr 7710 src/simh/scp.c char *tptr, *optr; tptr 7715 src/simh/scp.c tptr = optr; tptr 7727 src/simh/scp.c *tptr++ = quote; tptr 7731 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7733 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7735 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7737 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7739 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7741 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7743 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7747 src/simh/scp.c *tptr++ = '\\'; tptr 7751 src/simh/scp.c *tptr++ = *iptr; tptr 7753 src/simh/scp.c (void)sprintf (tptr, "\\%03o", *iptr); tptr 7754 src/simh/scp.c tptr += 4; tptr 7760 src/simh/scp.c *tptr++ = quote; tptr 7761 src/simh/scp.c *tptr++ = '\0'; tptr 7819 src/simh/scp.c const char *tptr; tptr 7841 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7842 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7845 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 7981 src/simh/scp.c CONST char *tptr; tptr 7987 src/simh/scp.c tptr = cptr; tptr 7989 src/simh/scp.c tptr++; tptr 7990 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 7991 src/simh/scp.c slnt = tptr - cptr; tptr 7996 src/simh/scp.c *optr = tptr; tptr 8227 src/simh/scp.c CONST char *tptr; tptr 8239 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 8240 src/simh/scp.c if (cptr == tptr) tptr 8242 src/simh/scp.c cptr = tptr; tptr 8250 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 8251 src/simh/scp.c if (cptr == tptr) tptr 8253 src/simh/scp.c cptr = tptr; tptr 9540 src/simh/scp.c CONST char *tptr; tptr 9561 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 9567 src/simh/scp.c cptr = tptr; tptr 285 src/simh/scp.h extern t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr); tptr 1647 src/simh/sim_console.c const char *tptr; tptr 1651 src/simh/sim_console.c tptr = get_glyph (filename, gbuf, 0); tptr 1652 src/simh/sim_console.c if (*tptr != 0) /* now eol? */ tptr 669 src/simh/sim_tmxr.c char* tptr = NULL; tptr 674 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 675 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 676 src/simh/sim_tmxr.c return tptr; tptr 679 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", tptr 682 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s", tptr 684 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 685 src/simh/sim_tmxr.c memmove (tptr, tptr+1, strlen(tptr+1)+1); tptr 692 src/simh/sim_tmxr.c char *tempstr = growstring(&tptr, 10 + strlen(lptr)); tptr 693 src/simh/sim_tmxr.c (void)sprintf(tempstr, "%s%s", *tptr ? "," : "", lptr); tptr 698 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 699 src/simh/sim_tmxr.c memcpy (tptr, tptr+1, strlen(tptr+1)+1); tptr 700 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 701 src/simh/sim_tmxr.c FREE (tptr); tptr 702 src/simh/sim_tmxr.c tptr = NULL; tptr 704 src/simh/sim_tmxr.c return tptr; tptr 724 src/simh/sim_tmxr.c char* tptr = NULL; tptr 726 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 727 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 728 src/simh/sim_tmxr.c return tptr; tptr 732 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc)); tptr 734 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32), ",%s", lp->modem_control ? "Modem" : "NoModem"); tptr 736 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32), ",Buffered=%d", lp->txbsz); tptr 738 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32), ",UnBuffered"); tptr 740 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 8), ",%s", lp->datagram ? "UDP" : "TCP"); tptr 742 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 8), ",Packet"); tptr 744 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 32 + strlen (lp->port)), ",%s%s", tptr 748 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 25 + strlen (lp->destination)), tptr 754 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 12 + strlen (lp->txlogname)), ",Log=%s", lp->txlogname); tptr 756 src/simh/sim_tmxr.c (void)sprintf (growstring(&tptr, 12 ), ",Loopback"); tptr 758 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 759 src/simh/sim_tmxr.c FREE (tptr); tptr 760 src/simh/sim_tmxr.c tptr = NULL; tptr 762 src/simh/sim_tmxr.c return tptr; tptr 2184 src/simh/sim_tmxr.c CONST char *tptr = cptr; tptr 2189 src/simh/sim_tmxr.c if (*tptr == '\0') tptr 2202 src/simh/sim_tmxr.c while (*tptr) { tptr 2219 src/simh/sim_tmxr.c while (*tptr) { tptr 2220 src/simh/sim_tmxr.c tptr = get_glyph_nc (tptr, tbuf, ','); tptr 2319 src/simh/sim_tmxr.c char *tptr = gbuf + (cptr - gbuf); tptr 2320 src/simh/sim_tmxr.c (void)get_glyph (cptr, tptr, 0); /* upcase this string */ tptr 2327 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 2349 src/simh/sim_tmxr.c if (*tptr) tptr 2350 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 3787 src/simh/sim_tmxr.c char *tptr; tptr 3818 src/simh/sim_tmxr.c tptr = tbuf + strlen (tbuf); /* append a semicolon */ tptr 3819 src/simh/sim_tmxr.c *tptr++ = ';'; /* to the command string */ tptr 3820 src/simh/sim_tmxr.c *tptr = '\0'; /* to make parsing easier for get_range */