cbuf 1909 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf, cbuf 1928 src/dps8/dps8_mgp.c return make_connect_packet(cbuf, clen, buf, words, conni); cbuf 1932 src/dps8/dps8_mgp.c return make_open_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1949 src/dps8/dps8_mgp.c int v = make_mgp_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1958 src/dps8/dps8_mgp.c return make_mgp_packet(copcode, cbuf, clen, buf, words, conni); cbuf 1971 src/dps8/dps8_mgp.c u_char cbuf[CH_PK_MAX_DATALEN + CBRIDGE_PACKET_HEADER_SIZE]; /* Fit data + cbridge header */ cbuf 2078 src/dps8/dps8_mgp.c cbuf, CBRIDGE_PACKET_HEADER_SIZE)) < 0) cbuf 2111 src/dps8/dps8_mgp.c int copcode = cbuf[0]; cbuf 2112 src/dps8/dps8_mgp.c int mbz = cbuf[1]; cbuf 2113 src/dps8/dps8_mgp.c int clen = cbuf[2] | ( cbuf[3] << 8 ); cbuf 2131 src/dps8/dps8_mgp.c else if (( cnt = read(mgp_dev_state.conns[i].skt, cbuf, clen)) < 0) cbuf 2162 src/dps8/dps8_mgp.c copcode, cbuf, clen, buf, words, i); cbuf 1659 src/simh/scp.c char cbuf[4*CBUFSIZE]; cbuf 1815 src/simh/scp.c *cbuf = 0; /* init arg buffer */ cbuf 1923 src/simh/scp.c if ((strlen (argv[i]) + strlen (cbuf) + 3) >= sizeof(cbuf)) { cbuf 1928 src/simh/scp.c if (*cbuf) /* concat args */ cbuf 1929 src/simh/scp.c strcat (cbuf, " "); cbuf 1930 src/simh/scp.c (void)sprintf(&cbuf[strlen(cbuf)], "%s%s%s", //-V755 cbuf 2027 src/simh/scp.c if ( (*cbuf) && (strcmp(cbuf, "")) ) /* cmd file arg? */ cbuf 2028 src/simh/scp.c stat = do_cmd (0, cbuf); /* proc cmd file */ cbuf 2071 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 2078 src/simh/scp.c if ((cptr = sim_brk_getact (cbuf, sizeof(cbuf)))) /* pending action? */ cbuf 2082 src/simh/scp.c cptr = (*sim_vm_read) (cbuf, sizeof(cbuf), stdin); cbuf 2084 src/simh/scp.c else cptr = read_line_p (sim_prompt, cbuf, sizeof(cbuf), stdin);/* read with prompt*/ cbuf 2091 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 2837 src/simh/scp.c static char cbuf[4*CBUFSIZE]; cbuf 2839 src/simh/scp.c (void)snprintf (cbuf, sizeof (cbuf), "%s%s%s-%d", sim_do_filename[sim_do_depth], cbuf 2843 src/simh/scp.c return cbuf; cbuf 2848 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; cbuf 2893 src/simh/scp.c strcat (strcpy (cbuf, do_arg[0]), ".ini"); /* try again with .ini extension */ cbuf 2894 src/simh/scp.c if ((fpin = fopen (cbuf, "r")) == NULL) { /* failed a second time? */ cbuf 2932 src/simh/scp.c strcpy(cbuf, "RETURN SCPE_ARG"); cbuf 2933 src/simh/scp.c cptr = get_glyph (cbuf, gbuf, 0); /* get command glyph */ cbuf 2942 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = sim_brk_getact (cbuf, sizeof(cbuf)); /* get bkpt action */ cbuf 2944 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = read_line (cbuf, sizeof(cbuf), fpin);/* get cmd line */ cbuf 2947 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), do_arg); /* substitute args */ cbuf 3796 src/simh/scp.c char cbuf[CBUFSIZE], gbuf[CBUFSIZE], gbuf1[CBUFSIZE]; cbuf 3810 src/simh/scp.c cptr = read_line (cbuf, sizeof(cbuf), sim_gotofile);/* get cmd line */ cbuf 3822 src/simh/scp.c sim_printf("%s> %s\n", do_position(), cbuf); cbuf 3866 src/simh/scp.c char cbuf[2*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 3872 src/simh/scp.c (void)snprintf(cbuf, sizeof (cbuf), "%s %s", sim_do_filename[sim_do_depth], cptr); cbuf 3874 src/simh/scp.c return do_cmd_label (flag, cbuf, gbuf); cbuf 11076 src/simh/scp.c char cbuf[CBUFSIZE], *cptr; cbuf 11083 src/simh/scp.c strcpy (cbuf,topic->children[i]->title + cbuf 11085 src/simh/scp.c cptr = cbuf; cbuf 11095 src/simh/scp.c if (!strcmp (cbuf, token)) /* Exact Match */ cbuf 11097 src/simh/scp.c if (!strncmp (cbuf, token, strlen (token))) { cbuf 11119 src/simh/scp.c char cbuf [CBUFSIZE], gbuf[CBUFSIZE]; cbuf 11301 src/simh/scp.c cptr = read_line_p (pstring+1, cbuf, sizeof (cbuf), stdin); cbuf 596 src/simh/sim_console.c char cbuf[4*CBUFSIZE]; cbuf 603 src/simh/sim_console.c cbuf[sizeof(cbuf)-1] = '\0'; cbuf 604 src/simh/sim_console.c while (fgets (cbuf, sizeof(cbuf)-1, sim_log)) cbuf 605 src/simh/sim_console.c tmxr_linemsgf (lp, "%s", cbuf); cbuf 618 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; cbuf 623 src/simh/sim_console.c strcpy (cbuf, sim_rem_command_buf); cbuf 624 src/simh/sim_console.c while (isspace((unsigned char)cbuf[0])) cbuf 625 src/simh/sim_console.c memmove (cbuf, cbuf+1, strlen(cbuf+1)+1); /* skip leading whitespace */ cbuf 626 src/simh/sim_console.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 627 src/simh/sim_console.c cptr = cbuf; cbuf 653 src/simh/sim_console.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], *argv[1] = {NULL}; cbuf 861 src/simh/sim_console.c if (((size_t)sim_rem_buf_ptr[i]) >= sizeof(cbuf)) cbuf 878 src/simh/sim_console.c if (strlen(sim_rem_buf[i]) >= sizeof(cbuf)) { cbuf 884 src/simh/sim_console.c strcpy (cbuf, sim_rem_buf[i]); cbuf 887 src/simh/sim_console.c while (isspace((unsigned char)cbuf[0])) cbuf 888 src/simh/sim_console.c memmove (cbuf, cbuf+1, strlen(cbuf+1)+1); /* skip leading whitespace */ cbuf 889 src/simh/sim_console.c if (cbuf[0] == '\0') { cbuf 897 src/simh/sim_console.c strcpy (sim_rem_command_buf, cbuf); cbuf 898 src/simh/sim_console.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 899 src/simh/sim_console.c cptr = cbuf;