tptr 277 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2336 src/simh/scp.c CONST char *tptr; tptr 2351 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2399 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3559 src/simh/scp.c CONST char *tptr, *gptr; tptr 3581 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3584 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3610 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3612 src/simh/scp.c if (!*tptr) tptr 3648 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3649 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3651 src/simh/scp.c gptr = tptr; /* update */ tptr 3728 src/simh/scp.c CONST char *tptr; tptr 3737 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3742 src/simh/scp.c cptr = tptr; tptr 3743 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3753 src/simh/scp.c cptr = tptr; tptr 3754 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3761 src/simh/scp.c cptr = tptr; tptr 3762 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3787 src/simh/scp.c CONST char *tptr; tptr 3791 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3796 src/simh/scp.c cptr = tptr; tptr 3808 src/simh/scp.c CONST char *tptr; tptr 3812 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3814 src/simh/scp.c cptr = tptr; tptr 3832 src/simh/scp.c CONST char *tptr; tptr 3836 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3841 src/simh/scp.c cptr = tptr; tptr 3847 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3848 src/simh/scp.c if (*tptr != '\0') tptr 5828 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5857 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5858 src/simh/scp.c if (tptr == NULL) tptr 5860 src/simh/scp.c if (*tptr == '[') { tptr 5861 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5862 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5863 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5864 src/simh/scp.c tptr = t1ptr + 1; tptr 5867 src/simh/scp.c if (*tptr != 0) tptr 5868 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 6286 src/simh/scp.c CONST char *tptr; tptr 6303 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 6304 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 6305 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6688 src/simh/scp.c CONST char *tptr = NULL; tptr 6713 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6716 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6717 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6729 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6731 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6733 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6734 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6740 src/simh/scp.c if (*tptr == '[') { tptr 6743 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6745 src/simh/scp.c if (tptr == NULL) tptr 6749 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6756 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6759 src/simh/scp.c if (tptr == NULL) tptr 6761 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 7004 src/simh/scp.c CONST char *tptr; tptr 7023 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 7024 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 7358 src/simh/scp.c char *tptr; tptr 7384 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 7385 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 7386 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 7387 src/simh/scp.c *tptr = 0; /* terminate */ tptr 7497 src/simh/scp.c char *tptr; tptr 7499 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 7500 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 7501 src/simh/scp.c *tptr = 0; tptr 7554 src/simh/scp.c CONST char *tptr; tptr 7557 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 7558 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 7561 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 7562 src/simh/scp.c if (*tptr != 0) tptr 7586 src/simh/scp.c CONST char *tptr; tptr 7589 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 7599 src/simh/scp.c tptr = cptr + strlen ("."); tptr 7604 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 7609 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7611 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7612 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 7616 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 7617 src/simh/scp.c cptr = tptr + 1; tptr 7619 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7620 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7621 src/simh/scp.c if (cptr == tptr) tptr 7626 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7627 src/simh/scp.c cptr = tptr + 1; tptr 7628 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7629 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7636 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7638 src/simh/scp.c return tptr; tptr 7768 src/simh/scp.c char *tptr, *optr; tptr 7773 src/simh/scp.c tptr = optr; tptr 7785 src/simh/scp.c *tptr++ = quote; tptr 7789 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7791 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7793 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7795 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7797 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7799 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7801 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7805 src/simh/scp.c *tptr++ = '\\'; tptr 7809 src/simh/scp.c *tptr++ = *iptr; tptr 7811 src/simh/scp.c (void)sprintf (tptr, "\\%03o", *iptr); tptr 7812 src/simh/scp.c tptr += 4; tptr 7818 src/simh/scp.c *tptr++ = quote; tptr 7819 src/simh/scp.c *tptr++ = '\0'; tptr 7877 src/simh/scp.c const char *tptr; tptr 7899 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7900 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7903 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 8039 src/simh/scp.c CONST char *tptr; tptr 8045 src/simh/scp.c tptr = cptr; tptr 8047 src/simh/scp.c tptr++; tptr 8048 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 8049 src/simh/scp.c slnt = tptr - cptr; tptr 8054 src/simh/scp.c *optr = tptr; tptr 8285 src/simh/scp.c CONST char *tptr; tptr 8297 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 8298 src/simh/scp.c if (cptr == tptr) tptr 8300 src/simh/scp.c cptr = tptr; tptr 8308 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 8309 src/simh/scp.c if (cptr == tptr) tptr 8311 src/simh/scp.c cptr = tptr; tptr 9598 src/simh/scp.c CONST char *tptr; tptr 9619 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 9625 src/simh/scp.c cptr = tptr; tptr 286 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 2180 src/simh/sim_tmxr.c CONST char *tptr = cptr; tptr 2185 src/simh/sim_tmxr.c if (*tptr == '\0') tptr 2198 src/simh/sim_tmxr.c while (*tptr) { tptr 2215 src/simh/sim_tmxr.c while (*tptr) { tptr 2216 src/simh/sim_tmxr.c tptr = get_glyph_nc (tptr, tbuf, ','); tptr 2315 src/simh/sim_tmxr.c char *tptr = gbuf + (cptr - gbuf); tptr 2316 src/simh/sim_tmxr.c (void)get_glyph (cptr, tptr, 0); /* upcase this string */ tptr 2323 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 2345 src/simh/sim_tmxr.c if (*tptr) tptr 2346 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 3785 src/simh/sim_tmxr.c char *tptr; tptr 3816 src/simh/sim_tmxr.c tptr = tbuf + strlen (tbuf); /* append a semicolon */ tptr 3817 src/simh/sim_tmxr.c *tptr++ = ';'; /* to the command string */ tptr 3818 src/simh/sim_tmxr.c *tptr = '\0'; /* to make parsing easier for get_range */