l                5963 src/decNumber/decNumber.c   const Unit *l, *r, *u;           // work
l                5970 src/decNumber/decNumber.c     l=a+alength-1;
l                5972 src/decNumber/decNumber.c     for (;l>=a; l--, r--) {
l                5973 src/decNumber/decNumber.c       if (*l>*r) return 1;
l                5974 src/decNumber/decNumber.c       if (*l<*r) return -1;
l                  41 src/dps8/dps8.h typedef struct { uint64_t h; uint64_t l; } x__uint128_t;
l                  42 src/dps8/dps8.h typedef struct { int64_t h;  uint64_t l; } x__int128_t;
l                  43 src/dps8/dps8.h #  define construct_128(h, l) ((uint128) { (h), (l) })
l                  44 src/dps8/dps8.h #  define construct_s128(h, l) ((int128) { (h), (l) })
l                 174 src/dps8/dps8_cable.c     long l = strtol (value, & endptr, 0);
l                 175 src/dps8/dps8_cable.c     if (* endptr || l < 0 || l > INT_MAX)
l                 180 src/dps8/dps8_cable.c     return (int) l;
l                 230 src/dps8/dps8_cable.c     long l = strtol (p, & q, 0);
l                 231 src/dps8/dps8_cable.c     if (* q || l < 0 || l > INT_MAX)
l                 236 src/dps8/dps8_cable.c     * val =  (uint) l;
l                1914 src/dps8/dps8_console.c     size_t l = strlen (str);
l                1915 src/dps8/dps8_console.c     for (size_t i = 0; i < l; i ++)
l                1920 src/dps8/dps8_console.c                            (ssize_t) l);
l                 373 src/dps8/dps8_crdrdr.c static void asciiToH (char * str, uint * hstr, size_t l)
l                 376 src/dps8/dps8_crdrdr.c     for (size_t i = 0; i < l; i ++)
l                 484 src/dps8/dps8_crdrdr.c   size_t l = 0;
l                 497 src/dps8/dps8_crdrdr.c       l = strlen ((char *) cardImage);
l                 509 src/dps8/dps8_crdrdr.c       l = strlen ((char *) cardImage);
l                 537 src/dps8/dps8_crdrdr.c       l = strlen ((char *) cardImage);
l                 564 src/dps8/dps8_crdrdr.c           l = strlen ((char *) cardImage);
l                 573 src/dps8/dps8_crdrdr.c           l = (size_t) getCardData (rdr_state [unitIdx].deckfd, (char *) cardImage);
l                 574 src/dps8/dps8_crdrdr.c           if (l) {
l                 578 src/dps8/dps8_crdrdr.c             l = strlen ((char *) cardImage);
l                 592 src/dps8/dps8_crdrdr.c           l = (size_t) getRawCardData (rdr_state [unitIdx].deckfd, rawCardImage);
l                 593 src/dps8/dps8_crdrdr.c           if (l) {
l                 597 src/dps8/dps8_crdrdr.c             l = strlen ((char *) cardImage);
l                 615 src/dps8/dps8_crdrdr.c       l = strlen ((char *) cardImage);
l                 632 src/dps8/dps8_crdrdr.c 
l                 643 src/dps8/dps8_crdrdr.c 
l                 658 src/dps8/dps8_crdrdr.c 
l                 659 src/dps8/dps8_crdrdr.c 
l                 699 src/dps8/dps8_crdrdr.c       if (l > 80) {
l                 700 src/dps8/dps8_crdrdr.c         sim_warn ("Whups. rdr l %lu > 80; truncating.\n", (unsigned long)l);
l                 701 src/dps8/dps8_crdrdr.c         l = 80;
l                 705 src/dps8/dps8_crdrdr.c       uint hbuf [l];
l                 706 src/dps8/dps8_crdrdr.c       asciiToH ((char *) cardImage, hbuf, l);
l                 709 src/dps8/dps8_crdrdr.c       uint nbits = (uint) l * 12;
l                 721 src/dps8/dps8_crdrdr.c       for (uint col = 0; col < l; col ++) {
l                10067 src/dps8/dps8_eis.c         EISwrite9(&e->ADDR2, &pos, (word9) rshift_128 (x, (uint) shift).l & 0777);
l                2160 src/dps8/dps8_fnp2.c     for (int l = 0; l < MAX_LINES; l ++)
l                2162 src/dps8/dps8_fnp2.c         sim_printf ("  line %d:\n", l);
l                2163 src/dps8/dps8_fnp2.c         sim_printf ("\tservice:                     %d\n", fudp->MState.line[l].service);
l                2164 src/dps8/dps8_fnp2.c         sim_printf ("\tline_client:                 %p\n", (void *) fudp->MState.line[l].line_client);
l                2165 src/dps8/dps8_fnp2.c         sim_printf ("\twas_CR:                      %d\n", fudp->MState.line[l].was_CR);
l                2166 src/dps8/dps8_fnp2.c         sim_printf ("\tlisten:                      %d\n", fudp->MState.line[l].listen);
l                2167 src/dps8/dps8_fnp2.c         sim_printf ("\tinputBufferSize:             %d\n", fudp->MState.line[l].inputBufferSize);
l                2168 src/dps8/dps8_fnp2.c         sim_printf ("\tline_break:                  %d\n", fudp->MState.line[l].line_break);
l                2169 src/dps8/dps8_fnp2.c         sim_printf ("\tsend_output:                 %d\n", fudp->MState.line[l].send_output);
l                2170 src/dps8/dps8_fnp2.c         sim_printf ("\taccept_new_terminal:         %d\n", fudp->MState.line[l].accept_new_terminal);
l                2172 src/dps8/dps8_fnp2.c         sim_printf ("\tline_disconnected:           %d\n", fudp->MState.line[l].line_disconnected);
l                2174 src/dps8/dps8_fnp2.c         sim_printf ("\tline_disconnected:           %c\n", fudp->MState.line[l].line_disconnected ? 'T' : 'F');
l                2176 src/dps8/dps8_fnp2.c         sim_printf ("\tacu_dial_failure:            %d\n", fudp->MState.line[l].acu_dial_failure);
l                2177 src/dps8/dps8_fnp2.c         sim_printf ("\taccept_input:                %d\n", fudp->MState.line[l].accept_input);
l                2178 src/dps8/dps8_fnp2.c         sim_printf ("\twaitForMbxDone:              %d\n", fudp->MState.line[l].waitForMbxDone);
l                2179 src/dps8/dps8_fnp2.c         sim_printf ("\tinput_reply_pending:         %d\n", fudp->MState.line[l].input_reply_pending);
l                2180 src/dps8/dps8_fnp2.c         sim_printf ("\tinput_break:                 %d\n", fudp->MState.line[l].input_break);
l                2181 src/dps8/dps8_fnp2.c         sim_printf ("\tnPos:                        %d\n", fudp->MState.line[l].nPos);
l                2182 src/dps8/dps8_fnp2.c         sim_printf ("\tinBuffer:                    %p\n", (void *) fudp->MState.line[l].inBuffer);
l                2183 src/dps8/dps8_fnp2.c         sim_printf ("\tinSize:                      %d\n", fudp->MState.line[l].inSize);
l                2184 src/dps8/dps8_fnp2.c         sim_printf ("\tinUsed:                      %d\n", fudp->MState.line[l].inUsed);
l                2187 src/dps8/dps8_fnp2.c         sim_printf ("\tport:                        %d\n", fudp->MState.line[l].port);
l                2546 src/dps8/dps8_fnp2.c     size_t l = strlen ((char *) msg);
l                2547 src/dps8/dps8_fnp2.c     unsigned char buf [l];
l                2548 src/dps8/dps8_fnp2.c     for (uint i = 0; i < l; i ++)
l                2561 src/dps8/dps8_fnp2.c     fnpuv_start_3270_write (client, buf, (ssize_t) l);
l                 330 src/dps8/dps8_hw_consts.h     return (int128) { (uint64_t)  v.h, v.l};
l                 332 src/dps8/dps8_hw_consts.h     return (int128) { (int64_t)   v.h, v.l};
l                 334 src/dps8/dps8_hw_consts.h     return (int128) { (__int64_t) v.h, v.l};
l                6777 src/dps8/dps8_ins.c                 uint64_t secs   = bigsecs.l;
l                 539 src/dps8/dps8_math.c       allones &= m1.l & 1;
l                 540 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                 572 src/dps8/dps8_math.c       allones &= m2.l & 1;
l                 573 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                1435 src/dps8/dps8_math.c   uint32_t divisor = rshift_128 (m2, 44).l & MASK28;
l                1457 src/dps8/dps8_math.c   cpu.rA = rshift_128 (m3, 36u).l & MASK36;
l                1725 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                1758 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                1859 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                1892 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                2065 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                2098 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                2499 src/dps8/dps8_math.c     if ((iszero_128 (and_128 (m2, SIGN72))) && m2.l & 0377)
l                3113 src/dps8/dps8_math.c     cpu.rA = quot.l & MASK36;
l                3114 src/dps8/dps8_math.c     cpu.rQ = remainder.l & MASK36;
l                3342 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                3360 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                3478 src/dps8/dps8_math.c       notallzeros |= m1.l & 1;
l                3513 src/dps8/dps8_math.c       notallzeros |= m2.l & 1;
l                  40 src/dps8/dps8_math128.c     if (w.h || w.l)
l                  47 src/dps8/dps8_math128.c     if (w.h || w.l)
l                  54 src/dps8/dps8_math128.c     return a.h == b.h && a.l == b.l;
l                  61 src/dps8/dps8_math128.c     if (a.l > b.l) return true;
l                  69 src/dps8/dps8_math128.c     if (a.l < b.l) return true;
l                  77 src/dps8/dps8_math128.c     if (a.l >= b.l) return true;
l                  85 src/dps8/dps8_math128.c     if (a.l < b.l) return true;
l                  93 src/dps8/dps8_math128.c     if (a.l > b.l) return true;
l                  99 src/dps8/dps8_math128.c     return (uint128) {a.h & b.h, a.l & b.l};
l                 104 src/dps8/dps8_math128.c     return (int128) {a.h & (int64_t)b.h, a.l & b.l};
l                 109 src/dps8/dps8_math128.c     return (uint128) {a.h | b.h, a.l | b.l};
l                 114 src/dps8/dps8_math128.c     return (uint128) {a.h ^ b.h, a.l ^ b.l};
l                 119 src/dps8/dps8_math128.c     return (uint128) {~ a.h, ~ a.l};
l                 128 src/dps8/dps8_math128.c     uint64_t al63 = a.l & MASK63;  // low 63 bits of a
l                 129 src/dps8/dps8_math128.c     uint64_t bl63 = b.l & MASK63;  // low 63 bits of b
l                 134 src/dps8/dps8_math128.c     unsigned int al64 = (a.l >> 63) & 1; // bit 64 of a
l                 135 src/dps8/dps8_math128.c     unsigned int bl64 = (b.l >> 63) & 1; // bit 64 of b
l                 149 src/dps8/dps8_math128.c     bool borrow = !! (b.l > a.l);
l                 150 src/dps8/dps8_math128.c     uint128 res = construct_128 (a.h - b.h, a.l - b.l);
l                 180 src/dps8/dps8_math128.c         uint64_t keep = (a.l >> (64 - n)) & nmask;
l                 183 src/dps8/dps8_math128.c         uint64_t l = a.l << n;
l                 191 src/dps8/dps8_math128.c         return construct_128 (h, l);
l                 193 src/dps8/dps8_math128.c     uint64_t h = a.l << (n - 64);
l                 213 src/dps8/dps8_math128.c 
l                 215 src/dps8/dps8_math128.c 
l                 217 src/dps8/dps8_math128.c 
l                 222 src/dps8/dps8_math128.c 
l                 225 src/dps8/dps8_math128.c 
l                 226 src/dps8/dps8_math128.c 
l                 236 src/dps8/dps8_math128.c 
l                 237 src/dps8/dps8_math128.c 
l                 243 src/dps8/dps8_math128.c 
l                 248 src/dps8/dps8_math128.c 
l                 250 src/dps8/dps8_math128.c 
l                 254 src/dps8/dps8_math128.c     uint64_t l = a.l;
l                 261 src/dps8/dps8_math128.c         l >>= 1;
l                 262 src/dps8/dps8_math128.c         l &= MASK63;
l                 263 src/dps8/dps8_math128.c         l |= b;
l                 266 src/dps8/dps8_math128.c     return construct_128 (h, l);
l                 478 src/dps8/dps8_math128.c     const int l = 4;
l                 479 src/dps8/dps8_math128.c     uint32_t w[l+l], u[l], v[l];
l                 483 src/dps8/dps8_math128.c     u[1] = (uint32_t) (a.l >> 32);
l                 484 src/dps8/dps8_math128.c     u[0] = (uint32_t)  a.l;
l                 487 src/dps8/dps8_math128.c     v[1] = (uint32_t) (b.l >> 32);
l                 488 src/dps8/dps8_math128.c     v[0] = (uint32_t)  b.l;
l                 489 src/dps8/dps8_math128.c     mulmn (w, u, v, l, l);
l                 498 src/dps8/dps8_math128.c     const int l = 4;
l                 499 src/dps8/dps8_math128.c     uint32_t w[l+l], u[l], v[l];
l                 503 src/dps8/dps8_math128.c     u[1] = (uint32_t) (a.l >> 32);
l                 504 src/dps8/dps8_math128.c     u[0] = (uint32_t)  a.l;
l                 507 src/dps8/dps8_math128.c     v[1] = (uint32_t) (b.l >> 32);
l                 508 src/dps8/dps8_math128.c     v[0] = (uint32_t)  b.l;
l                 509 src/dps8/dps8_math128.c     mulmns (w, u, v, l, l);
l                 521 src/dps8/dps8_math128.c     u[0] = (uint16_t)  a.l;
l                 522 src/dps8/dps8_math128.c     u[1] = (uint16_t) (a.l >> 16);
l                 523 src/dps8/dps8_math128.c     u[2] = (uint16_t) (a.l >> 32);
l                 524 src/dps8/dps8_math128.c     u[3] = (uint16_t) (a.l >> 48);
l                 530 src/dps8/dps8_math128.c     v[0] = (uint16_t)  b.l;
l                 531 src/dps8/dps8_math128.c     v[1] = (uint16_t) (b.l >> 16);
l                 532 src/dps8/dps8_math128.c     v[2] = (uint16_t) (b.l >> 32);
l                 533 src/dps8/dps8_math128.c     v[3] = (uint16_t) (b.l >> 48);
l                 576 src/dps8/dps8_math128.c     u[0] = (uint16_t)  a.l;
l                 577 src/dps8/dps8_math128.c     u[1] = (uint16_t) (a.l >> 16);
l                 578 src/dps8/dps8_math128.c     u[2] = (uint16_t) (a.l >> 32);
l                 579 src/dps8/dps8_math128.c     u[3] = (uint16_t) (a.l >> 48);
l                 612 src/dps8/dps8_math128.c     u[0] = (uint16_t)  a.l;
l                 613 src/dps8/dps8_math128.c     u[1] = (uint16_t) (a.l >> 16);
l                 614 src/dps8/dps8_math128.c     u[2] = (uint16_t) (a.l >> 32);
l                 615 src/dps8/dps8_math128.c     u[3] = (uint16_t) (a.l >> 48);
l                 643 src/dps8/dps8_math128.c static void tisz (uint64_t h, uint64_t l, bool expect)
l                 645 src/dps8/dps8_math128.c     bool r = iszero_128 (construct_128 (h, l));
l                 650 src/dps8/dps8_math128.c                (unsigned long long)h, (unsigned long long)l, (unsigned long)r);
l                 662 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 666 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 678 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 682 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 693 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 697 src/dps8/dps8_math128.c                (unsigned long long)r.l);
l                 709 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 713 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 725 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 729 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 740 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 744 src/dps8/dps8_math128.c                (unsigned long long)r.l);
l                 771 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 775 src/dps8/dps8_math128.c                (unsigned long long)r.h, (unsigned long long)r.l);
l                 786 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 790 src/dps8/dps8_math128.c                (unsigned long long)r.h, (unsigned long long)r.l);
l                 802 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 806 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 818 src/dps8/dps8_math128.c     if (r.h != rh || r.l != rl) {
l                 822 src/dps8/dps8_math128.c                (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l);
l                 835 src/dps8/dps8_math128.c     if (res.h != resh || res.l != resl || rem != remainder) {
l                 839 src/dps8/dps8_math128.c                (unsigned long long)res.h, (unsigned long long)res.l, rem);
l                 852 src/dps8/dps8_math128.c     if (res.h != resh || res.l != resl || rem != remainder) {
l                 856 src/dps8/dps8_math128.c                (unsigned long long)res.h, (unsigned long long)res.l, rem);
l                  26 src/dps8/dps8_math128.h # define cast_128(x) construct_128 ((uint64_t) (x).h, (x).l)
l                  27 src/dps8/dps8_math128.h # define cast_s128(x) construct_s128 ((int64_t) (x).h, (x).l)
l                1217 src/dps8/dps8_scu.c         uint64 UNIX_usecs = UNIX_secs * 1000000llu + big.l;
l                 298 src/dps8/dps8_socket_dev.c     size_t l = strlen (str);
l                 299 src/dps8/dps8_socket_dev.c     if (l > 8)
l                 300 src/dps8/dps8_socket_dev.c       l = 8;
l                 301 src/dps8/dps8_socket_dev.c     for (uint i = 0; i < l; i ++)
l                 616 src/dps8/dps8_utils.c  (word36) ((rshift_128 (op1, 36).l) & MASK36), (word36) (op1.l & MASK36), (word36) (rshift_128 (op2, 36).l & MASK36), (word36) (op2.l & MASK36), carryin, flagsToSet, * flags);
l                 660 src/dps8/dps8_utils.c  (word36) ((rshift_128 (op1e, 36).l) & MASK36), (word36) (op1e.l & MASK36), (word36) (rshift_128 (op2e, 36).l & MASK36), (word36) (op2e.l & MASK36), carryin, flagsToSet, * flags);
l                 673 src/dps8/dps8_utils.c     sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf);
l                 753 src/dps8/dps8_utils.c     sim_debug (DBG_TRACEEXT, & cpu_dev, "Sub72b res %012"PRIo64"%012"PRIo64" flags %06o ovf %o\n", (word36) (rshift_128 (res, 36).l & MASK36), (word36) (res.l & MASK36), * flags, * ovf);
l                 953 src/dps8/dps8_utils.c     *even = rshift_128 (src, 36).l & DMASK;
l                 954 src/dps8/dps8_utils.c     *odd  = src.l & DMASK;
l                1091 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op1 %016"PRIx64"%016"PRIx64"\n", op1.h, op1.l);
l                1092 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op2 %016"PRIx64"%016"PRIx64"\n", op2.h, op2.l);
l                1095 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op1s %016"PRIx64"%016"PRIx64"\n", op1s.h, op1s.l);
l                1096 src/dps8/dps8_utils.c sim_debug (DBG_TRACEEXT, & cpu_dev, "op2s %016"PRIx64"%016"PRIx64"\n", op2s.h, op2s.l);
l                 186 src/dps8/h316_imp.h #  define MKWORD(h,l) ((uint16_t) ( (((h)&0xFF)   << 8) | ((l)&0xFF) ))
l                 189 src/dps8/h316_imp.h #  define MKLONG(h,l) ((uint32_t) ( (((h)&0xFFFF) << 16) | ((l)&0xFFFF) ))
l                1064 src/dps8/libtelnet.c         size_t i, l;
l                1066 src/dps8/libtelnet.c         for (l = i = 0; i != size; ++i) {
l                1070 src/dps8/libtelnet.c                         if (i != l) {
l                1071 src/dps8/libtelnet.c                                 _send(telnet, buffer + l, i - l);
l                1073 src/dps8/libtelnet.c                         l = i + 1;
l                1081 src/dps8/libtelnet.c         if (i != l) {
l                1082 src/dps8/libtelnet.c                 _send(telnet, buffer + l, i - l);
l                1089 src/dps8/libtelnet.c         size_t i, l;
l                1091 src/dps8/libtelnet.c         for (l = i = 0; i != size; ++i) {
l                1095 src/dps8/libtelnet.c                         if (i != l) {
l                1096 src/dps8/libtelnet.c                                 _send(telnet, buffer + l, i - l);
l                1098 src/dps8/libtelnet.c                         l = i + 1;
l                1107 src/dps8/libtelnet.c                         if (i != l) {
l                1108 src/dps8/libtelnet.c                                 _send(telnet, buffer + l, i - l);
l                1110 src/dps8/libtelnet.c                         l = i + 1;
l                1124 src/dps8/libtelnet.c         if (i != l) {
l                1125 src/dps8/libtelnet.c                 _send(telnet, buffer + l, i - l);
l                1142 src/dps8/libtelnet.c         int rs, i, l;
l                1162 src/dps8/libtelnet.c         for (l = i = 0; i != rs; ++i) {
l                1167 src/dps8/libtelnet.c                         if (i != l)
l                1168 src/dps8/libtelnet.c                                 _send(telnet, output + l, (size_t) (i - l));
l                1169 src/dps8/libtelnet.c                         l = i + 1;
l                1184 src/dps8/libtelnet.c         if (i != l) {
l                1185 src/dps8/libtelnet.c                 _send(telnet, output + l, (size_t) (i - l));
l                 213 src/dps8/uvutil.c     size_t l = strlen (str);
l                 214 src/dps8/uvutil.c     accessStartWrite (access->client, str, (ssize_t) l);
l                 711 src/dps8/uvutil.c     size_t l = strlen (str);
l                 715 src/dps8/uvutil.c       accessStartWrite (access->client, str, (ssize_t) l);
l                 172 src/simh/linehistory.c static void refreshLine(struct linenoiseState *l);
l                 639 src/simh/linehistory.c refreshShowHints(struct abuf *ab, const struct linenoiseState *l, int plen)
l                 644 src/simh/linehistory.c   if (hintsCallback && plen + l->len < l->cols)
l                 647 src/simh/linehistory.c     char *hint = hintsCallback(l->buf, &color, &bold);
l                 651 src/simh/linehistory.c       int hintmaxlen = l->cols - ( plen + l->len );
l                 697 src/simh/linehistory.c refreshSingleLine(const struct linenoiseState *l)
l                 700 src/simh/linehistory.c   size_t plen = pstrlen(l->prompt);
l                 701 src/simh/linehistory.c   int    fd   = l->ofd;
l                 702 src/simh/linehistory.c   char   *buf = l->buf;
l                 703 src/simh/linehistory.c   size_t len  = l->len;
l                 704 src/simh/linehistory.c   size_t pos  = l->pos;
l                 707 src/simh/linehistory.c   while (( plen + pos ) >= l->cols)
l                 713 src/simh/linehistory.c   while (plen + len > l->cols)
l                 723 src/simh/linehistory.c   abAppend(&ab, l->prompt, strlen(l->prompt));
l                 741 src/simh/linehistory.c   refreshShowHints(&ab, l, plen);
l                 764 src/simh/linehistory.c refreshMultiLine(struct linenoiseState *l)
l                 767 src/simh/linehistory.c   int plen = strlen(l->prompt);
l                 768 src/simh/linehistory.c   int rows = ( plen + l->len + l->cols - 1 )
l                 769 src/simh/linehistory.c              / l->cols; /* rows used by current buf. */
l                 770 src/simh/linehistory.c   int rpos = ( plen + l->oldpos + l->cols ) / l->cols; /* cursor relative row. */
l                 773 src/simh/linehistory.c   int old_rows = l->maxrows;
l                 774 src/simh/linehistory.c   int fd = l->ofd, j;
l                 778 src/simh/linehistory.c   if (rows > (int)l->maxrows)
l                 780 src/simh/linehistory.c     l->maxrows = rows;
l                 807 src/simh/linehistory.c   abAppend(&ab, l->prompt, strlen(l->prompt));
l                 812 src/simh/linehistory.c     for (i = 0; i < l->len; i++)
l                 820 src/simh/linehistory.c   abAppend(&ab, l->buf, l->len);
l                 827 src/simh/linehistory.c   refreshShowHints(&ab, l, plen);
l                 835 src/simh/linehistory.c   if (l->pos && l->pos == l->len && ( l->pos + plen ) % l->cols == 0)
l                 841 src/simh/linehistory.c     if (rows > (int)l->maxrows)
l                 843 src/simh/linehistory.c       l->maxrows = rows;
l                 848 src/simh/linehistory.c   rpos2 = ( plen + l->pos + l->cols ) / l->cols;
l                 858 src/simh/linehistory.c   col = ( plen + (int)l->pos ) % (int)l->cols;
l                 870 src/simh/linehistory.c   l->oldpos = l->pos;
l                 885 src/simh/linehistory.c refreshLine(struct linenoiseState *l)
l                 887 src/simh/linehistory.c   l->cols = getColumns(STDIN_FILENO, STDOUT_FILENO);
l                 890 src/simh/linehistory.c     refreshMultiLine(l);
l                 894 src/simh/linehistory.c     refreshSingleLine(l);
l                 904 src/simh/linehistory.c linenoiseEditInsert(struct linenoiseState *l, char c)
l                 906 src/simh/linehistory.c   if (l->len < l->buflen)
l                 908 src/simh/linehistory.c     if (l->len == l->pos)
l                 910 src/simh/linehistory.c       l->buf[l->pos] = c;
l                 911 src/simh/linehistory.c       l->pos++;
l                 912 src/simh/linehistory.c       l->len++;
l                 913 src/simh/linehistory.c       l->buf[l->len] = '\0';
l                 915 src/simh/linehistory.c       if (( !mlmode && l->plen + l->len < l->cols && !hintsCallback ))
l                 919 src/simh/linehistory.c         if (write(l->ofd, &d, 1) == -1)
l                 927 src/simh/linehistory.c       refreshLine(l);
l                 934 src/simh/linehistory.c       memmove(l->buf + l->pos + 1, l->buf + l->pos, l->len - l->pos);
l                 935 src/simh/linehistory.c       l->buf[l->pos] = c;
l                 936 src/simh/linehistory.c       l->len++;
l                 937 src/simh/linehistory.c       l->pos++;
l                 938 src/simh/linehistory.c       l->buf[l->len] = '\0';
l                 939 src/simh/linehistory.c       refreshLine(l);
l                 948 src/simh/linehistory.c linenoiseEditMoveLeft(struct linenoiseState *l)
l                 950 src/simh/linehistory.c   if (l->pos > 0)
l                 952 src/simh/linehistory.c     l->pos--;
l                 953 src/simh/linehistory.c     refreshLine(l);
l                 959 src/simh/linehistory.c linenoiseEditMoveRight(struct linenoiseState *l)
l                 961 src/simh/linehistory.c   if (l->pos != l->len)
l                 963 src/simh/linehistory.c     l->pos++;
l                 964 src/simh/linehistory.c     refreshLine(l);
l                 970 src/simh/linehistory.c linenoiseEditMoveWordEnd(struct linenoiseState *l)
l                 972 src/simh/linehistory.c   if (l->len == 0 || l->pos >= l->len)
l                 977 src/simh/linehistory.c   if (l->buf[l->pos] == ' ')
l                 979 src/simh/linehistory.c     while (l->pos < l->len && l->buf[l->pos] == ' ')
l                 981 src/simh/linehistory.c       ++l->pos;
l                 985 src/simh/linehistory.c   while (l->pos < l->len && l->buf[l->pos] != ' ')
l                 987 src/simh/linehistory.c     ++l->pos;
l                 989 src/simh/linehistory.c   refreshLine(l);
l                 994 src/simh/linehistory.c linenoiseEditMoveWordStart(struct linenoiseState *l)
l                 996 src/simh/linehistory.c   if (l->len == 0)
l                1001 src/simh/linehistory.c   if (l->buf[l->pos - 1] == ' ')
l                1003 src/simh/linehistory.c     --l->pos;
l                1006 src/simh/linehistory.c   if (l->buf[l->pos] == ' ')
l                1008 src/simh/linehistory.c     while (l->pos > 0 && l->buf[l->pos] == ' ')
l                1010 src/simh/linehistory.c       --l->pos;
l                1014 src/simh/linehistory.c   while (l->pos > 0 && l->buf[l->pos - 1] != ' ')
l                1016 src/simh/linehistory.c     --l->pos;
l                1018 src/simh/linehistory.c   refreshLine(l);
l                1023 src/simh/linehistory.c linenoiseEditMoveHome(struct linenoiseState *l)
l                1025 src/simh/linehistory.c   if (l->pos != 0)
l                1027 src/simh/linehistory.c     l->pos = 0;
l                1028 src/simh/linehistory.c     refreshLine(l);
l                1034 src/simh/linehistory.c linenoiseEditMoveEnd(struct linenoiseState *l)
l                1036 src/simh/linehistory.c   if (l->pos != l->len)
l                1038 src/simh/linehistory.c     l->pos = l->len;
l                1039 src/simh/linehistory.c     refreshLine(l);
l                1051 src/simh/linehistory.c linenoiseEditHistoryNext(struct linenoiseState *l, int dir)
l                1061 src/simh/linehistory.c     FREE(history[history_len - 1 - l->history_index]);
l                1062 src/simh/linehistory.c     history[history_len - 1 - l->history_index] = strdup(l->buf);
l                1063 src/simh/linehistory.c     if (!history[history_len - 1 - l->history_index])
l                1076 src/simh/linehistory.c     l->history_index += ( dir == LINENOISE_HISTORY_PREV ) ? 1 : -1;
l                1077 src/simh/linehistory.c     if (l->history_index < 0)
l                1079 src/simh/linehistory.c       l->history_index = 0;
l                1082 src/simh/linehistory.c     else if (l->history_index >= history_len)
l                1084 src/simh/linehistory.c       l->history_index = history_len - 1;
l                1088 src/simh/linehistory.c     strncpy(l->buf, history[history_len - 1 - l->history_index], l->buflen);
l                1089 src/simh/linehistory.c     l->buf[l->buflen - 1] = '\0';
l                1090 src/simh/linehistory.c     l->len = l->pos = strlen(l->buf);
l                1091 src/simh/linehistory.c     refreshLine(l);
l                1103 src/simh/linehistory.c linenoiseSearchInHistory(struct linenoiseState *l, int direction)
l                1113 src/simh/linehistory.c     FREE(history[history_len - 1 - l->history_index]);
l                1114 src/simh/linehistory.c     history[history_len - 1 - l->history_index] = strdup(l->buf);
l                1115 src/simh/linehistory.c     if (!history[history_len - 1 - l->history_index])
l                1132 src/simh/linehistory.c       cnt = history_len - 2 - l->history_index;
l                1141 src/simh/linehistory.c         if (strncmp(l->buf, history[cnt], l->pos) == 0)
l                1143 src/simh/linehistory.c           strncpy(l->buf, history[cnt], l->buflen);
l                1144 src/simh/linehistory.c           l->buf[l->buflen - 1] = '\0';
l                1146 src/simh/linehistory.c           l->len = strlen(l->buf);
l                1153 src/simh/linehistory.c           l->history_index = history_len - 1 - cnt;
l                1154 src/simh/linehistory.c           refreshLine(l);
l                1161 src/simh/linehistory.c       cnt = history_len - l->history_index;
l                1170 src/simh/linehistory.c         if (strncmp(l->buf, history[cnt], l->pos) == 0)
l                1172 src/simh/linehistory.c           strncpy(l->buf, history[cnt], l->buflen);
l                1173 src/simh/linehistory.c           l->buf[l->buflen - 1] = '\0';
l                1175 src/simh/linehistory.c           l->len = strlen(l->buf);
l                1182 src/simh/linehistory.c           l->history_index = history_len - 1 - cnt;
l                1183 src/simh/linehistory.c           refreshLine(l);
l                1197 src/simh/linehistory.c linenoiseEditDelete(struct linenoiseState *l)
l                1199 src/simh/linehistory.c   if (l->len > 0 && l->pos < l->len)
l                1201 src/simh/linehistory.c     memmove(l->buf + l->pos, l->buf + l->pos + 1, l->len - l->pos - 1);
l                1202 src/simh/linehistory.c     l->len--;
l                1203 src/simh/linehistory.c     l->buf[l->len] = '\0';
l                1204 src/simh/linehistory.c     refreshLine(l);
l                1210 src/simh/linehistory.c linenoiseEditBackspace(struct linenoiseState *l)
l                1212 src/simh/linehistory.c   if (l->pos > 0 && l->len > 0)
l                1214 src/simh/linehistory.c     memmove(l->buf + l->pos - 1, l->buf + l->pos, l->len - l->pos);
l                1215 src/simh/linehistory.c     l->pos--;
l                1216 src/simh/linehistory.c     l->len--;
l                1217 src/simh/linehistory.c     l->buf[l->len] = '\0';
l                1218 src/simh/linehistory.c     refreshLine(l);
l                1228 src/simh/linehistory.c linenoiseEditDeletePrevWord(struct linenoiseState *l)
l                1230 src/simh/linehistory.c   size_t old_pos = l->pos;
l                1233 src/simh/linehistory.c   while (l->pos > 0 && l->buf[l->pos - 1] == ' ')
l                1235 src/simh/linehistory.c     l->pos--;
l                1237 src/simh/linehistory.c   while (l->pos > 0 && l->buf[l->pos - 1] != ' ')
l                1239 src/simh/linehistory.c     l->pos--;
l                1241 src/simh/linehistory.c   diff = old_pos - l->pos;
l                1242 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + old_pos, l->len - old_pos + 1);
l                1243 src/simh/linehistory.c   l->len -= diff;
l                1244 src/simh/linehistory.c   refreshLine(l);
l                1249 src/simh/linehistory.c linenoiseEditDeleteNextWord(struct linenoiseState *l)
l                1251 src/simh/linehistory.c   size_t next_word_end = l->pos;
l                1253 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] == ' ')
l                1257 src/simh/linehistory.c   while (next_word_end < l->len && l->buf[next_word_end] != ' ')
l                1261 src/simh/linehistory.c   memmove(l->buf + l->pos, l->buf + next_word_end, l->len - next_word_end);
l                1262 src/simh/linehistory.c   l->len -= next_word_end - l->pos;
l                1263 src/simh/linehistory.c   refreshLine(l);
l                1281 src/simh/linehistory.c   struct linenoiseState l;
l                1288 src/simh/linehistory.c   l.ifd           = stdin_fd;
l                1289 src/simh/linehistory.c   l.ofd           = stdout_fd;
l                1290 src/simh/linehistory.c   l.buf           = buf;
l                1291 src/simh/linehistory.c   l.buflen        = buflen;
l                1292 src/simh/linehistory.c   l.prompt        = prompt;
l                1293 src/simh/linehistory.c   l.plen          = pstrlen(prompt);
l                1294 src/simh/linehistory.c   l.oldpos        = l.pos = 0;
l                1295 src/simh/linehistory.c   l.len           = 0;
l                1296 src/simh/linehistory.c   l.cols          = getColumns(stdin_fd, stdout_fd);
l                1297 src/simh/linehistory.c   l.maxrows       = 0;
l                1298 src/simh/linehistory.c   l.history_index = 0;
l                1301 src/simh/linehistory.c   l.buf[0] = '\0';
l                1302 src/simh/linehistory.c   l.buflen--; /* Make sure there is always space for the nulterm */
l                1311 src/simh/linehistory.c   if (write(l.ofd, prompt, strlen(prompt)) == -1)
l                1322 src/simh/linehistory.c     nread = read(l.ifd, &c, 1);
l                1325 src/simh/linehistory.c       return ( l.len );
l                1338 src/simh/linehistory.c       int cint = completeLine(&l);
l                1342 src/simh/linehistory.c         return ( l.len );
l                1366 src/simh/linehistory.c         linenoiseEditMoveEnd(&l);
l                1380 src/simh/linehistory.c         refreshLine(&l);
l                1385 src/simh/linehistory.c       return ((int)l.len );
l                1393 src/simh/linehistory.c       linenoiseEditBackspace(&l);
l                1397 src/simh/linehistory.c       if (l.len > 0) /* if the line is empty, act as end-of-file.  */
l                1399 src/simh/linehistory.c         linenoiseEditDelete(&l);
l                1414 src/simh/linehistory.c       linenoiseEditMoveLeft(&l);
l                1418 src/simh/linehistory.c       linenoiseEditMoveRight(&l);
l                1422 src/simh/linehistory.c       linenoiseEditHistoryNext(&l, LINENOISE_HISTORY_PREV);
l                1426 src/simh/linehistory.c       linenoiseEditHistoryNext(&l, LINENOISE_HISTORY_NEXT);
l                1437 src/simh/linehistory.c       if (read(l.ifd, seq, 1) == -1)
l                1442 src/simh/linehistory.c       if (read(l.ifd, seq + 1, 1) == -1)
l                1453 src/simh/linehistory.c           if (read(l.ifd, seq + 2, 1) == -1)
l                1463 src/simh/linehistory.c               linenoiseEditDelete(&l);
l                1468 src/simh/linehistory.c                 &l,
l                1474 src/simh/linehistory.c                 &l,
l                1485 src/simh/linehistory.c             linenoiseEditHistoryNext(&l, LINENOISE_HISTORY_PREV);
l                1489 src/simh/linehistory.c             linenoiseEditHistoryNext(&l, LINENOISE_HISTORY_NEXT);
l                1493 src/simh/linehistory.c             linenoiseEditMoveRight(&l);
l                1497 src/simh/linehistory.c             linenoiseEditMoveLeft(&l);
l                1501 src/simh/linehistory.c             linenoiseEditMoveHome(&l);
l                1505 src/simh/linehistory.c             linenoiseEditMoveEnd(&l);
l                1514 src/simh/linehistory.c       if (linenoiseEditInsert(&l, c))
l                1523 src/simh/linehistory.c       l.pos  = l.len = 0;
l                1524 src/simh/linehistory.c       refreshLine(&l);
l                1528 src/simh/linehistory.c       buf[l.pos] = '\0';
l                1529 src/simh/linehistory.c       l.len      = l.pos;
l                1530 src/simh/linehistory.c       refreshLine(&l);
l                1534 src/simh/linehistory.c       linenoiseEditMoveHome(&l);
l                1538 src/simh/linehistory.c       linenoiseEditMoveEnd(&l);
l                1543 src/simh/linehistory.c       refreshLine(&l);
l                1547 src/simh/linehistory.c       linenoiseEditDeletePrevWord(&l);
l                4316 src/simh/scp.c   for (int l = 0; l < length; l ++) {
l                4317 src/simh/scp.c     unsigned int byte = PROM[offset + l];