size_t 591 src/dps8/dps8.h void * trealloc(void *ptr, size_t size); size_t 208 src/dps8/dps8_cable.c size_t pat_len = strlen (pattern); size_t 213 src/dps8/dps8_cable.c size_t rest = strlen (str) - pat_len; size_t 486 src/dps8/dps8_console.c size_t nl = strlen ((char *) new); size_t 487 src/dps8/dps8_console.c size_t ol = strlen ((char *) csp->auto_input); size_t 535 src/dps8/dps8_console.c size_t nl = strlen ((char *) new); size_t 536 src/dps8/dps8_console.c size_t ol = strlen ((char *) csp->auto_input); size_t 653 src/dps8/dps8_console.c size_t len = strlen (text); size_t 1602 src/dps8/dps8_console.c size_t expl = strcspn ((char *) (csp->autop + 1), "\030"); size_t 1615 src/dps8/dps8_console.c size_t expl = strcspn ((char *) (csp->autop + 1), "\031"); size_t 1912 src/dps8/dps8_console.c size_t l = strlen (str); size_t 1913 src/dps8/dps8_console.c for (size_t i = 0; i < l; i ++) size_t 1707 src/dps8/dps8_cpu.c for (size_t i=0; i < sizeof( pt ); i++) size_t 1301 src/dps8/dps8_crdpun.c size_t len = strlen(cptr); size_t 63 src/dps8/dps8_crdrdr.c volatile size_t n = size; \ size_t 381 src/dps8/dps8_crdrdr.c static void asciiToH (char * str, uint * hstr, size_t l) size_t 384 src/dps8/dps8_crdrdr.c for (size_t i = 0; i < l; i ++) size_t 492 src/dps8/dps8_crdrdr.c size_t l = 0; size_t 581 src/dps8/dps8_crdrdr.c l = (size_t) getCardData (rdr_state [unitIdx].deckfd, (char *) cardImage); size_t 600 src/dps8/dps8_crdrdr.c l = (size_t) getRawCardData (rdr_state [unitIdx].deckfd, rawCardImage); size_t 1069 src/dps8/dps8_crdrdr.c size_t len = strlen(cptr); size_t 1062 src/dps8/dps8_fnp2.c while ((size_t) linep->nPos < sizeof (linep->buffer) && linep->nPos < frsz) size_t 1153 src/dps8/dps8_fnp2.c (size_t) linep->nPos >= sizeof (linep->buffer) || size_t 1306 src/dps8/dps8_fnp2.c static void send_3270_msg (uint ctlr_no, unsigned char * msg, size_t len, bool brk) size_t 1310 src/dps8/dps8_fnp2.c size_t 1312 src/dps8/dps8_fnp2.c size_t 1328 src/dps8/dps8_fnp2.c size_t 1330 src/dps8/dps8_fnp2.c size_t 2546 src/dps8/dps8_fnp2.c size_t l = strlen ((char *) msg); size_t 126 src/dps8/dps8_mgp.c hash32s(const void *buf, size_t len, uint32_t h) size_t 130 src/dps8/dps8_mgp.c for (size_t i = 0; i < len; i++) size_t 466 src/dps8/dps8_mt.c size_t prefix_len; size_t 481 src/dps8/dps8_mt.c size_t len = strlen(cptr); size_t 538 src/dps8/dps8_mt.c size_t len = strlen(cptr); size_t 570 src/dps8/dps8_mt.c size_t prefix_len = strlen(prefix); size_t 576 src/dps8/dps8_mt.c size_t dir_len = strlen(dir); size_t 909 src/dps8/dps8_mt.c if ((size_t) bufferLength < (strlen(selected_path) + strlen(tapeFileName) + 1)) size_t 2438 src/dps8/dps8_mt.c size_t bufl = strlen (buf) + 1; size_t 2445 src/dps8/dps8_mt.c size_t ringl = strlen (ring); size_t 797 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, spaces, (size_t)nchars); size_t 1875 src/dps8/dps8_prt.c size_t len = strlen(cptr); size_t 298 src/dps8/dps8_socket_dev.c size_t l = strlen (str); size_t 2578 src/dps8/dps8_sys.c size_t pathlen = strcspn (searchp, ":"); size_t 2610 src/dps8/dps8_sys.c if (strncmp (line, offset_str, (size_t) offset_str_len) == 0) size_t 3144 src/dps8/dps8_sys.c size_t colon = strcspn (buf, ":"); size_t 3152 src/dps8/dps8_sys.c size_t plus = strcspn (buf + colon + 1, "+"); size_t 3721 src/dps8/dps8_sys.c struct dbgevent_t * p = (struct dbgevent_t *) bsearch (& key, dbgevents, (size_t) n_dbgevents, size_t 4209 src/dps8/dps8_sys.c hash32s(const void *buf, size_t len, uint32_t h) size_t 4213 src/dps8/dps8_sys.c for (size_t i = 0; i < len; i++) size_t 1374 src/dps8/dps8_utils.c size_t 261 src/dps8/fnpuv.c static void alloc_buffer (UNUSED uv_handle_t * handle, size_t suggested_size, size_t 422 src/dps8/fnpuv.c telnet_recv (p->telnetp, buf->base, (size_t) nread); size_t 652 src/dps8/fnpuv.c telnet_send (p->telnetp, (char *) data, (size_t) datalen); size_t 720 src/dps8/fnpuv.c telnet_send (p->telnetp, (char *) actual_data_start, (size_t) actual_datalen); size_t 33 src/dps8/fnpuv.h size_t nPos; size_t 135 src/dps8/libtelnet.c size_t buffer_size; size_t 137 src/dps8/libtelnet.c size_t buffer_pos; size_t 169 src/dps8/libtelnet.c static const size_t _buffer_sizes[] = { 0, 512, 2048, 8192, 16384, }; size_t 170 src/dps8/libtelnet.c static const size_t _buffer_sizes_count = sizeof(_buffer_sizes) / size_t 199 src/dps8/libtelnet.c size_t size) { size_t 483 src/dps8/libtelnet.c char* buffer, size_t size) { size_t 487 src/dps8/libtelnet.c size_t eindex, count; size_t 624 src/dps8/libtelnet.c static int _ttype_telnet(telnet_t *telnet, const char* buffer, size_t size) { size_t 747 src/dps8/libtelnet.c size_t i; size_t 779 src/dps8/libtelnet.c static void _process(telnet_t *telnet, const char *buffer, size_t size) { size_t 782 src/dps8/libtelnet.c size_t i, start; size_t 979 src/dps8/libtelnet.c size_t size) { size_t 1078 src/dps8/libtelnet.c size_t size) { size_t 1079 src/dps8/libtelnet.c size_t i, l; size_t 1103 src/dps8/libtelnet.c size_t size) { size_t 1104 src/dps8/libtelnet.c size_t i, l; size_t 1183 src/dps8/libtelnet.c _send(telnet, output + l, (size_t) (i - l)); size_t 1200 src/dps8/libtelnet.c _send(telnet, output + l, (size_t) (i - l)); size_t 1247 src/dps8/libtelnet.c telnet_send(telnet, output, (size_t) rs); size_t 263 src/dps8/libtelnet.h size_t size; /* number of bytes in buffer */ size_t 300 src/dps8/libtelnet.h size_t size; /* number of bytes in buffer */ size_t 319 src/dps8/libtelnet.h size_t size; /* number of elements in values */ size_t 393 src/dps8/libtelnet.h size_t size); size_t 425 src/dps8/libtelnet.h const char *buffer, size_t size); size_t 436 src/dps8/libtelnet.h const char *buffer, size_t size); size_t 407 src/dps8/segldr.c size_t bufl = strlen (buf) + 1; size_t 58 src/dps8/shm.c create_shm(char *key, size_t shm_size) size_t 349 src/dps8/shm.c open_shm(char *key, size_t shm_size) size_t 20 src/dps8/shm.h void *create_shm(char *key, size_t size); size_t 21 src/dps8/shm.h void *open_shm(char *key, size_t size); size_t 129 src/dps8/udplib.c int sim_parse_addr (const char * cptr, char * host, size_t hostlen, const char * default_host, size_t 130 src/dps8/udplib.c char * port, size_t port_len, const char * default_port, size_t 358 src/dps8/udplib.c size_t 362 src/dps8/udplib.c ssize_t rc = send (udp_links [link] . sock, & pkt, (size_t) pktlen, 0); size_t 372 src/dps8/udplib.c static int udp_receive_packet (int link, UDP_PACKET * ppkt, size_t pktsiz) size_t 442 src/dps8/udplib.c if (((size_t) pktlen) < UDP_HEADER_LEN) size_t 548 src/dps8/udplib.c int sim_parse_addr (const char *cptr, char *host, size_t host_len, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr) size_t 91 src/dps8/utarray.h size_t sz; size_t 111 src/dps8/utarray.h size_t _ut_i; \ size_t 183 src/dps8/utarray.h size_t _ut_i; \ size_t 195 src/dps8/utarray.h size_t _ut_i; \ size_t 196 src/dps8/utarray.h if (dst->i > (size_t)(num)) { \ size_t 202 src/dps8/utarray.h } else if (dst->i < (size_t)(num)) { \ size_t 221 src/dps8/utarray.h size_t _ut_i; \ size_t 241 src/dps8/utarray.h size_t _ut_i; \ size_t 70 src/dps8/utfile.c hash32s(const void *buf, size_t len, uint32_t h) size_t 74 src/dps8/utfile.c for (size_t i = 0; i < len; i++) size_t 945 src/dps8/uthash.h (size_t)((((head)->hh.tbl->num_items * sizeof(UT_hash_handle)) + \ size_t 48 src/dps8/uvutil.c static void alloc_buffer (UNUSED uv_handle_t * handle, size_t suggested_size, size_t 128 src/dps8/uvutil.c telnet_recv (access->telnetp, buf->base, (size_t) nread); size_t 200 src/dps8/uvutil.c telnet_send (access->telnetp, data, (size_t) datalen); size_t 213 src/dps8/uvutil.c size_t l = strlen (str); size_t 711 src/dps8/uvutil.c size_t l = strlen (str); size_t 132 src/simh/linehistory.c size_t buflen; /* Edited line buffer size. */ size_t 134 src/simh/linehistory.c size_t plen; /* Prompt length. */ size_t 135 src/simh/linehistory.c size_t pos; /* Current cursor position. */ size_t 136 src/simh/linehistory.c size_t oldpos; /* Previous refresh cursor position. */ size_t 137 src/simh/linehistory.c size_t len; /* Current edited line length. */ size_t 138 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ size_t 139 src/simh/linehistory.c size_t maxrows; /* Maximum num of rows used so far (multiline mode) */ size_t 168 src/simh/linehistory.c size_t pstrlen(const char *s); size_t 415 src/simh/linehistory.c size_t i; size_t 453 src/simh/linehistory.c size_t stop = 0, i = 0; size_t 557 src/simh/linehistory.c size_t len = strlen(str); size_t 695 src/simh/linehistory.c size_t plen = pstrlen(l->prompt); size_t 698 src/simh/linehistory.c size_t len = l->len; size_t 699 src/simh/linehistory.c size_t pos = l->pos; size_t 1225 src/simh/linehistory.c size_t old_pos = l->pos; size_t 1226 src/simh/linehistory.c size_t diff; size_t 1246 src/simh/linehistory.c size_t next_word_end = l->pos; size_t 1273 src/simh/linehistory.c linenoiseEdit(int stdin_fd, int stdout_fd, char *buf, size_t buflen, size_t 1556 src/simh/linehistory.c linenoiseRaw(char *buf, size_t buflen, const char *prompt) size_t 1589 src/simh/linehistory.c size_t len = 0, maxlen = 0; size_t 1664 src/simh/linehistory.c size_t len; size_t 1856 src/simh/linehistory.c size_t size_t 1859 src/simh/linehistory.c size_t len = 0, i = 0; size_t 67 src/simh/linehistory.h size_t len; size_t 453 src/simh/scp.c const size_t size_map[] = { sizeof (int8), size_t 1326 src/simh/scp.c trealloc(void *ptr, size_t size) size_t 1372 src/simh/scp.c size_t size = sizeof(ret); size_t 1387 src/simh/scp.c size_t len = strlen(sub); size_t 1794 src/simh/scp.c size_t alias_len = strlen (cmd_table[i].name); size_t 2028 src/simh/scp.c size_t max_cmdname_size = 0; size_t 2110 src/simh/scp.c size_t max_namelen = 0; size_t 2900 src/simh/scp.c void sim_sub_args (char *instr, size_t instr_size, char *do_arg[]) size_t 6549 src/simh/scp.c size_t sz; size_t 6565 src/simh/scp.c ptr = (uint32 *)(((size_t) rptr->loc) + (idx * rptr->str_size)); size_t 6649 src/simh/scp.c size_t sz; size_t 6677 src/simh/scp.c ptr = (uint32 *)(((size_t) rptr->loc) + (idx * rptr->str_size)); size_t 6749 src/simh/scp.c size_t sz; size_t 6820 src/simh/scp.c size_t sz; size_t 7635 src/simh/scp.c size_t slnt; size_t 7845 src/simh/scp.c const char *put_switches (char *buf, size_t bufsize, uint32 sw) size_t 7857 src/simh/scp.c if ((size_t)(optr - buf) < bufsize) size_t 9010 src/simh/scp.c size_t lnt; size_t 9573 src/simh/scp.c t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay) size_t 10059 src/simh/scp.c void sim_data_trace(DEVICE *dptr, UNIT *uptr, const uint8 *data, const char *position, size_t len, const char *txt, uint32 reason) size_t 10201 src/simh/scp.c size_t len; size_t 10210 src/simh/scp.c size_t block; size_t 10211 src/simh/scp.c size_t line; size_t 10228 src/simh/scp.c static void appendText (TOPIC *topic, const char *text, size_t len) size_t 10253 src/simh/scp.c size_t i; size_t 10274 src/simh/scp.c size_t n, ilvl; size_t 10277 src/simh/scp.c size_t vsnum = 0; size_t 10279 src/simh/scp.c size_t asnum = 0; size_t 10377 src/simh/scp.c size_t i; size_t 10447 src/simh/scp.c size_t n = 0; size_t 10590 src/simh/scp.c size_t i, skiplines; size_t 10658 src/simh/scp.c size_t i; size_t 10684 src/simh/scp.c static size_t matchHelpTopicName (TOPIC *topic, const char *token) size_t 10686 src/simh/scp.c size_t i, match; size_t 10727 src/simh/scp.c size_t match; size_t 10728 src/simh/scp.c size_t i; size_t 10877 src/simh/scp.c size_t w = 0; size_t 143 src/simh/scp.h const char *put_switches (char *buf, size_t bufsize, uint32 sw); size_t 169 src/simh/scp.h void sim_sub_args (char *in_str, size_t in_str_size, char *do_arg[]); size_t 181 src/simh/scp.h t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay); size_t 200 src/simh/scp.h void sim_data_trace(DEVICE *dptr, UNIT *uptr, const uint8 *data, const char *position, size_t len, const char *txt, uint32 reason); size_t 314 src/simh/scp.h size_t device_panel_count); size_t 319 src/simh/scp.h size_t device_panel_count, size_t 378 src/simh/scp.h size_t size, size_t 385 src/simh/scp.h size_t element_count, size_t 386 src/simh/scp.h size_t size, size_t 393 src/simh/scp.h size_t size, size_t 516 src/simh/scp.h size_t size, size_t 532 src/simh/scp.h size_t size, size_t 552 src/simh/scp.h size_t addr_size, size_t 554 src/simh/scp.h size_t value_size, size_t 574 src/simh/scp.h size_t addr_size, size_t 576 src/simh/scp.h size_t value_size, size_t 846 src/simh/sim_console.c if (((size_t)sim_rem_buf_ptr[i]) >= sizeof(cbuf)) size_t 498 src/simh/sim_defs.h size_t str_size; /* structure size */ size_t 652 src/simh/sim_defs.h size_t bufsize; /* buffer size */ size_t 139 src/simh/sim_disk.c size_t i; size_t 240 src/simh/sim_disk.c size_t i; size_t 340 src/simh/sim_disk.c size_t i; size_t 736 src/simh/sim_disk.c t_stat sim_disk_attach (UNIT *uptr, const char *cptr, size_t sector_size, size_t xfer_element_size, t_bool dontautosize, size_t 1136 src/simh/sim_disk.c void sim_disk_data_trace(UNIT *uptr, const uint8 *data, size_t lba, size_t len, const char* txt, int detail, uint32 reason) size_t 70 src/simh/sim_disk.h t_stat sim_disk_attach (UNIT *uptr, const char *cptr, size_t sector_size, size_t xfer_element_size, t_bool dontautosize, size_t 92 src/simh/sim_disk.h void sim_disk_data_trace (UNIT *uptr, const uint8 *data, size_t lba, size_t len, const char* txt, int detail, uint32 reason); size_t 106 src/simh/sim_fio.c void sim_buf_swap_data (void *bptr, size_t size, size_t count) size_t 125 src/simh/sim_fio.c size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr) size_t 127 src/simh/sim_fio.c size_t c; size_t 138 src/simh/sim_fio.c void sim_buf_copy_swapped (void *dbuf, const void *sbuf, size_t size, size_t count) size_t 140 src/simh/sim_fio.c size_t j; size_t 156 src/simh/sim_fio.c size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr) size_t 158 src/simh/sim_fio.c size_t c, nelem, nbuf, lcnt, total; size_t 72 src/simh/sim_fio.h size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr); size_t 73 src/simh/sim_fio.h size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr); size_t 79 src/simh/sim_fio.h void sim_buf_swap_data (void *bptr, size_t size, size_t count); size_t 80 src/simh/sim_fio.h void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count); size_t 159 src/simh/sim_sock.c typedef int (WSAAPI *getnameinfo_func) (const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags); size_t 335 src/simh/sim_sock.c char *host, size_t hostlen, size_t 336 src/simh/sim_sock.c char *serv, size_t servlen, size_t 488 src/simh/sim_sock.c int sim_parse_addr (const char *cptr, char *host, size_t host_len, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr) size_t 652 src/simh/sim_sock.c int sim_parse_addr_ex (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, char *localport, size_t localport_len, const char *default_port) size_t 662 src/simh/sim_sock.c if (localport_len > (size_t)(hostp-cptr)) size_t 663 src/simh/sim_sock.c localport_len = (size_t)(hostp-cptr); size_t 1081 src/simh/sim_sock.c static int _sim_getaddrname (struct sockaddr *addr, size_t addrsize, char *hostnamebuf, char *portnamebuf) size_t 1126 src/simh/sim_sock.c _sim_getaddrname ((struct sockaddr *)&sockname, (size_t)socknamesize, hostbuf, portbuf); size_t 1130 src/simh/sim_sock.c _sim_getaddrname ((struct sockaddr *)&peername, (size_t)peernamesize, hostbuf, portbuf); size_t 86 src/simh/sim_sock.h int sim_parse_addr (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, const char *default_port, const char *validate_addr); size_t 88 src/simh/sim_sock.h int sim_parse_addr_ex (const char *cptr, char *host, size_t hostlen, const char *default_host, char *port, size_t port_len, char *localport, size_t local_port_len, const char *default_port); size_t 114 src/simh/sim_tape.c static void sim_tape_data_trace (UNIT *uptr, const uint8 *data, size_t len, const char* txt, int detail, uint32 reason); size_t 300 src/simh/sim_tape.c static void sim_tape_data_trace(UNIT *uptr, const uint8 *data, size_t len, const char* txt, int detail, uint32 reason) size_t 1871 src/simh/sim_tape.c size_t i; size_t 419 src/simh/sim_tmxr.c if ((size_t)loopfree < (size_t)(length + sizeof(length))) size_t 646 src/simh/sim_tmxr.c static char *growstring(char **string, size_t growth) size_t 767 src/simh/sim_tmxr.c hash32s(const void *buf, size_t len, uint32_t h) size_t 771 src/simh/sim_tmxr.c for (size_t i = 0; i < len; i++) size_t 1520 src/simh/sim_tmxr.c t_stat tmxr_get_packet_ln (TMLN *lp, const uint8 **pbuf, size_t *psize) size_t 1525 src/simh/sim_tmxr.c t_stat tmxr_get_packet_ln_ex (TMLN *lp, const uint8 **pbuf, size_t *psize, uint8 frame_byte) size_t 1528 src/simh/sim_tmxr.c size_t pktsize; size_t 1529 src/simh/sim_tmxr.c size_t fc_size = (frame_byte ? 1 : 0); size_t 1899 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size) size_t 1904 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln_ex (TMLN *lp, const uint8 *buf, size_t size, uint8 frame_byte) size_t 1907 src/simh/sim_tmxr.c size_t fc_size = (frame_byte ? 1 : 0); size_t 1908 src/simh/sim_tmxr.c size_t pktlen_size = (lp->datagram ? 0 : 2); size_t 222 src/simh/sim_tmxr.h t_stat tmxr_get_packet_ln (TMLN *lp, const uint8 **pbuf, size_t *psize); size_t 223 src/simh/sim_tmxr.h t_stat tmxr_get_packet_ln_ex (TMLN *lp, const uint8 **pbuf, size_t *psize, uint8 frame_byte); size_t 226 src/simh/sim_tmxr.h t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size); size_t 227 src/simh/sim_tmxr.h t_stat tmxr_put_packet_ln_ex (TMLN *lp, const uint8 *buf, size_t size, uint8 frame_byte);