buf 609 src/decNumber/decNumberLocal.h # define GETCOEFFBILL(df, buf) { \ buf 611 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN0[sourhi&0x3ff] \ buf 616 src/decNumber/decNumberLocal.h # define GETCOEFFBILL(df, buf) { \ buf 619 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN0[sourlo&0x3ff] \ buf 623 src/decNumber/decNumberLocal.h (buf)[1]=DPD2BIN0[((sourhi<<2) | (sourlo>>30))&0x3ff] \ buf 628 src/decNumber/decNumberLocal.h # define GETCOEFFBILL(df, buf) { \ buf 631 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN0[sourlo&0x3ff] \ buf 635 src/decNumber/decNumberLocal.h (buf)[1]=DPD2BIN0[((sourml<<2) | (sourlo>>30))&0x3ff] \ buf 639 src/decNumber/decNumberLocal.h (buf)[2]=DPD2BIN0[((sourmh<<4) | (sourml>>28))&0x3ff] \ buf 643 src/decNumber/decNumberLocal.h (buf)[3]=DPD2BIN0[((sourhi<<6) | (sourmh>>26))&0x3ff] \ buf 656 src/decNumber/decNumberLocal.h # define GETCOEFFTHOU(df, buf) { \ buf 658 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN[sourhi&0x3ff]; \ buf 659 src/decNumber/decNumberLocal.h (buf)[1]=DPD2BIN[(sourhi>>10)&0x3ff]; \ buf 660 src/decNumber/decNumberLocal.h (buf)[2]=DECCOMBMSD[sourhi>>26];} buf 663 src/decNumber/decNumberLocal.h # define GETCOEFFTHOU(df, buf) { \ buf 666 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN[sourlo&0x3ff]; \ buf 667 src/decNumber/decNumberLocal.h (buf)[1]=DPD2BIN[(sourlo>>10)&0x3ff]; \ buf 668 src/decNumber/decNumberLocal.h (buf)[2]=DPD2BIN[(sourlo>>20)&0x3ff]; \ buf 670 src/decNumber/decNumberLocal.h (buf)[3]=DPD2BIN[((sourhi<<2) | (sourlo>>30))&0x3ff]; \ buf 671 src/decNumber/decNumberLocal.h (buf)[4]=DPD2BIN[(sourhi>>8)&0x3ff]; \ buf 672 src/decNumber/decNumberLocal.h (buf)[5]=DECCOMBMSD[sourhi>>26];} buf 675 src/decNumber/decNumberLocal.h # define GETCOEFFTHOU(df, buf) { \ buf 678 src/decNumber/decNumberLocal.h (buf)[0]=DPD2BIN[sourlo&0x3ff]; \ buf 679 src/decNumber/decNumberLocal.h (buf)[1]=DPD2BIN[(sourlo>>10)&0x3ff]; \ buf 680 src/decNumber/decNumberLocal.h (buf)[2]=DPD2BIN[(sourlo>>20)&0x3ff]; \ buf 682 src/decNumber/decNumberLocal.h (buf)[3]=DPD2BIN[((sourml<<2) | (sourlo>>30))&0x3ff]; \ buf 683 src/decNumber/decNumberLocal.h (buf)[4]=DPD2BIN[(sourml>>8)&0x3ff]; \ buf 684 src/decNumber/decNumberLocal.h (buf)[5]=DPD2BIN[(sourml>>18)&0x3ff]; \ buf 686 src/decNumber/decNumberLocal.h (buf)[6]=DPD2BIN[((sourmh<<4) | (sourml>>28))&0x3ff]; \ buf 687 src/decNumber/decNumberLocal.h (buf)[7]=DPD2BIN[(sourmh>>6)&0x3ff]; \ buf 688 src/decNumber/decNumberLocal.h (buf)[8]=DPD2BIN[(sourmh>>16)&0x3ff]; \ buf 690 src/decNumber/decNumberLocal.h (buf)[9]=DPD2BIN[((sourhi<<6) | (sourmh>>26))&0x3ff]; \ buf 691 src/decNumber/decNumberLocal.h (buf)[10]=DPD2BIN[(sourhi>>4)&0x3ff]; \ buf 692 src/decNumber/decNumberLocal.h (buf)[11]=DECCOMBMSD[sourhi>>26];} buf 700 src/decNumber/decNumberLocal.h # define ADDCOEFFTHOU(df, buf) { \ buf 702 src/decNumber/decNumberLocal.h (buf)[0]+=DPD2BIN[sourhi&0x3ff]; \ buf 703 src/decNumber/decNumberLocal.h if (buf[0]>999) {buf[0]-=1000; buf[1]++;} \ buf 704 src/decNumber/decNumberLocal.h (buf)[1]+=DPD2BIN[(sourhi>>10)&0x3ff]; \ buf 705 src/decNumber/decNumberLocal.h if (buf[1]>999) {buf[1]-=1000; buf[2]++;} \ buf 706 src/decNumber/decNumberLocal.h (buf)[2]+=DECCOMBMSD[sourhi>>26];} buf 709 src/decNumber/decNumberLocal.h # define ADDCOEFFTHOU(df, buf) { \ buf 712 src/decNumber/decNumberLocal.h (buf)[0]+=DPD2BIN[sourlo&0x3ff]; \ buf 713 src/decNumber/decNumberLocal.h if (buf[0]>999) {buf[0]-=1000; buf[1]++;} \ buf 714 src/decNumber/decNumberLocal.h (buf)[1]+=DPD2BIN[(sourlo>>10)&0x3ff]; \ buf 715 src/decNumber/decNumberLocal.h if (buf[1]>999) {buf[1]-=1000; buf[2]++;} \ buf 716 src/decNumber/decNumberLocal.h (buf)[2]+=DPD2BIN[(sourlo>>20)&0x3ff]; \ buf 717 src/decNumber/decNumberLocal.h if (buf[2]>999) {buf[2]-=1000; buf[3]++;} \ buf 719 src/decNumber/decNumberLocal.h (buf)[3]+=DPD2BIN[((sourhi<<2) | (sourlo>>30))&0x3ff]; \ buf 720 src/decNumber/decNumberLocal.h if (buf[3]>999) {buf[3]-=1000; buf[4]++;} \ buf 721 src/decNumber/decNumberLocal.h (buf)[4]+=DPD2BIN[(sourhi>>8)&0x3ff]; \ buf 722 src/decNumber/decNumberLocal.h if (buf[4]>999) {buf[4]-=1000; buf[5]++;} \ buf 723 src/decNumber/decNumberLocal.h (buf)[5]+=DECCOMBMSD[sourhi>>26];} buf 726 src/decNumber/decNumberLocal.h # define ADDCOEFFTHOU(df, buf) { \ buf 729 src/decNumber/decNumberLocal.h (buf)[0]+=DPD2BIN[sourlo&0x3ff]; \ buf 730 src/decNumber/decNumberLocal.h if (buf[0]>999) {buf[0]-=1000; buf[1]++;} \ buf 731 src/decNumber/decNumberLocal.h (buf)[1]+=DPD2BIN[(sourlo>>10)&0x3ff]; \ buf 732 src/decNumber/decNumberLocal.h if (buf[1]>999) {buf[1]-=1000; buf[2]++;} \ buf 733 src/decNumber/decNumberLocal.h (buf)[2]+=DPD2BIN[(sourlo>>20)&0x3ff]; \ buf 734 src/decNumber/decNumberLocal.h if (buf[2]>999) {buf[2]-=1000; buf[3]++;} \ buf 736 src/decNumber/decNumberLocal.h (buf)[3]+=DPD2BIN[((sourml<<2) | (sourlo>>30))&0x3ff]; \ buf 737 src/decNumber/decNumberLocal.h if (buf[3]>999) {buf[3]-=1000; buf[4]++;} \ buf 738 src/decNumber/decNumberLocal.h (buf)[4]+=DPD2BIN[(sourml>>8)&0x3ff]; \ buf 739 src/decNumber/decNumberLocal.h if (buf[4]>999) {buf[4]-=1000; buf[5]++;} \ buf 740 src/decNumber/decNumberLocal.h (buf)[5]+=DPD2BIN[(sourml>>18)&0x3ff]; \ buf 741 src/decNumber/decNumberLocal.h if (buf[5]>999) {buf[5]-=1000; buf[6]++;} \ buf 743 src/decNumber/decNumberLocal.h (buf)[6]+=DPD2BIN[((sourmh<<4) | (sourml>>28))&0x3ff]; \ buf 744 src/decNumber/decNumberLocal.h if (buf[6]>999) {buf[6]-=1000; buf[7]++;} \ buf 745 src/decNumber/decNumberLocal.h (buf)[7]+=DPD2BIN[(sourmh>>6)&0x3ff]; \ buf 746 src/decNumber/decNumberLocal.h if (buf[7]>999) {buf[7]-=1000; buf[8]++;} \ buf 747 src/decNumber/decNumberLocal.h (buf)[8]+=DPD2BIN[(sourmh>>16)&0x3ff]; \ buf 748 src/decNumber/decNumberLocal.h if (buf[8]>999) {buf[8]-=1000; buf[9]++;} \ buf 750 src/decNumber/decNumberLocal.h (buf)[9]+=DPD2BIN[((sourhi<<6) | (sourmh>>26))&0x3ff]; \ buf 751 src/decNumber/decNumberLocal.h if (buf[9]>999) {buf[9]-=1000; buf[10]++;} \ buf 752 src/decNumber/decNumberLocal.h (buf)[10]+=DPD2BIN[(sourhi>>4)&0x3ff]; \ buf 753 src/decNumber/decNumberLocal.h if (buf[10]>999) {buf[10]-=1000; buf[11]++;} \ buf 754 src/decNumber/decNumberLocal.h (buf)[11]+=DECCOMBMSD[sourhi>>26];} buf 376 src/dps8/dps8_addrmods.c char buf [256]; buf 379 src/dps8/dps8_addrmods.c __func__, op_desc_str (buf), cpu.TPR.CA); buf 441 src/dps8/dps8_addrmods.c __func__, cpu.rTAG, get_mod_string (buf, cpu.rTAG), Tm, Td, cpu.cu.CT_HOLD); buf 681 src/dps8/dps8_addrmods.c get_mod_string (buf, GET_TAG (cpu.itxPair[0]))); buf 118 src/dps8/dps8_append.c static char *str_sdw (char * buf, sdw_s *SDW); buf 369 src/dps8/dps8_append.c char buf[256]; buf 370 src/dps8/dps8_append.c (void)buf; buf 372 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, _n, str_sdw (buf, cpu.SDW)); buf 399 src/dps8/dps8_append.c char buf[256]; buf 400 src/dps8/dps8_append.c (void)buf; buf 402 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW)); buf 522 src/dps8/dps8_append.c char buf[256]; buf 523 src/dps8/dps8_append.c (void)buf; buf 524 src/dps8/dps8_append.c DBGAPP ("%s (2):SDW0=%s\n", __func__, str_SDW0 (buf, & cpu.SDW0)); buf 529 src/dps8/dps8_append.c static char *str_sdw (char * buf, sdw_s *SDW) buf 532 src/dps8/dps8_append.c sprintf (buf, "*** SDW Uninitialized ***"); buf 534 src/dps8/dps8_append.c sprintf (buf, buf 541 src/dps8/dps8_append.c return buf; buf 551 src/dps8/dps8_append.c char buf[256]; buf 552 src/dps8/dps8_append.c (void)buf; buf 558 src/dps8/dps8_append.c sim_printf ("SDWAM n:%d %s\n", _n, str_sdw (buf, p)); buf 630 src/dps8/dps8_append.c char buf[256]; buf 631 src/dps8/dps8_append.c (void) buf; buf 633 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, _n, str_sdw (buf, p)); buf 673 src/dps8/dps8_append.c char buf[256]; buf 674 src/dps8/dps8_append.c (void) buf; buf 676 src/dps8/dps8_append.c DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW)); buf 1251 src/dps8/dps8_cable.c t_stat sys_cable (int32 arg, const char * buf) buf 1253 src/dps8/dps8_cable.c char * copy = strdup (buf); buf 1496 src/dps8/dps8_cable.c t_stat sys_cable_show (int32 dump, UNUSED const char * buf) buf 1651 src/dps8/dps8_cable.c t_stat sys_cable_ripout (UNUSED int32 arg, UNUSED const char * buf) buf 263 src/dps8/dps8_cable.h t_stat sys_cable (UNUSED int32 arg, const char * buf); buf 287 src/dps8/dps8_cable.h t_stat sys_cable (UNUSED int32 arg, const char * buf); buf 288 src/dps8/dps8_cable.h t_stat sys_cable_ripout (UNUSED int32 arg, UNUSED const char * buf); buf 289 src/dps8/dps8_cable.h t_stat sys_cable_show (UNUSED int32 arg, UNUSED const char * buf); buf 726 src/dps8/dps8_console.c word36 buf[n_words + 1]; buf 728 src/dps8/dps8_console.c memset (buf, 0, sizeof (word36) * (n_words + 1)); buf 729 src/dps8/dps8_console.c word36 * bufp = buf; buf 805 src/dps8/dps8_console.c iom_indirect_data_service (iomUnitIdx, chan_num, buf, & n_words, true); buf 951 src/dps8/dps8_console.c char buf[256]; buf 954 src/dps8/dps8_console.c sprintf (buf, "^T attn %c %c cnt %d next %d\r\n", buf 958 src/dps8/dps8_console.c console_putstr (conUnitIdx, buf); buf 1016 src/dps8/dps8_console.c char buf[4096]; buf 1017 src/dps8/dps8_console.c sprintf (buf, "\r%s returned %d '%s'\r\n", buf 1019 src/dps8/dps8_console.c console_putstr (conUnitIdx, buf); buf 1481 src/dps8/dps8_console.c word36 buf[tally]; buf 1482 src/dps8/dps8_console.c iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, false); buf 1488 src/dps8/dps8_console.c buf 1490 src/dps8/dps8_console.c buf 1504 src/dps8/dps8_console.c buf 1506 src/dps8/dps8_console.c buf 1518 src/dps8/dps8_console.c word36 * bufp = buf; buf 1194 src/dps8/dps8_cpu.c char * str_SDW0 (char * buf, sdw0_s * SDW) buf 1196 src/dps8/dps8_cpu.c sprintf (buf, "ADDR=%06o R1=%o R2=%o R3=%o F=%o FC=%o BOUND=%o R=%o " buf 1201 src/dps8/dps8_cpu.c return buf; buf 3335 src/dps8/dps8_cpu.c t_stat set_mem_watch (int32 arg, const char * buf) buf 3337 src/dps8/dps8_cpu.c if (strlen (buf) == 0) buf 3349 src/dps8/dps8_cpu.c long int n = strtol (buf, & end, 0); buf 4358 src/dps8/dps8_cpu.c char * buf = stackbuf; buf 4364 src/dps8/dps8_cpu.c buf [bufsize-1] = '\0'; buf 4370 src/dps8/dps8_cpu.c len = vsprintf (buf, fmt, arglist); buf 4372 src/dps8/dps8_cpu.c len = vsnprintf (buf, (int)((unsigned long)(bufsize)-1), fmt, arglist); buf 4380 src/dps8/dps8_cpu.c if (buf != stackbuf) buf 4381 src/dps8/dps8_cpu.c FREE (buf); buf 4385 src/dps8/dps8_cpu.c buf = (char *) malloc ((unsigned long) bufsize); buf 4386 src/dps8/dps8_cpu.c if (buf == NULL) /* out of memory */ buf 4388 src/dps8/dps8_cpu.c buf[bufsize-1] = '\0'; buf 4398 src/dps8/dps8_cpu.c if ('\n' == buf[i]) buf 4406 src/dps8/dps8_cpu.c current_running_cpu_idx, dptr->name, debug_type, i-j, &buf[j]); buf 4414 src/dps8/dps8_cpu.c if (buf != stackbuf) buf 4415 src/dps8/dps8_cpu.c FREE (buf); buf 2366 src/dps8/dps8_cpu.h t_stat set_mem_watch (int32 arg, const char * buf); buf 2368 src/dps8/dps8_cpu.h char *str_SDW0 (char * buf, sdw_s *SDW); buf 2273 src/dps8/dps8_fnp2.c buf 2275 src/dps8/dps8_fnp2.c buf 2278 src/dps8/dps8_fnp2.c buf 2372 src/dps8/dps8_fnp2.c t_stat set_fnp_server_port (UNUSED int32 arg, const char * buf) buf 2379 src/dps8/dps8_fnp2.c if (! buf) buf 2381 src/dps8/dps8_fnp2.c int n = atoi (buf); buf 2392 src/dps8/dps8_fnp2.c t_stat set_fnp_server_address (UNUSED int32 arg, const char * buf) buf 2399 src/dps8/dps8_fnp2.c if ( (!buf) || (buf[0] == 0) ) buf 2403 src/dps8/dps8_fnp2.c fnpData.telnet_address = strdup (buf); buf 2423 src/dps8/dps8_fnp2.c t_stat set_fnp_3270_server_port (UNUSED int32 arg, const char * buf) buf 2431 src/dps8/dps8_fnp2.c if (! buf) buf 2433 src/dps8/dps8_fnp2.c int n = atoi (buf); buf 2444 src/dps8/dps8_fnp2.c t_stat fnp_start (UNUSED int32 arg, UNUSED const char * buf) buf 2547 src/dps8/dps8_fnp2.c unsigned char buf [l]; buf 2549 src/dps8/dps8_fnp2.c buf[i] = a2e[msg[i]]; buf 2561 src/dps8/dps8_fnp2.c fnpuv_start_3270_write (client, buf, (ssize_t) l); buf 2584 src/dps8/dps8_fnp2.c unsigned char buf [256]; buf 2585 src/dps8/dps8_fnp2.c sprintf ((char *) buf, "DPS8/M 3270 connection to %c.%03d.%ld ttype %s\n", fnpno+'a',lineno, (long)p->stationNo, p->ttype); buf 2587 src/dps8/dps8_fnp2.c fnp3270Msg (client, buf); buf 2591 src/dps8/dps8_fnp2.c void processLineInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread) buf 2630 src/dps8/dps8_fnp2.c memcpy (new + linep->inSize, buf, (unsigned long) nread); buf 2642 src/dps8/dps8_fnp2.c memcpy (linep->inBuffer, buf, (unsigned long) nread); buf 2652 src/dps8/dps8_fnp2.c void process3270Input (uv_tcp_t * client, unsigned char * buf, ssize_t nread) buf 2671 src/dps8/dps8_fnp2.c for (int i = 0; i < nread; i ++) sim_debug (DBG_TRACE, & fnp_dev, "%c", isgraph (e2a[buf[i]]) ? e2a[buf[i]] : '.'); buf 2673 src/dps8/dps8_fnp2.c for (int i = 0; i < nread; i ++) sim_debug (DBG_TRACE, & fnp_dev, " %02x", buf[i]); buf 2708 src/dps8/dps8_fnp2.c memcpy (new + stn_p->stn_in_size, buf, (unsigned long) nread); buf 2720 src/dps8/dps8_fnp2.c memcpy (stn_p->stn_in_buffer, buf, (unsigned long) nread); buf 2773 src/dps8/dps8_fnp2.c void processUserInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread) buf 2783 src/dps8/dps8_fnp2.c unsigned char kar = buf [nchar]; buf 341 src/dps8/dps8_fnp2.h t_stat set_fnp_server_port (int32 arg, const char * buf); buf 342 src/dps8/dps8_fnp2.h t_stat set_fnp_server_address (int32 arg, const char * buf); buf 343 src/dps8/dps8_fnp2.h t_stat set_fnp_3270_server_port (int32 arg, const char * buf); buf 344 src/dps8/dps8_fnp2.h t_stat fnp_start (UNUSED int32 arg, UNUSED const char * buf); buf 347 src/dps8/dps8_fnp2.h void processUserInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread); buf 348 src/dps8/dps8_fnp2.h void processLineInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread); buf 350 src/dps8/dps8_fnp2.h void process3270Input (uv_tcp_t * client, unsigned char * buf, ssize_t nread); buf 88 src/dps8/dps8_ins.c char buf [256]; buf 94 src/dps8/dps8_ins.c __func__, disassemble (buf, IWB_IRODD), i->info->mne, i->info->flags); buf 167 src/dps8/dps8_ins.c char buf [256]; buf 173 src/dps8/dps8_ins.c __func__, disassemble (buf, IWB_IRODD), i->info->mne, i->info->flags); buf 1036 src/dps8/dps8_ins.c t_stat display_the_matrix (UNUSED int32 arg, UNUSED const char * buf) buf 1148 src/dps8/dps8_ins.c char buf [256]; buf 1199 src/dps8/dps8_ins.c disassemble (buf, IWB_IRODD), buf 1216 src/dps8/dps8_ins.c disassemble (buf, IWB_IRODD), buf 1239 src/dps8/dps8_ins.c disassemble (buf, IWB_IRODD), buf 1257 src/dps8/dps8_ins.c disassemble (buf, IWB_IRODD), buf 2199 src/dps8/dps8_ins.c char buf [256]; buf 2200 src/dps8/dps8_ins.c sim_debug (DBG_REGDUMPAQI, &cpu_dev, "A=%012"PRIo64" Q=%012"PRIo64" IR:%s\n", cpu.rA, cpu.rQ, dump_flags (buf, cpu.cu.IR)); buf 9292 src/dps8/dps8_ins.c buf 9324 src/dps8/dps8_ins.c buf 9334 src/dps8/dps8_ins.c buf 9342 src/dps8/dps8_ins.c buf 9343 src/dps8/dps8_ins.c buf 27 src/dps8/dps8_ins.h t_stat display_the_matrix (int32 arg, const char * buf); buf 1000 src/dps8/dps8_mt.c t_stat rc = sim_tape_rdrecf (unitp, & tape_statep -> buf [0], & tape_statep -> tbc, buf 1078 src/dps8/dps8_mt.c rc2 = extractASCII36FromBuffer (tape_statep -> buf, buf 1081 src/dps8/dps8_mt.c rc2 = extractWord36FromBuffer (tape_statep -> buf, buf 1189 src/dps8/dps8_mt.c word36 buf [tally]; buf 1191 src/dps8/dps8_mt.c memset (buf, 0, sizeof (word36) * tally); buf 1194 src/dps8/dps8_mt.c putbits36_18 (buf + i, 0, mem [i * 2]); buf 1195 src/dps8/dps8_mt.c putbits36_18 (buf + i, 18, mem [i * 2 + 1]); buf 1197 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, true); buf 1297 src/dps8/dps8_mt.c rc2 = insertASCII36toBuffer (tape_statep -> buf, buf 1304 src/dps8/dps8_mt.c rc2 = insertWord36toBuffer (tape_statep -> buf, buf 1333 src/dps8/dps8_mt.c int ret = sim_tape_wrrecf (unitp, tape_statep -> buf, tape_statep -> tbc); buf 2436 src/dps8/dps8_mt.c t_stat mount_tape (UNUSED int32 arg, const char * buf) buf 2438 src/dps8/dps8_mt.c size_t bufl = strlen (buf) + 1; buf 2442 src/dps8/dps8_mt.c int nParams = sscanf (buf, "%s %s %s", fname, ring, drive); buf 33 src/dps8/dps8_mt.h uint8 buf [BUFSZ]; buf 63 src/dps8/dps8_mt.h t_stat mount_tape (int32 arg, const char * buf); buf 1868 src/dps8/dps8_prt.c t_stat burst_printer (UNUSED int32 arg, const char * buf) buf 1872 src/dps8/dps8_prt.c if (strcmp (buf, prt_state[i].device_name) == 0) buf 1884 src/dps8/dps8_prt.c sim_printf ("burst can't find printer named '%s'\n", buf); buf 27 src/dps8/dps8_prt.h t_stat burst_printer (UNUSED int32 arg, const char * buf); buf 1346 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf) buf 1351 src/dps8/dps8_scu.c buf [i] = '1'; buf 1353 src/dps8/dps8_scu.c buf [i] = '0'; buf 1355 src/dps8/dps8_scu.c buf [N_CELL_INTERRUPTS] = '\0'; buf 1356 src/dps8/dps8_scu.c return buf; buf 1788 src/dps8/dps8_sys.c static t_stat set_default_base_system (UNUSED int32 arg, UNUSED const char * buf) buf 1806 src/dps8/dps8_sys.c static t_stat boot_skip (int32 UNUSED arg, UNUSED const char * buf) buf 1819 src/dps8/dps8_sys.c static t_stat do_execute_fault (UNUSED int32 arg, UNUSED const char * buf) buf 1831 src/dps8/dps8_sys.c static t_stat do_restart (UNUSED int32 arg, UNUSED const char * buf) buf 1839 src/dps8/dps8_sys.c if (buf) buf 1841 src/dps8/dps8_sys.c n = (int) strtol (buf, NULL, 0); buf 1865 src/dps8/dps8_sys.c static t_stat set_sys_polling_interval (UNUSED int32 arg, const char * buf) buf 1867 src/dps8/dps8_sys.c if (! buf) buf 1869 src/dps8/dps8_sys.c int n = atoi (buf); buf 1880 src/dps8/dps8_sys.c static t_stat set_sys_slow_polling_interval (UNUSED int32 arg, const char * buf) buf 1882 src/dps8/dps8_sys.c if (! buf) buf 1884 src/dps8/dps8_sys.c int n = atoi (buf); buf 1895 src/dps8/dps8_sys.c static t_stat set_sys_poll_check_rate (UNUSED int32 arg, const char * buf) buf 1897 src/dps8/dps8_sys.c if (! buf) buf 1899 src/dps8/dps8_sys.c int n = atoi (buf); buf 1951 src/dps8/dps8_sys.c static t_stat dps_debug_mme_cntdwn (UNUSED int32 arg, const char * buf) buf 1953 src/dps8/dps8_sys.c sim_deb_mme_cntdwn = strtoull (buf, NULL, 0); buf 1958 src/dps8/dps8_sys.c static t_stat dps_debug_skip (UNUSED int32 arg, const char * buf) buf 1961 src/dps8/dps8_sys.c sim_deb_skip_limit = strtoull (buf, NULL, 0); buf 1966 src/dps8/dps8_sys.c static t_stat dps_debug_start (UNUSED int32 arg, const char * buf) buf 1968 src/dps8/dps8_sys.c sim_deb_start = strtoull (buf, NULL, 0); buf 1973 src/dps8/dps8_sys.c static t_stat dps_debug_stop (UNUSED int32 arg, const char * buf) buf 1975 src/dps8/dps8_sys.c sim_deb_stop = strtoull (buf, NULL, 0); buf 1980 src/dps8/dps8_sys.c static t_stat dps_debug_break (UNUSED int32 arg, const char * buf) buf 1982 src/dps8/dps8_sys.c sim_deb_break = strtoull (buf, NULL, 0); buf 1983 src/dps8/dps8_sys.c if (buf[0] == '+') buf 1989 src/dps8/dps8_sys.c static t_stat dps_debug_segno (int32 arg, const char * buf) buf 1993 src/dps8/dps8_sys.c unsigned long segno = strtoul (buf, NULL, 0); buf 2013 src/dps8/dps8_sys.c static t_stat dps_debug_ringno (UNUSED int32 arg, const char * buf) buf 2015 src/dps8/dps8_sys.c sim_deb_ringno = strtoull (buf, NULL, 0); buf 2020 src/dps8/dps8_sys.c static t_stat dps_debug_bar (int32 arg, UNUSED const char * buf) buf 2257 src/dps8/dps8_sys.c static t_stat abs_addr (UNUSED int32 arg, const char * buf) buf 2261 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) buf 2366 src/dps8/dps8_sys.c static char buf[129]; buf 2386 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, buf 2393 src/dps8/dps8_sys.c return buf; buf 2411 src/dps8/dps8_sys.c sprintf (buf, "%s:%s+0%0o", book_segments[i].segname, buf 2414 src/dps8/dps8_sys.c return buf; buf 2424 src/dps8/dps8_sys.c sprintf (buf, "%s:+0%0o", book_segments[i].segname, buf 2426 src/dps8/dps8_sys.c return buf; buf 2469 src/dps8/dps8_sys.c buf 2470 src/dps8/dps8_sys.c buf 2472 src/dps8/dps8_sys.c buf 2480 src/dps8/dps8_sys.c buf 2481 src/dps8/dps8_sys.c buf 2483 src/dps8/dps8_sys.c buf 2738 src/dps8/dps8_sys.c static t_stat stack_trace (UNUSED int32 arg, UNUSED const char * buf) buf 2904 src/dps8/dps8_sys.c static t_stat list_source_at (UNUSED int32 arg, UNUSED const char * buf) buf 2909 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) buf 2923 src/dps8/dps8_sys.c static t_stat load_system_book (UNUSED int32 arg, UNUSED const char * buf) buf 2934 src/dps8/dps8_sys.c FILE * fp = fopen (buf, "r"); buf 2937 src/dps8/dps8_sys.c sim_msg ("error opening file %s\n", buf); buf 3067 src/dps8/dps8_sys.c static t_stat add_system_book_entry (UNUSED int32 arg, const char * buf) buf 3079 src/dps8/dps8_sys.c if (sscanf (buf, "%32s %32s %o %o %o %o %o %o %o", buf 3103 src/dps8/dps8_sys.c static t_stat lookup_system_book (UNUSED int32 arg, const char * buf) buf 3105 src/dps8/dps8_sys.c char w1[strlen (buf)]; buf 3106 src/dps8/dps8_sys.c char w2[strlen (buf)]; buf 3107 src/dps8/dps8_sys.c char w3[strlen (buf)]; buf 3110 src/dps8/dps8_sys.c size_t colon = strcspn (buf, ":"); buf 3111 src/dps8/dps8_sys.c if (buf[colon] != ':') buf 3114 src/dps8/dps8_sys.c strncpy (w1, buf, colon); buf 3118 src/dps8/dps8_sys.c size_t plus = strcspn (buf + colon + 1, "+"); buf 3119 src/dps8/dps8_sys.c if (buf[colon + 1 + plus] == '+') buf 3121 src/dps8/dps8_sys.c strncpy (w2, buf + colon + 1, plus); buf 3123 src/dps8/dps8_sys.c strcpy (w3, buf + colon + 1 + plus + 1); buf 3127 src/dps8/dps8_sys.c strcpy (w2, buf + colon + 1); buf 3322 src/dps8/dps8_sys.c static t_stat virt_address (UNUSED int32 arg, const char * buf) buf 3325 src/dps8/dps8_sys.c if (sscanf (buf, "%o", & address) != 1) buf 3332 src/dps8/dps8_sys.c static t_stat set_search_path (UNUSED int32 arg, UNUSED const char * buf) buf 3338 src/dps8/dps8_sys.c source_search_path = strdup (buf); buf 3363 src/dps8/dps8_sys.c t_stat brkbrk (UNUSED int32 arg, UNUSED const char * buf) buf 3371 src/dps8/dps8_sys.c static t_stat sbreak (int32 arg, const char * buf) buf 3376 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); buf 3381 src/dps8/dps8_sys.c char reformatted[strlen (buf) + 20]; buf 3382 src/dps8/dps8_sys.c sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); buf 3389 src/dps8/dps8_sys.c static t_stat dfx1entry (UNUSED int32 arg, UNUSED const char * buf) buf 3428 src/dps8/dps8_sys.c static t_stat dfx1exit (UNUSED int32 arg, UNUSED const char * buf) buf 3436 src/dps8/dps8_sys.c static t_stat dv2scale (UNUSED int32 arg, UNUSED const char * buf) buf 3443 src/dps8/dps8_sys.c static t_stat dfx2entry (UNUSED int32 arg, UNUSED const char * buf) buf 3499 src/dps8/dps8_sys.c static t_stat mdfx3entry (UNUSED int32 arg, UNUSED const char * buf) buf 3543 src/dps8/dps8_sys.c static t_stat smfx1entry (UNUSED int32 arg, UNUSED const char * buf) buf 3588 src/dps8/dps8_sys.c static t_stat search_memory (UNUSED int32 arg, const char * buf) buf 3591 src/dps8/dps8_sys.c if (sscanf (buf, "%llo", & value) != 1) buf 3601 src/dps8/dps8_sys.c static t_stat set_dbg_cpu_mask (int32 UNUSED arg, const char * UNUSED buf) buf 3604 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%u", & msk); buf 3622 src/dps8/dps8_sys.c static t_stat scraper (UNUSED int32 arg, const char * buf) buf 3624 src/dps8/dps8_sys.c if (strcasecmp (buf, "start") == 0) buf 3626 src/dps8/dps8_sys.c if (strcasecmp (buf, "stop") == 0) buf 3628 src/dps8/dps8_sys.c if (strcasecmp (buf, "msg") == 0) buf 3632 src/dps8/dps8_sys.c if (strncasecmp (buf, "msg ", 4) == 0) buf 3634 src/dps8/dps8_sys.c const char * p = buf + 4; buf 3704 src/dps8/dps8_sys.c static t_stat set_dbgevent (int32 arg, const char * buf) buf 3713 src/dps8/dps8_sys.c if (strlen (buf) > dbgevent_tagsize - 1) buf 3715 src/dps8/dps8_sys.c sim_printf ("command too long %lu/%u\r\n", strlen (buf), dbgevent_tagsize -1); buf 3721 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) buf 3733 src/dps8/dps8_sys.c strncpy (dbgevents[n_dbgevents].tag, buf, dbgevent_tagsize - 1); buf 3745 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) buf 3782 src/dps8/dps8_sys.c t_stat rewind_media (int32 arg, const char * buf) { buf 3783 src/dps8/dps8_sys.c char name[strlen (buf)]; buf 3785 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); buf 3808 src/dps8/dps8_sys.c t_stat load_media (int32 arg, const char * buf) buf 3813 src/dps8/dps8_sys.c char name[strlen (buf)]; buf 3814 src/dps8/dps8_sys.c char fname[strlen (buf)]; buf 3815 src/dps8/dps8_sys.c char perm[strlen (buf)]; buf 3819 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s %s %s", name, fname, perm); buf 3834 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); buf 3861 src/dps8/dps8_sys.c t_stat ready_media (int32 arg, const char * buf) { buf 3862 src/dps8/dps8_sys.c char name[strlen (buf)]; buf 3863 src/dps8/dps8_sys.c int rc = sscanf (buf, "%s", name); buf 3892 src/dps8/dps8_sys.c static t_stat trkw (UNUSED int32 arg, const char * buf) buf 3898 src/dps8/dps8_sys.c static t_stat trkr (UNUSED int32 arg, const char * buf) buf 4616 src/dps8/dps8_sys.c char buf[256]; buf 4618 src/dps8/dps8_sys.c char *d = disassemble(buf, word1); buf 90 src/dps8/dps8_sys.h t_stat brkbrk (int32 arg, const char * buf); buf 1625 src/dps8/dps8_utils.c char * buf = strdup (str); buf 1626 src/dps8/dps8_utils.c if (!buf) buf 1638 src/dps8/dps8_utils.c char * p = buf; buf 1709 src/dps8/dps8_utils.c return buf; buf 262 src/dps8/fnpuv.c uv_buf_t * buf) buf 266 src/dps8/fnpuv.c * buf = uv_buf_init ((char *) malloc (suggested_size), (uint) suggested_size); buf 295 src/dps8/fnpuv.c unsigned char * buf) buf 297 src/dps8/fnpuv.c processLineInput (client, buf, nread); buf 302 src/dps8/fnpuv.c unsigned char * buf) buf 304 src/dps8/fnpuv.c process3270Input (client, buf, nread); buf 312 src/dps8/fnpuv.c unsigned char * buf) buf 315 src/dps8/fnpuv.c processUserInput (client, buf, nread); buf 401 src/dps8/fnpuv.c const uv_buf_t* buf) buf 422 src/dps8/fnpuv.c telnet_recv (p->telnetp, buf->base, (size_t) nread); buf 427 src/dps8/fnpuv.c (* p->read_cb) ((uv_tcp_t *) stream, nread, (unsigned char *) buf->base); buf 432 src/dps8/fnpuv.c buf 436 src/dps8/fnpuv.c buf 443 src/dps8/fnpuv.c if (buf->base) buf 444 src/dps8/fnpuv.c free (buf->base); buf 581 src/dps8/fnpuv.c uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen); buf 584 src/dps8/fnpuv.c req->data = buf.base; buf 587 src/dps8/fnpuv.c memcpy (buf.base, data, (unsigned long) datalen); buf 588 src/dps8/fnpuv.c int ret = uv_write (req, (uv_stream_t *) stn_client, & buf, 1, fuv_write_3270_cb); buf 619 src/dps8/fnpuv.c uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen); buf 622 src/dps8/fnpuv.c req->data = buf.base; buf 625 src/dps8/fnpuv.c memcpy (buf.base, data, (unsigned long) datalen); buf 626 src/dps8/fnpuv.c int ret = uv_write (req, (uv_stream_t *) client, & buf, 1, fuv_write_cb); buf 1295 src/dps8/fnpuv.c static void processPacketInput (int fnpno, int lineno, unsigned char * buf, ssize_t nread) buf 1326 src/dps8/fnpuv.c memcpy (new + linep->inSize, buf, (unsigned long) nread); buf 1345 src/dps8/fnpuv.c memcpy (linep->inBuffer, buf, (unsigned long) nread); buf 20 src/dps8/fnpuv.h typedef void (* uv_read_cb_t) (uv_tcp_t * client, ssize_t nread, unsigned char * buf); buf 51 src/dps8/fnpuv.h void fnpuv_unassociated_readcb (uv_tcp_t * client, ssize_t nread, unsigned char * buf); buf 52 src/dps8/fnpuv.h void fnpuv_associated_readcb (uv_tcp_t * client, ssize_t nread, unsigned char * buf); buf 63 src/dps8/fnpuv.h unsigned char * buf); buf 341 src/dps8/hdbg.c char buf[256]; buf 350 src/dps8/hdbg.c disassemble (buf, p->trace.inst)); buf 360 src/dps8/hdbg.c disassemble (buf, p->trace.inst)); buf 659 src/dps8/hdbg.c t_stat hdbg_cpu_mask (UNUSED int32 arg, const char * buf) buf 661 src/dps8/hdbg.c hdbgCPUMask = strtoul (buf, NULL, 0); buf 667 src/dps8/hdbg.c t_stat hdbg_size (UNUSED int32 arg, const char * buf) { buf 668 src/dps8/hdbg.c hdbgSize = strtoul (buf, NULL, 0); buf 675 src/dps8/hdbg.c t_stat hdbgSegmentNumber (UNUSED int32 arg, const char * buf) { buf 676 src/dps8/hdbg.c hdbgSegNum = strtoul (buf, NULL, 8); buf 682 src/dps8/hdbg.c t_stat hdbgBlacklist (UNUSED int32 arg, const char * buf) { buf 683 src/dps8/hdbg.c char work[strlen (buf) + 1]; buf 684 src/dps8/hdbg.c if (sscanf (buf, "%s", work) != 1) buf 700 src/dps8/hdbg.c t_stat hdbg_print (UNUSED int32 arg, const char * buf) { buf 28 src/dps8/hdbg.h t_stat hdbg_size (int32 arg, UNUSED const char * buf); buf 29 src/dps8/hdbg.h t_stat hdbg_print (int32 arg, UNUSED const char * buf); buf 30 src/dps8/hdbg.h t_stat hdbg_cpu_mask (UNUSED int32 arg, const char * buf); buf 31 src/dps8/hdbg.h t_stat hdbgSegmentNumber (UNUSED int32 arg, const char * buf); buf 32 src/dps8/hdbg.h t_stat hdbgBlacklist (UNUSED int32 arg, const char * buf); buf 406 src/dps8/segldr.c t_stat segment_loader (int32 arg, const char * buf) buf 408 src/dps8/segldr.c size_t bufl = strlen (buf) + 1; buf 410 src/dps8/segldr.c int nParams = sscanf (buf, "%s %s %s", p1, p2, p3); buf 20 src/dps8/segldr.h t_stat segment_loader (int32 arg, const char * buf); buf 61 src/dps8/shm.c char buf[256]; buf 67 src/dps8/shm.c sprintf(buf, "dps8m.%s", key); buf 70 src/dps8/shm.c sprintf(lck, ".%s", buf); buf 91 src/dps8/shm.c int fd = open(buf, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); buf 98 src/dps8/shm.c buf, buf 105 src/dps8/shm.c unlink(buf); buf 264 src/dps8/shm.c buf, buf 288 src/dps8/shm.c buf, buf 310 src/dps8/shm.c buf, buf 327 src/dps8/shm.c buf, buf 339 src/dps8/shm.c buf, buf 352 src/dps8/shm.c char buf[256]; buf 358 src/dps8/shm.c sprintf(buf, "dps8m.%s", key); buf 361 src/dps8/shm.c sprintf(lck, ".%s", buf); buf 376 src/dps8/shm.c int fd = open(buf, O_RDWR, 0); buf 383 src/dps8/shm.c buf, buf 426 src/dps8/shm.c buf, buf 447 src/dps8/shm.c buf, buf 487 src/dps8/shm.c buf, buf 31 src/dps8/tracker.c int brkbrk (int32_t arg, const char * buf); buf 42 src/dps8/uvutil.c unsigned char * buf); buf 49 src/dps8/uvutil.c uv_buf_t * buf) buf 53 src/dps8/uvutil.c * buf = uv_buf_init ((char *) malloc (suggested_size), buf 114 src/dps8/uvutil.c const uv_buf_t* buf) buf 128 src/dps8/uvutil.c telnet_recv (access->telnetp, buf->base, (size_t) nread); buf 134 src/dps8/uvutil.c (unsigned char *) buf->base); buf 137 src/dps8/uvutil.c if (buf->base) buf 138 src/dps8/uvutil.c free (buf->base); buf 176 src/dps8/uvutil.c uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), buf 179 src/dps8/uvutil.c req->data = buf.base; buf 181 src/dps8/uvutil.c memcpy (buf.base, data, (unsigned long) datalen); buf 183 src/dps8/uvutil.c int ret = uv_write (req, (uv_stream_t *) client, & buf, 1, buf 222 src/dps8/uvutil.c static void accessLogon (uv_access * access, unsigned char * buf, ssize_t nread) buf 226 src/dps8/uvutil.c unsigned char kar = buf[nchar]; buf 365 src/dps8/uvutil.c static void accessProcessInput (uv_access * access, unsigned char * buf, buf 386 src/dps8/uvutil.c memcpy (new + access->inSize, buf, (unsigned long) nread); buf 405 src/dps8/uvutil.c memcpy (access->inBuffer, buf, (unsigned long) nread); buf 419 src/dps8/uvutil.c unsigned char * buf) buf 423 src/dps8/uvutil.c accessProcessInput (access, buf, nread); buf 425 src/dps8/uvutil.c accessLogon (access, buf, nread); buf 136 src/simh/linehistory.c char *buf; /* Edited line buffer. */ buf 301 src/simh/linehistory.c char buf[32]; buf 312 src/simh/linehistory.c while (i < sizeof ( buf ) - 1) buf 314 src/simh/linehistory.c if (read(ifd, buf + i, 1) != 1) buf 319 src/simh/linehistory.c if (buf[i] == 'R') buf 326 src/simh/linehistory.c buf[i] = '\0'; buf 329 src/simh/linehistory.c if (buf[0] != ESC || buf[1] != '[') buf 334 src/simh/linehistory.c if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2) buf 451 src/simh/linehistory.c completionCallback(ls->buf, &lc); buf 468 src/simh/linehistory.c ls->buf = lc.cvec[i]; buf 472 src/simh/linehistory.c ls->buf = saved.buf; buf 502 src/simh/linehistory.c nwritten = snprintf(ls->buf, ls->buflen, "%s", lc.cvec[i]); buf 647 src/simh/linehistory.c char *hint = hintsCallback(l->buf, &color, &bold); buf 702 src/simh/linehistory.c char *buf = l->buf; buf 709 src/simh/linehistory.c buf++; buf 735 src/simh/linehistory.c abAppend(&ab, buf, len); buf 820 src/simh/linehistory.c abAppend(&ab, l->buf, l->len); buf 910 src/simh/linehistory.c l->buf[l->pos] = c; buf 913 src/simh/linehistory.c l->buf[l->len] = '\0'; buf 934 src/simh/linehistory.c memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos); buf 935 src/simh/linehistory.c l->buf[l->pos] = c; buf 938 src/simh/linehistory.c l->buf[l->len] = '\0'; buf 977 src/simh/linehistory.c if (l->buf[l->pos] == ' ') buf 979 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] == ' ') buf 985 src/simh/linehistory.c while (l->pos < l->len && l->buf[l->pos] != ' ') buf 1001 src/simh/linehistory.c if (l->buf[l->pos - 1] == ' ') buf 1006 src/simh/linehistory.c if (l->buf[l->pos] == ' ') buf 1008 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos] == ' ') buf 1014 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') buf 1062 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); buf 1088 src/simh/linehistory.c strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen); buf 1089 src/simh/linehistory.c l->buf[l->buflen - 1] = '\0'; buf 1090 src/simh/linehistory.c l->len = l->pos = strlen(l->buf); buf 1114 src/simh/linehistory.c history[history_len - 1 - l->history_index] = strdup(l->buf); buf 1141 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) buf 1143 src/simh/linehistory.c strncpy(l->buf, history[cnt], l->buflen); buf 1144 src/simh/linehistory.c l->buf[l->buflen - 1] = '\0'; buf 1146 src/simh/linehistory.c l->len = strlen(l->buf); buf 1170 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) buf 1172 src/simh/linehistory.c strncpy(l->buf, history[cnt], l->buflen); buf 1173 src/simh/linehistory.c l->buf[l->buflen - 1] = '\0'; buf 1175 src/simh/linehistory.c l->len = strlen(l->buf); buf 1201 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1); buf 1203 src/simh/linehistory.c l->buf[l->len] = '\0'; buf 1214 src/simh/linehistory.c memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos); buf 1217 src/simh/linehistory.c l->buf[l->len] = '\0'; buf 1233 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] == ' ') buf 1237 src/simh/linehistory.c while (l->pos > 0 && l->buf[l->pos - 1] != ' ') buf 1242 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1); buf 1253 src/simh/linehistory.c while (next_word_end < l->len && l->buf[next_word_end] == ' ') buf 1257 src/simh/linehistory.c while (next_word_end < l->len && l->buf[next_word_end] != ' ') buf 1261 src/simh/linehistory.c memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end); buf 1278 src/simh/linehistory.c linenoiseEdit(int stdin_fd, int stdout_fd, char *buf, size_t buflen, buf 1290 src/simh/linehistory.c l.buf = buf; buf 1301 src/simh/linehistory.c l.buf[0] = '\0'; buf 1522 src/simh/linehistory.c buf[0] = '\0'; buf 1528 src/simh/linehistory.c buf[l.pos] = '\0'; buf 1561 src/simh/linehistory.c linenoiseRaw(char *buf, size_t buflen, const char *prompt) buf 1576 src/simh/linehistory.c count = linenoiseEdit(STDIN_FILENO, STDOUT_FILENO, buf, buflen, prompt); buf 1654 src/simh/linehistory.c char buf[LINENOISE_MAX_LINE]; buf 1673 src/simh/linehistory.c if (fgets(buf, LINENOISE_MAX_LINE, stdin) == NULL) buf 1678 src/simh/linehistory.c len = strlen(buf); buf 1679 src/simh/linehistory.c while (len && ( buf[len - 1] == '\n' || buf[len - 1] == '\r' )) buf 1682 src/simh/linehistory.c buf[len] = '\0'; buf 1684 src/simh/linehistory.c return ( strdup(buf)); buf 1688 src/simh/linehistory.c count = linenoiseRaw(buf, LINENOISE_MAX_LINE, prompt); buf 1694 src/simh/linehistory.c return ( strdup(buf)); buf 203 src/simh/scp.c void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr) = NULL; buf 255 src/simh/scp.c CONST char *sim_brk_getact (char *buf, int32 size); buf 2206 src/simh/scp.c char buf[CBUFSIZE], header[CBUFSIZE]; buf 2222 src/simh/scp.c sprintf (buf, "SET %s %s%s", sim_dname (dptr), mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}" : ""))); buf 2223 src/simh/scp.c if ((strlen (buf) < 30) || (!mptr->help)) buf 2224 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); buf 2226 src/simh/scp.c fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help); buf 2232 src/simh/scp.c sprintf (buf, "SET %s ENABLE", sim_dname (dptr)); buf 2233 src/simh/scp.c fprintf (st, "%-30s\tEnables device %s\n", buf, sim_dname (dptr)); buf 2234 src/simh/scp.c sprintf (buf, "SET %s DISABLE", sim_dname (dptr)); buf 2235 src/simh/scp.c fprintf (st, "%-30s\tDisables device %s\n", buf, sim_dname (dptr)); buf 2239 src/simh/scp.c sprintf (buf, "SET %s DEBUG", sim_dname (dptr)); buf 2240 src/simh/scp.c fprintf (st, "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr)); buf 2241 src/simh/scp.c sprintf (buf, "SET %s NODEBUG", sim_dname (dptr)); buf 2242 src/simh/scp.c fprintf (st, "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr)); buf 2245 src/simh/scp.c strcpy (buf, ""); buf 2252 src/simh/scp.c fprintf (st, "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr)); buf 2257 src/simh/scp.c fprintf (st, "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr)); buf 2268 src/simh/scp.c sprintf (buf, "SET %sn ENABLE", sim_dname (dptr)); buf 2269 src/simh/scp.c fprintf (st, "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr)); buf 2270 src/simh/scp.c sprintf (buf, "SET %sn DISABLE", sim_dname (dptr)); buf 2271 src/simh/scp.c fprintf (st, "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr)); buf 2280 src/simh/scp.c sprintf (buf, "SET %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->mstring, (strchr(mptr->mstring, '=')) ? "" : (MODMASK(mptr,MTAB_VALR) ? "=val" : (MODMASK(mptr,MTAB_VALO) ? "{=val}": ""))); buf 2281 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, (strchr(mptr->mstring, '=')) ? "" : (mptr->help ? mptr->help : "")); buf 2298 src/simh/scp.c char buf[CBUFSIZE], header[CBUFSIZE]; buf 2315 src/simh/scp.c sprintf (buf, "SHOW %s %s%s", sim_dname (dptr), mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "{=arg}" : ""); buf 2316 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); buf 2321 src/simh/scp.c sprintf (buf, "SHOW %s DEBUG", sim_dname (dptr)); buf 2322 src/simh/scp.c fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr)); buf 2331 src/simh/scp.c sprintf (buf, "SHOW %s%s %s%s", sim_dname (dptr), (dptr->numunits > 1) ? "n" : "0", mptr->pstring, MODMASK(mptr,MTAB_SHP) ? "=arg" : ""); buf 2332 src/simh/scp.c fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : ""); buf 7204 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size) buf 7208 src/simh/scp.c string = sim_encode_quoted_string (buf, size); buf 7632 src/simh/scp.c const char *put_switches (char *buf, size_t bufsize, uint32 sw) buf 7634 src/simh/scp.c char *optr = buf; buf 7637 src/simh/scp.c memset (buf, 0, bufsize); buf 7639 src/simh/scp.c return buf; buf 7644 src/simh/scp.c if ((size_t)(optr - buf) < bufsize) buf 7646 src/simh/scp.c return buf; buf 8032 src/simh/scp.c static char buf[60]; buf 8069 src/simh/scp.c sprintf (buf, "%s%.0f day%s %02.0f:%02.0f:%02.0f%s hour%s", sign, days, (days != 1)? "s" : "", hours, mins, secs, frac, (days == 1) ? "s" : ""); buf 8072 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f:%02.0f%s hour", sign, hours, mins, secs, frac); buf 8075 src/simh/scp.c sprintf (buf, "%s%.0f:%02.0f%s minute", sign, mins, secs, frac); buf 8078 src/simh/scp.c sprintf (buf, "%s%.0f%s second", sign, secs, frac); buf 8082 src/simh/scp.c sprintf (buf, "%s%.0f.%s msec", sign, msecs, frac+4); buf 8084 src/simh/scp.c sprintf (buf, "%s%.0f msec", sign, msecs); buf 8087 src/simh/scp.c sprintf (buf, "%s%.0f usec", sign, usecs); buf 8088 src/simh/scp.c if (0 != strncmp ("1 ", buf, 2)) buf 8089 src/simh/scp.c strcpy (&buf[strlen (buf)], "s"); buf 8090 src/simh/scp.c return buf; buf 8794 src/simh/scp.c CONST char *sim_brk_getact (char *buf, int32 size) buf 8808 src/simh/scp.c memcpy (buf, sim_brk_act[sim_do_depth], lnt + 1); /* copy with ; */ buf 8809 src/simh/scp.c buf[lnt] = 0; /* erase ; */ buf 8813 src/simh/scp.c strncpy (buf, sim_brk_act[sim_do_depth], size); /* copy action */ buf 8816 src/simh/scp.c return buf; buf 8889 src/simh/scp.c char buf[32]; buf 8900 src/simh/scp.c while (2 == strlen (put_switches (buf, sizeof(buf), brk->btyp))) { buf 8909 src/simh/scp.c sprintf (msg, "%s Breakpoint at: %s\n", put_switches (buf, sizeof(buf), sim_brk_match_type), addr); buf 9067 src/simh/scp.c FREE (exp->buf); buf 9068 src/simh/scp.c exp->buf = NULL; buf 9178 src/simh/scp.c exp->buf = (uint8 *)realloc (exp->buf, compare_size + 2); /* Extra byte to null terminate regex compares */ buf 9214 src/simh/scp.c char *bstr = sim_encode_quoted_string (exp->buf, exp->buf_ins); buf 9261 src/simh/scp.c exp->buf[exp->buf_ins++] = data; /* Save new data */ buf 9262 src/simh/scp.c exp->buf[exp->buf_ins] = '\0'; /* Nul terminate for RegEx match */ buf 9278 src/simh/scp.c char *estr = sim_encode_quoted_string (exp->buf, exp->buf_ins); buf 9286 src/simh/scp.c if (memcmp (exp->buf, &ep->match[ep->size-exp->buf_ins], exp->buf_ins)) buf 9290 src/simh/scp.c char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->size-exp->buf_ins); buf 9298 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->match, ep->size-exp->buf_ins)) buf 9304 src/simh/scp.c char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_ins-ep->size], ep->size); buf 9312 src/simh/scp.c if (memcmp (&exp->buf[exp->buf_ins-ep->size], ep->match, ep->size)) buf 9638 src/simh/scp.c char *buf = stackbuf; buf 9644 src/simh/scp.c len = vsnprintf (buf, bufsize-1, fmt, arglist); buf 9650 src/simh/scp.c if (buf != stackbuf) buf 9651 src/simh/scp.c FREE (buf); buf 9655 src/simh/scp.c buf = (char *) malloc (bufsize); buf 9656 src/simh/scp.c if (buf == NULL) /* out of memory */ buf 9658 src/simh/scp.c buf[bufsize-1] = '\0'; buf 9665 src/simh/scp.c char *c, *remnant = buf; buf 9667 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) buf 9676 src/simh/scp.c printf("%s", buf); buf 9678 src/simh/scp.c fprintf (sim_log, "%s", buf); buf 9680 src/simh/scp.c fprintf (sim_deb, "%s", buf); buf 9682 src/simh/scp.c if (buf != stackbuf) buf 9683 src/simh/scp.c FREE (buf); buf 9691 src/simh/scp.c char *buf = stackbuf; buf 9698 src/simh/scp.c len = vsnprintf (buf, bufsize-1, fmt, arglist); buf 9704 src/simh/scp.c if (buf != stackbuf) buf 9705 src/simh/scp.c FREE (buf); buf 9709 src/simh/scp.c buf = (char *) malloc (bufsize); buf 9710 src/simh/scp.c if (buf == NULL) /* out of memory */ buf 9712 src/simh/scp.c buf[bufsize-1] = '\0'; buf 9727 src/simh/scp.c char *c, *remnant = buf; buf 9729 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) buf 9739 src/simh/scp.c printf("%s", buf); buf 9742 src/simh/scp.c fprintf (sim_log, "%s", buf); buf 9744 src/simh/scp.c fprintf (sim_deb, "%s", buf); buf 9746 src/simh/scp.c if (buf != stackbuf) buf 9747 src/simh/scp.c FREE (buf); buf 9765 src/simh/scp.c char *buf = stackbuf; buf 9770 src/simh/scp.c buf[bufsize-1] = '\0'; buf 9773 src/simh/scp.c len = vsnprintf (buf, bufsize-1, fmt, arglist); buf 9779 src/simh/scp.c if (buf != stackbuf) buf 9780 src/simh/scp.c FREE (buf); buf 9784 src/simh/scp.c buf = (char *) malloc (bufsize); buf 9785 src/simh/scp.c if (buf == NULL) /* out of memory */ buf 9787 src/simh/scp.c buf[bufsize-1] = '\0'; buf 9796 src/simh/scp.c if ('\n' == buf[i]) { buf 9800 src/simh/scp.c fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); buf 9802 src/simh/scp.c fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); buf 9811 src/simh/scp.c fprintf (sim_deb, "%.*s", i-j, &buf[j]); buf 9813 src/simh/scp.c fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]); buf 9818 src/simh/scp.c debug_unterm = len ? (((buf[len-1]=='\n')) ? 0 : 1) : debug_unterm; buf 9819 src/simh/scp.c if (buf != stackbuf) buf 9820 src/simh/scp.c FREE (buf); buf 10095 src/simh/scp.c char buf[129]; buf 10097 src/simh/scp.c sprintf (buf, "%s%u", dptr->name, (int)n); buf 10098 src/simh/scp.c appendText (topic, buf, strlen (buf)); buf 143 src/simh/scp.h const char *put_switches (char *buf, size_t bufsize, uint32 sw); buf 153 src/simh/scp.h void fprint_buffer_string (FILE *st, const uint8 *buf, uint32 size); buf 157 src/simh/scp.h t_stat sprint_val (char *buf, t_value val, uint32 rdx, uint32 wid, uint32 fmt); buf 278 src/simh/scp.h extern void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr); buf 2161 src/simh/sim_console.c unsigned char buf[1]; buf 2163 src/simh/sim_console.c status = read (0, buf, 1); buf 2165 src/simh/sim_console.c if (sim_brk_char && (buf[0] == sim_brk_char)) buf 2167 src/simh/sim_console.c if (sim_int_char && (buf[0] == sim_int_char)) buf 2169 src/simh/sim_console.c return (buf[0] | SCPE_KFLAG); buf 2269 src/simh/sim_console.c unsigned char buf[1]; buf 2271 src/simh/sim_console.c status = read (0, buf, 1); buf 2273 src/simh/sim_console.c if (sim_brk_char && (buf[0] == sim_brk_char)) buf 2275 src/simh/sim_console.c if (sim_int_char && (buf[0] == sim_int_char)) buf 2277 src/simh/sim_console.c return (buf[0] | SCPE_KFLAG); buf 424 src/simh/sim_defs.h int32 buf; /* buffer */ buf 635 src/simh/sim_defs.h uint8 *buf; /* buffer of output data which has produced */ buf 236 src/simh/sim_disk.c static t_stat _sim_disk_rdsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects) buf 251 src/simh/sim_disk.c i = sim_fread (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref); buf 253 src/simh/sim_disk.c memset (&buf[i*ctx->xfer_element_size], 0, tbc-(i*ctx->xfer_element_size)); buf 261 src/simh/sim_disk.c t_stat sim_disk_rdsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects) buf 271 src/simh/sim_disk.c memset (buf, '\0', ctx->sector_size); /* are bad block management efforts - zero buffer */ buf 282 src/simh/sim_disk.c return _sim_disk_rdsect (uptr, lba, buf, sectsread, sects); buf 315 src/simh/sim_disk.c memcpy (buf, tbuf + ((lba - tlba) * ctx->sector_size), sects * ctx->sector_size); buf 327 src/simh/sim_disk.c t_stat sim_disk_rdsect_a (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects, DISK_PCALLBACK callback) buf 330 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, buf, sectsread, sects); buf 336 src/simh/sim_disk.c static t_stat _sim_disk_wrsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects) buf 351 src/simh/sim_disk.c i = sim_fwrite (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref); buf 359 src/simh/sim_disk.c t_stat sim_disk_wrsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects) buf 379 src/simh/sim_disk.c if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) { buf 391 src/simh/sim_disk.c sim_disk_data_trace (uptr, buf+sect*ctx->sector_size, lba+sect, ctx->sector_size, "Found", TRUE, 1); buf 398 src/simh/sim_disk.c return _sim_disk_wrsect (uptr, lba, buf, sectswritten, sects); buf 413 src/simh/sim_disk.c sim_buf_copy_swapped (tbuf, buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size); buf 448 src/simh/sim_disk.c buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size); buf 464 src/simh/sim_disk.c t_stat sim_disk_wrsect_a (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects, DISK_PCALLBACK callback) buf 467 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, buf, sectswritten, sects); buf 74 src/simh/sim_disk.h t_stat sim_disk_rdsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects); buf 75 src/simh/sim_disk.h t_stat sim_disk_rdsect_a (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects, DISK_PCALLBACK callback); buf 76 src/simh/sim_disk.h t_stat sim_disk_wrsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects); buf 77 src/simh/sim_disk.h t_stat sim_disk_wrsect_a (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects, DISK_PCALLBACK callback); buf 360 src/simh/sim_sock.c char buf[16]; buf 362 src/simh/sim_sock.c sprintf(buf, "%d", ntohs(sin->sin_port)); buf 363 src/simh/sim_sock.c if (servlen <= strlen(buf)) buf 365 src/simh/sim_sock.c strcpy(serv, buf); buf 1135 src/simh/sim_sock.c int sim_read_sock (SOCKET sock, char *buf, int nbytes) buf 1139 src/simh/sim_sock.c rbytes = recv (sock, buf, nbytes, 0); buf 101 src/simh/sim_sock.h int sim_read_sock (SOCKET sock, char *buf, int nbytes); buf 784 src/simh/sim_tape.c t_stat sim_tape_rdrecf (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max) buf 794 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecf(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); buf 805 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */ buf 812 src/simh/sim_tape.c buf[i] = 0; buf 814 src/simh/sim_tape.c buf[0] = buf[0] & P7B_DPAR; buf 815 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); buf 819 src/simh/sim_tape.c t_stat sim_tape_rdrecf_a (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max, TAPE_PCALLBACK callback) buf 822 src/simh/sim_tape.c r = sim_tape_rdrecf (uptr, buf, bc, max); buf 848 src/simh/sim_tape.c t_stat sim_tape_rdrecr (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max) buf 857 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_rdrecr(unit=%d, buf=%p, max=%d)\n", (int)(uptr-ctx->dptr->units), buf, max); buf 864 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */ buf 868 src/simh/sim_tape.c buf[i] = 0; buf 870 src/simh/sim_tape.c buf[0] = buf[0] & P7B_DPAR; buf 871 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read Reverse", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); buf 875 src/simh/sim_tape.c t_stat sim_tape_rdrecr_a (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max, TAPE_PCALLBACK callback) buf 878 src/simh/sim_tape.c r = sim_tape_rdrecr (uptr, buf, bc, max); buf 899 src/simh/sim_tape.c t_stat sim_tape_wrrecf (UNIT *uptr, uint8 *buf, t_mtrlnt bc) buf 907 src/simh/sim_tape.c sim_debug (ctx->dbit, ctx->dptr, "sim_tape_wrrecf(unit=%d, buf=%p, bc=%d)\n", (int)(uptr-ctx->dptr->units), buf, bc); buf 909 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, bc, "Record Write", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); buf 926 src/simh/sim_tape.c (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref); buf 936 src/simh/sim_tape.c buf[0] = buf[0] | P7B_SOR; /* mark start of rec */ buf 937 src/simh/sim_tape.c (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref); buf 938 src/simh/sim_tape.c (void)sim_fwrite (buf, sizeof (uint8), 1, uptr->fileref); /* delimit rec */ buf 946 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, sbc, "Record Written", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR); buf 950 src/simh/sim_tape.c t_stat sim_tape_wrrecf_a (UNIT *uptr, uint8 *buf, t_mtrlnt bc, TAPE_PCALLBACK callback) buf 953 src/simh/sim_tape.c r = sim_tape_wrrecf (uptr, buf, bc); buf 991 src/simh/sim_tape.c uint8 buf = P7B_EOF; /* eof mark */ buf 992 src/simh/sim_tape.c return sim_tape_wrrecf (uptr, &buf, 1); /* write char */ buf 160 src/simh/sim_tape.h t_stat sim_tape_rdrecf (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max); buf 161 src/simh/sim_tape.h t_stat sim_tape_rdrecf_a (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max, TAPE_PCALLBACK callback); buf 162 src/simh/sim_tape.h t_stat sim_tape_rdrecr (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max); buf 163 src/simh/sim_tape.h t_stat sim_tape_rdrecr_a (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max, TAPE_PCALLBACK callback); buf 164 src/simh/sim_tape.h t_stat sim_tape_wrrecf (UNIT *uptr, uint8 *buf, t_mtrlnt bc); buf 165 src/simh/sim_tape.h t_stat sim_tape_wrrecf_a (UNIT *uptr, uint8 *buf, t_mtrlnt bc, TAPE_PCALLBACK callback); buf 396 src/simh/sim_tmxr.c static int32 loop_write_ex (TMLN *lp, char *buf, int32 length, t_bool prefix_datagram) buf 420 src/simh/sim_tmxr.c memcpy (&lp->lpb[lp->lpbpi], buf, chunksize); buf 421 src/simh/sim_tmxr.c buf += chunksize; buf 430 src/simh/sim_tmxr.c static int32 loop_write (TMLN *lp, char *buf, int32 length) buf 432 src/simh/sim_tmxr.c return loop_write_ex (lp, buf, length, TRUE); buf 435 src/simh/sim_tmxr.c static int32 loop_read_ex (TMLN *lp, char *buf, int32 bufsize) buf 453 src/simh/sim_tmxr.c memcpy (buf, &lp->lpb[lp->lpbpr], chunksize); buf 454 src/simh/sim_tmxr.c buf += chunksize; buf 463 src/simh/sim_tmxr.c static int32 loop_read (TMLN *lp, char *buf, int32 bufsize) buf 475 src/simh/sim_tmxr.c return loop_read_ex (lp, buf, bufsize); buf 1805 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size) buf 1807 src/simh/sim_tmxr.c return tmxr_put_packet_ln_ex (lp, buf, size, 0); buf 1810 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln_ex (TMLN *lp, const uint8 *buf, size_t size, uint8 frame_byte) buf 1842 src/simh/sim_tmxr.c memcpy (lp->txpb + pktlen_size + fc_size, buf, size); buf 3382 src/simh/sim_tmxr.c char *buf = stackbuf; buf 3385 src/simh/sim_tmxr.c buf[bufsize-1] = '\0'; buf 3387 src/simh/sim_tmxr.c len = vsnprintf (buf, bufsize-1, fmt, arglist); buf 3392 src/simh/sim_tmxr.c if (buf != stackbuf) buf 3393 src/simh/sim_tmxr.c FREE (buf); buf 3397 src/simh/sim_tmxr.c buf = (char *) malloc (bufsize); buf 3398 src/simh/sim_tmxr.c if (!buf) /* out of memory */ buf 3410 src/simh/sim_tmxr.c buf[bufsize-1] = '\0'; buf 3419 src/simh/sim_tmxr.c if (('\n' == buf[i]) && ((i == 0) || ('\r' != buf[i-1]))) { buf 3424 src/simh/sim_tmxr.c while (SCPE_STALL == tmxr_putc_ln (lp, buf[i])) buf 3428 src/simh/sim_tmxr.c if (buf != stackbuf) buf 3429 src/simh/sim_tmxr.c FREE (buf); buf 3491 src/simh/sim_tmxr.c if (lp->expect.buf) buf 226 src/simh/sim_tmxr.h t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size); buf 227 src/simh/sim_tmxr.h t_stat tmxr_put_packet_ln_ex (TMLN *lp, const uint8 *buf, size_t size, uint8 frame_byte); buf 275 src/simh/sim_tmxr.h void _tmxr_debug (uint32 dbits, TMLN *lp, const char *msg, char *buf, int bufsize); buf 276 src/simh/sim_tmxr.h # define tmxr_debug(dbits, lp, msg, buf, bufsize) do {if (sim_deb && (lp)->mp && (lp)->mp->dptr && ((dbits) & (lp)->mp->dptr->dctrl)) _tmxr_debug (dbits, lp, msg, buf, bufsize); } while (0)