buf               611 src/decNumber/decNumberLocal.h #   define GETCOEFFBILL(df, buf) {                                     \
buf               613 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN0[sourhi&0x3ff]                                  \
buf               618 src/decNumber/decNumberLocal.h #   define GETCOEFFBILL(df, buf) {                                     \
buf               621 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN0[sourlo&0x3ff]                                  \
buf               625 src/decNumber/decNumberLocal.h       (buf)[1]=DPD2BIN0[((sourhi<<2) | (sourlo>>30))&0x3ff]            \
buf               630 src/decNumber/decNumberLocal.h #   define GETCOEFFBILL(df, buf) {                                     \
buf               633 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN0[sourlo&0x3ff]                                  \
buf               637 src/decNumber/decNumberLocal.h       (buf)[1]=DPD2BIN0[((sourml<<2) | (sourlo>>30))&0x3ff]            \
buf               641 src/decNumber/decNumberLocal.h       (buf)[2]=DPD2BIN0[((sourmh<<4) | (sourml>>28))&0x3ff]            \
buf               645 src/decNumber/decNumberLocal.h       (buf)[3]=DPD2BIN0[((sourhi<<6) | (sourmh>>26))&0x3ff]            \
buf               658 src/decNumber/decNumberLocal.h #   define GETCOEFFTHOU(df, buf) {                                     \
buf               660 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN[sourhi&0x3ff];                                  \
buf               661 src/decNumber/decNumberLocal.h       (buf)[1]=DPD2BIN[(sourhi>>10)&0x3ff];                            \
buf               662 src/decNumber/decNumberLocal.h       (buf)[2]=DECCOMBMSD[sourhi>>26];}
buf               665 src/decNumber/decNumberLocal.h #   define GETCOEFFTHOU(df, buf) {                                     \
buf               668 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN[sourlo&0x3ff];                                  \
buf               669 src/decNumber/decNumberLocal.h       (buf)[1]=DPD2BIN[(sourlo>>10)&0x3ff];                            \
buf               670 src/decNumber/decNumberLocal.h       (buf)[2]=DPD2BIN[(sourlo>>20)&0x3ff];                            \
buf               672 src/decNumber/decNumberLocal.h       (buf)[3]=DPD2BIN[((sourhi<<2) | (sourlo>>30))&0x3ff];            \
buf               673 src/decNumber/decNumberLocal.h       (buf)[4]=DPD2BIN[(sourhi>>8)&0x3ff];                             \
buf               674 src/decNumber/decNumberLocal.h       (buf)[5]=DECCOMBMSD[sourhi>>26];}
buf               677 src/decNumber/decNumberLocal.h #   define GETCOEFFTHOU(df, buf) {                                     \
buf               680 src/decNumber/decNumberLocal.h       (buf)[0]=DPD2BIN[sourlo&0x3ff];                                  \
buf               681 src/decNumber/decNumberLocal.h       (buf)[1]=DPD2BIN[(sourlo>>10)&0x3ff];                            \
buf               682 src/decNumber/decNumberLocal.h       (buf)[2]=DPD2BIN[(sourlo>>20)&0x3ff];                            \
buf               684 src/decNumber/decNumberLocal.h       (buf)[3]=DPD2BIN[((sourml<<2) | (sourlo>>30))&0x3ff];            \
buf               685 src/decNumber/decNumberLocal.h       (buf)[4]=DPD2BIN[(sourml>>8)&0x3ff];                             \
buf               686 src/decNumber/decNumberLocal.h       (buf)[5]=DPD2BIN[(sourml>>18)&0x3ff];                            \
buf               688 src/decNumber/decNumberLocal.h       (buf)[6]=DPD2BIN[((sourmh<<4) | (sourml>>28))&0x3ff];            \
buf               689 src/decNumber/decNumberLocal.h       (buf)[7]=DPD2BIN[(sourmh>>6)&0x3ff];                             \
buf               690 src/decNumber/decNumberLocal.h       (buf)[8]=DPD2BIN[(sourmh>>16)&0x3ff];                            \
buf               692 src/decNumber/decNumberLocal.h       (buf)[9]=DPD2BIN[((sourhi<<6) | (sourmh>>26))&0x3ff];            \
buf               693 src/decNumber/decNumberLocal.h       (buf)[10]=DPD2BIN[(sourhi>>4)&0x3ff];                            \
buf               694 src/decNumber/decNumberLocal.h       (buf)[11]=DECCOMBMSD[sourhi>>26];}
buf               702 src/decNumber/decNumberLocal.h #   define ADDCOEFFTHOU(df, buf) {                                     \
buf               704 src/decNumber/decNumberLocal.h       (buf)[0]+=DPD2BIN[sourhi&0x3ff];                                 \
buf               705 src/decNumber/decNumberLocal.h       if (buf[0]>999) {buf[0]-=1000; buf[1]++;}                        \
buf               706 src/decNumber/decNumberLocal.h       (buf)[1]+=DPD2BIN[(sourhi>>10)&0x3ff];                           \
buf               707 src/decNumber/decNumberLocal.h       if (buf[1]>999) {buf[1]-=1000; buf[2]++;}                        \
buf               708 src/decNumber/decNumberLocal.h       (buf)[2]+=DECCOMBMSD[sourhi>>26];}
buf               711 src/decNumber/decNumberLocal.h #   define ADDCOEFFTHOU(df, buf) {                                     \
buf               714 src/decNumber/decNumberLocal.h       (buf)[0]+=DPD2BIN[sourlo&0x3ff];                                 \
buf               715 src/decNumber/decNumberLocal.h       if (buf[0]>999) {buf[0]-=1000; buf[1]++;}                        \
buf               716 src/decNumber/decNumberLocal.h       (buf)[1]+=DPD2BIN[(sourlo>>10)&0x3ff];                           \
buf               717 src/decNumber/decNumberLocal.h       if (buf[1]>999) {buf[1]-=1000; buf[2]++;}                        \
buf               718 src/decNumber/decNumberLocal.h       (buf)[2]+=DPD2BIN[(sourlo>>20)&0x3ff];                           \
buf               719 src/decNumber/decNumberLocal.h       if (buf[2]>999) {buf[2]-=1000; buf[3]++;}                        \
buf               721 src/decNumber/decNumberLocal.h       (buf)[3]+=DPD2BIN[((sourhi<<2) | (sourlo>>30))&0x3ff];           \
buf               722 src/decNumber/decNumberLocal.h       if (buf[3]>999) {buf[3]-=1000; buf[4]++;}                        \
buf               723 src/decNumber/decNumberLocal.h       (buf)[4]+=DPD2BIN[(sourhi>>8)&0x3ff];                            \
buf               724 src/decNumber/decNumberLocal.h       if (buf[4]>999) {buf[4]-=1000; buf[5]++;}                        \
buf               725 src/decNumber/decNumberLocal.h       (buf)[5]+=DECCOMBMSD[sourhi>>26];}
buf               728 src/decNumber/decNumberLocal.h #   define ADDCOEFFTHOU(df, buf) {                                     \
buf               731 src/decNumber/decNumberLocal.h       (buf)[0]+=DPD2BIN[sourlo&0x3ff];                                 \
buf               732 src/decNumber/decNumberLocal.h       if (buf[0]>999) {buf[0]-=1000; buf[1]++;}                        \
buf               733 src/decNumber/decNumberLocal.h       (buf)[1]+=DPD2BIN[(sourlo>>10)&0x3ff];                           \
buf               734 src/decNumber/decNumberLocal.h       if (buf[1]>999) {buf[1]-=1000; buf[2]++;}                        \
buf               735 src/decNumber/decNumberLocal.h       (buf)[2]+=DPD2BIN[(sourlo>>20)&0x3ff];                           \
buf               736 src/decNumber/decNumberLocal.h       if (buf[2]>999) {buf[2]-=1000; buf[3]++;}                        \
buf               738 src/decNumber/decNumberLocal.h       (buf)[3]+=DPD2BIN[((sourml<<2) | (sourlo>>30))&0x3ff];           \
buf               739 src/decNumber/decNumberLocal.h       if (buf[3]>999) {buf[3]-=1000; buf[4]++;}                        \
buf               740 src/decNumber/decNumberLocal.h       (buf)[4]+=DPD2BIN[(sourml>>8)&0x3ff];                            \
buf               741 src/decNumber/decNumberLocal.h       if (buf[4]>999) {buf[4]-=1000; buf[5]++;}                        \
buf               742 src/decNumber/decNumberLocal.h       (buf)[5]+=DPD2BIN[(sourml>>18)&0x3ff];                           \
buf               743 src/decNumber/decNumberLocal.h       if (buf[5]>999) {buf[5]-=1000; buf[6]++;}                        \
buf               745 src/decNumber/decNumberLocal.h       (buf)[6]+=DPD2BIN[((sourmh<<4) | (sourml>>28))&0x3ff];           \
buf               746 src/decNumber/decNumberLocal.h       if (buf[6]>999) {buf[6]-=1000; buf[7]++;}                        \
buf               747 src/decNumber/decNumberLocal.h       (buf)[7]+=DPD2BIN[(sourmh>>6)&0x3ff];                            \
buf               748 src/decNumber/decNumberLocal.h       if (buf[7]>999) {buf[7]-=1000; buf[8]++;}                        \
buf               749 src/decNumber/decNumberLocal.h       (buf)[8]+=DPD2BIN[(sourmh>>16)&0x3ff];                           \
buf               750 src/decNumber/decNumberLocal.h       if (buf[8]>999) {buf[8]-=1000; buf[9]++;}                        \
buf               752 src/decNumber/decNumberLocal.h       (buf)[9]+=DPD2BIN[((sourhi<<6) | (sourmh>>26))&0x3ff];           \
buf               753 src/decNumber/decNumberLocal.h       if (buf[9]>999) {buf[9]-=1000; buf[10]++;}                       \
buf               754 src/decNumber/decNumberLocal.h       (buf)[10]+=DPD2BIN[(sourhi>>4)&0x3ff];                           \
buf               755 src/decNumber/decNumberLocal.h       if (buf[10]>999) {buf[10]-=1000; buf[11]++;}                     \
buf               756 src/decNumber/decNumberLocal.h       (buf)[11]+=DECCOMBMSD[sourhi>>26];}
buf               373 src/dps8/dps8_addrmods.c     char buf [256];
buf               376 src/dps8/dps8_addrmods.c                 __func__, op_desc_str (cpup, buf), cpu.TPR.CA);
buf               438 src/dps8/dps8_addrmods.c                __func__, cpu.rTAG, get_mod_string (buf, cpu.rTAG), Tm, Td, cpu.cu.CT_HOLD);
buf               676 src/dps8/dps8_addrmods.c                    get_mod_string (buf, GET_TAG (cpu.itxPair[0])));
buf               115 src/dps8/dps8_append.c static char *str_sdw (char * buf, sdw_s *SDW);
buf               368 src/dps8/dps8_append.c         char buf[256];
buf               369 src/dps8/dps8_append.c         (void)buf;
buf               371 src/dps8/dps8_append.c         DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, _n, str_sdw (buf, cpu.SDW));
buf               398 src/dps8/dps8_append.c         char buf[256];
buf               399 src/dps8/dps8_append.c         (void)buf;
buf               401 src/dps8/dps8_append.c         DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW));
buf               521 src/dps8/dps8_append.c     char buf[256];
buf               522 src/dps8/dps8_append.c     (void)buf;
buf               523 src/dps8/dps8_append.c     DBGAPP ("%s (2):SDW0=%s\n", __func__, str_SDW0 (buf, & cpu.SDW0));
buf               528 src/dps8/dps8_append.c static char *str_sdw (char * buf, sdw_s *SDW)
buf               531 src/dps8/dps8_append.c       (void)sprintf (buf, "*** SDW Uninitialized ***");
buf               533 src/dps8/dps8_append.c       (void)sprintf (buf,
buf               540 src/dps8/dps8_append.c     return buf;
buf               549 src/dps8/dps8_append.c     char buf[256];
buf               550 src/dps8/dps8_append.c     (void)buf;
buf               556 src/dps8/dps8_append.c           sim_printf ("SDWAM n:%d %s\n", _n, str_sdw (buf, p));
buf               627 src/dps8/dps8_append.c           char buf[256];
buf               628 src/dps8/dps8_append.c           (void) buf;
buf               630 src/dps8/dps8_append.c           DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, _n, str_sdw (buf, p));
buf               670 src/dps8/dps8_append.c       char buf[256];
buf               671 src/dps8/dps8_append.c       (void) buf;
buf               673 src/dps8/dps8_append.c       DBGAPP ("%s(2):SDWAM[%d]=%s\n", __func__, toffset + setno, str_sdw (buf, cpu.SDW));
buf              1264 src/dps8/dps8_cable.c t_stat sys_cable (int32 arg, const char * buf)
buf              1266 src/dps8/dps8_cable.c     char * copy = strdup (buf);
buf              1514 src/dps8/dps8_cable.c t_stat sys_cable_show (int32 dump, UNUSED const char * buf)
buf              1662 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               733 src/dps8/dps8_console.c     word36 buf[n_words + 1];
buf               735 src/dps8/dps8_console.c     (void)memset (buf, 0, sizeof (word36) * (n_words + 1));
buf               736 src/dps8/dps8_console.c     word36 * bufp = buf;
buf               812 src/dps8/dps8_console.c     iom_indirect_data_service (iomUnitIdx, chan_num, buf, & n_words, true);
buf               959 src/dps8/dps8_console.c             char buf[256];
buf               962 src/dps8/dps8_console.c             (void)sprintf (buf, "^T attn %c %c cnt %d next %d\r\n",
buf               966 src/dps8/dps8_console.c             console_putstr (conUnitIdx, buf);
buf              1024 src/dps8/dps8_console.c                             char buf[4096];
buf              1025 src/dps8/dps8_console.c                             (void)sprintf (buf, "\r%s returned %d '%s'\r\n",
buf              1027 src/dps8/dps8_console.c                             console_putstr (conUnitIdx,  buf);
buf              1498 src/dps8/dps8_console.c         word36 buf[tally];
buf              1499 src/dps8/dps8_console.c         iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, false);
buf              1505 src/dps8/dps8_console.c 
buf              1507 src/dps8/dps8_console.c 
buf              1521 src/dps8/dps8_console.c 
buf              1523 src/dps8/dps8_console.c 
buf              1535 src/dps8/dps8_console.c         word36 * bufp = buf;
buf              1227 src/dps8/dps8_cpu.c char * str_SDW0 (char * buf, sdw0_s * SDW)
buf              1229 src/dps8/dps8_cpu.c     (void)sprintf (buf, "ADDR=%06o R1=%o R2=%o R3=%o F=%o FC=%o BOUND=%o R=%o "
buf              1234 src/dps8/dps8_cpu.c     return buf;
buf              3452 src/dps8/dps8_cpu.c t_stat set_mem_watch (int32 arg, const char * buf)
buf              3454 src/dps8/dps8_cpu.c     if (strlen (buf) == 0)
buf              3466 src/dps8/dps8_cpu.c     long int n = strtol (buf, & end, 0);
buf              4475 src/dps8/dps8_cpu.c         char * buf              = stackbuf;
buf              4481 src/dps8/dps8_cpu.c         buf [bufsize-1] = '\0';
buf              4487 src/dps8/dps8_cpu.c             len = vsprintf  (buf, fmt, arglist);
buf              4489 src/dps8/dps8_cpu.c             len = vsnprintf (buf, (int)((unsigned long)(bufsize)-1), fmt, arglist);
buf              4497 src/dps8/dps8_cpu.c                 if (buf != stackbuf)
buf              4498 src/dps8/dps8_cpu.c                   FREE (buf);
buf              4502 src/dps8/dps8_cpu.c                 buf = (char *) malloc ((unsigned long) bufsize);
buf              4503 src/dps8/dps8_cpu.c                 if (buf == NULL)                            /* out of memory */
buf              4505 src/dps8/dps8_cpu.c                 buf[bufsize-1] = '\0';
buf              4515 src/dps8/dps8_cpu.c             if ('\n' == buf[i])
buf              4523 src/dps8/dps8_cpu.c                                          current_running_cpu_idx, dptr->name, debug_type, i-j, &buf[j]);
buf              4531 src/dps8/dps8_cpu.c         if (buf != stackbuf)
buf              4532 src/dps8/dps8_cpu.c           FREE (buf);
buf              2385 src/dps8/dps8_cpu.h t_stat set_mem_watch (int32 arg, const char * buf);
buf              2387 src/dps8/dps8_cpu.h char *str_SDW0 (char * buf, sdw_s *SDW);
buf              2359 src/dps8/dps8_fnp2.c 
buf              2361 src/dps8/dps8_fnp2.c 
buf              2364 src/dps8/dps8_fnp2.c 
buf              2458 src/dps8/dps8_fnp2.c t_stat set_fnp_server_port (UNUSED int32 arg, const char * buf)
buf              2465 src/dps8/dps8_fnp2.c     if (! buf)
buf              2467 src/dps8/dps8_fnp2.c     int n = atoi (buf);
buf              2478 src/dps8/dps8_fnp2.c t_stat set_fnp_server_address (UNUSED int32 arg, const char * buf)
buf              2485 src/dps8/dps8_fnp2.c     if ( (!buf) || (buf[0] == 0) )
buf              2489 src/dps8/dps8_fnp2.c     fnpData.telnet_address = strdup (buf);
buf              2509 src/dps8/dps8_fnp2.c t_stat set_fnp_3270_server_port (UNUSED int32 arg, const char * buf)
buf              2517 src/dps8/dps8_fnp2.c     if (! buf)
buf              2519 src/dps8/dps8_fnp2.c     int n = atoi (buf);
buf              2530 src/dps8/dps8_fnp2.c t_stat fnp_start (UNUSED int32 arg, UNUSED const char * buf)
buf              2633 src/dps8/dps8_fnp2.c     unsigned char buf [l];
buf              2635 src/dps8/dps8_fnp2.c       buf[i] = a2e[msg[i]];
buf              2647 src/dps8/dps8_fnp2.c     fnpuv_start_3270_write (client, buf, (ssize_t) l);
buf              2670 src/dps8/dps8_fnp2.c     unsigned char buf [256];
buf              2671 src/dps8/dps8_fnp2.c     (void)sprintf ((char *) buf, "DPS8/M 3270 connection to %c.%03d.%ld ttype %s\n",
buf              2674 src/dps8/dps8_fnp2.c     fnp3270Msg (client, buf);
buf              2678 src/dps8/dps8_fnp2.c void processLineInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread)
buf              2717 src/dps8/dps8_fnp2.c         memcpy (new + linep->inSize, buf, (unsigned long) nread);
buf              2729 src/dps8/dps8_fnp2.c         memcpy (linep->inBuffer, buf, (unsigned long) nread);
buf              2739 src/dps8/dps8_fnp2.c void process3270Input (uv_tcp_t * client, unsigned char * buf, ssize_t nread)
buf              2761 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              2763 src/dps8/dps8_fnp2.c         for (int i = 0; i < nread; i ++) sim_debug (DBG_TRACE, & fnp_dev, " %02x", buf[i]);
buf              2798 src/dps8/dps8_fnp2.c         memcpy (new + stn_p->stn_in_size, buf, (unsigned long) nread);
buf              2810 src/dps8/dps8_fnp2.c         memcpy (stn_p->stn_in_buffer, buf, (unsigned long) nread);
buf              2865 src/dps8/dps8_fnp2.c void processUserInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread)
buf              2875 src/dps8/dps8_fnp2.c         unsigned char kar = buf [nchar];
buf               338 src/dps8/dps8_fnp2.h t_stat set_fnp_server_port (int32 arg, const char * buf);
buf               339 src/dps8/dps8_fnp2.h t_stat set_fnp_server_address (int32 arg, const char * buf);
buf               340 src/dps8/dps8_fnp2.h t_stat set_fnp_3270_server_port (int32 arg, const char * buf);
buf               341 src/dps8/dps8_fnp2.h t_stat fnp_start (UNUSED int32 arg, UNUSED const char * buf);
buf               344 src/dps8/dps8_fnp2.h void processUserInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread);
buf               345 src/dps8/dps8_fnp2.h void processLineInput (uv_tcp_t * client, unsigned char * buf, ssize_t nread);
buf               347 src/dps8/dps8_fnp2.h void process3270Input (uv_tcp_t * client, unsigned char * buf, ssize_t nread);
buf               120 src/dps8/dps8_ins.c     char buf [256];
buf               126 src/dps8/dps8_ins.c                __func__, disassemble (buf, IWB_IRODD), i->info->mne, i->info->flags);
buf               199 src/dps8/dps8_ins.c     char buf [256];
buf               205 src/dps8/dps8_ins.c                __func__, disassemble (buf, IWB_IRODD), i->info->mne, i->info->flags);
buf              1096 src/dps8/dps8_ins.c t_stat display_the_matrix (UNUSED int32 arg, UNUSED const char * buf)
buf              1215 src/dps8/dps8_ins.c     char buf [256];
buf              1266 src/dps8/dps8_ins.c                   disassemble (buf, IWB_IRODD),
buf              1283 src/dps8/dps8_ins.c                   disassemble (buf, IWB_IRODD),
buf              1306 src/dps8/dps8_ins.c                   disassemble (buf, IWB_IRODD),
buf              1324 src/dps8/dps8_ins.c                   disassemble (buf, IWB_IRODD),
buf              2296 src/dps8/dps8_ins.c     char buf [256];
buf              2298 src/dps8/dps8_ins.c                cpu.rA, cpu.rQ, dump_flags (buf, cpu.cu.IR));
buf              9644 src/dps8/dps8_ins.c 
buf              9676 src/dps8/dps8_ins.c 
buf              9686 src/dps8/dps8_ins.c 
buf              9694 src/dps8/dps8_ins.c 
buf              9695 src/dps8/dps8_ins.c 
buf                24 src/dps8/dps8_ins.h t_stat display_the_matrix (int32 arg, const char * buf);
buf                70 src/dps8/dps8_mgp.c static void dumppkt(char *hdr, word36 *buf, uint words);
buf                71 src/dps8/dps8_mgp.c static int  handle_mgp_packet(word36 *buf, uint words);
buf                72 src/dps8/dps8_mgp.c static int  poll_from_cbridge(word36 *buf, uint words, uint probe_only);
buf               120 src/dps8/dps8_mgp.c hash32s(const void *buf, size_t len, uint32_t h)
buf               122 src/dps8/dps8_mgp.c   const unsigned char *p = buf;
buf               841 src/dps8/dps8_mgp.c copy_packet9_to_cbridge8(word36 *buf, uint words, u_char *dest, int dlen)
buf               849 src/dps8/dps8_mgp.c       dest[j] = getbits36_9(buf[MGP_PACKET_HEADER_SIZE + j / 4], ( j % 4 ) * 9);
buf               856 src/dps8/dps8_mgp.c copy_cbridge8_to_packet9(u_char *src, int slen, word36 *buf, uint words)
buf               862 src/dps8/dps8_mgp.c       putbits36_9(&buf[MGP_PACKET_HEADER_SIZE + j / 4], ( j % 4 ) * 9, src[j]);
buf               869 src/dps8/dps8_mgp.c mgp_checksum_raw(word36 *buf, uint words)
buf               875 src/dps8/dps8_mgp.c       cks += getbits36_9(buf[j / 4], ( j % 4 ) * 9);
buf               915 src/dps8/dps8_mgp.c parse_packet_header(word36 *buf, uint words)
buf               939 src/dps8/dps8_mgp.c   int checksum        = getbits36_9(buf[0],  0);
buf               940 src/dps8/dps8_mgp.c   int id              = getbits36_9(buf[0],  9);
buf               941 src/dps8/dps8_mgp.c   int pktype          = getbits36_9(buf[0], 18);
buf               943 src/dps8/dps8_mgp.c   int f_unus          = getbits36_1(buf[0], 27);
buf               944 src/dps8/dps8_mgp.c   int f_nak           = getbits36_1(buf[0], 28);
buf               945 src/dps8/dps8_mgp.c   int f_rnow          = getbits36_1(buf[0], 29);
buf               946 src/dps8/dps8_mgp.c   int f_pad           = getbits36_5(buf[0], 30);
buf               947 src/dps8/dps8_mgp.c   int f_loop          = getbits36_1(buf[0], 35);
buf               958 src/dps8/dps8_mgp.c   int framenr         = getbits36_9(buf[1],  0);
buf               959 src/dps8/dps8_mgp.c   int rcpt            = getbits36_9(buf[1],  9);
buf               960 src/dps8/dps8_mgp.c   int pknr            = getbits36_9(buf[1], 18);
buf               961 src/dps8/dps8_mgp.c   int acknr           = getbits36_9(buf[1], 27);
buf               969 src/dps8/dps8_mgp.c   int bytecount  =     ( getbits36_9(buf[2],  0) & 0xff )
buf               970 src/dps8/dps8_mgp.c                     | (( getbits36_9(buf[2],  9) & 0xff ) << 8 );
buf               971 src/dps8/dps8_mgp.c   int srcprc     =     ( getbits36_9(buf[2], 18) & 0xff )
buf               972 src/dps8/dps8_mgp.c                     | (( getbits36_9(buf[2], 27) & 0xff ) << 8 );
buf               977 src/dps8/dps8_mgp.c   int dstprc     =     ( getbits36_9(buf[3],  0) & 0xff )
buf               978 src/dps8/dps8_mgp.c                     | (( getbits36_9(buf[3],  9) & 0xff ) << 8 );
buf               979 src/dps8/dps8_mgp.c   int chopcode   =       getbits36_9(buf[3], 18);
buf               980 src/dps8/dps8_mgp.c   int mbz        =       getbits36_9(buf[3], 27);
buf               990 src/dps8/dps8_mgp.c unparse_packet_header(struct mgp_packet_header *p, word36 *buf, uint words)
buf              1000 src/dps8/dps8_mgp.c   putbits36_9(&buf[0],  0, p->checksum);
buf              1001 src/dps8/dps8_mgp.c   putbits36_9(&buf[0],  9, p->identification);
buf              1002 src/dps8/dps8_mgp.c   putbits36_9(&buf[0], 18, p->packet_type);
buf              1003 src/dps8/dps8_mgp.c   putbits36_1(&buf[0], 27, p->flags.unusable);
buf              1004 src/dps8/dps8_mgp.c   putbits36_1(&buf[0], 28, p->flags.nak);
buf              1005 src/dps8/dps8_mgp.c   putbits36_1(&buf[0], 29, p->flags.reply_now);
buf              1006 src/dps8/dps8_mgp.c   putbits36_5(&buf[0], 30, p->flags.padding);
buf              1007 src/dps8/dps8_mgp.c   putbits36_1(&buf[0], 35, p->flags.loopback);
buf              1009 src/dps8/dps8_mgp.c   putbits36_9(&buf[1],  0, p->frame_number);
buf              1010 src/dps8/dps8_mgp.c   putbits36_9(&buf[1],  9, p->receipt_number);
buf              1011 src/dps8/dps8_mgp.c   putbits36_9(&buf[1], 18, p->packet_number);
buf              1012 src/dps8/dps8_mgp.c   putbits36_9(&buf[1], 27, p->ack_number);
buf              1017 src/dps8/dps8_mgp.c   putbits36_9(&buf[2],  0, p->byte_count      & 0xff);
buf              1018 src/dps8/dps8_mgp.c   putbits36_9(&buf[2],  9, p->byte_count     >> 8   );
buf              1019 src/dps8/dps8_mgp.c   putbits36_9(&buf[2], 18, p->source_process  & 0xff);
buf              1020 src/dps8/dps8_mgp.c   putbits36_9(&buf[2], 27, p->source_process >> 8   );
buf              1022 src/dps8/dps8_mgp.c   putbits36_9(&buf[3],  0, p->destination_process  & 0xff);
buf              1023 src/dps8/dps8_mgp.c   putbits36_9(&buf[3],  9, p->destination_process >> 8   );
buf              1025 src/dps8/dps8_mgp.c   putbits36_9(&buf[3], 18, p->chaos_opcode);
buf              1026 src/dps8/dps8_mgp.c   putbits36_9(&buf[3], 27, p->reserved);
buf              1030 src/dps8/dps8_mgp.c dumppkt(char *hdr, word36 *buf, uint words)
buf              1033 src/dps8/dps8_mgp.c   struct mgp_packet_header *p = parse_packet_header(buf, words);
buf              1072 src/dps8/dps8_mgp.c       int lh  = getbits36_18 (buf[i],  0);
buf              1073 src/dps8/dps8_mgp.c       int rh  = getbits36_18 (buf[i], 18);
buf              1074 src/dps8/dps8_mgp.c       int b0  = getbits36_9  (buf[i],  0);
buf              1075 src/dps8/dps8_mgp.c       int b1  = getbits36_9  (buf[i],  9);
buf              1076 src/dps8/dps8_mgp.c       int b2  = getbits36_9  (buf[i], 18);
buf              1077 src/dps8/dps8_mgp.c       int b3  = getbits36_9  (buf[i], 27);
buf              1383 src/dps8/dps8_mgp.c handle_packet(int opcode, struct mgp_packet_header *p, word36 *buf,
buf              1398 src/dps8/dps8_mgp.c         buf, words, pkt + CBRIDGE_PACKET_HEADER_SIZE, p->byte_count);
buf              1406 src/dps8/dps8_mgp.c handle_close(struct mgp_packet_header *p, word36 *buf, uint words)
buf              1415 src/dps8/dps8_mgp.c   copy_cbridge8_to_packet9((u_char *)"wait", 4, buf, 1);
buf              1421 src/dps8/dps8_mgp.c handle_lose(int conni, struct mgp_packet_header *p, word36 *buf, uint words)
buf              1424 src/dps8/dps8_mgp.c   int v = handle_packet(CHOP_LOS, p, buf, words);
buf              1432 src/dps8/dps8_mgp.c handle_connect(struct mgp_packet_header *p, word36 *buf, uint words)
buf              1436 src/dps8/dps8_mgp.c   copy_packet9_to_cbridge8(buf,
buf              1554 src/dps8/dps8_mgp.c handle_mgp_packet(word36 *buf, uint words)
buf              1556 src/dps8/dps8_mgp.c   struct mgp_packet_header *p  = parse_packet_header(buf, words);
buf              1598 src/dps8/dps8_mgp.c       rval = handle_connect(p, buf, words);
buf              1604 src/dps8/dps8_mgp.c         p->chaos_opcode ? p->chaos_opcode : CHOP_OPN, p, buf, words);
buf              1608 src/dps8/dps8_mgp.c       rval = handle_close(p, buf, words);
buf              1612 src/dps8/dps8_mgp.c       rval = handle_lose(i, p, buf, words);
buf              1618 src/dps8/dps8_mgp.c         p->chaos_opcode ? p->chaos_opcode : CHOP_DAT, p, buf, words);
buf              1758 src/dps8/dps8_mgp.c make_mgp_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf,
buf              1770 src/dps8/dps8_mgp.c   unparse_packet_header(&hdr, buf, words);
buf              1773 src/dps8/dps8_mgp.c   copy_cbridge8_to_packet9(pkt, pklen, buf, words);
buf              1783 src/dps8/dps8_mgp.c make_status_packet(int conni, word36 *buf, uint words)
buf              1794 src/dps8/dps8_mgp.c   unparse_packet_header(&hdr, buf, words);
buf              1806 src/dps8/dps8_mgp.c make_noop_packet(word36 *buf, uint words)
buf              1818 src/dps8/dps8_mgp.c   unparse_packet_header(&hdr, buf, words);
buf              1829 src/dps8/dps8_mgp.c make_open_packet(u_char opcode, u_char *pkt, uint pklen, word36 *buf,
buf              1836 src/dps8/dps8_mgp.c       return make_mgp_packet(opcode, pkt, 0, buf, words, conni);
buf              1850 src/dps8/dps8_mgp.c       return make_mgp_packet(opcode, pkt + 2, pklen - 2, buf, words, conni);
buf              1862 src/dps8/dps8_mgp.c make_connect_packet(u_char *pkt, uint pklen, word36 *buf, uint words,
buf              1905 src/dps8/dps8_mgp.c     (u_char *)connect, strlen(connect), buf, words, conni);
buf              1909 src/dps8/dps8_mgp.c receive_cbridge_opcode(u_char copcode, u_char *cbuf, uint clen, word36 *buf,
buf              1928 src/dps8/dps8_mgp.c       return make_connect_packet(cbuf, clen, buf, words, conni);
buf              1932 src/dps8/dps8_mgp.c       return make_open_packet(copcode, cbuf, clen, buf, words, conni);
buf              1949 src/dps8/dps8_mgp.c       int v = make_mgp_packet(copcode, cbuf, clen, buf, words, conni);
buf              1958 src/dps8/dps8_mgp.c       return make_mgp_packet(copcode, cbuf, clen, buf, words, conni);
buf              1966 src/dps8/dps8_mgp.c poll_from_cbridge(word36 *buf, uint words, uint probe_only)
buf              2162 src/dps8/dps8_mgp.c                             copcode, cbuf, clen, buf, words, i);
buf              2172 src/dps8/dps8_mgp.c                   make_status_packet(statusconn, buf, words);
buf              2206 src/dps8/dps8_mgp.c           make_noop_packet(buf, words);
buf              1004 src/dps8/dps8_mt.c     t_stat rc = sim_tape_rdrecf (unitp, & tape_statep -> buf [0], & tape_statep -> tbc,
buf              1082 src/dps8/dps8_mt.c           rc2 = extractASCII36FromBuffer (tape_statep -> buf,
buf              1085 src/dps8/dps8_mt.c           rc2 = extractWord36FromBuffer (tape_statep -> buf,
buf              1193 src/dps8/dps8_mt.c     word36 buf [tally];
buf              1195 src/dps8/dps8_mt.c     (void)memset (buf, 0, sizeof (word36) * tally);
buf              1198 src/dps8/dps8_mt.c         putbits36_18 (buf + i,  0, mem [i * 2]);
buf              1199 src/dps8/dps8_mt.c         putbits36_18 (buf + i, 18, mem [i * 2 + 1]);
buf              1201 src/dps8/dps8_mt.c     iom_indirect_data_service (iomUnitIdx, chan, buf, & tally, true);
buf              1303 src/dps8/dps8_mt.c             rc2 = insertASCII36toBuffer (tape_statep -> buf,
buf              1310 src/dps8/dps8_mt.c             rc2 = insertWord36toBuffer (tape_statep -> buf,
buf              1339 src/dps8/dps8_mt.c     int ret = sim_tape_wrrecf (unitp, tape_statep -> buf, tape_statep -> tbc);
buf              2449 src/dps8/dps8_mt.c t_stat mount_tape (UNUSED int32 arg, const char * buf)
buf              2451 src/dps8/dps8_mt.c     size_t bufl = strlen (buf) + 1;
buf              2455 src/dps8/dps8_mt.c     int nParams = sscanf (buf, "%s %s %s", fname, ring, drive);
buf                30 src/dps8/dps8_mt.h     uint8 buf [BUFSZ];
buf                60 src/dps8/dps8_mt.h t_stat mount_tape (int32 arg, const char * buf);
buf              1903 src/dps8/dps8_prt.c t_stat burst_printer (UNUSED int32 arg, const char * buf)
buf              1907 src/dps8/dps8_prt.c         if (strcmp (buf, prt_state[i].device_name) == 0)
buf              1919 src/dps8/dps8_prt.c     sim_printf ("burst can't find printer named '%s'\n", buf);
buf                24 src/dps8/dps8_prt.h t_stat burst_printer (UNUSED int32 arg, const char * buf);
buf              1317 src/dps8/dps8_scu.c static char * pcells (uint scu_unit_idx, char * buf)
buf              1322 src/dps8/dps8_scu.c           buf [i] = '1';
buf              1324 src/dps8/dps8_scu.c           buf [i] = '0';
buf              1326 src/dps8/dps8_scu.c     buf [N_CELL_INTERRUPTS] = '\0';
buf              1327 src/dps8/dps8_scu.c     return buf;
buf              1767 src/dps8/dps8_sys.c static t_stat set_default_base_system (UNUSED int32 arg, UNUSED const char * buf)
buf              1785 src/dps8/dps8_sys.c static t_stat boot_skip (int32 UNUSED arg, UNUSED const char * buf)
buf              1798 src/dps8/dps8_sys.c static t_stat do_execute_fault (UNUSED int32 arg,  UNUSED const char * buf)
buf              1810 src/dps8/dps8_sys.c static t_stat do_restart (UNUSED int32 arg,  UNUSED const char * buf)
buf              1818 src/dps8/dps8_sys.c     if (buf)
buf              1820 src/dps8/dps8_sys.c         n = (int) strtol (buf, NULL, 0);
buf              1846 src/dps8/dps8_sys.c static t_stat set_sys_polling_interval (UNUSED int32 arg, const char * buf)
buf              1848 src/dps8/dps8_sys.c     if (! buf)
buf              1850 src/dps8/dps8_sys.c     int n = atoi (buf);
buf              1861 src/dps8/dps8_sys.c static t_stat set_sys_slow_polling_interval (UNUSED int32 arg, const char * buf)
buf              1863 src/dps8/dps8_sys.c     if (! buf)
buf              1865 src/dps8/dps8_sys.c     int n = atoi (buf);
buf              1876 src/dps8/dps8_sys.c static t_stat set_sys_poll_check_rate (UNUSED int32 arg, const char * buf)
buf              1878 src/dps8/dps8_sys.c     if (! buf)
buf              1880 src/dps8/dps8_sys.c     int n = atoi (buf);
buf              1932 src/dps8/dps8_sys.c static t_stat dps_debug_mme_cntdwn (UNUSED int32 arg, const char * buf)
buf              1934 src/dps8/dps8_sys.c     sim_deb_mme_cntdwn = strtoull (buf, NULL, 0);
buf              1939 src/dps8/dps8_sys.c static t_stat dps_debug_skip (UNUSED int32 arg, const char * buf)
buf              1942 src/dps8/dps8_sys.c     sim_deb_skip_limit = strtoull (buf, NULL, 0);
buf              1947 src/dps8/dps8_sys.c static t_stat dps_debug_start (UNUSED int32 arg, const char * buf)
buf              1949 src/dps8/dps8_sys.c     sim_deb_start = strtoull (buf, NULL, 0);
buf              1954 src/dps8/dps8_sys.c static t_stat dps_debug_stop (UNUSED int32 arg, const char * buf)
buf              1956 src/dps8/dps8_sys.c     sim_deb_stop = strtoull (buf, NULL, 0);
buf              1961 src/dps8/dps8_sys.c static t_stat dps_debug_break (UNUSED int32 arg, const char * buf)
buf              1963 src/dps8/dps8_sys.c     sim_deb_break = strtoull (buf, NULL, 0);
buf              1964 src/dps8/dps8_sys.c     if (buf[0] == '+')
buf              1970 src/dps8/dps8_sys.c static t_stat dps_debug_segno (int32 arg, const char * buf)
buf              1974 src/dps8/dps8_sys.c         unsigned long segno = strtoul (buf, NULL, 0);
buf              1994 src/dps8/dps8_sys.c static t_stat dps_debug_ringno (UNUSED int32 arg, const char * buf)
buf              1996 src/dps8/dps8_sys.c     sim_deb_ringno = strtoull (buf, NULL, 0);
buf              2001 src/dps8/dps8_sys.c static t_stat dps_debug_bar (int32 arg, UNUSED const char * buf)
buf              2238 src/dps8/dps8_sys.c static t_stat abs_addr (UNUSED int32 arg, const char * buf)
buf              2242 src/dps8/dps8_sys.c     if (sscanf (buf, "%o:%o", & segno, & offset) != 2)
buf              2347 src/dps8/dps8_sys.c     static char buf[129];
buf              2367 src/dps8/dps8_sys.c             (void)sprintf (buf, "%s:%s+0%0o", book_segments[i].segname,
buf              2374 src/dps8/dps8_sys.c             return buf;
buf              2392 src/dps8/dps8_sys.c         (void)sprintf (buf, "%s:%s+0%0o", book_segments[i].segname,
buf              2395 src/dps8/dps8_sys.c         return buf;
buf              2405 src/dps8/dps8_sys.c     (void)sprintf (buf, "%s:+0%0o", book_segments[i].segname,
buf              2407 src/dps8/dps8_sys.c     return buf;
buf              2450 src/dps8/dps8_sys.c 
buf              2451 src/dps8/dps8_sys.c 
buf              2453 src/dps8/dps8_sys.c 
buf              2461 src/dps8/dps8_sys.c 
buf              2462 src/dps8/dps8_sys.c 
buf              2464 src/dps8/dps8_sys.c 
buf              2720 src/dps8/dps8_sys.c static t_stat stack_trace (UNUSED int32 arg,  UNUSED const char * buf)
buf              2887 src/dps8/dps8_sys.c static t_stat list_source_at (UNUSED int32 arg, UNUSED const char *  buf)
buf              2892 src/dps8/dps8_sys.c     if (sscanf (buf, "%o:%o", & segno, & offset) != 2)
buf              2906 src/dps8/dps8_sys.c static t_stat load_system_book (UNUSED int32 arg, UNUSED const char * buf)
buf              2917 src/dps8/dps8_sys.c     FILE * fp = fopen (buf, "r");
buf              2920 src/dps8/dps8_sys.c         sim_msg ("error opening file %s\n", buf);
buf              3050 src/dps8/dps8_sys.c static t_stat add_system_book_entry (UNUSED int32 arg, const char * buf)
buf              3062 src/dps8/dps8_sys.c     if (sscanf (buf, "%32s %32s %o %o %o %o %o %o %o",
buf              3086 src/dps8/dps8_sys.c static t_stat lookup_system_book (UNUSED int32  arg, const char * buf)
buf              3088 src/dps8/dps8_sys.c     char w1[strlen (buf)];
buf              3089 src/dps8/dps8_sys.c     char w2[strlen (buf)];
buf              3090 src/dps8/dps8_sys.c     char w3[strlen (buf)];
buf              3093 src/dps8/dps8_sys.c     size_t colon = strcspn (buf, ":");
buf              3094 src/dps8/dps8_sys.c     if (buf[colon] != ':')
buf              3097 src/dps8/dps8_sys.c     strncpy (w1, buf, colon);
buf              3101 src/dps8/dps8_sys.c     size_t plus = strcspn (buf + colon + 1, "+");
buf              3102 src/dps8/dps8_sys.c     if (buf[colon + 1 + plus] == '+')
buf              3104 src/dps8/dps8_sys.c         strncpy (w2, buf + colon + 1, plus);
buf              3106 src/dps8/dps8_sys.c         (void)strcpy (w3, buf + colon + 1 + plus + 1);
buf              3110 src/dps8/dps8_sys.c         (void)strcpy (w2, buf + colon + 1);
buf              3307 src/dps8/dps8_sys.c static t_stat virt_address (UNUSED int32 arg, const char * buf)
buf              3310 src/dps8/dps8_sys.c     if (sscanf (buf, "%o", & address) != 1)
buf              3317 src/dps8/dps8_sys.c static t_stat set_search_path (UNUSED int32 arg, UNUSED const char * buf)
buf              3323 src/dps8/dps8_sys.c     source_search_path = strdup (buf);
buf              3348 src/dps8/dps8_sys.c t_stat brkbrk (UNUSED int32 arg, UNUSED const char *  buf)
buf              3356 src/dps8/dps8_sys.c static t_stat sbreak (int32 arg, const char * buf)
buf              3361 src/dps8/dps8_sys.c     int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where);
buf              3366 src/dps8/dps8_sys.c     char reformatted[strlen (buf) + 20];
buf              3367 src/dps8/dps8_sys.c     (void)sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where);
buf              3374 src/dps8/dps8_sys.c static t_stat dfx1entry (UNUSED int32 arg, UNUSED const char * buf)
buf              3413 src/dps8/dps8_sys.c static t_stat dfx1exit (UNUSED int32 arg, UNUSED const char * buf)
buf              3421 src/dps8/dps8_sys.c static t_stat dv2scale (UNUSED int32 arg, UNUSED const char * buf)
buf              3428 src/dps8/dps8_sys.c static t_stat dfx2entry (UNUSED int32 arg, UNUSED const char * buf)
buf              3484 src/dps8/dps8_sys.c static t_stat mdfx3entry (UNUSED int32 arg, UNUSED const char * buf)
buf              3528 src/dps8/dps8_sys.c static t_stat smfx1entry (UNUSED int32 arg, UNUSED const char * buf)
buf              3573 src/dps8/dps8_sys.c static t_stat search_memory (UNUSED int32 arg, const char * buf)
buf              3576 src/dps8/dps8_sys.c     if (sscanf (buf, "%llo", & value) != 1)
buf              3586 src/dps8/dps8_sys.c static t_stat set_dbg_cpu_mask (int32 UNUSED arg, const char * UNUSED buf)
buf              3589 src/dps8/dps8_sys.c     int cnt = sscanf (buf, "%u", & msk);
buf              3607 src/dps8/dps8_sys.c static t_stat scraper (UNUSED int32 arg, const char * buf)
buf              3609 src/dps8/dps8_sys.c     if (strcasecmp (buf, "start") == 0)
buf              3611 src/dps8/dps8_sys.c     if (strcasecmp (buf, "stop") == 0)
buf              3613 src/dps8/dps8_sys.c     if (strcasecmp (buf, "msg") == 0)
buf              3617 src/dps8/dps8_sys.c     if (strncasecmp (buf, "msg ", 4) == 0)
buf              3619 src/dps8/dps8_sys.c         const char * p = buf + 4;
buf              3689 src/dps8/dps8_sys.c static t_stat set_dbgevent (int32 arg, const char * buf)
buf              3698 src/dps8/dps8_sys.c         if (strlen (buf) > dbgevent_tagsize - 1)
buf              3700 src/dps8/dps8_sys.c             sim_printf ("command too long %lu/%u\r\n", strlen (buf), dbgevent_tagsize -1);
buf              3706 src/dps8/dps8_sys.c         if (sscanf (buf, "%o:%o", & segno, & offset) != 2)
buf              3718 src/dps8/dps8_sys.c         strncpy (dbgevents[n_dbgevents].tag, buf, dbgevent_tagsize - 1);
buf              3730 src/dps8/dps8_sys.c         if (sscanf (buf, "%o:%o", & segno, & offset) != 2)
buf              3767 src/dps8/dps8_sys.c t_stat rewind_media (int32 arg, const char * buf) {
buf              3768 src/dps8/dps8_sys.c   char name[strlen (buf)];
buf              3770 src/dps8/dps8_sys.c   int rc = sscanf (buf, "%s", name);
buf              3793 src/dps8/dps8_sys.c t_stat load_media (int32 arg, const char * buf)
buf              3798 src/dps8/dps8_sys.c     char  name[strlen (buf)];
buf              3799 src/dps8/dps8_sys.c     char fname[strlen (buf)];
buf              3800 src/dps8/dps8_sys.c     char  perm[strlen (buf)];
buf              3804 src/dps8/dps8_sys.c         int rc = sscanf (buf, "%s %s %s", name, fname, perm);
buf              3819 src/dps8/dps8_sys.c         int rc = sscanf (buf, "%s", name);
buf              3846 src/dps8/dps8_sys.c t_stat ready_media (int32 arg, const char * buf) {
buf              3847 src/dps8/dps8_sys.c   char name[strlen (buf)];
buf              3848 src/dps8/dps8_sys.c   int rc = sscanf (buf, "%s", name);
buf              3877 src/dps8/dps8_sys.c static t_stat trkw (UNUSED int32 arg, const char * buf)
buf              3883 src/dps8/dps8_sys.c static t_stat trkr (UNUSED int32 arg, const char * buf)
buf              4147 src/dps8/dps8_sys.c hash32s(const void *buf, size_t len, uint32_t h)
buf              4149 src/dps8/dps8_sys.c   const unsigned char *p = buf;
buf              4746 src/dps8/dps8_sys.c         char buf[256];
buf              4748 src/dps8/dps8_sys.c         char *d = disassemble(buf, word1);
buf                87 src/dps8/dps8_sys.h t_stat brkbrk (int32 arg, const char * buf);
buf              1648 src/dps8/dps8_utils.c     char * buf = strdup (str);
buf              1649 src/dps8/dps8_utils.c     if (!buf)
buf              1661 src/dps8/dps8_utils.c     char * p = buf;
buf              1732 src/dps8/dps8_utils.c     return buf;
buf               261 src/dps8/fnpuv.c                           uv_buf_t * buf)
buf               265 src/dps8/fnpuv.c     * buf = uv_buf_init ((char *) malloc (suggested_size), (uint) suggested_size);
buf               294 src/dps8/fnpuv.c                            unsigned char * buf)
buf               296 src/dps8/fnpuv.c     processLineInput (client, buf, nread);
buf               301 src/dps8/fnpuv.c                            unsigned char * buf)
buf               303 src/dps8/fnpuv.c     process3270Input (client, buf, nread);
buf               311 src/dps8/fnpuv.c                            unsigned char * buf)
buf               314 src/dps8/fnpuv.c     processUserInput (client, buf, nread);
buf               400 src/dps8/fnpuv.c                          const uv_buf_t* buf)
buf               421 src/dps8/fnpuv.c                 telnet_recv (p->telnetp, buf->base, (size_t) nread);
buf               426 src/dps8/fnpuv.c                 (* p->read_cb) ((uv_tcp_t *) stream, nread, (unsigned char *) buf->base);
buf               431 src/dps8/fnpuv.c 
buf               435 src/dps8/fnpuv.c 
buf               442 src/dps8/fnpuv.c     if (buf->base)
buf               443 src/dps8/fnpuv.c         free (buf->base); /* X-LINTED: FREE */
buf               552 src/dps8/fnpuv.c     uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen);
buf               555 src/dps8/fnpuv.c     req->data = buf.base;
buf               558 src/dps8/fnpuv.c     memcpy (buf.base, data, (unsigned long) datalen);
buf               559 src/dps8/fnpuv.c     int ret = uv_write (req, (uv_stream_t *) stn_client, & buf, 1, fuv_write_3270_cb);
buf               590 src/dps8/fnpuv.c     uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen), (uint) datalen);
buf               593 src/dps8/fnpuv.c     req->data = buf.base;
buf               596 src/dps8/fnpuv.c     memcpy (buf.base, data, (unsigned long) datalen);
buf               597 src/dps8/fnpuv.c     int ret = uv_write (req, (uv_stream_t *) client, & buf, 1, fuv_write_cb);
buf              1190 src/dps8/fnpuv.c static void processPacketInput (int fnpno, int lineno, unsigned char * buf, ssize_t nread)
buf              1221 src/dps8/fnpuv.c         memcpy (new + linep->inSize, buf, (unsigned long) nread);
buf              1240 src/dps8/fnpuv.c         memcpy (linep->inBuffer, buf, (unsigned long) nread);
buf                17 src/dps8/fnpuv.h typedef void (* uv_read_cb_t)  (uv_tcp_t * client, ssize_t nread, unsigned char * buf);
buf                48 src/dps8/fnpuv.h void fnpuv_unassociated_readcb (uv_tcp_t * client, ssize_t nread, unsigned char * buf);
buf                49 src/dps8/fnpuv.h void fnpuv_associated_readcb (uv_tcp_t * client, ssize_t nread, unsigned char * buf);
buf                60 src/dps8/fnpuv.h                            unsigned char * buf);
buf               358 src/dps8/hdbg.c   char buf[256];
buf               367 src/dps8/hdbg.c                    disassemble (buf, p->trace.inst));
buf               377 src/dps8/hdbg.c                    disassemble (buf, p->trace.inst));
buf               676 src/dps8/hdbg.c t_stat hdbg_cpu_mask (UNUSED int32 arg, const char * buf)
buf               678 src/dps8/hdbg.c     hdbgCPUMask = strtoul (buf, NULL, 0);
buf               684 src/dps8/hdbg.c t_stat hdbg_size (UNUSED int32 arg, const char * buf) {
buf               685 src/dps8/hdbg.c   hdbgSize = strtoul (buf, NULL, 0);
buf               692 src/dps8/hdbg.c t_stat hdbgSegmentNumber (UNUSED int32 arg, const char * buf) {
buf               693 src/dps8/hdbg.c   hdbgSegNum = strtoul (buf, NULL, 8);
buf               699 src/dps8/hdbg.c t_stat hdbgBlacklist (UNUSED int32 arg, const char * buf) {
buf               700 src/dps8/hdbg.c   char work[strlen (buf) + 1];
buf               701 src/dps8/hdbg.c   if (sscanf (buf, "%s", work) != 1)
buf               717 src/dps8/hdbg.c t_stat hdbg_print (UNUSED int32 arg, const char * buf) {
buf                22 src/dps8/hdbg.h t_stat hdbg_size (int32 arg, UNUSED const char * buf);
buf                23 src/dps8/hdbg.h t_stat hdbg_print (int32 arg, UNUSED const char * buf);
buf                24 src/dps8/hdbg.h t_stat hdbg_cpu_mask (UNUSED int32 arg, const char * buf);
buf                25 src/dps8/hdbg.h t_stat hdbgSegmentNumber (UNUSED int32 arg, const char * buf);
buf                26 src/dps8/hdbg.h t_stat hdbgBlacklist (UNUSED int32 arg, const char * buf);
buf              1121 src/dps8/panelScraper.c static void lwrite (FD fd, const void * buf, size_t count)
buf              1125 src/dps8/panelScraper.c     if(!WriteFile(fd, buf, count, &bytes_written, NULL))
buf              1132 src/dps8/panelScraper.c     write (fd, buf, count);
buf              1138 src/dps8/panelScraper.c     char buf [129];
buf              1139 src/dps8/panelScraper.c     sprintf (buf, "0%c%c%c%c%c%c%c%c\n", nibbles (bank_a));
buf              1140 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1141 src/dps8/panelScraper.c     sprintf (buf, "1%c%c%c%c%c%c%c%c\n", nibbles (bank_b));
buf              1142 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1143 src/dps8/panelScraper.c     sprintf (buf, "2%c%c%c%c%c%c%c%c\n", nibbles (bank_c));
buf              1144 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1145 src/dps8/panelScraper.c     sprintf (buf, "3%c%c%c%c%c%c%c%c\n", nibbles (bank_d));
buf              1146 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1147 src/dps8/panelScraper.c     sprintf (buf, "4%c%c%c%c%c%c%c%c\n", nibbles (bank_e));
buf              1148 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1149 src/dps8/panelScraper.c     sprintf (buf, "5%c%c%c%c%c%c%c%c\n", nibbles (bank_f));
buf              1150 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1151 src/dps8/panelScraper.c     sprintf (buf, "6%c%c%c%c%c%c%c%c\n", nibbles (bank_g));
buf              1152 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1153 src/dps8/panelScraper.c     sprintf (buf, "7%c%c%c%c%c%c%c%c\n", nibbles (bank_h));
buf              1154 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1155 src/dps8/panelScraper.c     sprintf (buf, "8%c%c%c%c%c%c%c%c\n", nibbles (bank_i));
buf              1156 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1157 src/dps8/panelScraper.c     sprintf (buf, "9%c%c%c%c%c%c%c%c\n", nibbles (bank_j));
buf              1158 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1159 src/dps8/panelScraper.c     sprintf (buf, ":%c%c%c%c%c%c%c%c\n", nibbles (bank_k));
buf              1160 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1161 src/dps8/panelScraper.c     sprintf (buf, ";%c%c%c%c%c%c%c%c\n", nibbles (bank_l));
buf              1162 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1163 src/dps8/panelScraper.c     sprintf (buf, "<%c%c%c%c%c%c%c%c\n", nibbles (bank_m));
buf              1164 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1165 src/dps8/panelScraper.c     sprintf (buf, "=%c%c%c%c%c%c%c%c\n", nibbles (bank_n));
buf              1166 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1167 src/dps8/panelScraper.c     sprintf (buf, ">%c%c%c%c%c%c%c%c\n", nibbles (bank_o));
buf              1168 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
buf              1169 src/dps8/panelScraper.c     sprintf (buf, "?%c%c%c%c%c%c%c%c\n", nibbles (bank_p));
buf              1170 src/dps8/panelScraper.c     lwrite (fd, buf, 10);
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                17 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   (void)sprintf (buf, "dps8m.%s", key);
buf                70 src/dps8/shm.c   (void)sprintf (lck, ".%s", buf);
buf                87 src/dps8/shm.c   int fd = open(buf, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
buf                91 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf                97 src/dps8/shm.c       unlink(buf);
buf               234 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               254 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               271 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               283 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               295 src/dps8/shm.c   char buf[256];
buf               301 src/dps8/shm.c   (void)sprintf (buf, "dps8m.%s", key);
buf               304 src/dps8/shm.c   (void)sprintf (lck, ".%s", buf);
buf               315 src/dps8/shm.c   int fd = open(buf, O_RDWR, 0);
buf               319 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               354 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               371 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf               411 src/dps8/shm.c                     __func__, buf, xstrerror_l(errno), errno);
buf                28 src/dps8/tracker.c int brkbrk (int32_t arg, const char *  buf);
buf                54 src/dps8/utfile.c hash32s(const void *buf, size_t len, uint32_t h)
buf                56 src/dps8/utfile.c   const unsigned char *p = buf;
buf                41 src/dps8/uvutil.c                             unsigned char * buf);
buf                48 src/dps8/uvutil.c                           uv_buf_t * buf)
buf                52 src/dps8/uvutil.c     * buf = uv_buf_init ((char *) malloc (suggested_size),
buf               108 src/dps8/uvutil.c                              const uv_buf_t* buf)
buf               122 src/dps8/uvutil.c             telnet_recv (access->telnetp, buf->base, (size_t) nread);
buf               128 src/dps8/uvutil.c                                       (unsigned char *) buf->base);
buf               131 src/dps8/uvutil.c     if (buf->base)
buf               132 src/dps8/uvutil.c         free (buf->base); /* X-LINTED: FREE */
buf               170 src/dps8/uvutil.c     uv_buf_t buf = uv_buf_init ((char *) malloc ((unsigned long) datalen),
buf               173 src/dps8/uvutil.c     req->data = buf.base;
buf               175 src/dps8/uvutil.c     memcpy (buf.base, data, (unsigned long) datalen);
buf               177 src/dps8/uvutil.c     int ret = uv_write (req, (uv_stream_t *) client, & buf, 1,
buf               216 src/dps8/uvutil.c static void accessLogon (uv_access * access, unsigned char * buf, ssize_t nread)
buf               220 src/dps8/uvutil.c         unsigned char kar = buf[nchar];
buf               359 src/dps8/uvutil.c static void accessProcessInput (uv_access * access, unsigned char * buf,
buf               380 src/dps8/uvutil.c         memcpy (new + access->inSize, buf, (unsigned long) nread);
buf               399 src/dps8/uvutil.c         memcpy (access->inBuffer, buf, (unsigned long) nread);
buf               413 src/dps8/uvutil.c                             unsigned char * buf)
buf               417 src/dps8/uvutil.c       accessProcessInput (access, buf, nread);
buf               419 src/dps8/uvutil.c       accessLogon (access, buf, nread);
buf                69 src/libsir/include/sir/filecache.h bool _sir_fcache_dispatch(const sirfcache* sfc, sir_level level, sirbuf* buf,
buf                81 src/libsir/include/sir/filesystem.h ssize_t _sir_readlink(const char* restrict path, char* restrict buf, size_t bufsize)
buf                83 src/libsir/include/sir/filesystem.h     return readlink(path, buf, bufsize); /* flawfinder: ignore */
buf               380 src/libsir/include/sir/helpers.h struct tm* _sir_localtime(const time_t* timer, struct tm* buf) {
buf               381 src/libsir/include/sir/helpers.h     if (!timer || !buf)
buf               385 src/libsir/include/sir/helpers.h     struct tm* ret = localtime_s(timer, buf);
buf               391 src/libsir/include/sir/helpers.h     errno_t ret = localtime_s(buf, timer);
buf               397 src/libsir/include/sir/helpers.h     return buf;
buf               401 src/libsir/include/sir/helpers.h     struct tm* ret = localtime_r(timer, buf);
buf               129 src/libsir/include/sir/internal.h bool _sir_dispatch(const sirinit* si, sir_level level, sirbuf* buf);
buf               132 src/libsir/include/sir/internal.h const char* _sir_format(bool styling, sir_options opts, sirbuf* buf);
buf               150 src/libsir/include/sir/internal.h bool _sir_syslog_write(sir_level level, const sirbuf* buf, const sir_syslog_dest* ctx);
buf                55 src/libsir/include/sir/plugins.h bool _sir_plugin_cache_dispatch(const sir_plugincache* spc, sir_level level, sirbuf* buf,
buf                53 src/libsir/include/sir/textstyle.h     char buf[SIR_MAXSTYLE]);
buf               300 src/libsir/src/sirerrors.c             char* buf = (char*)malloc(write2 + 1);
buf               301 src/libsir/src/sirerrors.c             _sir_eqland(success, NULL != buf);
buf               303 src/libsir/src/sirerrors.c             if (buf) {
buf               304 src/libsir/src/sirerrors.c                 write2 = vsnprintf(buf, write2 + 1, format, args2);
buf               312 src/libsir/src/sirerrors.c                     if (NULL != strcasestr(buf, "error") ||
buf               313 src/libsir/src/sirerrors.c                         NULL != strcasestr(buf, "assert")) {
buf               315 src/libsir/src/sirerrors.c                     if (NULL != StrStrIA(buf, "error") ||
buf               316 src/libsir/src/sirerrors.c                         NULL != StrStrIA(buf, "assert")) {
buf               320 src/libsir/src/sirerrors.c                     } else if (NULL != strcasestr(buf, "warn")) {
buf               322 src/libsir/src/sirerrors.c                     } else if (NULL != StrStrIA(buf, "warn")) {
buf               327 src/libsir/src/sirerrors.c                         (warn ? SIR_YELLOW("%s%s") SIR_EOL : "%s%s" SIR_EOL)), prefix, buf);
buf               331 src/libsir/src/sirerrors.c                 _sir_safefree(&buf);
buf               596 src/libsir/src/sirfilecache.c bool _sir_fcache_dispatch(const sirfcache* sfc, sir_level level, sirbuf* buf,
buf               599 src/libsir/src/sirfilecache.c                   _sir_validptr(buf) && _sir_validptr(dispatched) &&
buf               623 src/libsir/src/sirfilecache.c                 wrote = _sir_format(false, sfc->files[n]->opts, buf);
buf               562 src/libsir/src/sirinternal.c     sirbuf buf = {0};
buf               583 src/libsir/src/sirinternal.c     _sir_snprintf_trunc(buf.msec, SIR_MAXMSEC, SIR_MSECFORMAT, now_msec);
buf               623 src/libsir/src/sirinternal.c     buf.timestamp = cfg.state.timestamp;
buf               624 src/libsir/src/sirinternal.c     buf.hostname  = cfg.state.hostname;
buf               625 src/libsir/src/sirinternal.c     buf.pid       = cfg.state.pidbuf;
buf               626 src/libsir/src/sirinternal.c     buf.name      = cfg.si.name;
buf               633 src/libsir/src/sirinternal.c         (void)_sir_strncpy(buf.style, SIR_MAXSTYLE, style_str,
buf               637 src/libsir/src/sirinternal.c     buf.level = _sir_formattedlevelstr(level);
buf               640 src/libsir/src/sirinternal.c         (void)_sir_strncpy(buf.tid, SIR_MAXPID, _sir_tid,
buf               643 src/libsir/src/sirinternal.c     (void)vsnprintf(buf.message, SIR_MAXMESSAGE, format, args);
buf               645 src/libsir/src/sirinternal.c     if (!_sir_validstrnofail(buf.message))
buf               654 src/libsir/src/sirinternal.c         cfg.state.last.prefix[0] == buf.message[0]  &&
buf               655 src/libsir/src/sirinternal.c         cfg.state.last.prefix[1] == buf.message[1]) {
buf               656 src/libsir/src/sirinternal.c         hash  = FNV64_1a(buf.message);
buf               674 src/libsir/src/sirinternal.c             (void)snprintf(buf.message, SIR_MAXMESSAGE, SIR_SQUELCH_MSG_FORMAT, old_threshold);
buf               694 src/libsir/src/sirinternal.c         _cfg->state.last.prefix[0] = buf.message[0];
buf               695 src/libsir/src/sirinternal.c         _cfg->state.last.prefix[1] = buf.message[1];
buf               706 src/libsir/src/sirinternal.c     bool dispatched = _sir_dispatch(&cfg.si, level, &buf);
buf               710 src/libsir/src/sirinternal.c bool _sir_dispatch(const sirinit* si, sir_level level, sirbuf* buf) {
buf               722 src/libsir/src/sirinternal.c         const char* writef = _sir_format(styling, si->d_stdout.opts, buf);
buf               724 src/libsir/src/sirinternal.c             _sir_write_stdout(writef, buf->output_len);
buf               733 src/libsir/src/sirinternal.c         const char* writef = _sir_format(styling, si->d_stderr.opts, buf);
buf               735 src/libsir/src/sirinternal.c             _sir_write_stderr(writef, buf->output_len);
buf               745 src/libsir/src/sirinternal.c         if (_sir_syslog_write(level, buf, &si->d_syslog))
buf               754 src/libsir/src/sirinternal.c     _sir_eqland(retval, _sir_fcache_dispatch(sfc, level, buf, &fdispatched, &fwanted));
buf               764 src/libsir/src/sirinternal.c     _sir_eqland(retval, _sir_plugin_cache_dispatch(spc, level, buf, &pdispatched, &pwanted));
buf               779 src/libsir/src/sirinternal.c const char* _sir_format(bool styling, sir_options opts, sirbuf* buf) {
buf               780 src/libsir/src/sirinternal.c     if (_sir_validptr(buf)) {
buf               783 src/libsir/src/sirinternal.c         _sir_resetstr(buf->output);
buf               786 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->style, SIR_MAXSTYLE);
buf               789 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->timestamp, SIR_MAXTIME);
buf               794 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->msec, SIR_MAXMSEC);
buf               798 src/libsir/src/sirinternal.c         if (!_sir_bittest(opts, SIRO_NOHOST) && _sir_validstrnofail(buf->hostname)) {
buf               800 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, " ", 1);
buf               801 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->hostname, SIR_MAXHOST);
buf               807 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, " ", 1);
buf               808 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->level, SIR_MAXLEVEL);
buf               813 src/libsir/src/sirinternal.c         if (!_sir_bittest(opts, SIRO_NONAME) && _sir_validstrnofail(buf->name)) {
buf               815 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, " ", 1);
buf               816 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->name, SIR_MAXNAME);
buf               821 src/libsir/src/sirinternal.c         bool wantpid = !_sir_bittest(opts, SIRO_NOPID) && _sir_validstrnofail(buf->pid);
buf               822 src/libsir/src/sirinternal.c         bool wanttid = !_sir_bittest(opts, SIRO_NOTID) && _sir_validstrnofail(buf->tid);
buf               826 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_PIDPREFIX, 1);
buf               828 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, " ", 1);
buf               831 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->pid, SIR_MAXPID);
buf               835 src/libsir/src/sirinternal.c                     (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_PIDSEPARATOR, 1);
buf               836 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->tid, SIR_MAXPID);
buf               840 src/libsir/src/sirinternal.c                 (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_PIDSUFFIX, 1);
buf               846 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, ": ", 2);
buf               848 src/libsir/src/sirinternal.c         (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->message, SIR_MAXMESSAGE);
buf               851 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_ESC_RST, SIR_MAXSTYLE);
buf               854 src/libsir/src/sirinternal.c         (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_EOL, 2);
buf               856 src/libsir/src/sirinternal.c         (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, SIR_EOL, 1);
buf               859 src/libsir/src/sirinternal.c         buf->output_len = strnlen(buf->output, SIR_MAXOUTPUT);
buf               861 src/libsir/src/sirinternal.c         return buf->output;
buf               960 src/libsir/src/sirinternal.c bool _sir_syslog_write(sir_level level, const sirbuf* buf, const sir_syslog_dest* ctx) {
buf               974 src/libsir/src/sirinternal.c         os_log_debug((os_log_t)ctx->_state.logger, SIR_OS_LOG_FORMAT, buf->message);
buf               976 src/libsir/src/sirinternal.c         os_log_info((os_log_t)ctx->_state.logger, SIR_OS_LOG_FORMAT, buf->message);
buf               978 src/libsir/src/sirinternal.c         os_log_error((os_log_t)ctx->_state.logger, SIR_OS_LOG_FORMAT, buf->message);
buf               980 src/libsir/src/sirinternal.c         os_log_fault((os_log_t)ctx->_state.logger, SIR_OS_LOG_FORMAT, buf->message);
buf              1001 src/libsir/src/sirinternal.c     syslog(syslog_level, "%s", buf->message);
buf              1021 src/libsir/src/sirinternal.c     size_t msg_len = strnlen_s(buf->message, SIR_MAXMESSAGE) + 1;
buf              1023 src/libsir/src/sirinternal.c     size_t msg_len = strnlen(buf->message, SIR_MAXMESSAGE) + 1;
buf              1025 src/libsir/src/sirinternal.c     int wlen = MultiByteToWideChar(CP_UTF8, 0UL, buf->message, (int)msg_len, NULL, 0);
buf              1032 src/libsir/src/sirinternal.c         int conv = MultiByteToWideChar(CP_UTF8, 0UL, buf->message, (int)msg_len, wmsg, wlen);
buf              1049 src/libsir/src/sirinternal.c     SIR_UNUSED(buf);
buf              1055 src/libsir/src/sirinternal.c     SIR_UNUSED(buf);
buf              1399 src/libsir/src/sirinternal.c     wchar_t buf[SIR_MAXPID] = {0};
buf              1400 src/libsir/src/sirinternal.c     if (!MultiByteToWideChar(CP_UTF8, 0UL, name, (int)name_len, buf, SIR_MAXPID))
buf              1403 src/libsir/src/sirinternal.c     HRESULT hr = SetThreadDescription(GetCurrentThread(), buf);
buf               455 src/libsir/src/sirplugins.c bool _sir_plugin_cache_dispatch(const sir_plugincache* spc, sir_level level, sirbuf* buf,
buf               458 src/libsir/src/sirplugins.c     if (!_sir_validptr(spc) || !_sir_validlevel(level) || !_sir_validptr(buf) ||
buf               480 src/libsir/src/sirplugins.c             wrote = _sir_format(false, spc->plugins[n]->info.opts, buf);
buf               497 src/libsir/src/sirplugins.c     SIR_UNUSED(buf);
buf               135 src/libsir/src/sirtextstyle.c     char buf[SIR_MAXSTYLE]) {
buf               139 src/libsir/src/sirtextstyle.c     _sir_resetstr(buf);
buf               144 src/libsir/src/sirtextstyle.c             return 0 < snprintf(buf, SIR_MAXSTYLE, "%s%"PRIu8";%"PRIu8";%"PRIu8"m",
buf               149 src/libsir/src/sirtextstyle.c             return 0 < snprintf(buf, SIR_MAXSTYLE,
buf               157 src/libsir/src/sirtextstyle.c             return 0 < snprintf(buf, SIR_MAXSTYLE,
buf               244 src/libsir/src/sirtextstyle.c     char buf[SIR_MAXSTYLE]) {
buf               247 src/libsir/src/sirtextstyle.c     SIR_UNUSED(buf);
buf               127 src/simh/linehistory.c   char   *buf;           /* Edited line buffer.                              */
buf               303 src/simh/linehistory.c   char     buf[32];
buf               314 src/simh/linehistory.c   while (i < sizeof ( buf ) - 1)
buf               316 src/simh/linehistory.c     if (read(ifd, buf + i, 1) != 1)
buf               321 src/simh/linehistory.c     if (buf[i] == 'R')
buf               328 src/simh/linehistory.c   buf[i] = '\0';
buf               331 src/simh/linehistory.c   if (buf[0] != ESC || buf[1] != '[')
buf               336 src/simh/linehistory.c   if (sscanf(buf + 2, "%d;%d", &rows, &cols) != 2)
buf               452 src/simh/linehistory.c   completionCallback(ls->buf, &lc);
buf               469 src/simh/linehistory.c         ls->buf = lc.cvec[i];
buf               473 src/simh/linehistory.c         ls->buf = saved.buf;
buf               503 src/simh/linehistory.c           nwritten = snprintf(ls->buf, ls->buflen, "%s", lc.cvec[i]);
buf               648 src/simh/linehistory.c     char *hint = hintsCallback(l->buf, &color, &bold);
buf               703 src/simh/linehistory.c   char   *buf = l->buf;
buf               710 src/simh/linehistory.c     buf++;
buf               736 src/simh/linehistory.c   abAppend(&ab, buf, len);
buf               821 src/simh/linehistory.c   abAppend(&ab, l->buf, l->len);
buf               911 src/simh/linehistory.c       l->buf[l->pos] = c;
buf               914 src/simh/linehistory.c       l->buf[l->len] = '\0';
buf               935 src/simh/linehistory.c       memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos);
buf               936 src/simh/linehistory.c       l->buf[l->pos] = c;
buf               939 src/simh/linehistory.c       l->buf[l->len] = '\0';
buf               978 src/simh/linehistory.c   if (l->buf[l->pos] == ' ')
buf               980 src/simh/linehistory.c     while (l->pos < l->len && l->buf[l->pos] == ' ')
buf               986 src/simh/linehistory.c   while (l->pos < l->len && l->buf[l->pos] != ' ')
buf              1002 src/simh/linehistory.c   if (l->buf[l->pos - 1] == ' ')
buf              1007 src/simh/linehistory.c   if (l->buf[l->pos] == ' ')
buf              1009 src/simh/linehistory.c     while (l->pos > 0 && l->buf[l->pos] == ' ')
buf              1015 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              1113 src/simh/linehistory.c     history[history_len - 1 - l->history_index] = strdup(l->buf);
buf              1139 src/simh/linehistory.c         if (strncmp(l->buf, history[cnt], l->pos) == 0)
buf              1141 src/simh/linehistory.c           strncpy(l->buf, history[cnt], l->buflen);
buf              1142 src/simh/linehistory.c           l->buf[l->buflen - 1] = '\0';
buf              1144 src/simh/linehistory.c           l->len = strlen(l->buf);
buf              1167 src/simh/linehistory.c         if (strncmp(l->buf, history[cnt], l->pos) == 0)
buf              1169 src/simh/linehistory.c           strncpy(l->buf, history[cnt], l->buflen);
buf              1170 src/simh/linehistory.c           l->buf[l->buflen - 1] = '\0';
buf              1172 src/simh/linehistory.c           l->len = strlen(l->buf);
buf              1198 src/simh/linehistory.c     memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1);
buf              1200 src/simh/linehistory.c     l->buf[l->len] = '\0';
buf              1211 src/simh/linehistory.c     memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos);
buf              1214 src/simh/linehistory.c     l->buf[l->len] = '\0';
buf              1230 src/simh/linehistory.c   while (l->pos > 0 && l->buf[l->pos - 1] == ' ')
buf              1234 src/simh/linehistory.c   while (l->pos > 0 && l->buf[l->pos - 1] != ' ')
buf              1239 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1);
buf              1250 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] == ' ')
buf              1254 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] != ' ')
buf              1258 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end);
buf              1275 src/simh/linehistory.c linenoiseEdit(int stdin_fd, int stdout_fd, char *buf, size_t buflen,
buf              1287 src/simh/linehistory.c   l.buf           = buf;
buf              1298 src/simh/linehistory.c   l.buf[0] = '\0';
buf              1518 src/simh/linehistory.c       buf[0] = '\0';
buf              1524 src/simh/linehistory.c       buf[l.pos] = '\0';
buf              1559 src/simh/linehistory.c linenoiseRaw(char *buf, size_t buflen, const char *prompt)
buf              1574 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               274 src/simh/scp.c void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr) = NULL;
buf               326 src/simh/scp.c CONST char *sim_brk_getact (char *buf, int32 size);
buf              1400 src/simh/scp.c   static __thread char buf[XSTR_EMAXLEN];
buf              1405 src/simh/scp.c   if (strerror_s(buf, sizeof(buf), errnum) == 0) ret = buf; /*LINTOK: xstrerror_l*/
buf              1407 src/simh/scp.c   if (strerror_r(errnum, buf, sizeof(buf)) == 0) ret = buf; /*LINTOK: xstrerror_l*/
buf              1431 src/simh/scp.c       (void)snprintf(buf, sizeof(buf), "Unknown error %d", errnum);
buf              1432 src/simh/scp.c       ret = buf;
buf              2389 src/simh/scp.c char buf[CBUFSIZE], header[CBUFSIZE];
buf              2405 src/simh/scp.c             (void)sprintf (buf, "SET %s %s%s", sim_dname (dptr),
buf              2411 src/simh/scp.c             if ((strlen (buf) < 30) || (NULL == mptr->help))
buf              2412 src/simh/scp.c                 (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
buf              2414 src/simh/scp.c                 (void)fprintf (st, "%s\n%-30s\t%s\n", buf, "", mptr->help);
buf              2420 src/simh/scp.c     (void)sprintf (buf, "SET %s ENABLE", sim_dname (dptr));
buf              2421 src/simh/scp.c     (void)fprintf (st,  "%-30s\tEnables device %s\n", buf, sim_dname (dptr));
buf              2422 src/simh/scp.c     (void)sprintf (buf, "SET %s DISABLE", sim_dname (dptr));
buf              2423 src/simh/scp.c     (void)fprintf (st,  "%-30s\tDisables device %s\n", buf, sim_dname (dptr));
buf              2427 src/simh/scp.c     (void)sprintf (buf, "SET %s DEBUG", sim_dname (dptr));
buf              2428 src/simh/scp.c     (void)fprintf (st,  "%-30s\tEnables debugging for device %s\n", buf, sim_dname (dptr));
buf              2429 src/simh/scp.c     (void)sprintf (buf, "SET %s NODEBUG", sim_dname (dptr));
buf              2430 src/simh/scp.c     (void)fprintf (st,  "%-30s\tDisables debugging for device %s\n", buf, sim_dname (dptr));
buf              2433 src/simh/scp.c         strcpy (buf, "");
buf              2440 src/simh/scp.c         (void)fprintf (st,  "%-30s\tEnables specific debugging for device %s\n", buf, sim_dname (dptr));
buf              2445 src/simh/scp.c         (void)fprintf (st,  "%-30s\tDisables specific debugging for device %s\n", buf, sim_dname (dptr));
buf              2456 src/simh/scp.c         (void)sprintf (buf, "SET %sn ENABLE", sim_dname (dptr));
buf              2457 src/simh/scp.c         (void)fprintf (st,  "%-30s\tEnables unit %sn\n", buf, sim_dname (dptr));
buf              2458 src/simh/scp.c         (void)sprintf (buf, "SET %sn DISABLE", sim_dname (dptr));
buf              2459 src/simh/scp.c         (void)fprintf (st,  "%-30s\tDisables unit %sn\n", buf, sim_dname (dptr));
buf              2468 src/simh/scp.c             (void)sprintf (buf, "SET %s%s %s%s", sim_dname (dptr),
buf              2474 src/simh/scp.c             (void)fprintf (st, "%-30s\t%s\n", buf,
buf              2493 src/simh/scp.c char buf[CBUFSIZE], header[CBUFSIZE];
buf              2510 src/simh/scp.c         (void)sprintf (buf, "SHOW %s %s%s", sim_dname (dptr),
buf              2512 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
buf              2517 src/simh/scp.c     (void)sprintf (buf, "SHOW %s DEBUG", sim_dname (dptr));
buf              2518 src/simh/scp.c     (void)fprintf (st, "%-30s\tDisplays debugging status for device %s\n", buf, sim_dname (dptr));
buf              2527 src/simh/scp.c         (void)sprintf (buf, "SHOW %s%s %s%s", sim_dname (dptr),
buf              2530 src/simh/scp.c         (void)fprintf (st, "%-30s\t%s\n", buf, mptr->help ? mptr->help : "");
buf              7765 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, size_t size)
buf              7769 src/simh/scp.c string = sim_encode_quoted_string (buf, size);
buf              8193 src/simh/scp.c const char *put_switches (char *buf, size_t bufsize, uint32 sw)
buf              8195 src/simh/scp.c char *optr = buf;
buf              8198 src/simh/scp.c (void)memset (buf, 0, bufsize);
buf              8200 src/simh/scp.c     return buf;
buf              8205 src/simh/scp.c         if ((size_t)(optr - buf) < bufsize)
buf              8207 src/simh/scp.c return buf;
buf              8580 src/simh/scp.c static char buf[60];
buf              8617 src/simh/scp.c     (void)sprintf (buf, "%s%.0f day%s %02.0f:%02.0f:%02.0f%s hour%s",
buf              8622 src/simh/scp.c         (void)sprintf (buf, "%s%.0f:%02.0f:%02.0f%s hour",
buf              8626 src/simh/scp.c             (void)sprintf (buf, "%s%.0f:%02.0f%s minute",
buf              8630 src/simh/scp.c                 (void)sprintf (buf, "%s%.0f%s second",
buf              8635 src/simh/scp.c                         (void)sprintf (buf, "%s%.0f.%s msec",
buf              8638 src/simh/scp.c                         (void)sprintf (buf, "%s%.0f msec",
buf              8642 src/simh/scp.c                     (void)sprintf (buf, "%s%.0f usec",
buf              8644 src/simh/scp.c if (0 != strncmp ("1 ", buf, 2))
buf              8645 src/simh/scp.c     strcpy (&buf[strlen (buf)], "s");
buf              8646 src/simh/scp.c return buf;
buf              9380 src/simh/scp.c CONST char *sim_brk_getact (char *buf, int32 size)
buf              9394 src/simh/scp.c     memcpy (buf, sim_brk_act[sim_do_depth], lnt + 1);   /* copy with ; */
buf              9395 src/simh/scp.c     buf[lnt] = 0;                                       /* erase ; */
buf              9399 src/simh/scp.c     strncpy (buf, sim_brk_act[sim_do_depth], size);     /* copy action */
buf              9402 src/simh/scp.c return buf;
buf              9475 src/simh/scp.c char buf[32];
buf              9486 src/simh/scp.c     while (2 == strlen (put_switches (buf, sizeof(buf), brk->btyp))) {
buf              9496 src/simh/scp.c                    put_switches (buf, sizeof(buf), sim_brk_match_type), addr);
buf              9654 src/simh/scp.c FREE (exp->buf);
buf              9655 src/simh/scp.c exp->buf = NULL;
buf              9765 src/simh/scp.c         exp->buf = (uint8 *)realloc (exp->buf, compare_size + 2); /* Extra byte to null terminate regex compares */
buf              9801 src/simh/scp.c     char *bstr = sim_encode_quoted_string (exp->buf, exp->buf_ins);
buf              9857 src/simh/scp.c exp->buf[exp->buf_ins++] = data;                        /* Save new data */
buf              9858 src/simh/scp.c exp->buf[exp->buf_ins] = '\0';                          /* Nul terminate for RegEx match */
buf              9874 src/simh/scp.c                     char *estr = sim_encode_quoted_string (exp->buf, exp->buf_ins);
buf              9883 src/simh/scp.c                 if (memcmp (exp->buf, &ep->match[ep->size-exp->buf_ins], exp->buf_ins))
buf              9887 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              9897 src/simh/scp.c             if (memcmp (&exp->buf[exp->buf_size-(ep->size-exp->buf_ins)], ep->match, ep->size-exp->buf_ins))
buf              9903 src/simh/scp.c                 char *estr = sim_encode_quoted_string (&exp->buf[exp->buf_ins-ep->size], ep->size);
buf              9913 src/simh/scp.c             if (memcmp (&exp->buf[exp->buf_ins-ep->size], ep->match, ep->size))
buf              10253 src/simh/scp.c char *buf = stackbuf;
buf              10259 src/simh/scp.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
buf              10265 src/simh/scp.c         if (buf != stackbuf)
buf              10266 src/simh/scp.c             FREE (buf);
buf              10270 src/simh/scp.c         buf = (char *) malloc (bufsize);
buf              10271 src/simh/scp.c         if (buf == NULL)                            /* out of memory */
buf              10273 src/simh/scp.c         buf[bufsize-1] = '\0';
buf              10280 src/simh/scp.c     char *c, *remnant = buf;
buf              10282 src/simh/scp.c         if ((c != buf) && (*(c - 1) != '\r'))
buf              10291 src/simh/scp.c     (void)printf("%s", buf);
buf              10293 src/simh/scp.c     (void)fprintf (sim_log, "%s", buf);
buf              10295 src/simh/scp.c     (void)fprintf (sim_deb, "%s", buf);
buf              10297 src/simh/scp.c if (buf != stackbuf)
buf              10298 src/simh/scp.c     FREE (buf);
buf              10306 src/simh/scp.c char *buf = stackbuf;
buf              10313 src/simh/scp.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
buf              10319 src/simh/scp.c         if (buf != stackbuf)
buf              10320 src/simh/scp.c             FREE (buf);
buf              10324 src/simh/scp.c         buf = (char *) malloc (bufsize);
buf              10325 src/simh/scp.c         if (buf == NULL)                            /* out of memory */
buf              10327 src/simh/scp.c         buf[bufsize-1] = '\0';
buf              10342 src/simh/scp.c     char *c, *remnant = buf;
buf              10344 src/simh/scp.c         if ((c != buf) && (*(c - 1) != '\r'))
buf              10354 src/simh/scp.c         (void)printf("%s", buf);
buf              10357 src/simh/scp.c     (void)fprintf (sim_log, "%s", buf);
buf              10359 src/simh/scp.c     (void)fprintf (sim_deb, "%s", buf);
buf              10361 src/simh/scp.c if (buf != stackbuf)
buf              10362 src/simh/scp.c     FREE (buf);
buf              10380 src/simh/scp.c     char *buf = stackbuf;
buf              10385 src/simh/scp.c     buf[bufsize-1] = '\0';
buf              10388 src/simh/scp.c         len = vsnprintf (buf, bufsize-1, fmt, arglist);
buf              10394 src/simh/scp.c             if (buf != stackbuf)
buf              10395 src/simh/scp.c                 FREE (buf);
buf              10399 src/simh/scp.c             buf = (char *) malloc (bufsize);
buf              10400 src/simh/scp.c             if (buf == NULL)                            /* out of memory */
buf              10402 src/simh/scp.c             buf[bufsize-1] = '\0';
buf              10411 src/simh/scp.c         if ('\n' == buf[i]) {
buf              10415 src/simh/scp.c                         (void)fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]);
buf              10417 src/simh/scp.c                         (void)fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]);
buf              10426 src/simh/scp.c             (void)fprintf (sim_deb, "%.*s", i-j, &buf[j]);
buf              10428 src/simh/scp.c             (void)fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]);
buf              10433 src/simh/scp.c     debug_unterm = len ? (((buf[len-1]=='\n')) ? 0 : 1) : debug_unterm;
buf              10434 src/simh/scp.c     if (buf != stackbuf)
buf              10435 src/simh/scp.c         FREE (buf);
buf              10714 src/simh/scp.c                                 char buf[129];
buf              10716 src/simh/scp.c                                 (void)sprintf (buf, "%s%u", dptr->name, (int)n);
buf              10717 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, size_t size);
buf               157 src/simh/scp.h t_stat sprint_val (char *buf, t_value val, uint32 rdx, size_t wid, uint32 fmt);
buf               283 src/simh/scp.h extern void (*sim_vm_sprint_addr) (char *buf, DEVICE *dptr, t_addr addr);
buf              2191 src/simh/sim_console.c unsigned char buf[1];
buf              2193 src/simh/sim_console.c status = read (0, buf, 1);
buf              2195 src/simh/sim_console.c if (sim_brk_char && (buf[0] == sim_brk_char))
buf              2197 src/simh/sim_console.c if (sim_int_char && (buf[0] == sim_int_char))
buf              2199 src/simh/sim_console.c return (buf[0] | SCPE_KFLAG);
buf              2310 src/simh/sim_console.c unsigned char buf[1];
buf              2312 src/simh/sim_console.c status = read (0, buf, 1);
buf              2314 src/simh/sim_console.c if (sim_brk_char && (buf[0] == sim_brk_char))
buf              2316 src/simh/sim_console.c if (sim_int_char && (buf[0] == sim_int_char))
buf              2318 src/simh/sim_console.c return (buf[0] | SCPE_KFLAG);
buf               436 src/simh/sim_defs.h     int32               buf;                            /* buffer */
buf               647 src/simh/sim_defs.h     uint8               *buf;                            /* buffer of output data which has produced */
buf               240 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               256 src/simh/sim_disk.c     i = sim_fread (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref);
buf               258 src/simh/sim_disk.c         (void)memset (&buf[i*ctx->xfer_element_size], 0, tbc-(i*ctx->xfer_element_size));
buf               266 src/simh/sim_disk.c t_stat sim_disk_rdsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectsread, t_seccnt sects)
buf               277 src/simh/sim_disk.c     (void)memset (buf, '\0', ctx->sector_size);        /* are bad block management efforts - zero buffer */
buf               288 src/simh/sim_disk.c             return _sim_disk_rdsect (uptr, lba, buf, sectsread, sects);
buf               321 src/simh/sim_disk.c         memcpy (buf, tbuf + ((lba - tlba) * ctx->sector_size), sects * ctx->sector_size);
buf               333 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               336 src/simh/sim_disk.c     r = sim_disk_rdsect (uptr, lba, buf, sectsread, sects);
buf               342 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               358 src/simh/sim_disk.c     i = sim_fwrite (buf, ctx->xfer_element_size, tbc/ctx->xfer_element_size, uptr->fileref);
buf               366 src/simh/sim_disk.c t_stat sim_disk_wrsect (UNIT *uptr, t_lba lba, uint8 *buf, t_seccnt *sectswritten, t_seccnt sects)
buf               387 src/simh/sim_disk.c             if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) {
buf               402 src/simh/sim_disk.c             sim_disk_data_trace (uptr, buf+sect*ctx->sector_size, lba+sect, ctx->sector_size,    "Found", TRUE, 1);
buf               409 src/simh/sim_disk.c     return _sim_disk_wrsect (uptr, lba, buf, sectswritten, sects);
buf               423 src/simh/sim_disk.c         sim_buf_copy_swapped (tbuf, buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size);
buf               458 src/simh/sim_disk.c                           buf, ctx->xfer_element_size, (sects * ctx->sector_size) / ctx->xfer_element_size);
buf               474 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               477 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               363 src/simh/sim_sock.c         char buf[16];
buf               365 src/simh/sim_sock.c         (void)sprintf(buf, "%d", ntohs(sin->sin_port));
buf               366 src/simh/sim_sock.c         if (servlen <= strlen(buf))
buf               368 src/simh/sim_sock.c         strcpy(serv, buf);
buf              1143 src/simh/sim_sock.c int sim_read_sock (SOCKET sock, char *buf, int nbytes)
buf              1147 src/simh/sim_sock.c rbytes = recv (sock, buf, nbytes, 0);
buf               111 src/simh/sim_sock.h int sim_read_sock (SOCKET sock, char *buf, int nbytes);
buf               787 src/simh/sim_tape.c t_stat sim_tape_rdrecf (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max)
buf               798 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)max);
buf               809 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */
buf               816 src/simh/sim_tape.c     buf[i] = 0;
buf               818 src/simh/sim_tape.c     buf[0] = buf[0] & P7B_DPAR;
buf               819 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, rbc, "Record Read", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
buf               823 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               826 src/simh/sim_tape.c     r = sim_tape_rdrecf (uptr, buf, bc, max);
buf               852 src/simh/sim_tape.c t_stat sim_tape_rdrecr (UNIT *uptr, uint8 *buf, t_mtrlnt *bc, t_mtrlnt max)
buf               862 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)max);
buf               869 src/simh/sim_tape.c i = (t_mtrlnt)sim_fread (buf, sizeof (uint8), rbc, uptr->fileref);/* read record */
buf               873 src/simh/sim_tape.c     buf[i] = 0;
buf               875 src/simh/sim_tape.c     buf[0] = buf[0] & P7B_DPAR;
buf               876 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               880 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               883 src/simh/sim_tape.c     r = sim_tape_rdrecr (uptr, buf, bc, max);
buf               904 src/simh/sim_tape.c t_stat sim_tape_wrrecf (UNIT *uptr, uint8 *buf, t_mtrlnt bc)
buf               913 src/simh/sim_tape.c            (int)(uptr-ctx->dptr->units), buf, (long long)bc);
buf               915 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, bc, "Record Write", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
buf               932 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref);
buf               942 src/simh/sim_tape.c         buf[0] = buf[0] | P7B_SOR;                      /* mark start of rec */
buf               943 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), sbc, uptr->fileref);
buf               944 src/simh/sim_tape.c         (void)sim_fwrite (buf, sizeof (uint8), 1, uptr->fileref); /* delimit rec */
buf               952 src/simh/sim_tape.c sim_tape_data_trace(uptr, buf, sbc, "Record Written", ctx->dptr->dctrl & MTSE_DBG_DAT, MTSE_DBG_STR);
buf               956 src/simh/sim_tape.c t_stat sim_tape_wrrecf_a (UNIT *uptr, uint8 *buf, t_mtrlnt bc, TAPE_PCALLBACK callback)
buf               959 src/simh/sim_tape.c     r = sim_tape_wrrecf (uptr, buf, bc);
buf               998 src/simh/sim_tape.c     uint8 buf = P7B_EOF;                                /* eof mark */
buf               999 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               404 src/simh/sim_tmxr.c static int32 loop_write_ex (TMLN *lp, char *buf, int32 length, t_bool prefix_datagram)
buf               428 src/simh/sim_tmxr.c     memcpy (&lp->lpb[lp->lpbpi], buf, chunksize);
buf               429 src/simh/sim_tmxr.c     buf += chunksize;
buf               438 src/simh/sim_tmxr.c static int32 loop_write (TMLN *lp, char *buf, int32 length)
buf               440 src/simh/sim_tmxr.c return loop_write_ex (lp, buf, length, TRUE);
buf               443 src/simh/sim_tmxr.c static int32 loop_read_ex (TMLN *lp, char *buf, int32 bufsize)
buf               461 src/simh/sim_tmxr.c     memcpy (buf, &lp->lpb[lp->lpbpr], chunksize);
buf               462 src/simh/sim_tmxr.c     buf += chunksize;
buf               471 src/simh/sim_tmxr.c static int32 loop_read (TMLN *lp, char *buf, int32 bufsize)
buf               483 src/simh/sim_tmxr.c return loop_read_ex (lp, buf, bufsize);
buf               766 src/simh/sim_tmxr.c hash32s(const void *buf, size_t len, uint32_t h)
buf               768 src/simh/sim_tmxr.c   const unsigned char *p = buf;
buf              1895 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size)
buf              1897 src/simh/sim_tmxr.c return tmxr_put_packet_ln_ex (lp, buf, size, 0);
buf              1900 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln_ex (TMLN *lp, const uint8 *buf, size_t size, uint8 frame_byte)
buf              1932 src/simh/sim_tmxr.c memcpy (lp->txpb + pktlen_size + fc_size, buf, size);
buf              3479 src/simh/sim_tmxr.c char *buf = stackbuf;
buf              3482 src/simh/sim_tmxr.c buf[bufsize-1] = '\0';
buf              3484 src/simh/sim_tmxr.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
buf              3489 src/simh/sim_tmxr.c         if (buf != stackbuf)
buf              3490 src/simh/sim_tmxr.c             FREE (buf);
buf              3494 src/simh/sim_tmxr.c         buf = (char *) malloc (bufsize);
buf              3495 src/simh/sim_tmxr.c         if (!buf)                            /* out of memory */
buf              3507 src/simh/sim_tmxr.c         buf[bufsize-1] = '\0';
buf              3516 src/simh/sim_tmxr.c     if (('\n' == buf[i]) && ((i == 0) || ('\r' != buf[i-1]))) {
buf              3521 src/simh/sim_tmxr.c     while (SCPE_STALL == tmxr_putc_ln (lp, buf[i]))
buf              3525 src/simh/sim_tmxr.c if (buf != stackbuf)
buf              3526 src/simh/sim_tmxr.c     FREE (buf);
buf              3588 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               277 src/simh/sim_tmxr.h # define tmxr_debug(dbits, lp, msg, buf, bufsize) \
buf               279 src/simh/sim_tmxr.h         _tmxr_debug (dbits, lp, msg, buf, bufsize); } while (0)