cbuf 1497 src/simh/scp.c char cbuf[4*CBUFSIZE]; cbuf 1665 src/simh/scp.c *cbuf = 0; /* init arg buffer */ cbuf 1761 src/simh/scp.c if ((strlen (argv[i]) + strlen (cbuf) + 3) >= sizeof(cbuf)) { cbuf 1766 src/simh/scp.c if (*cbuf) /* concat args */ cbuf 1767 src/simh/scp.c strcat (cbuf, " "); cbuf 1768 src/simh/scp.c sprintf(&cbuf[strlen(cbuf)], "%s%s%s", strchr(argv[i], ' ') ? "\"" : "", argv[i], strchr(argv[i], ' ') ? "\"" : ""); //-V755 cbuf 1864 src/simh/scp.c if ( (*cbuf) && (strcmp(cbuf, "")) ) /* cmd file arg? */ cbuf 1865 src/simh/scp.c stat = do_cmd (0, cbuf); /* proc cmd file */ cbuf 1908 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 1915 src/simh/scp.c if ((cptr = sim_brk_getact (cbuf, sizeof(cbuf)))) /* pending action? */ cbuf 1919 src/simh/scp.c cptr = (*sim_vm_read) (cbuf, sizeof(cbuf), stdin); cbuf 1921 src/simh/scp.c else cptr = read_line_p (sim_prompt, cbuf, sizeof(cbuf), stdin);/* read with prompt*/ cbuf 1928 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 2635 src/simh/scp.c static char cbuf[4*CBUFSIZE]; cbuf 2637 src/simh/scp.c snprintf (cbuf, sizeof (cbuf), "%s%s%s-%d", sim_do_filename[sim_do_depth], cbuf 2641 src/simh/scp.c return cbuf; cbuf 2646 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; cbuf 2691 src/simh/scp.c strcat (strcpy (cbuf, do_arg[0]), ".ini"); /* try again with .ini extension */ cbuf 2692 src/simh/scp.c if ((fpin = fopen (cbuf, "r")) == NULL) { /* failed a second time? */ cbuf 2730 src/simh/scp.c strcpy(cbuf, "RETURN SCPE_ARG"); cbuf 2731 src/simh/scp.c cptr = get_glyph (cbuf, gbuf, 0); /* get command glyph */ cbuf 2740 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = sim_brk_getact (cbuf, sizeof(cbuf)); /* get bkpt action */ cbuf 2742 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = read_line (cbuf, sizeof(cbuf), fpin);/* get cmd line */ cbuf 2745 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), do_arg); /* substitute args */ cbuf 3558 src/simh/scp.c char cbuf[CBUFSIZE], gbuf[CBUFSIZE], gbuf1[CBUFSIZE]; cbuf 3572 src/simh/scp.c cptr = read_line (cbuf, sizeof(cbuf), sim_gotofile);/* get cmd line */ cbuf 3584 src/simh/scp.c sim_printf("%s> %s\n", do_position(), cbuf); cbuf 3628 src/simh/scp.c char cbuf[2*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 3634 src/simh/scp.c snprintf(cbuf, sizeof (cbuf), "%s %s", sim_do_filename[sim_do_depth], cptr); cbuf 3636 src/simh/scp.c return do_cmd_label (flag, cbuf, gbuf); cbuf 10453 src/simh/scp.c char cbuf[CBUFSIZE], *cptr; cbuf 10460 src/simh/scp.c strcpy (cbuf,topic->children[i]->title + cbuf 10462 src/simh/scp.c cptr = cbuf; cbuf 10472 src/simh/scp.c if (!strcmp (cbuf, token)) /* Exact Match */ cbuf 10474 src/simh/scp.c if (!strncmp (cbuf, token, strlen (token))) { cbuf 10497 src/simh/scp.c char cbuf [CBUFSIZE], gbuf[CBUFSIZE]; cbuf 10680 src/simh/scp.c cptr = read_line_p (pstring+1, cbuf, sizeof (cbuf), stdin); cbuf 588 src/simh/sim_console.c char cbuf[4*CBUFSIZE]; cbuf 595 src/simh/sim_console.c cbuf[sizeof(cbuf)-1] = '\0'; cbuf 596 src/simh/sim_console.c while (fgets (cbuf, sizeof(cbuf)-1, sim_log)) cbuf 597 src/simh/sim_console.c tmxr_linemsgf (lp, "%s", cbuf); cbuf 610 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; cbuf 615 src/simh/sim_console.c strcpy (cbuf, sim_rem_command_buf); cbuf 616 src/simh/sim_console.c while (isspace((unsigned char)cbuf[0])) cbuf 617 src/simh/sim_console.c memmove (cbuf, cbuf+1, strlen(cbuf+1)+1); /* skip leading whitespace */ cbuf 618 src/simh/sim_console.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 619 src/simh/sim_console.c cptr = cbuf; cbuf 645 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; cbuf 846 src/simh/sim_console.c if (((size_t)sim_rem_buf_ptr[i]) >= sizeof(cbuf)) cbuf 863 src/simh/sim_console.c if (strlen(sim_rem_buf[i]) >= sizeof(cbuf)) { cbuf 869 src/simh/sim_console.c strcpy (cbuf, sim_rem_buf[i]); cbuf 872 src/simh/sim_console.c while (isspace((unsigned char)cbuf[0])) cbuf 873 src/simh/sim_console.c memmove (cbuf, cbuf+1, strlen(cbuf+1)+1); /* skip leading whitespace */ cbuf 874 src/simh/sim_console.c if (cbuf[0] == '\0') { cbuf 882 src/simh/sim_console.c strcpy (sim_rem_command_buf, cbuf); cbuf 883 src/simh/sim_console.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 884 src/simh/sim_console.c cptr = cbuf;