size_t 203 src/dps8/dps8_cable.c size_t pat_len = strlen (pattern); size_t 208 src/dps8/dps8_cable.c size_t rest = strlen (str) - pat_len; size_t 483 src/dps8/dps8_console.c size_t nl = strlen ((char *) new); size_t 484 src/dps8/dps8_console.c size_t ol = strlen ((char *) csp->auto_input); size_t 532 src/dps8/dps8_console.c size_t nl = strlen ((char *) new); size_t 533 src/dps8/dps8_console.c size_t ol = strlen ((char *) csp->auto_input); size_t 659 src/dps8/dps8_console.c size_t len = strlen (text); size_t 1611 src/dps8/dps8_console.c size_t expl = strcspn ((char *) (csp->autop + 1), "\030"); size_t 1624 src/dps8/dps8_console.c size_t expl = strcspn ((char *) (csp->autop + 1), "\031"); size_t 1921 src/dps8/dps8_console.c size_t l = strlen (str); size_t 1922 src/dps8/dps8_console.c for (size_t i = 0; i < l; i ++) size_t 1713 src/dps8/dps8_cpu.c for (size_t i=0; i < sizeof( pt ); i++) size_t 1305 src/dps8/dps8_crdpun.c size_t len = strlen(cptr); size_t 60 src/dps8/dps8_crdrdr.c volatile size_t n = size; \ size_t 378 src/dps8/dps8_crdrdr.c static void asciiToH (char * str, uint * hstr, size_t l) size_t 381 src/dps8/dps8_crdrdr.c for (size_t i = 0; i < l; i ++) size_t 494 src/dps8/dps8_crdrdr.c size_t l = 0; size_t 582 src/dps8/dps8_crdrdr.c l = (size_t) getCardData (rdr_state [unitIdx].deckfd, (char *) cardImage); size_t 601 src/dps8/dps8_crdrdr.c l = (size_t) getRawCardData (rdr_state [unitIdx].deckfd, rawCardImage); size_t 1090 src/dps8/dps8_crdrdr.c size_t len = strlen(cptr); size_t 1088 src/dps8/dps8_fnp2.c while ((size_t) linep->nPos < sizeof (linep->buffer) && linep->nPos < frsz) size_t 1179 src/dps8/dps8_fnp2.c (size_t) linep->nPos >= sizeof (linep->buffer) || size_t 1335 src/dps8/dps8_fnp2.c static void send_3270_msg (uint ctlr_no, unsigned char * msg, size_t len, bool brk) size_t 1339 src/dps8/dps8_fnp2.c size_t 1341 src/dps8/dps8_fnp2.c size_t 1357 src/dps8/dps8_fnp2.c size_t 1359 src/dps8/dps8_fnp2.c size_t 2633 src/dps8/dps8_fnp2.c size_t l = strlen ((char *) msg); size_t 120 src/dps8/dps8_mgp.c hash32s(const void *buf, size_t len, uint32_t h) size_t 124 src/dps8/dps8_mgp.c for (size_t i = 0; i < len; i++) size_t 465 src/dps8/dps8_mt.c size_t prefix_len; size_t 480 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 911 src/dps8/dps8_mt.c if ((size_t) bufferLength < (strlen(selected_path) + strlen(tapeFileName) + 1)) size_t 2451 src/dps8/dps8_mt.c size_t bufl = strlen (buf) + 1; size_t 2458 src/dps8/dps8_mt.c size_t ringl = strlen (ring); size_t 794 src/dps8/dps8_prt.c ssize_t n_write = write (prt_state[prt_unit_num].prtfile, spaces, (size_t)nchars); size_t 1885 src/dps8/dps8_prt.c size_t len = strlen(cptr); size_t 295 src/dps8/dps8_socket_dev.c size_t l = strlen (str); size_t 2527 src/dps8/dps8_sys.c size_t pathlen = strcspn (searchp, ":"); size_t 2559 src/dps8/dps8_sys.c if (strncmp (line, offset_str, (size_t) offset_str_len) == 0) size_t 3094 src/dps8/dps8_sys.c size_t colon = strcspn (buf, ":"); size_t 3102 src/dps8/dps8_sys.c size_t plus = strcspn (buf + colon + 1, "+"); size_t 3673 src/dps8/dps8_sys.c struct dbgevent_t * p = (struct dbgevent_t *) bsearch (& key, dbgevents, (size_t) n_dbgevents, size_t 4148 src/dps8/dps8_sys.c hash32s(const void *buf, size_t len, uint32_t h) size_t 4152 src/dps8/dps8_sys.c for (size_t i = 0; i < len; i++) size_t 1398 src/dps8/dps8_utils.c size_t 260 src/dps8/fnpuv.c static void alloc_buffer (UNUSED uv_handle_t * handle, size_t suggested_size, size_t 421 src/dps8/fnpuv.c telnet_recv (p->telnetp, buf->base, (size_t) nread); size_t 623 src/dps8/fnpuv.c telnet_send (p->telnetp, (char *) data, (size_t) datalen); size_t 673 src/dps8/fnpuv.c telnet_send (p->telnetp, (char *) actual_data_start, (size_t) actual_datalen); size_t 30 src/dps8/fnpuv.h size_t nPos; size_t 122 src/dps8/libtelnet.c size_t buffer_size; size_t 124 src/dps8/libtelnet.c size_t buffer_pos; size_t 156 src/dps8/libtelnet.c static const size_t _buffer_sizes[] = { 0, 512, 2048, 8192, 16384, }; size_t 157 src/dps8/libtelnet.c static const size_t _buffer_sizes_count = sizeof(_buffer_sizes) / size_t 186 src/dps8/libtelnet.c size_t size) { size_t 470 src/dps8/libtelnet.c char* buffer, size_t size) { size_t 474 src/dps8/libtelnet.c size_t eindex, count; size_t 611 src/dps8/libtelnet.c static int _ttype_telnet(telnet_t *telnet, const char* buffer, size_t size) { size_t 733 src/dps8/libtelnet.c size_t i; size_t 765 src/dps8/libtelnet.c static void _process(telnet_t *telnet, const char *buffer, size_t size) { size_t 768 src/dps8/libtelnet.c size_t i, start; size_t 964 src/dps8/libtelnet.c size_t size) { size_t 1063 src/dps8/libtelnet.c size_t size) { size_t 1064 src/dps8/libtelnet.c size_t i, l; size_t 1088 src/dps8/libtelnet.c size_t size) { size_t 1089 src/dps8/libtelnet.c size_t i, l; size_t 1168 src/dps8/libtelnet.c _send(telnet, output + l, (size_t) (i - l)); size_t 1185 src/dps8/libtelnet.c _send(telnet, output + l, (size_t) (i - l)); size_t 1232 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 394 src/dps8/libtelnet.h size_t size); size_t 426 src/dps8/libtelnet.h const char *buffer, size_t size); size_t 437 src/dps8/libtelnet.h const char *buffer, size_t size); size_t 1121 src/dps8/panelScraper.c static void lwrite (FD fd, const void * buf, size_t count) size_t 409 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 302 src/dps8/shm.c open_shm(char *key, size_t shm_size) size_t 17 src/dps8/shm.h void *create_shm(char *key, size_t size); size_t 18 src/dps8/shm.h void *open_shm(char *key, size_t size); size_t 132 src/dps8/udplib.c int sim_parse_addr (const char * cptr, char * host, size_t hostlen, const char * default_host, size_t 133 src/dps8/udplib.c char * port, size_t port_len, const char * default_port, size_t 366 src/dps8/udplib.c size_t 370 src/dps8/udplib.c ssize_t rc = send (udp_links [link] . sock, & pkt, (size_t) pktlen, 0); size_t 381 src/dps8/udplib.c static int udp_receive_packet (int link, UDP_PACKET * ppkt, size_t pktsiz) size_t 451 src/dps8/udplib.c if (((size_t) pktlen) < UDP_HEADER_LEN) size_t 567 src/dps8/udplib.c (const char *cptr, char *host, size_t host_len, const char *default_host, size_t 568 src/dps8/udplib.c char *port, size_t port_len, const char *default_port, const char *validate_addr) size_t 54 src/dps8/utfile.c hash32s(const void *buf, size_t len, uint32_t h) size_t 58 src/dps8/utfile.c for (size_t i = 0; i < len; i++) size_t 47 src/dps8/uvutil.c static void alloc_buffer (UNUSED uv_handle_t * handle, size_t suggested_size, size_t 122 src/dps8/uvutil.c telnet_recv (access->telnetp, buf->base, (size_t) nread); size_t 194 src/dps8/uvutil.c telnet_send (access->telnetp, data, (size_t) datalen); size_t 207 src/dps8/uvutil.c size_t l = strlen (str); size_t 708 src/dps8/uvutil.c size_t l = strlen (str); size_t 42 src/libsir/include/sir/console.h bool _sir_write_stdout(const char* message, size_t len) { size_t 48 src/libsir/include/sir/console.h bool _sir_write_stderr(const char* message, size_t len) { size_t 57 src/libsir/include/sir/console.h bool _sir_write_stdio(HANDLE console, const char* message, size_t len); size_t 60 src/libsir/include/sir/console.h bool _sir_write_stdout(const char* message, size_t len) { size_t 65 src/libsir/include/sir/console.h bool _sir_write_stderr(const char* message, size_t len) { size_t 62 src/libsir/include/sir/filecache.h void _sir_fcache_shift(sirfcache* sfc, size_t idx); size_t 70 src/libsir/include/sir/filecache.h size_t* dispatched, size_t* wanted); size_t 81 src/libsir/include/sir/filesystem.h ssize_t _sir_readlink(const char* restrict path, char* restrict buf, size_t bufsize) size_t 88 src/libsir/include/sir/filesystem.h int _sir_aixself(char* buffer, size_t* size); size_t 96 src/libsir/include/sir/filesystem.h int _sir_resolvepath(const char* restrict path, char* restrict buffer, size_t size); size_t 85 src/libsir/include/sir/helpers.h size_t _low = low, _high = high; \ size_t 86 src/libsir/include/sir/helpers.h size_t _mid = (_low + _high) / 2 size_t 350 src/libsir/include/sir/helpers.h bool _sir_strsame(const char* lhs, const char* rhs, size_t count) { size_t 358 src/libsir/include/sir/helpers.h int _sir_strncpy(char* restrict dest, size_t destsz, size_t 359 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); size_t 365 src/libsir/include/sir/helpers.h int _sir_strncat(char* restrict dest, size_t destsz, size_t 366 src/libsir/include/sir/helpers.h const char* restrict src, size_t count); size_t 444 src/libsir/include/sir/helpers.h volatile size_t _n = size; \ size_t 452 src/libsir/include/sir/helpers.h uint32_t FNV32_1a(const uint8_t* data, size_t len) { size_t 454 src/libsir/include/sir/helpers.h for (size_t n = 0; n < len; n++) { size_t 482 src/libsir/include/sir/helpers.h void* _sir_explicit_memset(void *ptr, int c, size_t len); size_t 510 src/libsir/include/sir/helpers.h size_t _sir_strcreplace(char *str, const char c, const char n, int32_t max); size_t 47 src/libsir/include/sir/impl.h static inline size_t size_t 48 src/libsir/include/sir/impl.h _sir_strlcat(char *dst, const char *src, size_t dsize) size_t 52 src/libsir/include/sir/impl.h size_t n = dsize; size_t 53 src/libsir/include/sir/impl.h size_t dlen; size_t 101 src/libsir/include/sir/impl.h static inline size_t size_t 102 src/libsir/include/sir/impl.h _sir_strlcpy(char *dst, const char *src, size_t dsize) size_t 105 src/libsir/include/sir/impl.h size_t nleft = dsize; size_t 146 src/libsir/include/sir/impl.h static inline size_t size_t 147 src/libsir/include/sir/impl.h _sir_strnlen(const char *str, size_t maxlen) size_t 153 src/libsir/include/sir/impl.h return (size_t)(cp - str); size_t 170 src/libsir/include/sir/impl.h _sir_strndup(const char *str, size_t maxlen) size_t 173 src/libsir/include/sir/impl.h size_t len; size_t 237 src/libsir/include/sir/impl.h size_t len; size_t 203 src/libsir/include/sir/platform.h int pthread_getname_np(pthread_t thread, char* buffer, size_t length); size_t 56 src/libsir/include/sir/plugins.h size_t* dispatched, size_t* wanted); size_t 51 src/libsir/include/sir/queue.h size_t _sir_queue_size(sir_queue* q); size_t 40 src/libsir/include/sir/threadpool.h bool _sir_threadpool_create(sir_threadpool** pool, size_t num_threads); size_t 306 src/libsir/include/sir/types.h size_t counter; size_t 307 src/libsir/include/sir/types.h size_t threshold; size_t 325 src/libsir/include/sir/types.h size_t count; size_t 381 src/libsir/include/sir/types.h size_t count; size_t 404 src/libsir/include/sir/types.h size_t num_threads; /**< The number of threads in the pool. */ size_t 423 src/libsir/include/sir/types.h size_t output_len; size_t 78 src/libsir/src/sirconsole.c bool _sir_write_stdio(HANDLE console, const char* message, size_t len) { size_t 199 src/libsir/src/sirerrors.c static const size_t low = 0; size_t 200 src/libsir/src/sirerrors.c static const size_t high = _sir_countof(sir_errors) - 1; size_t 251 src/libsir/src/sirerrors.c static const size_t low = 0; size_t 252 src/libsir/src/sirerrors.c static const size_t high = _sir_countof(sir_errors) - 1; size_t 140 src/libsir/src/sirfilecache.c size_t writeLen = strnlen(output, SIR_MAXOUTPUT); size_t 141 src/libsir/src/sirfilecache.c size_t wrote = fwrite(output, sizeof(char), writeLen, sf->f); size_t 458 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { size_t 481 src/libsir/src/sirfilecache.c void _sir_fcache_shift(sirfcache* sfc, size_t idx) { size_t 483 src/libsir/src/sirfilecache.c for (size_t n = idx; n < sfc->count - 1; n++) { size_t 569 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { size_t 583 src/libsir/src/sirfilecache.c size_t idx = sfc->count - 1; size_t 597 src/libsir/src/sirfilecache.c size_t* dispatched, size_t* wanted) { size_t 609 src/libsir/src/sirfilecache.c for (size_t n = 0; n < sfc->count; n++) { size_t 239 src/libsir/src/sirfilesystem.c size_t size = (st.st_size > 0) ? st.st_size + 2 : SIR_MAXPATH; size_t 241 src/libsir/src/sirfilesystem.c size_t size = SIR_MAXPATH; size_t 280 src/libsir/src/sirfilesystem.c size_t length = (size_t)_sir_openbsdself(NULL, 0); size_t 446 src/libsir/src/sirfilesystem.c int _sir_aixself(char* buffer, size_t* size) { size_t 586 src/libsir/src/sirfilesystem.c int _sir_aixself(char* buffer, size_t* size) { size_t 643 src/libsir/src/sirfilesystem.c size_t mib_size = 0; size_t 671 src/libsir/src/sirfilesystem.c (void)memcpy(buffer, resolved, (size_t)length); size_t 682 src/libsir/src/sirfilesystem.c int _sir_resolvepath(const char* restrict path, char* restrict buffer, size_t size) { size_t 690 src/libsir/src/sirfilesystem.c size_t pathlen = strnlen(path, SIR_MAXPATH); size_t 717 src/libsir/src/sirfilesystem.c (void)_sir_strncpy(buffer, size, tmp2, (size_t)length); size_t 232 src/libsir/src/sirhelpers.c int _sir_strncpy(char* restrict dest, size_t destsz, const char* restrict src, size_t 233 src/libsir/src/sirhelpers.c size_t count) { size_t 244 src/libsir/src/sirhelpers.c size_t cpy = strlcpy(dest, src, destsz); size_t 253 src/libsir/src/sirhelpers.c int _sir_strncat(char* restrict dest, size_t destsz, const char* restrict src, size_t 254 src/libsir/src/sirhelpers.c size_t count) { size_t 265 src/libsir/src/sirhelpers.c size_t cat = strlcat(dest, src, destsz); size_t 329 src/libsir/src/sirhelpers.c typedef void*(*_sir_explicit_memset_t)(void*, int, size_t); size_t 334 src/libsir/src/sirhelpers.c void* _sir_explicit_memset(void* ptr, int c, size_t len) size_t 350 src/libsir/src/sirhelpers.c size_t len = strnlen(sub, strlen(str)); size_t 411 src/libsir/src/sirhelpers.c size_t _sir_strcreplace(char *str, const char c, const char n, int32_t max) { size_t 413 src/libsir/src/sirhelpers.c size_t cnt = 0; size_t 418 src/libsir/src/sirhelpers.c while (cnt < (size_t)max && (i = strchr(i, c)) != NULL) { size_t 664 src/libsir/src/sirinternal.c size_t old_threshold = cfg.state.last.threshold; size_t 712 src/libsir/src/sirinternal.c size_t dispatched = 0; size_t 713 src/libsir/src/sirinternal.c size_t wanted = 0; size_t 752 src/libsir/src/sirinternal.c size_t fdispatched = 0; size_t 753 src/libsir/src/sirinternal.c size_t fwanted = 0; size_t 762 src/libsir/src/sirinternal.c size_t pdispatched = 0; size_t 763 src/libsir/src/sirinternal.c size_t pwanted = 0; size_t 1021 src/libsir/src/sirinternal.c size_t msg_len = strnlen_s(buf->message, SIR_MAXMESSAGE) + 1; size_t 1023 src/libsir/src/sirinternal.c size_t msg_len = strnlen(buf->message, SIR_MAXMESSAGE) + 1; size_t 1170 src/libsir/src/sirinternal.c static const size_t low = 0; size_t 1171 src/libsir/src/sirinternal.c static const size_t high = SIR_NUMLEVELS - 1; size_t 1342 src/libsir/src/sirinternal.c size_t wlen = wcsnlen_s(wname, SIR_MAXPID); size_t 1344 src/libsir/src/sirinternal.c size_t wlen = wcslen(wname); size_t 1346 src/libsir/src/sirinternal.c size_t wlen = wcsnlen(wname, SIR_MAXPID); size_t 1392 src/libsir/src/sirinternal.c size_t name_len = strnlen_s(name, SIR_MAXPID); size_t 1394 src/libsir/src/sirinternal.c size_t name_len = strnlen(name, SIR_MAXPID); size_t 1486 src/libsir/src/sirinternal.c size_t sntprocs = sizeof(ntprocs); size_t 1496 src/libsir/src/sirinternal.c size_t sntprocs = sizeof(ntprocs); size_t 1506 src/libsir/src/sirinternal.c size_t sntprocs = sizeof(ntprocs); size_t 1518 src/libsir/src/sirinternal.c size_t asntprocs = sizeof(antprocs); size_t 391 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { size_t 410 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { size_t 417 src/libsir/src/sirplugins.c for (size_t i = n; i < spc->count - 1; i++) { size_t 441 src/libsir/src/sirplugins.c size_t idx = spc->count - 1; size_t 456 src/libsir/src/sirplugins.c size_t* dispatched, size_t* wanted) { size_t 468 src/libsir/src/sirplugins.c for (size_t n = 0; n < spc->count; n++) { size_t 91 src/libsir/src/sirqueue.c size_t _sir_queue_size(sir_queue* q) { size_t 96 src/libsir/src/sirqueue.c size_t idx = 1; size_t 48 src/libsir/src/sirtextstyle.c static const size_t low = 0; size_t 49 src/libsir/src/sirtextstyle.c static const size_t high = SIR_NUMLEVELS - 1; size_t 77 src/libsir/src/sirtextstyle.c static const size_t low = 0; size_t 78 src/libsir/src/sirtextstyle.c static const size_t high = SIR_NUMLEVELS - 1; size_t 123 src/libsir/src/sirtextstyle.c for (size_t n = 0; n < SIR_NUMLEVELS; n++) { size_t 45 src/libsir/src/sirthreadpool.c bool _sir_threadpool_create(sir_threadpool** pool, size_t num_threads) { size_t 81 src/libsir/src/sirthreadpool.c for (size_t n = 0; n < num_threads; n++) { size_t 155 src/libsir/src/sirthreadpool.c for (size_t n = 0; n < (*pool)->num_threads; n++) { size_t 135 src/simh/linehistory.c size_t buflen; /* Edited line buffer size. */ size_t 137 src/simh/linehistory.c size_t plen; /* Prompt length. */ size_t 138 src/simh/linehistory.c size_t pos; /* Current cursor position. */ size_t 139 src/simh/linehistory.c size_t oldpos; /* Previous refresh cursor position. */ size_t 140 src/simh/linehistory.c size_t len; /* Current edited line length. */ size_t 141 src/simh/linehistory.c size_t cols; /* Number of columns in terminal. */ size_t 142 src/simh/linehistory.c size_t maxrows; /* Maximum num of rows used so far (multiline mode) */ size_t 171 src/simh/linehistory.c size_t pstrlen(const char *s); size_t 428 src/simh/linehistory.c size_t i; size_t 466 src/simh/linehistory.c size_t stop = 0, i = 0; size_t 570 src/simh/linehistory.c size_t len = strlen(str); size_t 708 src/simh/linehistory.c size_t plen = pstrlen(l->prompt); size_t 711 src/simh/linehistory.c size_t len = l->len; size_t 712 src/simh/linehistory.c size_t pos = l->pos; size_t 1234 src/simh/linehistory.c size_t old_pos = l->pos; size_t 1235 src/simh/linehistory.c size_t diff; size_t 1255 src/simh/linehistory.c size_t next_word_end = l->pos; size_t 1282 src/simh/linehistory.c linenoiseEdit(int stdin_fd, int stdout_fd, char *buf, size_t buflen, size_t 1566 src/simh/linehistory.c linenoiseRaw(char *buf, size_t buflen, const char *prompt) size_t 1599 src/simh/linehistory.c size_t len = 0, maxlen = 0; size_t 1675 src/simh/linehistory.c size_t len; size_t 1868 src/simh/linehistory.c size_t size_t 1871 src/simh/linehistory.c size_t len = 0, i = 0; size_t 73 src/simh/linehistory.h size_t len; size_t 528 src/simh/scp.c const size_t size_map[] = { sizeof (int8), size_t 1451 src/simh/scp.c size_t size = sizeof(ret); size_t 1466 src/simh/scp.c size_t len = strlen(sub); size_t 1580 src/simh/scp.c dl_iterate_phdr_callback (struct dl_phdr_info *info, size_t size, void *data) size_t 2018 src/simh/scp.c size_t alias_len = strlen (cmd_table[i].name); size_t 2252 src/simh/scp.c size_t cmd_cnt = 0; size_t 2253 src/simh/scp.c size_t cmd_size = 0; size_t 2254 src/simh/scp.c size_t max_cmdname_size = 0; size_t 2255 src/simh/scp.c size_t i, line_offset; size_t 2336 src/simh/scp.c size_t max_namelen = 0; size_t 3168 src/simh/scp.c void sim_sub_args (char *instr, size_t instr_size, char *do_arg[]) size_t 5584 src/simh/scp.c size_t i; size_t 6962 src/simh/scp.c size_t sz; size_t 6978 src/simh/scp.c ptr = (uint32 *)(((size_t) rptr->loc) + (idx * rptr->str_size)); size_t 7062 src/simh/scp.c size_t sz; size_t 7090 src/simh/scp.c ptr = (uint32 *)(((size_t) rptr->loc) + (idx * rptr->str_size)); size_t 7163 src/simh/scp.c size_t sz; size_t 7234 src/simh/scp.c size_t sz; size_t 7770 src/simh/scp.c char *sim_encode_quoted_string (const uint8 *iptr, size_t size) size_t 7772 src/simh/scp.c size_t i; size_t 7831 src/simh/scp.c void fprint_buffer_string (FILE *st, const uint8 *buf, size_t size) size_t 8049 src/simh/scp.c size_t slnt; size_t 8259 src/simh/scp.c const char *put_switches (char *buf, size_t bufsize, uint32 sw) size_t 8271 src/simh/scp.c if ((size_t)(optr - buf) < bufsize) size_t 8290 src/simh/scp.c size_t logop, cmpop; size_t 8296 src/simh/scp.c const size_t invalid_op = (size_t) -1; size_t 8355 src/simh/scp.c size_t logop, cmpop; size_t 8363 src/simh/scp.c const size_t invalid_op = (size_t) -1; size_t 8584 src/simh/scp.c size_t width, uint32 format) size_t 8588 src/simh/scp.c size_t d; size_t 8589 src/simh/scp.c size_t digit; size_t 8590 src/simh/scp.c size_t ndigits; size_t 8591 src/simh/scp.c size_t commas = 0; size_t 9449 src/simh/scp.c size_t lnt; size_t 9660 src/simh/scp.c CONST EXPTAB *sim_exp_fnd (CONST EXPECT *exp, const char *match, size_t start_rule) size_t 9662 src/simh/scp.c size_t i; size_t 9676 src/simh/scp.c size_t i; size_t 9734 src/simh/scp.c size_t i; size_t 9829 src/simh/scp.c size_t compare_size = (exp->rules[i].switches & EXP_TYP_REGEX) ? MAX(10 * strlen(ep->match_pattern), 1024) : exp->rules[i].size; size_t 9902 src/simh/scp.c size_t i; size_t 9913 src/simh/scp.c size_t i; size_t 10027 src/simh/scp.c t_stat sim_send_input (SEND *snd, uint8 *data, size_t size, uint32 after, uint32 delay) size_t 10148 src/simh/scp.c size_t cond; size_t 10373 src/simh/scp.c size_t bufsize = sizeof(stackbuf); size_t 10375 src/simh/scp.c size_t len; size_t 10510 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 10518 src/simh/scp.c size_t i, same, group, sidx, oidx, ridx, eidx, soff; size_t 10649 src/simh/scp.c size_t level; size_t 10656 src/simh/scp.c size_t len; size_t 10658 src/simh/scp.c size_t kidwid; size_t 10665 src/simh/scp.c size_t block; size_t 10666 src/simh/scp.c size_t line; size_t 10683 src/simh/scp.c static void appendText (TOPIC *topic, const char *text, size_t len) size_t 10708 src/simh/scp.c size_t i; size_t 10729 src/simh/scp.c size_t n, ilvl; size_t 10732 src/simh/scp.c size_t vsnum = 0; size_t 10734 src/simh/scp.c size_t asnum = 0; size_t 10832 src/simh/scp.c size_t i; size_t 10902 src/simh/scp.c size_t n = 0; size_t 11045 src/simh/scp.c size_t i, skiplines; size_t 11117 src/simh/scp.c size_t i; size_t 11143 src/simh/scp.c static size_t matchHelpTopicName (TOPIC *topic, const char *token) size_t 11145 src/simh/scp.c size_t i, match; size_t 11185 src/simh/scp.c size_t match; size_t 11186 src/simh/scp.c size_t i; size_t 11335 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 152 src/simh/scp.h char *sim_encode_quoted_string (const uint8 *iptr, size_t size); size_t 153 src/simh/scp.h void fprint_buffer_string (FILE *st, const uint8 *buf, size_t size); size_t 157 src/simh/scp.h t_stat sprint_val (char *buf, t_value val, uint32 rdx, size_t wid, uint32 fmt); 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 321 src/simh/scp.h size_t device_panel_count); size_t 326 src/simh/scp.h size_t device_panel_count, size_t 385 src/simh/scp.h size_t size, size_t 392 src/simh/scp.h size_t element_count, size_t 393 src/simh/scp.h size_t size, size_t 400 src/simh/scp.h size_t size, size_t 523 src/simh/scp.h size_t size, size_t 539 src/simh/scp.h size_t size, size_t 559 src/simh/scp.h size_t addr_size, size_t 561 src/simh/scp.h size_t value_size, size_t 581 src/simh/scp.h size_t addr_size, size_t 583 src/simh/scp.h size_t value_size, size_t 599 src/simh/sim_console.c size_t unwritten; size_t 861 src/simh/sim_console.c if (((size_t)sim_rem_buf_ptr[i]) >= sizeof(cbuf)) size_t 508 src/simh/sim_defs.h size_t str_size; /* structure size */ size_t 591 src/simh/sim_defs.h size_t logic; /* logical operator */ size_t 592 src/simh/sim_defs.h size_t boolop; /* boolean operator */ size_t 627 src/simh/sim_defs.h size_t size; /* match string size */ size_t 645 src/simh/sim_defs.h size_t size; /* count of match rules */ size_t 648 src/simh/sim_defs.h size_t buf_ins; /* buffer insertion point for the next output data */ size_t 649 src/simh/sim_defs.h size_t buf_size; /* buffer size */ size_t 662 src/simh/sim_defs.h size_t bufsize; /* buffer size */ size_t 663 src/simh/sim_defs.h size_t insoff; /* insert offset */ size_t 664 src/simh/sim_defs.h size_t extoff; /* extra offset */ size_t 141 src/simh/sim_disk.c size_t i; size_t 242 src/simh/sim_disk.c size_t i; size_t 344 src/simh/sim_disk.c size_t i; size_t 748 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 1175 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 105 src/simh/sim_fio.c void sim_buf_swap_data (void *bptr, size_t size, size_t count) size_t 107 src/simh/sim_fio.c size_t j; size_t 108 src/simh/sim_fio.c size_t k; size_t 124 src/simh/sim_fio.c size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr) size_t 126 src/simh/sim_fio.c size_t c; size_t 137 src/simh/sim_fio.c void sim_buf_copy_swapped (void *dbuf, const void *sbuf, size_t size, size_t count) size_t 139 src/simh/sim_fio.c size_t j; size_t 140 src/simh/sim_fio.c size_t k; size_t 159 src/simh/sim_fio.c size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr) size_t 161 src/simh/sim_fio.c size_t c, nelem, nbuf, lcnt, total; size_t 53 src/simh/sim_fio.h size_t sim_fread (void *bptr, size_t size, size_t count, FILE *fptr); size_t 54 src/simh/sim_fio.h size_t sim_fwrite (const void *bptr, size_t size, size_t count, FILE *fptr); size_t 60 src/simh/sim_fio.h void sim_buf_swap_data (void *bptr, size_t size, size_t count); size_t 61 src/simh/sim_fio.h void sim_buf_copy_swapped (void *dptr, const void *bptr, size_t size, size_t count); size_t 161 src/simh/sim_sock.c size_t hostlen, char *serv, size_t servlen, int flags); size_t 337 src/simh/sim_sock.c char *host, size_t hostlen, size_t 338 src/simh/sim_sock.c char *serv, size_t servlen, size_t 491 src/simh/sim_sock.c (const char *cptr, char *host, size_t host_len, const char *default_host, size_t 492 src/simh/sim_sock.c char *port, size_t port_len, const char *default_port, const char *validate_addr) size_t 657 src/simh/sim_sock.c (const char *cptr, char *host, size_t hostlen, const char *default_host, size_t 658 src/simh/sim_sock.c char *port, size_t port_len, char *localport, size_t localport_len, const char *default_port) size_t 668 src/simh/sim_sock.c if (localport_len > (size_t)(hostp-cptr)) size_t 669 src/simh/sim_sock.c localport_len = (size_t)(hostp-cptr); size_t 1088 src/simh/sim_sock.c static int _sim_getaddrname (struct sockaddr *addr, size_t addrsize, char *hostnamebuf, char *portnamebuf) size_t 1133 src/simh/sim_sock.c _sim_getaddrname ((struct sockaddr *)&sockname, (size_t)socknamesize, hostbuf, portbuf); size_t 1137 src/simh/sim_sock.c _sim_getaddrname ((struct sockaddr *)&peername, (size_t)peernamesize, hostbuf, portbuf); size_t 87 src/simh/sim_sock.h (const char *cptr, char *host, size_t hostlen, const char *default_host, size_t 88 src/simh/sim_sock.h char *port, size_t port_len, const char *default_port, const char *validate_addr); size_t 91 src/simh/sim_sock.h (const char *cptr, char *host, size_t hostlen, const char *default_host, size_t 92 src/simh/sim_sock.h char *port, size_t port_len, char *localport, size_t local_port_len, const char *default_port); size_t 115 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 301 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 405 src/simh/sim_tape.c size_t bufcntr, bufcap; /* buffer counter and capacity */ size_t 620 src/simh/sim_tape.c size_t bufcntr, bufcap; /* buffer counter and capacity */ size_t 660 src/simh/sim_tape.c bufcap = (size_t) uptr->pos /* then reduce the capacity accordingly */ size_t 1890 src/simh/sim_tape.c size_t i; size_t 410 src/simh/sim_tmxr.c if ((size_t)loopfree < (size_t)(length + sizeof(length))) size_t 637 src/simh/sim_tmxr.c static char *growstring(char **string, size_t growth) size_t 766 src/simh/sim_tmxr.c hash32s(const void *buf, size_t len, uint32_t h) size_t 770 src/simh/sim_tmxr.c for (size_t i = 0; i < len; i++) size_t 1516 src/simh/sim_tmxr.c t_stat tmxr_get_packet_ln (TMLN *lp, const uint8 **pbuf, size_t *psize) size_t 1521 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 1524 src/simh/sim_tmxr.c size_t pktsize; size_t 1525 src/simh/sim_tmxr.c size_t fc_size = (frame_byte ? 1 : 0); size_t 1895 src/simh/sim_tmxr.c t_stat tmxr_put_packet_ln (TMLN *lp, const uint8 *buf, size_t size) size_t 1900 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 1903 src/simh/sim_tmxr.c size_t fc_size = (frame_byte ? 1 : 0); size_t 1904 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);