tptr 205 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2111 src/simh/scp.c CONST char *tptr; tptr 2126 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2162 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3286 src/simh/scp.c CONST char *tptr, *gptr; tptr 3301 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3304 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3330 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3332 src/simh/scp.c if (!*tptr) tptr 3368 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3369 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3371 src/simh/scp.c gptr = tptr; /* update */ tptr 3432 src/simh/scp.c CONST char *tptr; tptr 3441 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3446 src/simh/scp.c cptr = tptr; tptr 3447 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3457 src/simh/scp.c cptr = tptr; tptr 3458 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3465 src/simh/scp.c cptr = tptr; tptr 3466 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3491 src/simh/scp.c CONST char *tptr; tptr 3495 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3500 src/simh/scp.c cptr = tptr; tptr 3512 src/simh/scp.c CONST char *tptr; tptr 3516 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3518 src/simh/scp.c cptr = tptr; tptr 3531 src/simh/scp.c CONST char *tptr; tptr 3535 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3540 src/simh/scp.c cptr = tptr; tptr 3546 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3547 src/simh/scp.c if (*tptr != '\0') tptr 5212 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5241 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5242 src/simh/scp.c if (tptr == NULL) tptr 5244 src/simh/scp.c if (*tptr == '[') { tptr 5245 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5246 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5247 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5248 src/simh/scp.c tptr = t1ptr + 1; tptr 5251 src/simh/scp.c if (*tptr != 0) tptr 5252 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 5670 src/simh/scp.c CONST char *tptr; tptr 5687 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 5688 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 5689 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6072 src/simh/scp.c CONST char *tptr = NULL; tptr 6097 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6100 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6101 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6113 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6115 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6117 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6118 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6124 src/simh/scp.c if (*tptr == '[') { tptr 6127 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6129 src/simh/scp.c if (tptr == NULL) tptr 6133 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6140 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6143 src/simh/scp.c if (tptr == NULL) tptr 6145 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6386 src/simh/scp.c CONST char *tptr; tptr 6405 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 6406 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 6739 src/simh/scp.c char *tptr; tptr 6765 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 6766 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 6767 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 6768 src/simh/scp.c *tptr = 0; /* terminate */ tptr 6878 src/simh/scp.c char *tptr; tptr 6880 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 6881 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 6882 src/simh/scp.c *tptr = 0; tptr 6935 src/simh/scp.c CONST char *tptr; tptr 6938 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 6939 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 6942 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 6943 src/simh/scp.c if (*tptr != 0) tptr 6967 src/simh/scp.c CONST char *tptr; tptr 6970 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 6980 src/simh/scp.c tptr = cptr + strlen ("."); tptr 6985 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 6990 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 6992 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 6993 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 6997 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 6998 src/simh/scp.c cptr = tptr + 1; tptr 7000 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7001 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7002 src/simh/scp.c if (cptr == tptr) tptr 7007 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7008 src/simh/scp.c cptr = tptr + 1; tptr 7009 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7010 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7017 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7019 src/simh/scp.c return tptr; tptr 7149 src/simh/scp.c char *tptr, *optr; tptr 7154 src/simh/scp.c tptr = optr; tptr 7166 src/simh/scp.c *tptr++ = quote; tptr 7170 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7172 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7174 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7176 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7178 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7180 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7182 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7186 src/simh/scp.c *tptr++ = '\\'; tptr 7190 src/simh/scp.c *tptr++ = *iptr; tptr 7192 src/simh/scp.c sprintf (tptr, "\\%03o", *iptr); tptr 7193 src/simh/scp.c tptr += 4; tptr 7199 src/simh/scp.c *tptr++ = quote; tptr 7200 src/simh/scp.c *tptr++ = '\0'; tptr 7258 src/simh/scp.c const char *tptr; tptr 7280 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7281 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7284 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 7420 src/simh/scp.c CONST char *tptr; tptr 7426 src/simh/scp.c tptr = cptr; tptr 7428 src/simh/scp.c tptr++; tptr 7429 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 7430 src/simh/scp.c slnt = tptr - cptr; tptr 7435 src/simh/scp.c *optr = tptr; tptr 7665 src/simh/scp.c CONST char *tptr; tptr 7675 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 7676 src/simh/scp.c if (cptr == tptr) tptr 7678 src/simh/scp.c cptr = tptr; tptr 7686 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 7687 src/simh/scp.c if (cptr == tptr) tptr 7689 src/simh/scp.c cptr = tptr; tptr 8953 src/simh/scp.c CONST char *tptr; tptr 8974 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 8980 src/simh/scp.c cptr = tptr; tptr 280 src/simh/scp.h extern t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr); tptr 1622 src/simh/sim_console.c const char *tptr; tptr 1626 src/simh/sim_console.c tptr = get_glyph (filename, gbuf, 0); tptr 1627 src/simh/sim_console.c if (*tptr != 0) /* now eol? */ tptr 661 src/simh/sim_tmxr.c char* tptr = NULL; tptr 666 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 667 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 668 src/simh/sim_tmxr.c return tptr; tptr 671 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", mp->port, mp->notelnet ? ";notelnet" : ""); tptr 673 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s", mp->logfiletmpl); tptr 674 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 675 src/simh/sim_tmxr.c memcpy (tptr, tptr+1, strlen(tptr+1)+1); tptr 682 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 10+strlen(lptr)), "%s%s", *tptr ? "," : "", lptr); tptr 687 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 688 src/simh/sim_tmxr.c memcpy (tptr, tptr+1, strlen(tptr+1)+1); tptr 689 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 690 src/simh/sim_tmxr.c FREE (tptr); tptr 691 src/simh/sim_tmxr.c tptr = NULL; tptr 693 src/simh/sim_tmxr.c return tptr; tptr 713 src/simh/sim_tmxr.c char* tptr = NULL; tptr 715 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 716 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 717 src/simh/sim_tmxr.c return tptr; tptr 721 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc)); tptr 723 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",%s", lp->modem_control ? "Modem" : "NoModem"); tptr 725 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",Buffered=%d", lp->txbsz); tptr 727 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",UnBuffered"); tptr 729 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",%s", lp->datagram ? "UDP" : "TCP"); tptr 731 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",Packet"); tptr 733 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32 + strlen (lp->port)), ",%s%s", lp->port, ((lp->mp->notelnet != lp->notelnet) && (!lp->datagram)) ? (lp->notelnet ? ";notelnet" : ";telnet") : ""); tptr 735 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 25 + strlen (lp->destination)), ",Connect=%s%s", lp->destination, ((lp->mp->notelnet != lp->notelnet) && (!lp->datagram)) ? (lp->notelnet ? ";notelnet" : ";telnet") : ""); tptr 738 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 + strlen (lp->txlogname)), ",Log=%s", lp->txlogname); tptr 740 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 ), ",Loopback"); tptr 742 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 743 src/simh/sim_tmxr.c FREE (tptr); tptr 744 src/simh/sim_tmxr.c tptr = NULL; tptr 746 src/simh/sim_tmxr.c return tptr; tptr 2094 src/simh/sim_tmxr.c CONST char *tptr = cptr; tptr 2099 src/simh/sim_tmxr.c if (*tptr == '\0') tptr 2112 src/simh/sim_tmxr.c while (*tptr) { tptr 2129 src/simh/sim_tmxr.c while (*tptr) { tptr 2130 src/simh/sim_tmxr.c tptr = get_glyph_nc (tptr, tbuf, ','); tptr 2229 src/simh/sim_tmxr.c char *tptr = gbuf + (cptr - gbuf); tptr 2230 src/simh/sim_tmxr.c (void)get_glyph (cptr, tptr, 0); /* upcase this string */ tptr 2237 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 2259 src/simh/sim_tmxr.c if (*tptr) tptr 2260 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 3685 src/simh/sim_tmxr.c char *tptr; tptr 3716 src/simh/sim_tmxr.c tptr = tbuf + strlen (tbuf); /* append a semicolon */ tptr 3717 src/simh/sim_tmxr.c *tptr++ = ';'; /* to the command string */ tptr 3718 src/simh/sim_tmxr.c *tptr = '\0'; /* to make parsing easier for get_range */