len              6582 src/decNumber/decNumber.c                         Int len, Int *residue, uInt *status) {
len              6592 src/decNumber/decNumber.c   discard=len-set->digits;    // digits to discard
len              6596 src/decNumber/decNumber.c       count=len;              // avoids D2U
len              6600 src/decNumber/decNumber.c       dn->digits=len;         // set the new length
len              6612 src/decNumber/decNumber.c   if (discard>len) {          // everything, +1, is being discarded
len              6616 src/decNumber/decNumber.c       count=len;              // avoids D2U
len              7444 src/decNumber/decNumber.c static Int decGetDigits(Unit *uar, Int len) {
len              7445 src/decNumber/decNumber.c   Unit *up=uar+(len-1);            // -> msu
len              7446 src/decNumber/decNumber.c   Int  digits=(len-1)*DECDPUN+1;   // possible digits excluding msu
len               659 src/dps8/dps8_console.c     size_t len = strlen (text);
len               660 src/dps8/dps8_console.c     char   label [len + 1];
len               661 src/dps8/dps8_console.c     char   with  [len + 1];
len               662 src/dps8/dps8_console.c     char   drive [len + 1];
len              4683 src/dps8/dps8_cpu.c         int32 i, j, len;
len              4692 src/dps8/dps8_cpu.c             len = vsnprintf (buf, (int)((unsigned long)(bufsize)-1), fmt, arglist);
len              4697 src/dps8/dps8_cpu.c             if ((len < 0) || (len >= bufsize-1))
len              4704 src/dps8/dps8_cpu.c                 if (bufsize < len + 2)
len              4705 src/dps8/dps8_cpu.c                   bufsize = len + 2;
len              4717 src/dps8/dps8_cpu.c         for (i = j = 0; i < len; ++i)
len              1305 src/dps8/dps8_crdpun.c     size_t len = strlen(cptr);
len              1309 src/dps8/dps8_crdpun.c     if (len >= (sizeof(pun_path_prefix) - 2))
len              1313 src/dps8/dps8_crdpun.c     if (len > 0)
len              1315 src/dps8/dps8_crdpun.c         if (pun_path_prefix[len - 1] != '/')
len              1317 src/dps8/dps8_crdpun.c             pun_path_prefix[len++] = '/';
len              1318 src/dps8/dps8_crdpun.c             pun_path_prefix[len] = 0;
len              1090 src/dps8/dps8_crdrdr.c     size_t len = strlen(cptr);
len              1094 src/dps8/dps8_crdrdr.c     if (len >= (sizeof(rdr_path_prefix) - (strlen(rdr_name) + 3)))
len              1099 src/dps8/dps8_crdrdr.c     if (len > 0)
len              1101 src/dps8/dps8_crdrdr.c         if (rdr_path_prefix[len - 1] != '/')
len              1103 src/dps8/dps8_crdrdr.c             if (len == sizeof(rdr_path_prefix) - 1)
len              1105 src/dps8/dps8_crdrdr.c             rdr_path_prefix[len++] = '/';
len              1106 src/dps8/dps8_crdrdr.c             rdr_path_prefix[len] = 0;
len              1335 src/dps8/dps8_fnp2.c static void send_3270_msg (uint ctlr_no, unsigned char * msg, size_t len, bool brk)
len              1339 src/dps8/dps8_fnp2.c 
len              1341 src/dps8/dps8_fnp2.c 
len              1348 src/dps8/dps8_fnp2.c     if ((unsigned long) linep->nPos + len > sizeof (linep->buffer))
len              1352 src/dps8/dps8_fnp2.c         memcpy (linep->buffer + linep->nPos, msg, len);
len              1353 src/dps8/dps8_fnp2.c         linep->nPos += len;
len               120 src/dps8/dps8_mgp.c hash32s(const void *buf, size_t len, uint32_t h)
len               124 src/dps8/dps8_mgp.c   for (size_t i = 0; i < len; i++)
len              1247 src/dps8/dps8_mgp.c make_cbridge_pkt(int len, int opcode)
len              1249 src/dps8/dps8_mgp.c   u_char *pkt = malloc(len + CBRIDGE_PACKET_HEADER_SIZE); /* space for cbridge header */
len              1262 src/dps8/dps8_mgp.c   (void)memset(pkt, 0, len + CBRIDGE_PACKET_HEADER_SIZE);
len              1265 src/dps8/dps8_mgp.c   pkt[2]  = len & 0xff;
len              1266 src/dps8/dps8_mgp.c   pkt[3]  = len >> 8;
len              1272 src/dps8/dps8_mgp.c make_rfc_pkt(int *len, char *host, char *contact, char *args)
len              1275 src/dps8/dps8_mgp.c   *len = strlen(host) + 1 + strlen(contact) + \
len              1278 src/dps8/dps8_mgp.c   u_char *pkt = make_cbridge_pkt(*len, CHOP_RFC);
len              1351 src/dps8/dps8_mgp.c cbridge_send_packet(int i, u_char *pkt, int len)
len              1354 src/dps8/dps8_mgp.c   int x    = write(skt, pkt, len);
len              1372 src/dps8/dps8_mgp.c   else if (x != len)
len              1374 src/dps8/dps8_mgp.c       sim_printf("%s: wrote %d bytes (expected %d)\n", __func__, x, len);
len               480 src/dps8/dps8_mt.c     size_t len = strlen(cptr);
len               484 src/dps8/dps8_mt.c     if (len >= (sizeof(tape_path_prefix) - (LABEL_MAX + 2)))
len               514 src/dps8/dps8_mt.c     if (len > 0)
len               516 src/dps8/dps8_mt.c         if (tape_path_prefix[len - 1] != '/')
len               518 src/dps8/dps8_mt.c             tape_path_prefix[len++] = '/';
len               519 src/dps8/dps8_mt.c             tape_path_prefix[len] = 0;
len               538 src/dps8/dps8_mt.c     size_t len = strlen(cptr);
len               540 src/dps8/dps8_mt.c     char buffer[len + 2];
len               541 src/dps8/dps8_mt.c     char prefix[len + 2];
len               542 src/dps8/dps8_mt.c     char dir[len + 2];
len              1885 src/dps8/dps8_prt.c     size_t len = strlen(cptr);
len              1887 src/dps8/dps8_prt.c     if (len >= sizeof(prt_path))
len              1891 src/dps8/dps8_prt.c     if (len > 0)
len              1893 src/dps8/dps8_prt.c         if (prt_path[len - 1] != '/')
len              1895 src/dps8/dps8_prt.c             if (len == sizeof(prt_path) - 1)
len              1897 src/dps8/dps8_prt.c             prt_path[len++] = '/';
len              1898 src/dps8/dps8_prt.c             prt_path[len] = 0;
len                41 src/dps8/dps8_socket_dev.c # define bzero(b,len) ((void)memset((b), '\0', (len)), (void) 0)
len              4148 src/dps8/dps8_sys.c hash32s(const void *buf, size_t len, uint32_t h)
len              4152 src/dps8/dps8_sys.c   for (size_t i = 0; i < len; i++)
len                42 src/dps8/fnpuv.h void fnpuv_start_write (uv_tcp_t * client, unsigned char * data, ssize_t len);
len               210 src/dps8/segldr.c     long len = strtol (p3, & endptr, 8);
len               219 src/dps8/segldr.c     if (len < 1 || len > 255)
len               229 src/dps8/segldr.c     long length = len * 1024;
len               235 src/dps8/segldr.c                 (unsigned long) segnum, nextSegAddr, (unsigned long) len, length);
len                54 src/dps8/utfile.c hash32s(const void *buf, size_t len, uint32_t h)
len                58 src/dps8/utfile.c   for (size_t i = 0; i < len; i++)
len                42 src/libsir/include/sir/console.h bool _sir_write_stdout(const char* message, size_t len) {
len                43 src/libsir/include/sir/console.h     SIR_UNUSED(len);
len                48 src/libsir/include/sir/console.h bool _sir_write_stderr(const char* message, size_t len) {
len                49 src/libsir/include/sir/console.h     SIR_UNUSED(len);
len                57 src/libsir/include/sir/console.h bool _sir_write_stdio(HANDLE console, const char* message, size_t len);
len                60 src/libsir/include/sir/console.h bool _sir_write_stdout(const char* message, size_t len) {
len                61 src/libsir/include/sir/console.h     return _sir_write_stdio(__sir_stdout, message, len);
len                65 src/libsir/include/sir/console.h bool _sir_write_stderr(const char* message, size_t len) {
len                66 src/libsir/include/sir/console.h     return _sir_write_stdio(__sir_stderr, message, len);
len               452 src/libsir/include/sir/helpers.h uint32_t FNV32_1a(const uint8_t* data, size_t len) {
len               454 src/libsir/include/sir/helpers.h     for (size_t n = 0; n < len; n++) {
len               482 src/libsir/include/sir/helpers.h void* _sir_explicit_memset(void *ptr, int c, size_t len);
len               173 src/libsir/include/sir/impl.h   size_t len;
len               175 src/libsir/include/sir/impl.h   len  = _sir_strnlen(str, maxlen);
len               177 src/libsir/include/sir/impl.h   copy = (char*)malloc(len + 1);
len               179 src/libsir/include/sir/impl.h     (void)memcpy(copy, str, len);
len               180 src/libsir/include/sir/impl.h     copy[len] = '\0';
len               237 src/libsir/include/sir/impl.h   size_t len;
len               241 src/libsir/include/sir/impl.h     len = strlen(find);
len               247 src/libsir/include/sir/impl.h     } while (strncasecmp(s, find, len) != 0);
len                78 src/libsir/src/sirconsole.c bool _sir_write_stdio(HANDLE console, const char* message, size_t len) {
len                79 src/libsir/src/sirconsole.c     DWORD chars   = (DWORD)len;
len               334 src/libsir/src/sirhelpers.c void* _sir_explicit_memset(void* ptr, int c, size_t len)
len               336 src/libsir/src/sirhelpers.c     return _sir_explicit_memset_impl(ptr, c, len);
len               350 src/libsir/src/sirhelpers.c         size_t len = strnlen(sub, strlen(str));
len               353 src/libsir/src/sirhelpers.c         while ((r = strstr(p = r + len, sub)) != NULL)
len               140 src/simh/linehistory.c   size_t len;            /* Current edited line length.                      */
len               430 src/simh/linehistory.c   for (i = 0; i < lc->len; i++)
len               460 src/simh/linehistory.c   if (lc.len == 0)
len               471 src/simh/linehistory.c       if (i < lc.len)
len               475 src/simh/linehistory.c         ls->len = ls->pos = strlen(lc.cvec[i]);
len               478 src/simh/linehistory.c         ls->len = saved.len;
len               497 src/simh/linehistory.c         i = ( i + 1 ) % ( lc.len + 1 );
len               498 src/simh/linehistory.c         if (i == lc.len)
len               508 src/simh/linehistory.c         if (i < lc.len)
len               511 src/simh/linehistory.c           ls->len  = ls->pos = nwritten;
len               570 src/simh/linehistory.c   size_t len = strlen(str);
len               573 src/simh/linehistory.c   copy = malloc(len + 1);
len               579 src/simh/linehistory.c   memcpy(copy, str, len + 1);
len               580 src/simh/linehistory.c   cvec = realloc(lc->cvec, sizeof ( char * ) * ( lc->len + 1 ));
len               588 src/simh/linehistory.c   lc->cvec[lc->len++] = copy;
len               603 src/simh/linehistory.c   int len;
len               610 src/simh/linehistory.c   ab->len = 0;
len               614 src/simh/linehistory.c abAppend(struct abuf *ab, const char *s, int len)
len               616 src/simh/linehistory.c   if (len <= 0)
len               621 src/simh/linehistory.c   char *new = realloc(ab->b, 1 + ab->len + len);
len               628 src/simh/linehistory.c   memcpy(new + ab->len, s, len);
len               630 src/simh/linehistory.c   ab->len += len;
len               652 src/simh/linehistory.c   if (hintsCallback && plen + l->len < l->cols)
len               659 src/simh/linehistory.c       int hintmaxlen = l->cols - ( plen + l->len );
len               711 src/simh/linehistory.c   size_t len  = l->len;
len               718 src/simh/linehistory.c     len--;
len               721 src/simh/linehistory.c   while (plen + len > l->cols)
len               723 src/simh/linehistory.c     len--;
len               735 src/simh/linehistory.c     while (len--)
len               743 src/simh/linehistory.c   abAppend(&ab, buf, len);
len               757 src/simh/linehistory.c   if (write(fd, ab.b, ab.len) == -1)
len               776 src/simh/linehistory.c   int rows = ( plen + l->len + l->cols - 1 )
len               820 src/simh/linehistory.c     for (i = 0; i < l->len; i++)
len               828 src/simh/linehistory.c   abAppend(&ab, l->buf, l->len);
len               843 src/simh/linehistory.c   if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0)
len               880 src/simh/linehistory.c   if (write(fd, ab.b, ab.len) == -1)
len               914 src/simh/linehistory.c   if (l->len < l->buflen)
len               916 src/simh/linehistory.c     if (l->len == l->pos)
len               920 src/simh/linehistory.c       l->len++;
len               921 src/simh/linehistory.c       l->buf[l->len] = '\0';
len               923 src/simh/linehistory.c       if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback ))
len               942 src/simh/linehistory.c       memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos);
len               944 src/simh/linehistory.c       l->len++;
len               946 src/simh/linehistory.c       l->buf[l->len] = '\0';
len               969 src/simh/linehistory.c   if (l->pos != l->len)
len               980 src/simh/linehistory.c   if (l->len == 0 || l->pos >= l->len)
len               987 src/simh/linehistory.c     while (l->pos < l->len && l->buf[l->pos] == ' ')
len               993 src/simh/linehistory.c   while (l->pos < l->len && l->buf[l->pos] != ' ')
len              1004 src/simh/linehistory.c   if (l->len == 0)
len              1044 src/simh/linehistory.c   if (l->pos != l->len)
len              1046 src/simh/linehistory.c     l->pos = l->len;
len              1097 src/simh/linehistory.c     l->len = l->pos = strlen(l->buf);
len              1151 src/simh/linehistory.c           l->len = strlen(l->buf);
len              1179 src/simh/linehistory.c           l->len = strlen(l->buf);
len              1203 src/simh/linehistory.c   if (l->len > 0 && l->pos < l->len)
len              1205 src/simh/linehistory.c     memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1);
len              1206 src/simh/linehistory.c     l->len--;
len              1207 src/simh/linehistory.c     l->buf[l->len] = '\0';
len              1216 src/simh/linehistory.c   if (l->pos > 0 && l->len > 0)
len              1218 src/simh/linehistory.c     memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos);
len              1220 src/simh/linehistory.c     l->len--;
len              1221 src/simh/linehistory.c     l->buf[l->len] = '\0';
len              1246 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1);
len              1247 src/simh/linehistory.c   l->len -= diff;
len              1257 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] == ' ')
len              1261 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] != ' ')
len              1265 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end);
len              1266 src/simh/linehistory.c   l->len -= next_word_end - l->pos;
len              1299 src/simh/linehistory.c   l.len           = 0;
len              1329 src/simh/linehistory.c       return ( l.len );
len              1346 src/simh/linehistory.c         return ( l.len );
len              1388 src/simh/linehistory.c       return ((int)l.len );
len              1400 src/simh/linehistory.c       if (l.len > 0) /* if the line is empty, act as end-of-file.  */
len              1526 src/simh/linehistory.c       l.pos  = l.len = 0;
len              1532 src/simh/linehistory.c       l.len      = l.pos;
len              1599 src/simh/linehistory.c   size_t len = 0, maxlen = 0;
len              1603 src/simh/linehistory.c     if (len == maxlen)
len              1627 src/simh/linehistory.c       if (c == EOF && len == 0)
len              1634 src/simh/linehistory.c         line[len] = '\0';
len              1640 src/simh/linehistory.c       line[len] = c;
len              1641 src/simh/linehistory.c       len++;
len              1675 src/simh/linehistory.c     size_t len;
len              1685 src/simh/linehistory.c     len = strlen(buf);
len              1686 src/simh/linehistory.c     while (len && ( buf[len - 1] == '\n' || buf[len - 1] == '\r' ))
len              1688 src/simh/linehistory.c       len--;
len              1689 src/simh/linehistory.c       buf[len] = '\0';
len              1817 src/simh/linehistory.c linenoiseHistorySetMaxLen(int len)
len              1821 src/simh/linehistory.c   if (len < 1)
len              1830 src/simh/linehistory.c     new = malloc(sizeof ( char * ) * len);
len              1837 src/simh/linehistory.c     if (len < tocopy)
len              1841 src/simh/linehistory.c       for (j = 0; j < tocopy - len; j++)
len              1846 src/simh/linehistory.c       tocopy = len;
len              1849 src/simh/linehistory.c     (void)memset(new, 0, sizeof ( char * ) * len);
len              1858 src/simh/linehistory.c   history_max_len = len;
len              1871 src/simh/linehistory.c   size_t len = 0, i = 0;
len              1881 src/simh/linehistory.c     len++;
len              1884 src/simh/linehistory.c   return ( len );
len                73 src/simh/linehistory.h   size_t len;
len                93 src/simh/linehistory.h int  linenoiseHistorySetMaxLen(int len);
len              1466 src/simh/scp.c         size_t len = strlen(sub);
len              1467 src/simh/scp.c         while ((r = strstr(p = r + len, sub)) != NULL) {
len              10320 src/simh/scp.c int32 len;
len              10325 src/simh/scp.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
len              10330 src/simh/scp.c     if ((len < 0) || (len >= bufsize-1)) {
len              10336 src/simh/scp.c         if (bufsize < len + 2)
len              10337 src/simh/scp.c             bufsize = len + 2;
len              10375 src/simh/scp.c size_t len;
len              10381 src/simh/scp.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
len              10386 src/simh/scp.c     if (len >= bufsize - 1) {
len              10390 src/simh/scp.c         if (bufsize < len + 2)
len              10391 src/simh/scp.c             bufsize = len + 2;
len              10450 src/simh/scp.c     int32 i, j, len;
len              10456 src/simh/scp.c         len = vsnprintf (buf, bufsize-1, fmt, arglist);
len              10461 src/simh/scp.c         if ((len < 0) || (len >= bufsize-1)) {
len              10467 src/simh/scp.c             if (bufsize < len + 2)
len              10468 src/simh/scp.c                 bufsize = len + 2;
len              10480 src/simh/scp.c     for (i = j = 0; i < len; ++i) {
len              10503 src/simh/scp.c     debug_unterm = len ? (((buf[len-1]=='\n')) ? 0 : 1) : debug_unterm;
len              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)
len              10516 src/simh/scp.c     sim_debug (reason, dptr, "%s %s %slen: %08X\n", sim_uname(uptr), txt, position, (unsigned int)len);
len              10517 src/simh/scp.c     if (data && len) {
len              10557 src/simh/scp.c         for (i=same=0; i<len; i += 16) {
len              10568 src/simh/scp.c             group = (((len - i) > 16) ? 16 : (len - i));
len              10611 src/simh/scp.c             sim_debug (reason, dptr, "%04lx thru %04lx same as above\n", i-(16*same), (long unsigned int)(len-1));
len              10656 src/simh/scp.c     size_t         len;
len              10683 src/simh/scp.c static void appendText (TOPIC *topic, const char *text, size_t len)
len              10687 src/simh/scp.c if (!len)
len              10690 src/simh/scp.c newt = (char *)realloc (topic->text, topic->len + len +1);
len              10697 src/simh/scp.c memcpy (newt + topic->len, text, len);
len              10698 src/simh/scp.c topic->len +=len;
len              10699 src/simh/scp.c newt[topic->len] = '\0';
len               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);
len              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)
len              1183 src/simh/sim_disk.c     sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), pos, len, txt, reason);
len                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);
len               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);
len               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)
len               308 src/simh/sim_tape.c     sim_data_trace(ctx->dptr, uptr, (detail ? data : NULL), "", len, txt, reason);
len               766 src/simh/sim_tmxr.c hash32s(const void *buf, size_t len, uint32_t h)
len               770 src/simh/sim_tmxr.c   for (size_t i = 0; i < len; i++)
len              3480 src/simh/sim_tmxr.c int32 i, len;
len              3484 src/simh/sim_tmxr.c     len = vsnprintf (buf, bufsize-1, fmt, arglist);
len              3488 src/simh/sim_tmxr.c     if ((len < 0) || (len >= bufsize-1)) {
len              3494 src/simh/sim_tmxr.c         if (bufsize < len + 2)
len              3495 src/simh/sim_tmxr.c             bufsize = len + 2;
len              3517 src/simh/sim_tmxr.c for (i = 0; i < len; ++i) {