tptr 279 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2338 src/simh/scp.c CONST char *tptr; tptr 2353 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2401 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3561 src/simh/scp.c CONST char *tptr, *gptr; tptr 3583 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3586 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3612 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3614 src/simh/scp.c if (!*tptr) tptr 3650 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3651 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3653 src/simh/scp.c gptr = tptr; /* update */ tptr 3730 src/simh/scp.c CONST char *tptr; tptr 3739 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3744 src/simh/scp.c cptr = tptr; tptr 3745 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3755 src/simh/scp.c cptr = tptr; tptr 3756 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3763 src/simh/scp.c cptr = tptr; tptr 3764 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3789 src/simh/scp.c CONST char *tptr; tptr 3793 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3798 src/simh/scp.c cptr = tptr; tptr 3810 src/simh/scp.c CONST char *tptr; tptr 3814 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3816 src/simh/scp.c cptr = tptr; tptr 3834 src/simh/scp.c CONST char *tptr; tptr 3838 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3843 src/simh/scp.c cptr = tptr; tptr 3849 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3850 src/simh/scp.c if (*tptr != '\0') tptr 5836 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5865 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5866 src/simh/scp.c if (tptr == NULL) tptr 5868 src/simh/scp.c if (*tptr == '[') { tptr 5869 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5870 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5871 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5872 src/simh/scp.c tptr = t1ptr + 1; tptr 5875 src/simh/scp.c if (*tptr != 0) tptr 5876 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 6294 src/simh/scp.c CONST char *tptr; tptr 6311 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 6312 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 6313 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6696 src/simh/scp.c CONST char *tptr = NULL; tptr 6721 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6724 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6725 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6737 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6739 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6741 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6742 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6748 src/simh/scp.c if (*tptr == '[') { tptr 6751 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6753 src/simh/scp.c if (tptr == NULL) tptr 6757 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6764 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6767 src/simh/scp.c if (tptr == NULL) tptr 6769 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 7012 src/simh/scp.c CONST char *tptr; tptr 7031 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 7032 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 7366 src/simh/scp.c char *tptr; tptr 7392 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 7393 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 7394 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 7395 src/simh/scp.c *tptr = 0; /* terminate */ tptr 7505 src/simh/scp.c char *tptr; tptr 7507 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 7508 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 7509 src/simh/scp.c *tptr = 0; tptr 7562 src/simh/scp.c CONST char *tptr; tptr 7565 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 7566 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 7569 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 7570 src/simh/scp.c if (*tptr != 0) tptr 7594 src/simh/scp.c CONST char *tptr; tptr 7597 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 7607 src/simh/scp.c tptr = cptr + strlen ("."); tptr 7612 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 7617 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7619 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7620 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 7624 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 7625 src/simh/scp.c cptr = tptr + 1; tptr 7627 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7628 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7629 src/simh/scp.c if (cptr == tptr) tptr 7634 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7635 src/simh/scp.c cptr = tptr + 1; tptr 7636 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7637 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7644 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7646 src/simh/scp.c return tptr; tptr 7776 src/simh/scp.c char *tptr, *optr; tptr 7781 src/simh/scp.c tptr = optr; tptr 7793 src/simh/scp.c *tptr++ = quote; tptr 7797 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7799 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7801 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7803 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7805 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7807 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7809 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7813 src/simh/scp.c *tptr++ = '\\'; tptr 7817 src/simh/scp.c *tptr++ = *iptr; tptr 7819 src/simh/scp.c (void)sprintf (tptr, "\\%03o", *iptr); tptr 7820 src/simh/scp.c tptr += 4; tptr 7826 src/simh/scp.c *tptr++ = quote; tptr 7827 src/simh/scp.c *tptr++ = '\0'; tptr 7885 src/simh/scp.c const char *tptr; tptr 7907 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7908 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7911 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 8047 src/simh/scp.c CONST char *tptr; tptr 8053 src/simh/scp.c tptr = cptr; tptr 8055 src/simh/scp.c tptr++; tptr 8056 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 8057 src/simh/scp.c slnt = tptr - cptr; tptr 8062 src/simh/scp.c *optr = tptr; tptr 8293 src/simh/scp.c CONST char *tptr; tptr 8305 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 8306 src/simh/scp.c if (cptr == tptr) tptr 8308 src/simh/scp.c cptr = tptr; tptr 8316 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 8317 src/simh/scp.c if (cptr == tptr) tptr 8319 src/simh/scp.c cptr = tptr; tptr 9606 src/simh/scp.c CONST char *tptr; tptr 9627 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 9633 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 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 3789 src/simh/sim_tmxr.c char *tptr; tptr 3820 src/simh/sim_tmxr.c tptr = tbuf + strlen (tbuf); /* append a semicolon */ tptr 3821 src/simh/sim_tmxr.c *tptr++ = ';'; /* to the command string */ tptr 3822 src/simh/sim_tmxr.c *tptr = '\0'; /* to make parsing easier for get_range */