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 1673 src/simh/scp.c char cbuf[4*CBUFSIZE]; cbuf 1877 src/simh/scp.c *cbuf = 0; /* init arg buffer */ cbuf 1985 src/simh/scp.c if ((strlen (argv[i]) + strlen (cbuf) + 3) >= sizeof(cbuf)) { cbuf 1990 src/simh/scp.c if (*cbuf) /* concat args */ cbuf 1991 src/simh/scp.c strcat (cbuf, " "); cbuf 1992 src/simh/scp.c (void)sprintf(&cbuf[strlen(cbuf)], "%s%s%s", //-V755 cbuf 2089 src/simh/scp.c if ( (*cbuf) && (strcmp(cbuf, "")) ) /* cmd file arg? */ cbuf 2090 src/simh/scp.c stat = do_cmd (0, cbuf); /* proc cmd file */ cbuf 2135 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 2142 src/simh/scp.c if ((cptr = sim_brk_getact (cbuf, sizeof(cbuf)))) /* pending action? */ cbuf 2146 src/simh/scp.c cptr = (*sim_vm_read) (cbuf, sizeof(cbuf), stdin); cbuf 2148 src/simh/scp.c else cptr = read_line_p (sim_prompt, cbuf, sizeof(cbuf), stdin);/* read with prompt*/ cbuf 2155 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), argv); cbuf 2901 src/simh/scp.c static char cbuf[4*CBUFSIZE]; cbuf 2903 src/simh/scp.c (void)snprintf (cbuf, sizeof (cbuf), "%s%s%s-%d", sim_do_filename[sim_do_depth], cbuf 2907 src/simh/scp.c return cbuf; cbuf 2912 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; cbuf 2957 src/simh/scp.c strcat (strcpy (cbuf, do_arg[0]), ".ini"); /* try again with .ini extension */ cbuf 2958 src/simh/scp.c if ((fpin = fopen (cbuf, "r")) == NULL) { /* failed a second time? */ cbuf 2996 src/simh/scp.c strcpy(cbuf, "RETURN SCPE_ARG"); cbuf 2997 src/simh/scp.c cptr = get_glyph (cbuf, gbuf, 0); /* get command glyph */ cbuf 3006 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = sim_brk_getact (cbuf, sizeof(cbuf)); /* get bkpt action */ cbuf 3008 src/simh/scp.c sim_do_ocptr[sim_do_depth] = cptr = read_line (cbuf, sizeof(cbuf), fpin);/* get cmd line */ cbuf 3011 src/simh/scp.c if (cptr != NULL && strlen(cptr) < sizeof(cbuf)) { /* validate */ cbuf 3012 src/simh/scp.c sim_sub_args(cbuf, sizeof(cbuf), do_arg); /* substitute args */ cbuf 3014 src/simh/scp.c sim_sub_args (cbuf, sizeof(cbuf), do_arg); /* substitute args */ cbuf 3861 src/simh/scp.c char cbuf[CBUFSIZE], gbuf[CBUFSIZE], gbuf1[CBUFSIZE]; cbuf 3875 src/simh/scp.c cptr = read_line (cbuf, sizeof(cbuf), sim_gotofile);/* get cmd line */ cbuf 3887 src/simh/scp.c sim_printf("%s> %s\n", do_position(), cbuf); cbuf 3931 src/simh/scp.c char cbuf[2*CBUFSIZE], gbuf[CBUFSIZE]; cbuf 3937 src/simh/scp.c (void)snprintf(cbuf, sizeof (cbuf), "%s %s", sim_do_filename[sim_do_depth], cptr); cbuf 3939 src/simh/scp.c return do_cmd_label (flag, cbuf, gbuf); cbuf 11146 src/simh/scp.c char cbuf[CBUFSIZE], *cptr; cbuf 11153 src/simh/scp.c strcpy (cbuf,topic->children[i]->title + cbuf 11155 src/simh/scp.c cptr = cbuf; cbuf 11165 src/simh/scp.c if (!strcmp (cbuf, token)) /* Exact Match */ cbuf 11167 src/simh/scp.c if (!strncmp (cbuf, token, strlen (token))) { cbuf 11189 src/simh/scp.c char cbuf [CBUFSIZE], gbuf[CBUFSIZE]; cbuf 11372 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;