tptr 205 src/simh/scp.c t_addr (*sim_vm_parse_addr) (DEVICE *dptr, CONST char *cptr, CONST char **tptr) = NULL; tptr 2112 src/simh/scp.c CONST char *tptr; tptr 2127 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 2163 src/simh/scp.c trptr = find_reg_glob (rptr->name, &tptr, &tdptr); tptr 3287 src/simh/scp.c CONST char *tptr, *gptr; tptr 3302 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ tptr 3305 src/simh/scp.c cptr = (CONST char *)tptr; tptr 3331 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); tptr 3333 src/simh/scp.c if (!*tptr) tptr 3369 src/simh/scp.c idx = (uint32) strtotv (++gptr, &tptr, 10); /* convert index */ tptr 3370 src/simh/scp.c if ((gptr == tptr) || (*tptr++ != ']')) tptr 3372 src/simh/scp.c gptr = tptr; /* update */ tptr 3433 src/simh/scp.c CONST char *tptr; tptr 3442 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3447 src/simh/scp.c cptr = tptr; tptr 3448 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); tptr 3458 src/simh/scp.c cptr = tptr; tptr 3459 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3466 src/simh/scp.c cptr = tptr; tptr 3467 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3492 src/simh/scp.c CONST char *tptr; tptr 3496 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3501 src/simh/scp.c cptr = tptr; tptr 3513 src/simh/scp.c CONST char *tptr; tptr 3517 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3519 src/simh/scp.c cptr = tptr; tptr 3532 src/simh/scp.c CONST char *tptr; tptr 3536 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 3541 src/simh/scp.c cptr = tptr; tptr 3547 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); tptr 3548 src/simh/scp.c if (*tptr != '\0') tptr 5425 src/simh/scp.c CONST char *tptr, *t1ptr; tptr 5454 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); tptr 5455 src/simh/scp.c if (tptr == NULL) tptr 5457 src/simh/scp.c if (*tptr == '[') { tptr 5458 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); tptr 5459 src/simh/scp.c if ((tptr == t1ptr) || (*t1ptr != ']') || (flg != SSH_ST)) tptr 5460 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid repeat count specifier: %s\n", tptr + 1); tptr 5461 src/simh/scp.c tptr = t1ptr + 1; tptr 5464 src/simh/scp.c if (*tptr != 0) tptr 5465 src/simh/scp.c return sim_messagef (SCPE_ARG, "Unexpected argument: %s\n", tptr); tptr 5883 src/simh/scp.c CONST char *tptr; tptr 5900 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); tptr 5901 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ tptr 5902 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ tptr 6285 src/simh/scp.c CONST char *tptr = NULL; tptr 6310 src/simh/scp.c (*gptr != 0) && (reason == SCPE_OK); gptr = tptr) { tptr 6313 src/simh/scp.c tptr = gptr + strlen ("STATE"); tptr 6314 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6326 src/simh/scp.c if ((lowr = find_reg (gptr, &tptr, tdptr)) || /* local reg or */ tptr 6328 src/simh/scp.c (lowr = find_reg_glob (gptr, &tptr, &tdptr)))) { tptr 6330 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { tptr 6331 src/simh/scp.c highr = find_reg (tptr + 1, &tptr, tdptr); tptr 6337 src/simh/scp.c if (*tptr == '[') { tptr 6340 src/simh/scp.c tptr = get_range (NULL, tptr + 1, &low, &high, tptr 6342 src/simh/scp.c if (tptr == NULL) tptr 6346 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6353 src/simh/scp.c tptr = get_range (sim_dfdev, gptr, &low, &high, sim_dfdev->aradix, tptr 6356 src/simh/scp.c if (tptr == NULL) tptr 6358 src/simh/scp.c if (*tptr && (*tptr++ != ',')) tptr 6599 src/simh/scp.c CONST char *tptr; tptr 6618 src/simh/scp.c val = sim_vm_parse_addr (sim_dflt_dev, cptr, &tptr); tptr 6619 src/simh/scp.c if ((tptr == cptr) || (*tptr != 0) || (val > mask)) tptr 6952 src/simh/scp.c char *tptr; tptr 6978 src/simh/scp.c for (tptr = cptr; tptr < (cptr + size); tptr++) { /* remove cr or nl */ tptr 6979 src/simh/scp.c if ((*tptr == '\n') || (*tptr == '\r') || tptr 6980 src/simh/scp.c (tptr == (cptr + size - 1))) { /* str max length? */ tptr 6981 src/simh/scp.c *tptr = 0; /* terminate */ tptr 7091 src/simh/scp.c char *tptr; tptr 7093 src/simh/scp.c tptr = cptr + strlen (cptr); tptr 7094 src/simh/scp.c while ((--tptr >= cptr) && sim_isspace (*tptr)) tptr 7095 src/simh/scp.c *tptr = 0; tptr 7148 src/simh/scp.c CONST char *tptr; tptr 7151 src/simh/scp.c val = strtotv ((CONST char *)cptr, &tptr, radix); tptr 7152 src/simh/scp.c if ((cptr == tptr) || (val > max)) tptr 7155 src/simh/scp.c while (sim_isspace (*tptr)) tptr++; tptr 7156 src/simh/scp.c if (*tptr != 0) tptr 7180 src/simh/scp.c CONST char *tptr; tptr 7183 src/simh/scp.c tptr = cptr + strlen ("ALL"); tptr 7193 src/simh/scp.c tptr = cptr + strlen ("."); tptr 7198 src/simh/scp.c tptr = cptr + strlen ("$"); tptr 7203 src/simh/scp.c *lo = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7205 src/simh/scp.c *lo = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7206 src/simh/scp.c if (cptr == tptr) /* error? */ tptr 7210 src/simh/scp.c if ((*tptr == '-') || (*tptr == ':')) { /* range? */ tptr 7211 src/simh/scp.c cptr = tptr + 1; tptr 7213 src/simh/scp.c *hi = sim_vm_parse_addr (dptr, cptr, &tptr); tptr 7214 src/simh/scp.c else *hi = (t_addr) strtotv (cptr, &tptr, rdx); tptr 7215 src/simh/scp.c if (cptr == tptr) tptr 7220 src/simh/scp.c else if (*tptr == '/') { /* relative? */ tptr 7221 src/simh/scp.c cptr = tptr + 1; tptr 7222 src/simh/scp.c *hi = (t_addr) strtotv (cptr, &tptr, rdx); /* get high */ tptr 7223 src/simh/scp.c if ((cptr == tptr) || (*hi == 0)) tptr 7230 src/simh/scp.c if (term && (*tptr++ != term)) tptr 7232 src/simh/scp.c return tptr; tptr 7362 src/simh/scp.c char *tptr, *optr; tptr 7367 src/simh/scp.c tptr = optr; tptr 7379 src/simh/scp.c *tptr++ = quote; tptr 7383 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'r'; break; tptr 7385 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'n'; break; tptr 7387 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'f'; break; tptr 7389 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 't'; break; tptr 7391 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'v'; break; tptr 7393 src/simh/scp.c *tptr++ = '\\'; *tptr++ = 'b'; break; tptr 7395 src/simh/scp.c *tptr++ = '\\'; *tptr++ = '\\'; break; tptr 7399 src/simh/scp.c *tptr++ = '\\'; tptr 7403 src/simh/scp.c *tptr++ = *iptr; tptr 7405 src/simh/scp.c sprintf (tptr, "\\%03o", *iptr); tptr 7406 src/simh/scp.c tptr += 4; tptr 7412 src/simh/scp.c *tptr++ = quote; tptr 7413 src/simh/scp.c *tptr++ = '\0'; tptr 7471 src/simh/scp.c const char *tptr; tptr 7493 src/simh/scp.c tptr = cptr + strlen (nptr); tptr 7494 src/simh/scp.c if (sim_isdigit (*tptr)) { tptr 7497 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); tptr 7633 src/simh/scp.c CONST char *tptr; tptr 7639 src/simh/scp.c tptr = cptr; tptr 7641 src/simh/scp.c tptr++; tptr 7642 src/simh/scp.c } while (sim_isalnum (*tptr) || (*tptr == '*') || (*tptr == '_') || (*tptr == '.')); tptr 7643 src/simh/scp.c slnt = tptr - cptr; tptr 7648 src/simh/scp.c *optr = tptr; tptr 7878 src/simh/scp.c CONST char *tptr; tptr 7888 src/simh/scp.c logval = strtotv (cptr, &tptr, radix); tptr 7889 src/simh/scp.c if (cptr == tptr) tptr 7891 src/simh/scp.c cptr = tptr; tptr 7899 src/simh/scp.c cmpval = strtotv (cptr, &tptr, radix); tptr 7900 src/simh/scp.c if (cptr == tptr) tptr 7902 src/simh/scp.c cptr = tptr; tptr 9166 src/simh/scp.c CONST char *tptr; tptr 9187 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); tptr 9193 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 1643 src/simh/sim_console.c const char *tptr; tptr 1647 src/simh/sim_console.c tptr = get_glyph (filename, gbuf, 0); tptr 1648 src/simh/sim_console.c if (*tptr != 0) /* now eol? */ tptr 678 src/simh/sim_tmxr.c char* tptr = NULL; tptr 683 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 684 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 685 src/simh/sim_tmxr.c return tptr; tptr 688 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 33 + strlen (mp->port)), "%s%s", mp->port, mp->notelnet ? ";notelnet" : ""); tptr 690 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 7 + strlen (mp->logfiletmpl)), ",Log=%s", mp->logfiletmpl); tptr 691 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 692 src/simh/sim_tmxr.c memmove (tptr, tptr+1, strlen(tptr+1)+1); tptr 699 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 10+strlen(lptr)), "%s%s", *tptr ? "," : "", lptr); tptr 704 src/simh/sim_tmxr.c while ((*tptr == ',') || (*tptr == ' ')) tptr 705 src/simh/sim_tmxr.c memcpy (tptr, tptr+1, strlen(tptr+1)+1); tptr 706 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 707 src/simh/sim_tmxr.c FREE (tptr); tptr 708 src/simh/sim_tmxr.c tptr = NULL; tptr 710 src/simh/sim_tmxr.c return tptr; tptr 730 src/simh/sim_tmxr.c char* tptr = NULL; tptr 732 src/simh/sim_tmxr.c tptr = (char *) calloc (1, 1); tptr 733 src/simh/sim_tmxr.c if (tptr == NULL) /* no more mem? */ tptr 734 src/simh/sim_tmxr.c return tptr; tptr 738 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), "Line=%d", (int)(lp-lp->mp->ldsc)); tptr 740 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",%s", lp->modem_control ? "Modem" : "NoModem"); tptr 742 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",Buffered=%d", lp->txbsz); tptr 744 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 32), ",UnBuffered"); tptr 746 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",%s", lp->datagram ? "UDP" : "TCP"); tptr 748 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 8), ",Packet"); tptr 750 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 752 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 755 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 + strlen (lp->txlogname)), ",Log=%s", lp->txlogname); tptr 757 src/simh/sim_tmxr.c sprintf (growstring(&tptr, 12 ), ",Loopback"); tptr 759 src/simh/sim_tmxr.c if (*tptr == '\0') { tptr 760 src/simh/sim_tmxr.c FREE (tptr); tptr 761 src/simh/sim_tmxr.c tptr = NULL; tptr 763 src/simh/sim_tmxr.c return tptr; tptr 2188 src/simh/sim_tmxr.c CONST char *tptr = cptr; tptr 2193 src/simh/sim_tmxr.c if (*tptr == '\0') tptr 2206 src/simh/sim_tmxr.c while (*tptr) { tptr 2223 src/simh/sim_tmxr.c while (*tptr) { tptr 2224 src/simh/sim_tmxr.c tptr = get_glyph_nc (tptr, tbuf, ','); tptr 2323 src/simh/sim_tmxr.c char *tptr = gbuf + (cptr - gbuf); tptr 2324 src/simh/sim_tmxr.c (void)get_glyph (cptr, tptr, 0); /* upcase this string */ tptr 2331 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 2353 src/simh/sim_tmxr.c if (*tptr) tptr 2354 src/simh/sim_tmxr.c return sim_messagef (SCPE_ARG, "Invalid Specifier: %s\n", tptr); tptr 3784 src/simh/sim_tmxr.c char *tptr; tptr 3815 src/simh/sim_tmxr.c tptr = tbuf + strlen (tbuf); /* append a semicolon */ tptr 3816 src/simh/sim_tmxr.c *tptr++ = ';'; /* to the command string */ tptr 3817 src/simh/sim_tmxr.c *tptr = '\0'; /* to make parsing easier for get_range */