gbuf 1007 src/dps8/dps8_console.c char gbuf[simh_buffer_sz]; gbuf 1008 src/dps8/dps8_console.c cptr = (char *) get_glyph (cptr, gbuf, 0); /* get command glyph */ gbuf 1009 src/dps8/dps8_console.c if (strlen (gbuf)) gbuf 1012 src/dps8/dps8_console.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ gbuf 1806 src/dps8/dps8_sys.c char gbuf[257]; gbuf 1807 src/dps8/dps8_sys.c const char * cptr = get_glyph (text, gbuf, 0); /* get command glyph */ gbuf 1809 src/dps8/dps8_sys.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ gbuf 550 src/dps8/udplib.c char gbuf[CBUFSIZE]; gbuf 561 src/dps8/udplib.c gbuf[sizeof(gbuf)-1] = '\0'; gbuf 562 src/dps8/udplib.c strncpy (gbuf, cptr, sizeof(gbuf)-1); gbuf 563 src/dps8/udplib.c hostp = gbuf; /* default addr */ gbuf 565 src/dps8/udplib.c if ((portp = strrchr (gbuf, ':')) && /* x:y? split */ gbuf 572 src/dps8/udplib.c portp = gbuf; /* Input is the port specifier */ gbuf 598 src/dps8/udplib.c strncpy(gbuf, hostp+1, sizeof(gbuf)-1); /* remove brackets from domain literal host */ gbuf 599 src/dps8/udplib.c hostp = gbuf; gbuf 1909 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE]; gbuf 1934 src/simh/scp.c cptr = get_glyph_cmd (cptr, gbuf); /* get command glyph */ gbuf 1936 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) /* lookup command */ gbuf 1961 src/simh/scp.c char gbuf[CBUFSIZE], *gptr; gbuf 1966 src/simh/scp.c cptr = get_glyph_nc (cptr, gbuf, '"'); /* get quote delimited token */ gbuf 1967 src/simh/scp.c if (gbuf[0] == '\0') { /* Token started with quote */ gbuf 1968 src/simh/scp.c gbuf[sizeof (gbuf)-1] = '\0'; gbuf 1969 src/simh/scp.c strncpy (gbuf, cptr, sizeof (gbuf)-1); gbuf 1970 src/simh/scp.c gptr = strchr (gbuf, '"'); gbuf 1974 src/simh/scp.c sim_prompt = (char *)realloc (sim_prompt, strlen (gbuf) + 2); /* nul terminator and trailing blank */ gbuf 1987 src/simh/scp.c sprintf (sim_prompt, "%s ", gbuf); gbuf 1993 src/simh/scp.c CTAB *find_cmd (const char *gbuf) gbuf 1998 src/simh/scp.c cmdp = find_ctab (sim_vm_cmd, gbuf); gbuf 2000 src/simh/scp.c cmdp = find_ctab (cmd_table, gbuf); gbuf 2348 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 2369 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); gbuf 2375 src/simh/scp.c fprintf (st, " %s %s\n", put_switches (gbuf, sizeof(gbuf), brkt->btyp), brkt->desc); gbuf 2378 src/simh/scp.c fprintf (st, "The default breakpoint type is: %s\n", put_switches (gbuf, sizeof(gbuf), sim_brk_dflt)); gbuf 2383 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 2387 src/simh/scp.c (void)get_glyph (cptr, gbuf, 0); gbuf 2388 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { gbuf 2417 src/simh/scp.c if (MATCH_CMD (gbuf, "REGISTERS") == 0) { gbuf 2423 src/simh/scp.c fprintf (st, "No %s HELP is available for the %s device\n", gbuf, dptr->name); gbuf 2460 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 2467 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 2468 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { gbuf 2474 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 2475 src/simh/scp.c dptr = find_unit (gbuf, &uptr); gbuf 2477 src/simh/scp.c dptr = find_dev (gbuf); gbuf 2486 src/simh/scp.c if ((cmdp = find_ctab (set_glob_tab, gbuf)) && gbuf 2491 src/simh/scp.c SHTAB *shptr = find_shtab (show_glob_tab, gbuf); gbuf 2560 src/simh/scp.c dptr = find_unit (gbuf, &uptr); gbuf 2562 src/simh/scp.c dptr = find_dev (gbuf); gbuf 2647 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; gbuf 2732 src/simh/scp.c cptr = get_glyph (cbuf, gbuf, 0); /* get command glyph */ gbuf 2733 src/simh/scp.c cmdp = find_cmd (gbuf); /* return the errorStage things to the stat will be returned */ gbuf 2757 src/simh/scp.c cptr = get_glyph_cmd (cptr, gbuf); /* get command glyph */ gbuf 2761 src/simh/scp.c if ((cmdp = find_cmd (gbuf))) { /* lookup command */ gbuf 2902 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 2970 src/simh/scp.c (void)get_glyph_nc (ip+1, gbuf, '%'); /* first try using the literal name */ gbuf 2971 src/simh/scp.c ap = getenv(gbuf); gbuf 2973 src/simh/scp.c (void)get_glyph (ip+1, gbuf, '%'); /* now try using the upcased name */ gbuf 2974 src/simh/scp.c ap = getenv(gbuf); gbuf 2976 src/simh/scp.c ip += 1 + strlen (gbuf); gbuf 2980 src/simh/scp.c if (!strcmp ("DATE", gbuf)) { gbuf 2984 src/simh/scp.c else if (!strcmp ("TIME", gbuf)) { gbuf 2988 src/simh/scp.c else if (!strcmp ("DATETIME", gbuf)) { gbuf 2993 src/simh/scp.c if (!strcmp ("LDATE", gbuf)) { gbuf 2997 src/simh/scp.c else if (!strcmp ("LTIME", gbuf)) { gbuf 3001 src/simh/scp.c else if (!strcmp ("CTIME", gbuf)) { gbuf 3006 src/simh/scp.c else if (!strcmp ("DATE_YYYY", gbuf)) {/* Year (0000-9999) */ gbuf 3010 src/simh/scp.c else if (!strcmp ("DATE_YY", gbuf)) {/* Year (00-99) */ gbuf 3014 src/simh/scp.c else if (!strcmp ("DATE_YC", gbuf)) {/* Century (year/100) */ gbuf 3018 src/simh/scp.c else if ((!strcmp ("DATE_19XX_YY", gbuf)) || /* Year with same calendar */ gbuf 3019 src/simh/scp.c (!strcmp ("DATE_19XX_YYYY", gbuf))) { gbuf 3029 src/simh/scp.c if (!strcmp ("DATE_19XX_YY", gbuf)) gbuf 3035 src/simh/scp.c else if (!strcmp ("DATE_MM", gbuf)) {/* Month number (01-12) */ gbuf 3039 src/simh/scp.c else if (!strcmp ("DATE_MMM", gbuf)) {/* Month number (01-12) */ gbuf 3043 src/simh/scp.c else if (!strcmp ("DATE_DD", gbuf)) {/* Day of Month (01-31) */ gbuf 3047 src/simh/scp.c else if (!strcmp ("DATE_D", gbuf)) { /* ISO 8601 weekday number (1-7) */ gbuf 3051 src/simh/scp.c else if ((!strcmp ("DATE_WW", gbuf)) || /* ISO 8601 week number (01-53) */ gbuf 3052 src/simh/scp.c (!strcmp ("DATE_WYYYY", gbuf))) {/* ISO 8601 week year number (0000-9999) */ gbuf 3066 src/simh/scp.c if (!strcmp ("DATE_WW", gbuf)) gbuf 3072 src/simh/scp.c else if (!strcmp ("DATE_JJJ", gbuf)) {/* day of year (001-366) */ gbuf 3076 src/simh/scp.c else if (!strcmp ("TIME_HH", gbuf)) {/* Hour of day (00-23) */ gbuf 3080 src/simh/scp.c else if (!strcmp ("TIME_MM", gbuf)) {/* Minute of hour (00-59) */ gbuf 3084 src/simh/scp.c else if (!strcmp ("TIME_SS", gbuf)) {/* Second of minute (00-59) */ gbuf 3088 src/simh/scp.c else if (!strcmp ("STATUS", gbuf)) { gbuf 3092 src/simh/scp.c else if (!strcmp ("TSTATUS", gbuf)) { gbuf 3096 src/simh/scp.c else if (!strcmp ("SIM_VERIFY", gbuf)) { gbuf 3100 src/simh/scp.c else if (!strcmp ("SIM_VERBOSE", gbuf)) { gbuf 3104 src/simh/scp.c else if (!strcmp ("SIM_LOCALOPC", gbuf)) { gbuf 3108 src/simh/scp.c else if (!strcmp ("SIM_QUIET", gbuf)) { gbuf 3112 src/simh/scp.c else if (!strcmp ("SIM_MESSAGE", gbuf)) { gbuf 3116 src/simh/scp.c else if (!strcmp ("HOSTID", gbuf)) { gbuf 3124 src/simh/scp.c else if (!strcmp ("UID", gbuf)) { gbuf 3132 src/simh/scp.c else if (!strcmp ("GID", gbuf)) { gbuf 3140 src/simh/scp.c else if (!strcmp ("EUID", gbuf)) { gbuf 3148 src/simh/scp.c else if (!strcmp ("EGID", gbuf)) { gbuf 3156 src/simh/scp.c else if (!strcmp ("PID", gbuf)) { gbuf 3164 src/simh/scp.c else if (!strcmp ("PPID", gbuf)) { gbuf 3172 src/simh/scp.c else if (!strcmp ("PGID", gbuf)) { gbuf 3180 src/simh/scp.c else if (!strcmp ("SID", gbuf)) { gbuf 3188 src/simh/scp.c else if (!strcmp ("ENDIAN", gbuf)) { gbuf 3198 src/simh/scp.c else if (!strcmp("SIM_NAME", gbuf)) { gbuf 3202 src/simh/scp.c else if (!strcmp("SIM_VERSION", gbuf)) { gbuf 3210 src/simh/scp.c else if (!strcmp("SIM_HASH", gbuf)) { gbuf 3218 src/simh/scp.c else if (!strcmp("SIM_RELT", gbuf)) { gbuf 3226 src/simh/scp.c else if (!strcmp("SIM_DATE", gbuf)) { gbuf 3234 src/simh/scp.c else if ( (!strcmp("CPUS", gbuf)) \ gbuf 3235 src/simh/scp.c || (!strcmp("PROCESSORS", gbuf) ) ) { gbuf 3286 src/simh/scp.c char gbuf[CBUFSIZE], gbuf2[CBUFSIZE]; gbuf 3302 src/simh/scp.c tptr = get_glyph (cptr, gbuf, 0); /* get token */ gbuf 3303 src/simh/scp.c if (!strcmp (gbuf, "NOT")) { /* Conditional Inversion? */ gbuf 3331 src/simh/scp.c tptr = (CONST char *)get_glyph_gen (cptr, gbuf, '=', (sim_switches & SWMASK ('I')), TRUE, '\\'); gbuf 3335 src/simh/scp.c cptr += strlen (gbuf); gbuf 3357 src/simh/scp.c result = sim_cmp_string (gbuf, gbuf2); gbuf 3363 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get register */ gbuf 3364 src/simh/scp.c rptr = find_reg (gbuf, &gptr, sim_dfdev); /* parse register */ gbuf 3380 src/simh/scp.c addr = sim_vm_parse_addr (sim_dfdev, gbuf, &gptr); gbuf 3382 src/simh/scp.c addr = (t_addr) strtotv (gbuf, &gptr, sim_dfdev ? sim_dfdev->dradix : sim_dflt_dev->dradix); gbuf 3383 src/simh/scp.c if (gbuf == gptr) /* error? */ gbuf 3387 src/simh/scp.c (void)get_glyph (gptr, gbuf, 0); gbuf 3391 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get search cond */ gbuf 3402 src/simh/scp.c if (!get_rsearch (gbuf, rptr->radix, &sim_stabr) || /* parse condition */ gbuf 3409 src/simh/scp.c if (!get_asearch (gbuf, sim_dfdev->dradix, &sim_staba) || /* parse condition */ gbuf 3432 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3442 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3443 src/simh/scp.c if (sim_isalpha(gbuf[0]) && (strchr (gbuf, ':'))) { gbuf 3444 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); gbuf 3448 src/simh/scp.c tptr = get_glyph (tptr, gbuf, ','); gbuf 3454 src/simh/scp.c if ((!strncmp(gbuf, "DELAY=", 6)) && (gbuf[6])) { gbuf 3455 src/simh/scp.c delay = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); gbuf 3459 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3462 src/simh/scp.c if ((!strncmp(gbuf, "AFTER=", 6)) && (gbuf[6])) { gbuf 3463 src/simh/scp.c after = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); gbuf 3467 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3477 src/simh/scp.c cptr = get_glyph_quoted (cptr, gbuf, 0); gbuf 3481 src/simh/scp.c if (SCPE_OK != sim_decode_quoted_string (gbuf, dbuf, &dsize)) gbuf 3491 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3496 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3497 src/simh/scp.c if (sim_isalpha(gbuf[0]) && (strchr (gbuf, ':'))) { gbuf 3498 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); gbuf 3512 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3517 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3518 src/simh/scp.c if (sim_isalpha(gbuf[0]) && (strchr (gbuf, ':'))) { gbuf 3531 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3536 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 3537 src/simh/scp.c if (sim_isalpha(gbuf[0]) && (strchr (gbuf, ':'))) { gbuf 3538 src/simh/scp.c r = tmxr_locate_line_expect (gbuf, &exp); gbuf 3547 src/simh/scp.c tptr = get_glyph_quoted (cptr, gbuf, 0); gbuf 3552 src/simh/scp.c return sim_exp_show (st, exp, gbuf); gbuf 3559 src/simh/scp.c char cbuf[CBUFSIZE], gbuf[CBUFSIZE], gbuf1[CBUFSIZE]; gbuf 3580 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get label glyph */ gbuf 3581 src/simh/scp.c if (0 == strcmp(gbuf, gbuf1)) { gbuf 3629 src/simh/scp.c char cbuf[2*CBUFSIZE], gbuf[CBUFSIZE]; gbuf 3633 src/simh/scp.c cptr = get_glyph (fcptr, gbuf, 0); gbuf 3634 src/simh/scp.c if ('\0' == gbuf[0]) return SCPE_ARG; /* unspecified goto target */ gbuf 3637 src/simh/scp.c return do_cmd_label (flag, cbuf, gbuf); gbuf 3644 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3647 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 3648 src/simh/scp.c if ('\0' == gbuf[0]) return SCPE_ARG; /* unspecified condition */ gbuf 3649 src/simh/scp.c if (0 == strcmp("ERROR", gbuf)) gbuf 3652 src/simh/scp.c if (SCPE_OK != sim_string_to_stat (gbuf, &cond)) gbuf 3691 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 3693 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get command glyph */ gbuf 3694 src/simh/scp.c if (((MATCH_CMD(gbuf,"INHERIT")) && gbuf 3695 src/simh/scp.c (MATCH_CMD(gbuf,"NOINHERIT"))) || //-V600 gbuf 3698 src/simh/scp.c if ((gbuf[0]) && (0 == MATCH_CMD(gbuf,"INHERIT"))) //-V560 gbuf 3700 src/simh/scp.c if ((gbuf[0]) && (0 == MATCH_CMD(gbuf,"NOINHERIT"))) //-V560 gbuf 3788 src/simh/scp.c char gbuf[CBUFSIZE], *cvptr; gbuf 3799 src/simh/scp.c cptr = get_glyph (svptr = cptr, gbuf, 0); /* get glob/dev/unit */ gbuf 3801 src/simh/scp.c if ((dptr = find_dev (gbuf))) { /* device match? */ gbuf 3807 src/simh/scp.c else if ((dptr = find_unit (gbuf, &uptr))) { /* unit match? */ gbuf 3814 src/simh/scp.c else if ((gcmdp = find_ctab (set_glob_tab, gbuf))) { /* global? */ gbuf 3820 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 3823 src/simh/scp.c if (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)) { gbuf 3842 src/simh/scp.c cptr = get_glyph (svptr = cptr, gbuf, ','); /* get modifier */ gbuf 3843 src/simh/scp.c if (0 == strcmp (gbuf, ";")) gbuf 3845 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 3849 src/simh/scp.c (MATCH_CMD (gbuf, mptr->mstring) == 0)) { /* matches option? */ gbuf 3857 src/simh/scp.c svptr = get_glyph_quoted (svptr, gbuf, ','); gbuf 3858 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) { gbuf 3865 src/simh/scp.c (void)get_glyph_nc (svptr, gbuf, ','); gbuf 3866 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) gbuf 3895 src/simh/scp.c if ((glbr = find_c1tab (ctbr, gbuf))) { /* global match? */ gbuf 3910 src/simh/scp.c CTAB *find_ctab (CTAB *tab, const char *gbuf) gbuf 3915 src/simh/scp.c if (MATCH_CMD (gbuf, tab->name) == 0) gbuf 3921 src/simh/scp.c C1TAB *find_c1tab (C1TAB *tab, const char *gbuf) gbuf 3926 src/simh/scp.c if (MATCH_CMD (gbuf, tab->name) == 0) gbuf 3996 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 4012 src/simh/scp.c cptr = get_glyph (cptr, gbuf, ';'); /* get debug flag */ gbuf 4014 src/simh/scp.c if (strcmp (dep->name, gbuf) == 0) { /* match? */ gbuf 4054 src/simh/scp.c char gbuf[CBUFSIZE], *cvptr; gbuf 4064 src/simh/scp.c cptr = get_glyph (svptr = cptr, gbuf, 0); /* get next glyph */ gbuf 4066 src/simh/scp.c if ((dptr = find_dev (gbuf))) { /* device match? */ gbuf 4072 src/simh/scp.c else if ((dptr = find_unit (gbuf, &uptr))) { /* unit match? */ gbuf 4074 src/simh/scp.c return sim_messagef (SCPE_NXUN, "Non-existent unit: %s\n", gbuf); gbuf 4076 src/simh/scp.c return sim_messagef (SCPE_UDIS, "Unit disabled: %s\n", gbuf); gbuf 4081 src/simh/scp.c else if ((shptr = find_shtab (show_glob_tab, gbuf))) { /* global? */ gbuf 4087 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 4091 src/simh/scp.c (mptr->pstring && (MATCH_CMD (gbuf, mptr->pstring) == 0))) || //-V600 gbuf 4092 src/simh/scp.c (!(mptr->mask & MTAB_VDV) && (mptr->mstring && (MATCH_CMD (gbuf, mptr->mstring) == 0)))) { gbuf 4103 src/simh/scp.c if (sim_dflt_dev && (shptr = find_shtab (show_dev_tab, gbuf))) /* global match? */ gbuf 4106 src/simh/scp.c return sim_messagef (SCPE_NXDEV, "Non-existent device: %s\n", gbuf);/* no match */ gbuf 4118 src/simh/scp.c cptr = get_glyph (cptr, gbuf, ','); /* get modifier */ gbuf 4119 src/simh/scp.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 4125 src/simh/scp.c (MATCH_CMD (gbuf, mptr->pstring) == 0)) gbuf 4128 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid Argument: %s=%s\n", gbuf, cvptr); gbuf 4134 src/simh/scp.c if (shtb && (shptr = find_shtab (shtb, gbuf))) {/* global match? */ gbuf 4145 src/simh/scp.c return sim_messagef (SCPE_NXPAR, "Non-existent parameter: %s\n", gbuf); gbuf 4152 src/simh/scp.c SHTAB *find_shtab (SHTAB *tab, const char *gbuf) gbuf 4157 src/simh/scp.c if (MATCH_CMD (gbuf, tab->name) == 0) gbuf 5424 src/simh/scp.c char gbuf[CBUFSIZE], *aptr, abuf[4*CBUFSIZE]; gbuf 5453 src/simh/scp.c cptr = get_glyph (cptr, gbuf, ','); gbuf 5454 src/simh/scp.c tptr = get_range (dptr, gbuf, &lo, &hi, dptr->aradix, max, 0); gbuf 5456 src/simh/scp.c return sim_messagef (SCPE_ARG, "Invalid address specifier: %s\n", gbuf); gbuf 5518 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 5525 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5528 src/simh/scp.c if (strcmp (gbuf, "ALL") == 0) gbuf 5530 src/simh/scp.c dptr = find_dev (gbuf); /* locate device */ gbuf 5596 src/simh/scp.c char gbuf[4*CBUFSIZE]; gbuf 5604 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5608 src/simh/scp.c dptr = find_unit (gbuf, &uptr); /* locate unit */ gbuf 5624 src/simh/scp.c gbuf[sizeof(gbuf)-1] = '\0'; gbuf 5625 src/simh/scp.c strncpy (gbuf, cptr, sizeof(gbuf)-1); gbuf 5626 src/simh/scp.c sim_trim_endspc (gbuf); /* trim trailing spc */ gbuf 5627 src/simh/scp.c return scp_attach_unit (dptr, uptr, gbuf); /* attach */ gbuf 5744 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 5751 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5754 src/simh/scp.c if (strcmp (gbuf, "ALL") == 0) gbuf 5756 src/simh/scp.c dptr = find_unit (gbuf, &uptr); /* locate unit */ gbuf 5882 src/simh/scp.c char gbuf[CBUFSIZE] = ""; gbuf 5897 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5898 src/simh/scp.c if (MATCH_CMD (gbuf, "UNTIL") != 0) { gbuf 5900 src/simh/scp.c pcv = sim_vm_parse_addr (sim_dflt_dev, gbuf, &tptr); gbuf 5901 src/simh/scp.c else pcv = strtotv (gbuf, &tptr, sim_PC->radix);/* parse PC */ gbuf 5902 src/simh/scp.c if ((tptr == gbuf) || (*tptr != 0) || /* error? */ gbuf 5913 src/simh/scp.c if ((*cptr) || (MATCH_CMD (gbuf, "UNTIL") == 0)) { //-V600 /* should be end */ gbuf 5916 src/simh/scp.c if (MATCH_CMD (gbuf, "UNTIL") != 0) gbuf 5917 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5918 src/simh/scp.c if (MATCH_CMD (gbuf, "UNTIL") != 0) gbuf 5920 src/simh/scp.c (flag == RU_RUN) ? "RUN" : "GO", gbuf, cptr); gbuf 5950 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5953 src/simh/scp.c sim_step = (int32) get_uint (gbuf, 10, INT_MAX, &r); gbuf 5965 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5968 src/simh/scp.c sim_next = (int32) get_uint (gbuf, 10, INT_MAX, &r); gbuf 5984 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get next glyph */ gbuf 5987 src/simh/scp.c dptr = find_unit (gbuf, &uptr); /* locate unit */ gbuf 6283 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 6303 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get list */ gbuf 6309 src/simh/scp.c for (gptr = gbuf, reason = SCPE_OK; gbuf 6600 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 6607 src/simh/scp.c cptr = read_line (gbuf, sizeof(gbuf), stdin); gbuf 6821 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 6826 src/simh/scp.c cptr = read_line (gbuf, sizeof(gbuf), stdin); gbuf 7691 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 7694 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); /* get switch glyph */ gbuf 7695 src/simh/scp.c lsw = get_switches (gbuf); /* parse */ gbuf 7716 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 7799 src/simh/scp.c cptr = get_glyph (cptr + 1, gbuf, 0); gbuf 7800 src/simh/scp.c sim_ofile = sim_fopen (gbuf, "a"); /* open for append */ gbuf 7808 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 7809 src/simh/scp.c if ((t = get_switches (gbuf)) != 0) { /* try for switches */ gbuf 7817 src/simh/scp.c get_rsearch (gbuf, sim_dfdev->dradix, &sim_stabr)) { /* try for search */ gbuf 7819 src/simh/scp.c sim_schaptr = get_asearch (gbuf, sim_dfdev->dradix, &sim_staba);/* populate memory version of the same expression */ gbuf 7824 src/simh/scp.c (tdptr = find_unit (gbuf, &tuptr)) && /* try for default */ gbuf 7942 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 7953 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 7954 src/simh/scp.c reason = parse_sym (gbuf, 0, sim_dfunit, logval, sim_switches); gbuf 7967 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 7968 src/simh/scp.c reason = parse_sym (gbuf, 0, sim_dfunit, cmpval, sim_switches); gbuf 8764 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 8766 src/simh/scp.c return sim_messagef (SCPE_NOFNC, "Unknown breakpoint type; %s\n", put_switches(gbuf, sizeof(gbuf), sw & ~sim_brk_types)); gbuf 9165 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 9187 src/simh/scp.c tptr = get_glyph (cptr, gbuf, ','); gbuf 9188 src/simh/scp.c if ((!strncmp(gbuf, "HALTAFTER=", 10)) && (gbuf[10])) { gbuf 9189 src/simh/scp.c after = (uint32)get_uint (&gbuf[10], 10, 2000000000, &r); gbuf 9197 src/simh/scp.c cptr = get_glyph_quoted (cptr, gbuf, 0); gbuf 9199 src/simh/scp.c return sim_exp_set (exp, gbuf, cnt, (after_set ? after : exp->after), sim_switches, cptr); gbuf 9206 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 9212 src/simh/scp.c cptr = get_glyph_quoted (cptr, gbuf, 0); gbuf 9215 src/simh/scp.c return sim_exp_clr (exp, gbuf); /* clear one rule */ gbuf 9683 src/simh/scp.c char gbuf[CBUFSIZE]; gbuf 9687 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 9688 src/simh/scp.c if (0 == memcmp("SCPE_", gbuf, 5)) gbuf 9689 src/simh/scp.c memmove (gbuf, gbuf + 5, 1 + strlen (gbuf + 5)); /* skip leading SCPE_ */ gbuf 9691 src/simh/scp.c if (0 == strcmp(scp_errors[cond].code, gbuf)) { gbuf 9695 src/simh/scp.c if (0 == strcmp(gbuf, "OK")) gbuf 9698 src/simh/scp.c if (0 == (cond = strtol(gbuf, NULL, 0))) /* try explicit number */ gbuf 10731 src/simh/scp.c char cbuf [CBUFSIZE], gbuf[CBUFSIZE]; gbuf 10822 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 10823 src/simh/scp.c if (!gbuf[0]) gbuf 10825 src/simh/scp.c if (!strcmp (gbuf, "HELP")) { /* HELP (about help) */ gbuf 10830 src/simh/scp.c match = matchHelpTopicName (topic, gbuf); gbuf 10837 src/simh/scp.c fprintf (st, "\n%s is ambiguous in %s\n", gbuf, topic->title); gbuf 10841 src/simh/scp.c fprintf (st, "\n%s is not available in %s\n", gbuf, topic->title); gbuf 10925 src/simh/scp.c cptr = get_glyph (cptr, gbuf, 0); gbuf 10926 src/simh/scp.c if (!strcmp (gbuf, "*")) { /* Wildcard */ gbuf 10928 src/simh/scp.c gbuf[0] = '\0'; /* Displayed all subtopics, go up */ gbuf 10930 src/simh/scp.c if (!gbuf[0]) { /* Blank, up a level */ gbuf 10936 src/simh/scp.c if (!strcmp (gbuf, "?")) /* ?, repaint current topic */ gbuf 10938 src/simh/scp.c if (!strcmp (gbuf, "HELP")) { /* HELP (about help) */ gbuf 10942 src/simh/scp.c if (!strcmp (gbuf, "EXIT") || !strcmp (gbuf, "QUIT")) /* EXIT (help) */ gbuf 10952 src/simh/scp.c match = matchHelpTopicName (topic, gbuf); gbuf 10954 src/simh/scp.c fprintf (st, "%s is ambiguous, please type more of the topic name\n", gbuf); gbuf 10960 src/simh/scp.c fprintf (st, "Help for %s is not available\n", gbuf); gbuf 164 src/simh/scp.h CTAB *find_cmd (const char *gbuf); gbuf 171 src/simh/scp.h CTAB *find_ctab (CTAB *tab, const char *gbuf); gbuf 172 src/simh/scp.h C1TAB *find_c1tab (C1TAB *tab, const char *gbuf); gbuf 173 src/simh/scp.h SHTAB *find_shtab (SHTAB *tab, const char *gbuf); gbuf 283 src/simh/sim_console.c char *cvptr, gbuf[CBUFSIZE]; gbuf 290 src/simh/sim_console.c cptr = get_glyph_nc (cptr, gbuf, ','); /* get modifier */ gbuf 291 src/simh/sim_console.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 293 src/simh/sim_console.c (void)get_glyph (gbuf, gbuf, 0); /* modifier to UC */ gbuf 294 src/simh/sim_console.c if ((ctptr = find_ctab (set_con_tab, gbuf))) { /* match? */ gbuf 308 src/simh/sim_console.c char gbuf[CBUFSIZE]; gbuf 318 src/simh/sim_console.c cptr = get_glyph (cptr, gbuf, ','); /* get modifier */ gbuf 319 src/simh/sim_console.c if ((shptr = find_shtab (show_con_tab, gbuf))) gbuf 372 src/simh/sim_console.c char *cvptr, gbuf[CBUFSIZE]; gbuf 379 src/simh/sim_console.c cptr = get_glyph_nc (cptr, gbuf, ','); /* get modifier */ gbuf 380 src/simh/sim_console.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 382 src/simh/sim_console.c (void)get_glyph (gbuf, gbuf, 0); /* modifier to UC */ gbuf 383 src/simh/sim_console.c if ((ctptr = find_ctab (set_rem_con_tab, gbuf))) { /* match? */ gbuf 610 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; gbuf 620 src/simh/sim_console.c cptr = get_glyph (cptr, gbuf, 0); /* get command glyph */ gbuf 621 src/simh/sim_console.c sim_rem_active_command = find_cmd (gbuf); /* find command */ gbuf 626 src/simh/sim_console.c stat = _sim_rem_message (gbuf, stat); /* display results */ gbuf 645 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; gbuf 885 src/simh/sim_console.c cptr = get_glyph (cptr, gbuf, 0); /* get command glyph */ gbuf 898 src/simh/sim_console.c basecmdp = find_cmd (gbuf); /* validate basic command */ gbuf 900 src/simh/sim_console.c if ((gbuf[0] == ';') || (gbuf[0] == '#')) { /* ignore comment */ gbuf 911 src/simh/sim_console.c if ((cmdp = find_ctab (sim_rem_single_mode[i] ? allowed_single_remote_cmds : (master_session ? allowed_master_remote_cmds : allowed_remote_cmds), gbuf))) {/* lookup command */ gbuf 921 src/simh/sim_console.c cptr = get_glyph (cptr, gbuf, 0);/* get next glyph */ gbuf 925 src/simh/sim_console.c steps = (int32) get_uint (gbuf, 10, INT_MAX, &stat); gbuf 953 src/simh/sim_console.c stat = _sim_rem_message (gbuf, stat); gbuf 1294 src/simh/sim_console.c char gbuf[CBUFSIZE]; gbuf 1300 src/simh/sim_console.c cptr = get_glyph_nc (cptr, gbuf, 0); /* get file name */ gbuf 1304 src/simh/sim_console.c r = sim_open_logfile (gbuf, (sim_switches & SWMASK ('B')) == SWMASK ('B'), gbuf 1351 src/simh/sim_console.c char gbuf[CBUFSIZE]; gbuf 1369 src/simh/sim_console.c cptr = get_glyph_nc (cptr, gbuf, 0); /* get file name */ gbuf 1372 src/simh/sim_console.c r = sim_open_logfile (gbuf, FALSE, &sim_deb, &sim_deb_ref); gbuf 1498 src/simh/sim_console.c char *cvptr, gbuf[CBUFSIZE]; gbuf 1505 src/simh/sim_console.c cptr = get_glyph_nc (cptr, gbuf, ','); /* get modifier */ gbuf 1506 src/simh/sim_console.c if ((cvptr = strchr (gbuf, '='))) /* = value? */ gbuf 1508 src/simh/sim_console.c (void)get_glyph (gbuf, gbuf, 0); /* modifier to UC */ gbuf 1509 src/simh/sim_console.c if ((ctptr = find_ctab (set_con_telnet_tab, gbuf))) { /* match? */ gbuf 1517 src/simh/sim_console.c r = tmxr_attach (&sim_con_tmxr, &sim_con_unit, gbuf);/* open master socket */ gbuf 1642 src/simh/sim_console.c char gbuf[CBUFSIZE]; gbuf 1647 src/simh/sim_console.c tptr = get_glyph (filename, gbuf, 0); gbuf 1652 src/simh/sim_console.c if (strcmp (gbuf, "LOG") == 0) { /* output to log? */ gbuf 1660 src/simh/sim_console.c else if (strcmp (gbuf, "DEBUG") == 0) { /* output to debug? */ gbuf 1668 src/simh/sim_console.c else if (strcmp (gbuf, "STDOUT") == 0) { /* output to stdout? */ gbuf 1672 src/simh/sim_console.c else if (strcmp (gbuf, "STDERR") == 0) { /* output to stderr? */ gbuf 1680 src/simh/sim_console.c (void)get_glyph_nc (filename, gbuf, 0); /* reparse */ gbuf 1681 src/simh/sim_console.c strncpy ((*pref)->name, gbuf, sizeof((*pref)->name)); gbuf 1683 src/simh/sim_console.c *pf = sim_fopen (gbuf, (binary ? "w+b" : "w+"));/* then open an empty file */ gbuf 1685 src/simh/sim_console.c *pf = sim_fopen (gbuf, (binary ? "a+b" : "a+"));/* append to an existing file */ gbuf 756 src/simh/sim_disk.c char gbuf[CBUFSIZE]; gbuf 757 src/simh/sim_disk.c cptr = get_glyph (cptr, gbuf, 0); /* get spec */ gbuf 760 src/simh/sim_disk.c if (sim_disk_set_fmt (uptr, 0, gbuf, NULL) != SCPE_OK) gbuf 761 src/simh/sim_disk.c return sim_messagef (SCPE_ARG, "Invalid Disk Format: %s\n", gbuf); gbuf 490 src/simh/sim_sock.c char gbuf[CBUFSIZE], default_pbuf[CBUFSIZE]; gbuf 514 src/simh/sim_sock.c gbuf[sizeof(gbuf)-1] = '\0'; gbuf 515 src/simh/sim_sock.c strncpy (gbuf, cptr, sizeof(gbuf)-1); gbuf 516 src/simh/sim_sock.c hostp = gbuf; /* default addr */ gbuf 519 src/simh/sim_sock.c if ((portp = strrchr (gbuf, ':')) && /* x:y? split */ gbuf 526 src/simh/sim_sock.c portp = gbuf; /* Input is the port specifier */ gbuf 552 src/simh/sim_sock.c strncpy(gbuf, hostp+1, sizeof(gbuf)-1); /* remove brackets from domain literal host */ gbuf 553 src/simh/sim_sock.c gbuf[strlen(gbuf)-1] = '\0'; //-V557 gbuf 554 src/simh/sim_sock.c hostp = gbuf; gbuf 148 src/simh/sim_tape.c char gbuf[CBUFSIZE]; gbuf 155 src/simh/sim_tape.c cptr = get_glyph (cptr, gbuf, 0); /* get spec */ gbuf 158 src/simh/sim_tape.c if (sim_tape_set_fmt (uptr, 0, gbuf, NULL) != SCPE_OK) gbuf 159 src/simh/sim_tape.c return sim_messagef (SCPE_ARG, "Invalid Tape Format: %s\n", gbuf); gbuf 2229 src/simh/sim_tmxr.c char gbuf[CBUFSIZE]; gbuf 2232 src/simh/sim_tmxr.c cptr = get_glyph (cptr, gbuf, '='); gbuf 2233 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "LINE")) { gbuf 2241 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "LOG")) { gbuf 2247 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "LOOPBACK")) { gbuf 2253 src/simh/sim_tmxr.c if ((0 == MATCH_CMD (gbuf, "NOBUFFERED")) || (0 == MATCH_CMD (gbuf, "UNBUFFERED"))) { //-V600 gbuf 2259 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "BUFFERED")) { gbuf 2270 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "NOLOG")) { gbuf 2276 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "NOMODEM")) { gbuf 2282 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "MODEM")) { gbuf 2288 src/simh/sim_tmxr.c if ((0 == MATCH_CMD (gbuf, "DATAGRAM")) || (0 == MATCH_CMD (gbuf, "UDP"))) { //-V600 gbuf 2294 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "PACKET")) { gbuf 2300 src/simh/sim_tmxr.c if ((0 == MATCH_CMD (gbuf, "STREAM")) || (0 == MATCH_CMD (gbuf, "TCP"))) { //-V600 gbuf 2306 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "CONNECT")) { gbuf 2312 src/simh/sim_tmxr.c if (0 == MATCH_CMD (gbuf, "SPEED")) { gbuf 2319 src/simh/sim_tmxr.c cptr = get_glyph (gbuf, port, ';'); gbuf 2323 src/simh/sim_tmxr.c char *tptr = gbuf + (cptr - gbuf); gbuf 2948 src/simh/sim_tmxr.c char gbuf[CBUFSIZE]; gbuf 2957 src/simh/sim_tmxr.c cptr = get_glyph(cptr, gbuf, ':'); gbuf 2958 src/simh/sim_tmxr.c dptr = find_dev (gbuf); /* device match? */