cbuf 1907 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf, cbuf 1926 src/dps8/dps8_mgp.c return make_connect_packet(cbuf, clen, buf, words, conni); cbuf 1930 src/dps8/dps8_mgp.c return make_open_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1947 src/dps8/dps8_mgp.c int v = make_mgp_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1956 src/dps8/dps8_mgp.c return make_mgp_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1969 src/dps8/dps8_mgp.c u_char cbuf[CH_PK_MAX_DATALEN + CBRIDGE_PACKET_HEADER_SIZE]; /* Fit data + cbridge header */ cbuf 2076 src/dps8/dps8_mgp.c cbuf, CBRIDGE_PACKET_HEADER_SIZE)) < 0) cbuf 2109 src/dps8/dps8_mgp.c int copcode = cbuf[0]; cbuf 2110 src/dps8/dps8_mgp.c int mbz = cbuf[1]; cbuf 2111 src/dps8/dps8_mgp.c int clen = cbuf[2] | ( cbuf[3] << 8 ); cbuf 2129 src/dps8/dps8_mgp.c else if (( cnt = read(mgp_dev_state.conns[i].skt, cbuf, clen)) < 0) cbuf 2160 src/dps8/dps8_mgp.c copcode, cbuf, clen, buf, words, i); cbuf 1498 src/simh/scp.c char cbuf[4*CBUFSIZE]; cbuf 1666 src/simh/scp.c *cbuf = 0; /* init arg buffer */ cbuf 1762 src/simh/scp.c if ((strlen (argv[i]) + strlen (cbuf) + 3) >= sizeof(cbuf)) { cbuf 1767 src/simh/scp.c if (*cbuf) /* concat args */ cbuf 1768 src/simh/scp.c strcat (cbuf, " "); cbuf 1769 src/simh/scp.c sprintf(&cbuf[strlen(cbuf)], "%s%s%s", strchr(argv[i], ' ') ? "\"" : "", argv[i], strchr(argv[i], ' ') ? "\"" : ""); //-V755 cbuf 1865 src/simh/scp.c if ( (*cbuf) && (strcmp(cbuf, "")) ) /* cmd file arg? */ cbuf 1866 src/simh/scp.c stat = do_cmd (0, cbuf); /* proc cmd file */ cbuf 1909 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 1916 src/simh/scp.c if ((cptr = sim_brk_getact (cbuf, sizeof(cbuf)))) /* pending action? */ cbuf 1920 src/simh/scp.c cptr = (*sim_vm_read) (cbuf, sizeof(cbuf), stdin); cbuf 1922 src/simh/scp.c else cptr = read_line_p (sim_prompt, cbuf, sizeof(cbuf), stdin);/* read with prompt*/ cbuf 1929 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 2636 src/simh/scp.c static char cbuf[4*CBUFSIZE]; cbuf 2638 src/simh/scp.c snprintf (cbuf, sizeof (cbuf), "%s%s%s-%d", sim_do_filename[sim_do_depth], cbuf 2642 src/simh/scp.c return cbuf; cbuf 2647 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; cbuf 2692 src/simh/scp.c strcat (strcpy (cbuf, do_arg[0]), ".ini"); /* try again with .ini extension */ cbuf 2693 src/simh/scp.c if ((fpin = fopen (cbuf, "r")) == NULL) { /* failed a second time? */ cbuf 2731 src/simh/scp.c strcpy(cbuf, "RETURN SCPE_ARG"); cbuf 2732 src/simh/scp.c cptr = get_glyph (cbuf, gbuf, 0); /* get command glyph */ cbuf 2741 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = sim_brk_getact (cbuf, sizeof(cbuf)); /* get bkpt action */ cbuf 2743 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = read_line (cbuf, sizeof(cbuf), fpin);/* get cmd line */ cbuf 2746 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), do_arg); /* substitute args */ cbuf 3559 src/simh/scp.c char cbuf[CBUFSIZE], gbuf[CBUFSIZE], gbuf1[CBUFSIZE]; cbuf 3573 src/simh/scp.c cptr = read_line (cbuf, sizeof(cbuf), sim_gotofile);/* get cmd line */ cbuf 3585 src/simh/scp.c sim_printf("%s> %s\n", do_position(), cbuf); cbuf 3629 src/simh/scp.c char cbuf[2*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 3635 src/simh/scp.c snprintf(cbuf, sizeof (cbuf), "%s %s", sim_do_filename[sim_do_depth], cptr); cbuf 3637 src/simh/scp.c return do_cmd_label (flag, cbuf, gbuf); cbuf 10687 src/simh/scp.c char cbuf[CBUFSIZE], *cptr; cbuf 10694 src/simh/scp.c strcpy (cbuf,topic->children[i]->title + cbuf 10696 src/simh/scp.c cptr = cbuf; cbuf 10706 src/simh/scp.c if (!strcmp (cbuf, token)) /* Exact Match */ cbuf 10708 src/simh/scp.c if (!strncmp (cbuf, token, strlen (token))) { cbuf 10731 src/simh/scp.c char cbuf [CBUFSIZE], gbuf[CBUFSIZE]; cbuf 10914 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;