buffer 1409 src/dps8/dps8_cpu.c char buffer [81] = ""; buffer 1410 src/dps8/dps8_cpu.c char * checksn = fgets (buffer, sizeof (buffer), fp); buffer 1413 src/dps8/dps8_cpu.c if (sscanf (buffer, "sn: %u", & cpu.switches.serno) == 1) buffer 1421 src/dps8/dps8_cpu.c else if (sscanf (buffer, "sn%u: %u", & cpun, & sn) == 2) buffer 544 src/dps8/dps8_crdpun.c static char get_lace_char(word36* buffer, uint char_pos) buffer 563 src/dps8/dps8_crdpun.c col_buffer[4 - col_offset] = (buffer[word_offset] >> (nibble_offset * 12)) & 0xFFF; buffer 588 src/dps8/dps8_crdpun.c static void scan_card_for_glyphs(pun_state_t * state, word36* buffer) buffer 592 src/dps8/dps8_crdpun.c char c = get_lace_char(buffer, c_pos); buffer 696 src/dps8/dps8_crdpun.c static void log_card(word12 tally, word36 * buffer) buffer 702 src/dps8/dps8_crdpun.c sim_printf (" %012llo\n", (unsigned long long)buffer [i]); buffer 719 src/dps8/dps8_crdpun.c word1 bit = getbits36_1 (buffer [wordno], fieldno * 12 + row); buffer 737 src/dps8/dps8_crdpun.c word1 bit = getbits36_1 (buffer [wordno], fieldno * 12 + row); buffer 1165 src/dps8/dps8_crdpun.c word36 buffer [p -> DDCW_TALLY]; buffer 1167 src/dps8/dps8_crdpun.c iom_indirect_data_service (iomUnitIdx, chan, buffer, & wordsProcessed, false); buffer 1172 src/dps8/dps8_crdpun.c log_card(p -> DDCW_TALLY, buffer); buffer 1175 src/dps8/dps8_crdpun.c parse_card( &pun_state [pun_unit_num], p -> DDCW_TALLY, buffer); buffer 420 src/dps8/dps8_crdrdr.c static int getCardLine (int fd, unsigned char * buffer) buffer 423 src/dps8/dps8_crdrdr.c buffer [n] = 0; buffer 432 src/dps8/dps8_crdrdr.c buffer [n ++] = ch; buffer 433 src/dps8/dps8_crdrdr.c buffer [n] = 0; buffer 441 src/dps8/dps8_crdrdr.c static int getCardData (int fd, char * buffer) buffer 443 src/dps8/dps8_crdrdr.c memset (buffer, 0, 80); buffer 444 src/dps8/dps8_crdrdr.c ssize_t rc = read (fd, buffer, 80); buffer 451 src/dps8/dps8_crdrdr.c static int getRawCardData (int fd, uint8_t * buffer) buffer 453 src/dps8/dps8_crdrdr.c memset (buffer, 0, rawCardImageBytes + 2); buffer 454 src/dps8/dps8_crdrdr.c ssize_t rc = read (fd, buffer, rawCardImageBytes); buffer 682 src/dps8/dps8_crdrdr.c word36 buffer [27]; buffer 689 src/dps8/dps8_crdrdr.c buffer [i] = extr36 ((uint8 *) rawCardImage, i); buffer 701 src/dps8/dps8_crdrdr.c buffer 728 src/dps8/dps8_crdrdr.c memset (buffer, 0, sizeof (buffer)); buffer 732 src/dps8/dps8_crdrdr.c putbits36_12 (& buffer [wordno], fieldno * 12, (word12) hbuf [col]); buffer 740 src/dps8/dps8_crdrdr.c buffer 741 src/dps8/dps8_crdrdr.c buffer 753 src/dps8/dps8_crdrdr.c iom_indirect_data_service (iomUnitIdx, chan, buffer, & tally, true); buffer 924 src/dps8/dps8_disk.c word36 buffer[tally]; buffer 930 src/dps8/dps8_disk.c buffer[i] = w; buffer 932 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, buffer, buffer 993 src/dps8/dps8_disk.c word36 buffer[tally]; buffer 994 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, buffer, buffer 1000 src/dps8/dps8_disk.c buffer[i]); buffer 1045 src/dps8/dps8_disk.c word36 buffer[tally]; buffer 1046 src/dps8/dps8_disk.c memset (buffer, 0, sizeof (buffer)); buffer 1048 src/dps8/dps8_disk.c buffer[0] = nCmds; buffer 1051 src/dps8/dps8_disk.c iom_indirect_data_service (iomUnitIdx, chan, buffer, buffer 1151 src/dps8/dps8_disk.c word36 buffer[tally]; buffer 1152 src/dps8/dps8_disk.c memset (buffer, 0, sizeof (buffer)); buffer 1153 src/dps8/dps8_disk.c putbits36_9 (& buffer[0], 0, 0x12); buffer 1154 src/dps8/dps8_disk.c putbits36_9 (& buffer[0], 9, 1); // h/w revision buffer 1155 src/dps8/dps8_disk.c putbits36_9 (& buffer[0], 18, '1'); // fw maj revision buffer 1156 src/dps8/dps8_disk.c putbits36_9 (& buffer[0], 27, 'a'); // fw sub revision buffer 1166 src/dps8/dps8_disk.c putbits36_9 (& buffer[1+dev_num], 0, dau_type); // dev.type buffer 1167 src/dps8/dps8_disk.c putbits36_9 (& buffer[1+dev_num], 9, dev_num); // dev.number buffer 1168 src/dps8/dps8_disk.c putbits36_9 (& buffer[1+dev_num], 18, 0); // dev.summary_status // XXX buffer 1169 src/dps8/dps8_disk.c putbits36_9 (& buffer[1+dev_num], 27, dev_num); // dev.port_number buffer 1173 src/dps8/dps8_disk.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 520 src/dps8/dps8_fnp2.c buffer 521 src/dps8/dps8_fnp2.c buffer 523 src/dps8/dps8_fnp2.c buffer 533 src/dps8/dps8_fnp2.c buffer 534 src/dps8/dps8_fnp2.c buffer 536 src/dps8/dps8_fnp2.c buffer 546 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 0, linep->buffer [i]); buffer 548 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 9, linep->buffer [i + 1]); buffer 550 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 18, linep->buffer [i + 2]); buffer 552 src/dps8/dps8_fnp2.c l_putbits36_9 (& v, 27, linep->buffer [i + 3]); buffer 867 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos ++] = kar; buffer 868 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; buffer 1059 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; buffer 1062 src/dps8/dps8_fnp2.c while ((size_t) linep->nPos < sizeof (linep->buffer) && linep->nPos < frsz) buffer 1063 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = 0; buffer 1081 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; buffer 1082 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; buffer 1110 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; // remove char from buffer buffer 1123 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; buffer 1131 src/dps8/dps8_fnp2.c fnpuv_start_writestr (linep->line_client, linep->buffer); buffer 1142 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = kar; buffer 1143 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; buffer 1153 src/dps8/dps8_fnp2.c (size_t) linep->nPos >= sizeof (linep->buffer) || buffer 1236 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = c; buffer 1237 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos] = 0; buffer 1319 src/dps8/dps8_fnp2.c if ((unsigned long) linep->nPos + len > sizeof (linep->buffer)) buffer 1323 src/dps8/dps8_fnp2.c memcpy (linep->buffer + linep->nPos, msg, len); buffer 1328 src/dps8/dps8_fnp2.c buffer 1330 src/dps8/dps8_fnp2.c buffer 1379 src/dps8/dps8_fnp2.c unsigned char * bufp = linep->buffer; buffer 1422 src/dps8/dps8_fnp2.c uint sz = (uint) (bufp - linep->buffer); buffer 1665 src/dps8/dps8_fnp2.c buffer 1666 src/dps8/dps8_fnp2.c buffer 1668 src/dps8/dps8_fnp2.c buffer 2792 src/dps8/dps8_fnp2.c if (p->nPos >= sizeof(p->buffer) - 1) buffer 2804 src/dps8/dps8_fnp2.c p->buffer[p->nPos] = 0; // remove char from buffer buffer 2813 src/dps8/dps8_fnp2.c p->buffer[p->nPos] = 0; buffer 2821 src/dps8/dps8_fnp2.c fnpuv_start_writestr (client, (unsigned char *) p->buffer); buffer 2835 src/dps8/dps8_fnp2.c p->buffer[p->nPos++] = (char) kar; buffer 2848 src/dps8/dps8_fnp2.c p->buffer[p->nPos] = 0; // remove char from buffer buffer 2857 src/dps8/dps8_fnp2.c p->buffer[p->nPos] = 0; buffer 2865 src/dps8/dps8_fnp2.c fnpuv_start_writestr (client, (unsigned char *) p->buffer); buffer 2878 src/dps8/dps8_fnp2.c memcpy (cpy, p->buffer, p->nPos); buffer 143 src/dps8/dps8_fnp2.h unsigned char buffer[1024]; // line buffer for initial device selection and line discipline buffer 1273 src/dps8/dps8_fnp2_iomcmd.c unsigned char * data_p = linep -> buffer; buffer 1289 src/dps8/dps8_fnp2_iomcmd.c if (isgraph (linep->buffer [i])) buffer 1290 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("%c", linep->buffer [i]); buffer 1292 src/dps8/dps8_fnp2_iomcmd.c sim_printf ("\\%03o", linep->buffer [i]); buffer 487 src/dps8/dps8_mgp.c word36 buffer[4096]; /* tally size is max 4096 bytes */ buffer 490 src/dps8/dps8_mgp.c iom_unit_idx, chan, buffer, &words_processed, false); buffer 504 src/dps8/dps8_mgp.c if (( v = poll_from_cbridge(buffer, words_processed, 0)) < 0) buffer 519 src/dps8/dps8_mgp.c dumppkt("Read", buffer, words_processed); buffer 524 src/dps8/dps8_mgp.c iom_unit_idx, chan, buffer, &words_processed, true); buffer 550 src/dps8/dps8_mgp.c word36 buffer[4096]; /* tally size is max 4096 bytes */ buffer 553 src/dps8/dps8_mgp.c iom_unit_idx, chan, buffer, &words_processed, false); buffer 557 src/dps8/dps8_mgp.c dumppkt("Write", buffer, words_processed); buffer 559 src/dps8/dps8_mgp.c int v = handle_mgp_packet(buffer, words_processed); buffer 578 src/dps8/dps8_mgp.c iom_unit_idx, chan, buffer, &words_processed, true); buffer 674 src/dps8/dps8_mgp.c word36 buffer[128]; buffer 676 src/dps8/dps8_mgp.c memset(buffer, 0, sizeof(buffer)); buffer 678 src/dps8/dps8_mgp.c int v = poll_from_cbridge(buffer, words_processed, 0); buffer 689 src/dps8/dps8_mgp.c dumppkt("Read", buffer, words_processed); buffer 691 src/dps8/dps8_mgp.c iom_unit_idx, chan, buffer, &words_processed, true); buffer 540 src/dps8/dps8_mt.c char buffer[len + 2]; buffer 544 src/dps8/dps8_mt.c strcpy(buffer, cptr); buffer 547 src/dps8/dps8_mt.c char *token = strtok(buffer, "="); buffer 880 src/dps8/dps8_mt.c static void deterimeFullTapeFileName(char * tapeFileName, char * buffer, int bufferLength) buffer 885 src/dps8/dps8_mt.c strncpy(buffer, tapeFileName, (unsigned long)bufferLength); buffer 886 src/dps8/dps8_mt.c buffer[bufferLength - 1] = 0; buffer 913 src/dps8/dps8_mt.c strncpy(buffer, tapeFileName, (unsigned long)bufferLength); buffer 914 src/dps8/dps8_mt.c buffer[bufferLength - 1] = 0; buffer 920 src/dps8/dps8_mt.c buffWrote = snprintf(buffer, buffer 1072 src/dps8/dps8_mt.c word36 buffer [tally]; buffer 1079 src/dps8/dps8_mt.c tape_statep -> tbc, & tape_statep -> words_processed, buffer + i); buffer 1082 src/dps8/dps8_mt.c tape_statep -> tbc, & tape_statep -> words_processed, buffer + i); buffer 1094 src/dps8/dps8_mt.c buffer 1103 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, buffer, buffer 1262 src/dps8/dps8_mt.c word36 buffer [tally]; buffer 1264 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, buffer, buffer 1272 src/dps8/dps8_mt.c buffer 1300 src/dps8/dps8_mt.c buffer [i]); buffer 1307 src/dps8/dps8_mt.c buffer [i]); buffer 1410 src/dps8/dps8_mt.c word36 buffer [bufsz]; buffer 1413 src/dps8/dps8_mt.c buffer [i] = 0; buffer 1441 src/dps8/dps8_mt.c buffer [cnt / 2] = ((word36) handler) << 18; buffer 1445 src/dps8/dps8_mt.c buffer [cnt / 2] |= handler; buffer 1449 src/dps8/dps8_mt.c iom_indirect_data_service (iomUnitIdx, chan, buffer, & bufsz, true); buffer 433 src/dps8/dps8_prt.c static int openPrtFile (int prt_unit_num, word36 * buffer, uint tally) buffer 441 src/dps8/dps8_prt.c if (tally == 1 && buffer[0] == 0014013000000llu) //-V536 buffer 448 src/dps8/dps8_prt.c int rc = parseID (buffer, tally, qno, name); buffer 480 src/dps8/dps8_prt.c static int eoj (word36 * buffer, uint tally) buffer 484 src/dps8/dps8_prt.c if (getbits36_9 (buffer[0], 0) != 037) buffer 486 src/dps8/dps8_prt.c if (getbits36_9 (buffer[0], 9) != 014) buffer 488 src/dps8/dps8_prt.c word9 ch = getbits36_9 (buffer[0], 18); buffer 491 src/dps8/dps8_prt.c ch = getbits36_9 (buffer[0], 27); buffer 494 src/dps8/dps8_prt.c ch = getbits36_9 (buffer[1], 0); buffer 497 src/dps8/dps8_prt.c ch = getbits36_9 (buffer[1], 9); buffer 500 src/dps8/dps8_prt.c ch = getbits36_9 (buffer[1], 18); buffer 503 src/dps8/dps8_prt.c if (getbits36_9 (buffer[1], 27) != 037) buffer 505 src/dps8/dps8_prt.c if (getbits36_9 (buffer[2], 0) != 005) buffer 574 src/dps8/dps8_prt.c buffer 575 src/dps8/dps8_prt.c buffer 598 src/dps8/dps8_prt.c buffer 619 src/dps8/dps8_prt.c static int print_buf (int prt_unit_num, bool isBCD, bool is_edited, int slew, word36 * buffer, uint tally) buffer 677 src/dps8/dps8_prt.c int rc = openPrtFile (prt_unit_num, buffer, tally); buffer 688 src/dps8/dps8_prt.c buffer 691 src/dps8/dps8_prt.c buffer 706 src/dps8/dps8_prt.c buffer 743 src/dps8/dps8_prt.c #define get_BCD_char(i) ((uint8_t) ((buffer[i / 6] >> ((5 - i % 6) * 6)) & 077)) buffer 849 src/dps8/dps8_prt.c #define get_ASCII_char(i) ((uint8_t) ((buffer[i / 4] >> ((3 - i % 4) * 9)) & 0377)) buffer 950 src/dps8/dps8_prt.c if ((! isBCD) && eoj (buffer, tally)) buffer 983 src/dps8/dps8_prt.c word36 buffer[tally]; buffer 984 src/dps8/dps8_prt.c memset (buffer, 0, sizeof (buffer)); buffer 1007 src/dps8/dps8_prt.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1069 src/dps8/dps8_prt.c word36 buffer[tally]; buffer 1071 src/dps8/dps8_prt.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1077 src/dps8/dps8_prt.c buffer 1086 src/dps8/dps8_prt.c buffer 1094 src/dps8/dps8_prt.c int rc = print_buf (prt_unit_num, isBCD, is_edited, slew, buffer, tally); buffer 1107 src/dps8/dps8_prt.c buffer 333 src/dps8/dps8_socket_dev.c static void skt_socket (uint unit_idx, word5 dev_code, word36 * buffer) buffer 343 src/dps8/dps8_socket_dev.c int domain = (int) buffer[0]; buffer 344 src/dps8/dps8_socket_dev.c int type = (int) buffer[1]; buffer 345 src/dps8/dps8_socket_dev.c int protocol = (int) buffer[2]; buffer 375 src/dps8/dps8_socket_dev.c fd = socket ((int) buffer[0], (int) buffer[1], (int) buffer[2]); buffer 400 src/dps8/dps8_socket_dev.c buffer[3] = ((word36) ((word36s) fd)) & MASK36; // fd buffer 402 src/dps8/dps8_socket_dev.c set_error (& buffer[4], _errno); buffer 405 src/dps8/dps8_socket_dev.c static void skt_gethostbyname (word36 * buffer) buffer 421 src/dps8/dps8_socket_dev.c word9 cnt = getbits36_9 (buffer [0], 27); buffer 430 src/dps8/dps8_socket_dev.c buffer 450 src/dps8/dps8_socket_dev.c word9 ch = getbits36_9 (buffer[wordno], offset); buffer 466 src/dps8/dps8_socket_dev.c buffer[65] = ((word36) addr) << 4; buffer 472 src/dps8/dps8_socket_dev.c set_error (& buffer[66], 0); buffer 479 src/dps8/dps8_socket_dev.c case HOST_NOT_FOUND: set_error_str (& buffer[66], "HOST_NOT_FOUND"); break; buffer 480 src/dps8/dps8_socket_dev.c case NO_DATA: set_error_str (& buffer[66], "NO_DATA"); break; buffer 481 src/dps8/dps8_socket_dev.c case NO_RECOVERY: set_error_str (& buffer[66], "NO_RECOVERY"); break; buffer 482 src/dps8/dps8_socket_dev.c case TRY_AGAIN: set_error_str (& buffer[66], "TRY_AGAIN"); break; buffer 483 src/dps8/dps8_socket_dev.c default: set_error_str (& buffer[66], "EHUH"); break; buffer 488 src/dps8/dps8_socket_dev.c static void skt_bind (uint unit_idx, word6 dev_code, word36 * buffer) buffer 503 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 504 src/dps8/dps8_socket_dev.c int sin_family = (int) buffer[1]; buffer 505 src/dps8/dps8_socket_dev.c unsigned short sin_port = (unsigned short) getbits36_16 (buffer [2], 0); buffer 506 src/dps8/dps8_socket_dev.c word8 octet [4] = { getbits36_8 (buffer [3], 0), buffer 507 src/dps8/dps8_socket_dev.c getbits36_8 (buffer [3], 8), buffer 508 src/dps8/dps8_socket_dev.c getbits36_8 (buffer [3], 16), buffer 509 src/dps8/dps8_socket_dev.c getbits36_8 (buffer [3], 24)}; buffer 531 src/dps8/dps8_socket_dev.c set_error (& buffer[4], EBADF); buffer 550 src/dps8/dps8_socket_dev.c set_error (& buffer[4], _errno); buffer 553 src/dps8/dps8_socket_dev.c static void skt_listen (uint unit_idx, word6 dev_code, word36 * buffer) buffer 569 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 570 src/dps8/dps8_socket_dev.c int backlog = (int) buffer[1]; buffer 616 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc buffer 617 src/dps8/dps8_socket_dev.c set_error (& buffer[3], _errno); buffer 620 src/dps8/dps8_socket_dev.c static int skt_accept (uint unit_idx, word6 dev_code, word36 * buffer) buffer 632 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 637 src/dps8/dps8_socket_dev.c set_error (& buffer[4], EBADF); buffer 646 src/dps8/dps8_socket_dev.c static void skt_close (uint unit_idx, word6 dev_code, word36 * buffer) buffer 660 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 690 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) rc)) & MASK36; // rc buffer 691 src/dps8/dps8_socket_dev.c set_error (& buffer[2], _errno); buffer 694 src/dps8/dps8_socket_dev.c static int skt_read8 (uint unit_idx, word6 dev_code, UNUSED uint tally, word36 * buffer) buffer 711 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 712 src/dps8/dps8_socket_dev.c uint count = (uint) buffer[1]; buffer 719 src/dps8/dps8_socket_dev.c set_error (& buffer[4], EBADF); buffer 728 src/dps8/dps8_socket_dev.c static int skt_write8 (uint iom_unit_idx, uint chan, uint unit_idx, word6 dev_code, uint tally, word36 * buffer) buffer 753 src/dps8/dps8_socket_dev.c int socket_fd = (int) buffer[0]; buffer 762 src/dps8/dps8_socket_dev.c set_error (& buffer[3], EBADF); buffer 768 src/dps8/dps8_socket_dev.c word36 count36 = buffer[1]; buffer 788 src/dps8/dps8_socket_dev.c netdata[n] = getbits36_8 (buffer [5 + wordno], charno * 9 + 1); buffer 796 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) rc)) & MASK36; // rc buffer 797 src/dps8/dps8_socket_dev.c set_error (& buffer[3], _errno); buffer 883 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 885 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 888 src/dps8/dps8_socket_dev.c skt_socket (unit_idx, p->IDCW_DEV_CODE, buffer); buffer 890 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 908 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 910 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 913 src/dps8/dps8_socket_dev.c skt_bind (unit_idx, p->IDCW_DEV_CODE, buffer); buffer 915 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 941 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 943 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 946 src/dps8/dps8_socket_dev.c skt_gethostbyname (buffer); buffer 948 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 967 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 969 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 972 src/dps8/dps8_socket_dev.c skt_listen (unit_idx, p->IDCW_DEV_CODE, buffer); buffer 974 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 993 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 995 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 999 src/dps8/dps8_socket_dev.c rc = skt_accept (unit_idx, p->IDCW_DEV_CODE, buffer); buffer 1001 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1023 src/dps8/dps8_socket_dev.c word36 buffer [expected_tally]; buffer 1025 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1028 src/dps8/dps8_socket_dev.c skt_close (unit_idx, p->IDCW_DEV_CODE, buffer); buffer 1030 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1048 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ buffer 1050 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1054 src/dps8/dps8_socket_dev.c rc = skt_read8 (unit_idx, p->IDCW_DEV_CODE, tally, buffer); buffer 1056 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1077 src/dps8/dps8_socket_dev.c word36 buffer[4096]; /* tally size is max 4096 bytes */ buffer 1079 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1082 src/dps8/dps8_socket_dev.c rc = skt_write8 (iom_unit_idx, chan, unit_idx, p->IDCW_DEV_CODE, tally, buffer); buffer 1084 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1164 src/dps8/dps8_socket_dev.c word36 buffer [7]; buffer 1166 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].accept_fd)) & MASK36; buffer 1167 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) ((word36s) fd)) & MASK36; buffer 1168 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) from.sin_family)) & MASK36; buffer 1170 src/dps8/dps8_socket_dev.c putbits36_16 (& buffer[3], 0, port); buffer 1172 src/dps8/dps8_socket_dev.c buffer[4] = ((word36) addr) << 4; buffer 1173 src/dps8/dps8_socket_dev.c set_error (& buffer[5], _errno); buffer 1179 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 1192 src/dps8/dps8_socket_dev.c word36 buffer [buffer_size_wds]; buffer 1194 src/dps8/dps8_socket_dev.c memset (buffer, 0, sizeof (word36) * buffer_size_wds); buffer 1206 src/dps8/dps8_socket_dev.c buffer[0] = ((word36) ((word36s) sk_data.unit_data[unit_idx][dev_code].read_fd)) & MASK36; buffer 1207 src/dps8/dps8_socket_dev.c buffer[1] = ((word36) (sk_data.unit_data[unit_idx][dev_code].read_buffer_sz)) & MASK36; buffer 1208 src/dps8/dps8_socket_dev.c buffer[2] = ((word36) ((word36s) nread)) & MASK36; buffer 1209 src/dps8/dps8_socket_dev.c set_error (& buffer[3], _errno); buffer 1215 src/dps8/dps8_socket_dev.c putbits36_9 (& buffer [5 + wordno], charno * 9, (word9) netdata [n]); buffer 1223 src/dps8/dps8_socket_dev.c iom_indirect_data_service (iom_unit_idx, chan, buffer, buffer 49 src/dps8/dps8_utils.c char * dump_flags(char * buffer, word18 flags) buffer 51 src/dps8/dps8_utils.c sprintf(buffer, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s", buffer 68 src/dps8/dps8_utils.c return buffer; buffer 47 src/dps8/dps8_utils.h char * dump_flags(char * buffer, word18 flags); buffer 64 src/dps8/fnptelnet.c (* p->read_cb) (client, (ssize_t) event->data.size, (unsigned char *)event->data.buffer); buffer 78 src/dps8/fnptelnet.c (* p->write_actual_cb) (client, (unsigned char *) event->data.buffer, (ssize_t) event->data.size); buffer 1355 src/dps8/fnpuv.c unsigned char buffer [1500 + 16]; buffer 1356 src/dps8/fnpuv.c ssize_t nread = read (linep->tun_fd, buffer, sizeof (buffer)); buffer 1375 src/dps8/fnpuv.c xbufr [i * 2 + 0] = bin2hex [(buffer [i] >> 4) & 0xf]; buffer 1376 src/dps8/fnpuv.c xbufr [i * 2 + 1] = bin2hex [(buffer [i] >> 0) & 0xf]; buffer 1387 src/dps8/fnpuv.c buffer [0], buffer [1], buffer [2], buffer [3], buffer 1388 src/dps8/fnpuv.c buffer [4], buffer [5], buffer [6], buffer [7]); buffer 1390 src/dps8/fnpuv.c buffer [8], buffer [9], buffer [10], buffer [11], buffer 1391 src/dps8/fnpuv.c buffer [12], buffer [13], buffer [14], buffer [15]); buffer 1392 src/dps8/fnpuv.c uint version = (buffer [ip + 0] >> 4) & 0xf; buffer 1393 src/dps8/fnpuv.c uint ihl = (buffer [ip + 0]) & 0xf; buffer 1395 src/dps8/fnpuv.c uint tos = buffer [ip + 1]; buffer 1396 src/dps8/fnpuv.c uint tl = ((uint) (buffer [ip + 2]) << 8) + buffer 1397 src/dps8/fnpuv.c buffer [ip + 3]; buffer 1398 src/dps8/fnpuv.c uint id = ((uint) (buffer [ip + 4]) << 8) + buffer 1399 src/dps8/fnpuv.c buffer [ip + 5]; buffer 1400 src/dps8/fnpuv.c uint df = (buffer [ip + 6] & 0x40) ? 1 : 0; buffer 1401 src/dps8/fnpuv.c uint mf = (buffer [ip + 6] & 0x20) ? 1 : 0; buffer 1402 src/dps8/fnpuv.c uint fragment_offset = ((uint) (buffer [ip + 6] & 0x1f) << 8) + buffer 1403 src/dps8/fnpuv.c buffer [ip + 7]; buffer 1404 src/dps8/fnpuv.c uint ttl = buffer [ip + 8]; buffer 1405 src/dps8/fnpuv.c uint protocol = buffer [ip + 9]; buffer 1406 src/dps8/fnpuv.c uint header_checksum = (((uint) buffer [ip + 10]) << 8) + buffer 1407 src/dps8/fnpuv.c buffer [ip + 11]; buffer 1408 src/dps8/fnpuv.c uint source_address = (((uint) buffer [ip + 12]) << 24) + buffer 1409 src/dps8/fnpuv.c (((uint) buffer [ip + 13]) << 16) + buffer 1410 src/dps8/fnpuv.c (((uint) buffer [ip + 14]) << 8) + buffer 1411 src/dps8/fnpuv.c buffer [ip + 15]; buffer 1412 src/dps8/fnpuv.c uint dest_address = (((uint) buffer [ip + 16]) << 24) + buffer 1413 src/dps8/fnpuv.c (((uint) buffer [ip + 17]) << 16) + buffer 1414 src/dps8/fnpuv.c (((uint) buffer [ip + 18]) << 8) + buffer 1415 src/dps8/fnpuv.c buffer [ip + 19]; buffer 1418 src/dps8/fnpuv.c uint type = buffer [payload_offset + 0]; buffer 1422 src/dps8/fnpuv.c buffer [ip + 12], buffer [ip + 13], buffer [ip + 14], buffer [ip + 15], buffer 1423 src/dps8/fnpuv.c buffer [ip + 16], buffer [ip + 17], buffer [ip + 18], buffer [ip + 19]); buffer 1429 src/dps8/fnpuv.c buffer [payload_offset + 0], buffer [payload_offset + 1], buffer [payload_offset + 2], buffer [payload_offset + 3], buffer 1430 src/dps8/fnpuv.c buffer [payload_offset + 4], buffer [payload_offset + 5], buffer [payload_offset + 6], buffer [payload_offset + 7]); buffer 32 src/dps8/fnpuv.h char buffer [1024]; buffer 133 src/dps8/libtelnet.c char *buffer; buffer 178 src/dps8/libtelnet.c char buffer[512]; buffer 183 src/dps8/libtelnet.c vsnprintf(buffer, sizeof(buffer), fmt, va); buffer 191 src/dps8/libtelnet.c ev.error.msg = buffer; buffer 198 src/dps8/libtelnet.c static void _send(telnet_t *telnet, const char *buffer, buffer 203 src/dps8/libtelnet.c ev.data.buffer = buffer; buffer 483 src/dps8/libtelnet.c char* buffer, size_t size) { buffer 495 src/dps8/libtelnet.c if ((unsigned)buffer[0] != TELNET_ENVIRON_SEND && buffer 496 src/dps8/libtelnet.c (unsigned)buffer[0] != TELNET_ENVIRON_IS && buffer 497 src/dps8/libtelnet.c (unsigned)buffer[0] != TELNET_ENVIRON_INFO) { buffer 504 src/dps8/libtelnet.c ev.environ.cmd = (unsigned char) buffer[0]; buffer 520 src/dps8/libtelnet.c if ((unsigned)buffer[1] != TELNET_ENVIRON_VAR && buffer 521 src/dps8/libtelnet.c (unsigned)buffer[1] != TELNET_ENVIRON_USERVAR) { buffer 528 src/dps8/libtelnet.c if ((unsigned)buffer[size - 1] == TELNET_ENVIRON_ESC) { buffer 536 src/dps8/libtelnet.c for (c = buffer + 1; c < buffer + size; ++c) { buffer 554 src/dps8/libtelnet.c out = buffer; buffer 555 src/dps8/libtelnet.c c = buffer + 1; buffer 563 src/dps8/libtelnet.c while (c < buffer + size) { buffer 586 src/dps8/libtelnet.c if (c < buffer + size && *c == TELNET_ENVIRON_VALUE) { buffer 589 src/dps8/libtelnet.c while (c < buffer + size) { buffer 624 src/dps8/libtelnet.c static int _ttype_telnet(telnet_t *telnet, const char* buffer, size_t size) { buffer 635 src/dps8/libtelnet.c if (buffer[0] != TELNET_TTYPE_IS && buffer 636 src/dps8/libtelnet.c buffer[0] != TELNET_TTYPE_SEND) { buffer 643 src/dps8/libtelnet.c if (buffer[0] == TELNET_TTYPE_IS) { buffer 652 src/dps8/libtelnet.c memcpy(name, buffer + 1, size - 1); buffer 683 src/dps8/libtelnet.c ev.sub.buffer = telnet->buffer; buffer 691 src/dps8/libtelnet.c return _ttype_telnet(telnet, telnet->buffer, telnet->buffer_pos); buffer 694 src/dps8/libtelnet.c return _environ_telnet(telnet, telnet->sb_telopt, telnet->buffer, buffer 721 src/dps8/libtelnet.c if (telnet->buffer != 0) { buffer 722 src/dps8/libtelnet.c FREE(telnet->buffer); buffer 723 src/dps8/libtelnet.c telnet->buffer = 0; //-V1048 buffer 763 src/dps8/libtelnet.c new_buffer = (char *)realloc(telnet->buffer, _buffer_sizes[i + 1]); buffer 770 src/dps8/libtelnet.c telnet->buffer = new_buffer; buffer 775 src/dps8/libtelnet.c telnet->buffer[telnet->buffer_pos++] = (char) byte; buffer 779 src/dps8/libtelnet.c static void _process(telnet_t *telnet, const char *buffer, size_t size) { buffer 784 src/dps8/libtelnet.c byte = (unsigned char) buffer[i]; buffer 793 src/dps8/libtelnet.c ev.data.buffer = buffer + start; buffer 803 src/dps8/libtelnet.c ev.data.buffer = buffer + start; buffer 816 src/dps8/libtelnet.c ev.data.buffer = (char*)&byte; buffer 819 src/dps8/libtelnet.c byte = (unsigned char) buffer[i]; buffer 854 src/dps8/libtelnet.c ev.data.buffer = (char*)&byte; buffer 914 src/dps8/libtelnet.c telnet_recv(telnet, &buffer[start], size - start); buffer 950 src/dps8/libtelnet.c telnet_recv(telnet, &buffer[start], size - start); buffer 971 src/dps8/libtelnet.c ev.data.buffer = buffer + start; buffer 978 src/dps8/libtelnet.c void telnet_recv(telnet_t *telnet, const char *buffer, buffer 980 src/dps8/libtelnet.c _process(telnet, buffer, size); buffer 1077 src/dps8/libtelnet.c void telnet_send(telnet_t *telnet, const char *buffer, buffer 1083 src/dps8/libtelnet.c if (buffer[i] == (char)TELNET_IAC) { buffer 1086 src/dps8/libtelnet.c _send(telnet, buffer + l, i - l); buffer 1097 src/dps8/libtelnet.c _send(telnet, buffer + l, i - l); buffer 1102 src/dps8/libtelnet.c void telnet_send_text(telnet_t *telnet, const char *buffer, buffer 1108 src/dps8/libtelnet.c if (buffer[i] == (char)TELNET_IAC) { buffer 1111 src/dps8/libtelnet.c _send(telnet, buffer + l, i - l); buffer 1120 src/dps8/libtelnet.c (buffer[i] == '\r' || buffer[i] == '\n')) { buffer 1123 src/dps8/libtelnet.c _send(telnet, buffer + l, i - l); buffer 1128 src/dps8/libtelnet.c if (buffer[i] == '\r') { buffer 1140 src/dps8/libtelnet.c _send(telnet, buffer + l, i - l); buffer 1155 src/dps8/libtelnet.c char buffer[1024]; buffer 1156 src/dps8/libtelnet.c char *output = buffer; buffer 1162 src/dps8/libtelnet.c rs = vsnprintf(buffer, sizeof(buffer), fmt, va); buffer 1163 src/dps8/libtelnet.c if ((unsigned long) rs >= sizeof(buffer)) { buffer 1204 src/dps8/libtelnet.c if (output != buffer) { buffer 1225 src/dps8/libtelnet.c char buffer[1024]; buffer 1226 src/dps8/libtelnet.c char *output = buffer; buffer 1232 src/dps8/libtelnet.c rs = vsnprintf(buffer, sizeof(buffer), fmt, va); buffer 1233 src/dps8/libtelnet.c if ((unsigned long) rs >= sizeof(buffer)) { buffer 1250 src/dps8/libtelnet.c if (output != buffer) { buffer 262 src/dps8/libtelnet.h const char *buffer; /* byte buffer */ buffer 299 src/dps8/libtelnet.h const char *buffer; /* data of sub-negotiation */ buffer 392 src/dps8/libtelnet.h extern void telnet_recv(telnet_t *telnet, const char *buffer, buffer 425 src/dps8/libtelnet.h const char *buffer, size_t size); buffer 436 src/dps8/libtelnet.h const char *buffer, size_t size); buffer 438 src/dps8/uvutil.c (unsigned char *)event->data.buffer); buffer 444 src/dps8/uvutil.c accessStartWriteActual (client, (char *) event->data.buffer, buffer 8163 src/simh/scp.c t_stat sprint_val (char *buffer, t_value val, uint32 radix, buffer 8197 src/simh/scp.c if (!buffer) buffer 8199 src/simh/scp.c sprintf (buffer, "%*s", -((int)width), dbuf); buffer 8219 src/simh/scp.c if (!buffer) buffer 8221 src/simh/scp.c *buffer = '\0'; buffer 8224 src/simh/scp.c strcpy(buffer, dbuf+d); buffer 9577 src/simh/scp.c memmove(snd->buffer, snd->buffer+snd->extoff, snd->insoff-snd->extoff); buffer 9583 src/simh/scp.c snd->buffer = (uint8 *)realloc(snd->buffer, snd->bufsize); buffer 9584 src/simh/scp.c if (!snd->buffer) buffer 9597 src/simh/scp.c memcpy(snd->buffer+snd->insoff, data, size); buffer 9623 src/simh/scp.c fprint_buffer_string (st, snd->buffer+snd->extoff, snd->insoff-snd->extoff); buffer 9655 src/simh/scp.c *stat = snd->buffer[snd->extoff++] | SCPE_KFLAG;/* get one */ buffer 651 src/simh/sim_defs.h uint8 *buffer; /* buffer */ buffer 403 src/simh/sim_tape.c t_mtrlnt buffer [256]; /* local tape buffer */ buffer 447 src/simh/sim_tape.c bufcap = sizeof (buffer) /* to the full size of the buffer */ buffer 448 src/simh/sim_tape.c / sizeof (buffer [0]); buffer 450 src/simh/sim_tape.c bufcap = sim_fread (buffer, /* fill the buffer */ buffer 464 src/simh/sim_tape.c || buffer [0] == MTR_EOM) /* or at the logical EOM */ buffer 483 src/simh/sim_tape.c *bc = buffer [bufcntr++]; /* store the metadata marker value */ buffer 617 src/simh/sim_tape.c t_mtrlnt buffer [256]; /* local tape buffer */ buffer 657 src/simh/sim_tape.c else if (uptr->pos < sizeof (buffer)) /* if less than a full buffer remains */ buffer 665 src/simh/sim_tape.c bufcntr = sim_fread (buffer, sizeof (t_mtrlnt), /* fill the buffer */ buffer 675 src/simh/sim_tape.c bufcap = sizeof (buffer) /* to the full size of the buffer */ buffer 676 src/simh/sim_tape.c / sizeof (buffer [0]); buffer 679 src/simh/sim_tape.c *bc = buffer [--bufcntr]; /* store the metadata marker value */ buffer 3583 src/simh/sim_tmxr.c if (lp->send.buffer)