tptr 276 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2262 src/simh/scp.c CONST char *tptr; tptr 2277 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2325 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3491 src/simh/scp.c CONST char *tptr, *gptr; tptr 3513 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3516 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3542 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3544 src/simh/scp.c if (!*tptr) tptr 3580 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3581 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3583 src/simh/scp.c gptr = tptr; /* update */ tptr 3658 src/simh/scp.c CONST char *tptr; tptr 3667 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3672 src/simh/scp.c cptr = tptr; tptr 3673 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3683 src/simh/scp.c cptr = tptr; tptr 3684 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3691 src/simh/scp.c cptr = tptr; tptr 3692 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3717 src/simh/scp.c CONST char *tptr; tptr 3721 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3726 src/simh/scp.c cptr = tptr; tptr 3738 src/simh/scp.c CONST char *tptr; tptr 3742 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3744 src/simh/scp.c cptr = tptr; tptr 3757 src/simh/scp.c CONST char *tptr; tptr 3761 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3766 src/simh/scp.c cptr = tptr; tptr 3772 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3773 src/simh/scp.c if (*tptr != '\0') tptr 5758 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5787 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5788 src/simh/scp.c if (tptr == NULL) tptr 5790 src/simh/scp.c if (*tptr == '[') { tptr 5791 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5792 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5793 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5794 src/simh/scp.c tptr = t1ptr + 1; tptr 5797 src/simh/scp.c if (*tptr != 0) tptr 5798 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 6216 src/simh/scp.c CONST char *tptr; tptr 6233 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 6234 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 6235 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6618 src/simh/scp.c CONST char *tptr = NULL; tptr 6643 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6646 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6647 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6659 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6661 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6663 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6664 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6670 src/simh/scp.c if (*tptr == '[') { tptr 6673 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6675 src/simh/scp.c if (tptr == NULL) tptr 6679 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6686 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6689 src/simh/scp.c if (tptr == NULL) tptr 6691 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6934 src/simh/scp.c CONST char *tptr; tptr 6953 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 6954 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 7288 src/simh/scp.c char *tptr; tptr 7314 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 7315 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 7316 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 7317 src/simh/scp.c *tptr = 0; /* terminate */ tptr 7427 src/simh/scp.c char *tptr; tptr 7429 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 7430 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 7431 src/simh/scp.c *tptr = 0; tptr 7484 src/simh/scp.c CONST char *tptr; tptr 7487 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 7488 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 7491 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 7492 src/simh/scp.c if (*tptr != 0) tptr 7516 src/simh/scp.c CONST char *tptr; tptr 7519 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 7529 src/simh/scp.c tptr = cptr + strlen ("."); tptr 7534 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 7539 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7541 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7542 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 7546 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 7547 src/simh/scp.c cptr = tptr + 1; tptr 7549 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7550 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7551 src/simh/scp.c if (cptr == tptr) tptr 7556 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7557 src/simh/scp.c cptr = tptr + 1; tptr 7558 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7559 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7566 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7568 src/simh/scp.c return tptr; tptr 7698 src/simh/scp.c char *tptr, *optr; tptr 7703 src/simh/scp.c tptr = optr; tptr 7715 src/simh/scp.c *tptr++ = quote; tptr 7719 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7721 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7723 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7725 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7727 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7729 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7731 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7735 src/simh/scp.c *tptr++ = '\\'; tptr 7739 src/simh/scp.c *tptr++ = *iptr; tptr 7741 src/simh/scp.c (void)sprintf (tptr, "\\%03o", *iptr); tptr 7742 src/simh/scp.c tptr += 4; tptr 7748 src/simh/scp.c *tptr++ = quote; tptr 7749 src/simh/scp.c *tptr++ = '\0'; tptr 7807 src/simh/scp.c const char *tptr; tptr 7829 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7830 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7833 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 7969 src/simh/scp.c CONST char *tptr; tptr 7975 src/simh/scp.c tptr = cptr; tptr 7977 src/simh/scp.c tptr++; tptr 7978 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 7979 src/simh/scp.c slnt = tptr - cptr; tptr 7984 src/simh/scp.c *optr = tptr; tptr 8215 src/simh/scp.c CONST char *tptr; tptr 8227 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 8228 src/simh/scp.c if (cptr == tptr) tptr 8230 src/simh/scp.c cptr = tptr; tptr 8238 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 8239 src/simh/scp.c if (cptr == tptr) tptr 8241 src/simh/scp.c cptr = tptr; tptr 9528 src/simh/scp.c CONST char *tptr; tptr 9549 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 9555 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 */