s 3187 src/decNumber/decNumber.c const Unit *smsup, *s; // work s 3193 src/decNumber/decNumber.c for (s=src->lsu+1; s<smsup; s++, d++) *d=*s; s 788 src/dps8/dps8_cpu.c long n, s, o, t; s 797 src/dps8/dps8_cpu.c s = strtol (end + 1, & end, 8); s 800 src/dps8/dps8_cpu.c if (s < 0 || s > MASK15) s 815 src/dps8/dps8_cpu.c stall_points[n].segno = (word15) s; s 302 src/dps8/dps8_decimal.c s 321 src/dps8/dps8_decimal.c s 363 src/dps8/dps8_decimal.c s 394 src/dps8/dps8_decimal.c s 404 src/dps8/dps8_decimal.c s 421 src/dps8/dps8_decimal.c s 462 src/dps8/dps8_decimal.c s 483 src/dps8/dps8_decimal.c s 503 src/dps8/dps8_decimal.c s 572 src/dps8/dps8_decimal.c s 628 src/dps8/dps8_decimal.c s 705 src/dps8/dps8_decimal.c char *formatDecimal (uint8_t * out, decContext *set, decNumber *r, int nout, int s, int sf, bool R, bool *OVR, bool *TRUNC) { s 716 src/dps8/dps8_decimal.c if (s != CSFL) { s 49 src/dps8/dps8_decimal.h char *formatDecimal(uint8_t * out, decContext *set, decNumber *r, int nout, int s, s 12245 src/dps8/dps8_eis.c s 12260 src/dps8/dps8_eis.c s 12346 src/dps8/dps8_eis.c s 12360 src/dps8/dps8_eis.c s 12377 src/dps8/dps8_eis.c s 12419 src/dps8/dps8_eis.c s 12442 src/dps8/dps8_eis.c s 12462 src/dps8/dps8_eis.c s 12592 src/dps8/dps8_eis.c s 12644 src/dps8/dps8_eis.c s 615 src/dps8/dps8_math.c word72 s = and_128 (m3, SIGN72); // save the sign bit s 618 src/dps8/dps8_math.c if (isnonzero_128 (s)) s 647 src/dps8/dps8_math.c word72 s = m3 & SIGN72; // save the sign bit s 650 src/dps8/dps8_math.c if (s) s 745 src/dps8/dps8_math.c word72 s = and_128 (m, SIGN72); // save the sign bit s 749 src/dps8/dps8_math.c if (isnonzero_128 (s)) // sign of mantissa s 758 src/dps8/dps8_math.c m = xor_128 (m, s); // if the was 0, leave it 1; if it was 1, make it 0 s 763 src/dps8/dps8_math.c m = xor_128 (m, s); // if the was 0, leave it 1; if it was 1, make it 0 s 782 src/dps8/dps8_math.c word72 s = m & SIGN72; // save the sign bit s 786 src/dps8/dps8_math.c if (s) s 795 src/dps8/dps8_math.c m ^= s; // if the was 0, leave it 1; if it was 1, make it 0 s 800 src/dps8/dps8_math.c m ^= s; // if the was 0, leave it 1; if it was 1, make it 0 s 848 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m, SIGN72)); s 850 src/dps8/dps8_math.c bool s = (m & SIGN72) != (word72)0; ///< save sign bit s 857 src/dps8/dps8_math.c if (s) { s 903 src/dps8/dps8_math.c while (s == isnonzero_128 (and_128 (m, BIT71))) { // until C(AQ)0 != C(AQ)1? s 910 src/dps8/dps8_math.c if (s) s 913 src/dps8/dps8_math.c while (s == !! (m & BIT71)) { // until C(AQ)0 != C(AQ)1? s 920 src/dps8/dps8_math.c if (s) s 926 src/dps8/dps8_math.c while (s == isnonzero_128 (and_128 (m, BIT71))) { // until C(AQ)0 != C(AQ)1? s 933 src/dps8/dps8_math.c if (s) s 936 src/dps8/dps8_math.c while (s == !! (m & BIT71)) { // until C(AQ)0 != C(AQ)1? s 943 src/dps8/dps8_math.c if (s) s 1025 src/dps8/dps8_math.c s 1031 src/dps8/dps8_math.c s 1719 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m1, SIGN72)); s 1721 src/dps8/dps8_math.c bool s = (m1 & SIGN72) != (word72)0; s 1731 src/dps8/dps8_math.c if (s) s 1752 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m2, SIGN72)); s 1754 src/dps8/dps8_math.c bool s = (m2 & SIGN72) != (word72)0; s 1764 src/dps8/dps8_math.c if (s) s 1853 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m1, SIGN72)); s 1855 src/dps8/dps8_math.c bool s = (m1 & SIGN72) != (word72)0; ///< save sign bit s 1865 src/dps8/dps8_math.c if (s) s 1886 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m2, SIGN72)); s 1888 src/dps8/dps8_math.c bool s = (m2 & SIGN72) != (word72)0; ///< save sign bit s 1898 src/dps8/dps8_math.c if (s) s 2059 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m1, SIGN72)); s 2061 src/dps8/dps8_math.c bool s = (m1 & SIGN72) != (word72)0; s 2071 src/dps8/dps8_math.c if (s) s 2092 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m2, SIGN72)); s 2094 src/dps8/dps8_math.c bool s = (m2 & SIGN72) != (word72)0; ///< save sign bit s 2104 src/dps8/dps8_math.c if (s) s 2137 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m3, SIGN72)); s 2139 src/dps8/dps8_math.c bool s = (m3 & SIGN72) != (word72)0; s 2144 src/dps8/dps8_math.c if (s) s 2152 src/dps8/dps8_math.c if (s) s 3340 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m1, SIGN72)); ///< mantissa negative? s 3344 src/dps8/dps8_math.c if (s) s 3358 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m2, SIGN72)); ///< mantissa negative? s 3362 src/dps8/dps8_math.c if (s) s 3384 src/dps8/dps8_math.c bool s = m1 & SIGN72; ///< mantissa negative? s 3388 src/dps8/dps8_math.c if (s) s 3402 src/dps8/dps8_math.c bool s = m2 & SIGN72; ///< mantissa negative? s 3406 src/dps8/dps8_math.c if (s) s 3476 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m1, SIGN72)); ///< mantissa negative? s 3480 src/dps8/dps8_math.c if (s) s 3492 src/dps8/dps8_math.c bool s = m1 & SIGN72; ///< mantissa negative? s 3496 src/dps8/dps8_math.c if (s) s 3511 src/dps8/dps8_math.c bool s = isnonzero_128 (and_128 (m2, SIGN72)); ///< mantissa negative? s 3515 src/dps8/dps8_math.c if (s) s 3527 src/dps8/dps8_math.c bool s = m2 & SIGN72; ///< mantissa negative? s 3531 src/dps8/dps8_math.c if (s) s 390 src/dps8/dps8_math128.c int s, i, j, t, k; s 413 src/dps8/dps8_math128.c s = nlz (v[n-1]) - 16; // 0 <= s <= 16. s 417 src/dps8/dps8_math128.c vn[i] = (uint16_t) (v[i] << s) | (uint16_t) (v[i-1] >> (16-s)); s 418 src/dps8/dps8_math128.c vn[0] = (uint16_t) (v[0] << s); s 422 src/dps8/dps8_math128.c un[m] = u[m-1] >> (16-s); s 424 src/dps8/dps8_math128.c un[i] = (uint16_t) (u[i] << s) | (uint16_t) (u[i-1] >> (16-s)); s 425 src/dps8/dps8_math128.c un[0] = (uint16_t) (u[0] << s); s 470 src/dps8/dps8_math128.c r[i] = (uint16_t) (un[i] >> s) | (uint16_t) (un[i+1] << (16-s)); s 2044 src/dps8/dps8_mgp.c int s = read(status_conns[0], b, 1); s 2045 src/dps8/dps8_mgp.c if (s < 0) s 2051 src/dps8/dps8_mgp.c else if (s == 0) s 2446 src/dps8/dps8_scu.c for (int s = 0; s < N_SCU_SUBPORTS; s ++) s 2448 src/dps8/dps8_scu.c scu[u].ports[p].dev_port[s] = -1; s 2449 src/dps8/dps8_scu.c scu[u].ports[p].subport_enables[s] = false; s 2450 src/dps8/dps8_scu.c scu[u].ports[p].xipmask[s] = false; s 3249 src/dps8/dps8_sys.c sdw0_s *s = fetchSDW(segno); s 3250 src/dps8/dps8_sys.c if (address >= s -> ADDR && address < s -> ADDR + s -> BOUND * 16u) s 3251 src/dps8/dps8_sys.c sim_msg (" %06o:%06o\n", segno, address - s -> ADDR); s 4727 src/dps8/dps8_sys.c sdw0_s *s = fetchSDW ((word15) segno); s 4729 src/dps8/dps8_sys.c return (s->ADDR + (word18) offset) & 0xffffff; // keep to 24-bits s 74 src/dps8/dps8_utils.c char *s; s 76 src/dps8/dps8_utils.c for(s = str; *s; s++) s 77 src/dps8/dps8_utils.c *s = (char) toupper((unsigned char)*s); s 1160 src/dps8/dps8_utils.c char *s = q; s 1162 src/dps8/dps8_utils.c while (*s) { s 1163 src/dps8/dps8_utils.c if (isupper((unsigned char)*s)) s 1164 src/dps8/dps8_utils.c *s = (char) tolower(*s); s 1165 src/dps8/dps8_utils.c s++; s 1383 src/dps8/dps8_utils.c char *rtrim(char *s) s 1385 src/dps8/dps8_utils.c if (! s) s 1386 src/dps8/dps8_utils.c return s; s 1390 src/dps8/dps8_utils.c for (index = (int)strlen(s) - 1; index >= 0 && isspace((unsigned char)s[index]); index--) s 1392 src/dps8/dps8_utils.c s[index] = '\0'; s 1394 src/dps8/dps8_utils.c return(s); s 1397 src/dps8/dps8_utils.c char *ltrim(char *s) s 1403 src/dps8/dps8_utils.c if (s == NULL) s 1407 src/dps8/dps8_utils.c for (p = s; isspace((unsigned char)*p) && *p != '\0'; p++) s 1411 src/dps8/dps8_utils.c memmove(s, p, strlen(p) + 1); s 1412 src/dps8/dps8_utils.c return(s); s 1415 src/dps8/dps8_utils.c char *trim(char *s) s 1417 src/dps8/dps8_utils.c return ltrim(rtrim(s)); s 1421 src/dps8/dps8_utils.c stripquotes(char *s) s 1423 src/dps8/dps8_utils.c if (! s || ! *s) s 1424 src/dps8/dps8_utils.c return s; s 1434 src/dps8/dps8_utils.c int nLast = (int)strlen(s) - 1; s 1436 src/dps8/dps8_utils.c if (s[0] == '"') s 1437 src/dps8/dps8_utils.c s[0] = ' '; s 1438 src/dps8/dps8_utils.c if (s[nLast] == '"') s 1439 src/dps8/dps8_utils.c s[nLast] = ' '; s 1440 src/dps8/dps8_utils.c return trim(s); s 1920 src/dps8/dps8_utils.c char s [2]; s 1921 src/dps8/dps8_utils.c s [0] = n % 8 + '0'; s 1922 src/dps8/dps8_utils.c s [1] = '\0'; s 1923 src/dps8/dps8_utils.c strcat (p, s); s 1951 src/dps8/dps8_utils.c char s [2]; s 1952 src/dps8/dps8_utils.c s [0] = n % 10 + '0'; s 1953 src/dps8/dps8_utils.c s [1] = '\0'; s 1954 src/dps8/dps8_utils.c strcat (p, s); s 70 src/dps8/dps8_utils.h char *stripquotes(char *s); s 71 src/dps8/dps8_utils.h char *trim(char *s); s 72 src/dps8/dps8_utils.h char *ltrim(char *s); s 73 src/dps8/dps8_utils.h char *rtrim(char *s); s 87 src/dps8/hdbg.h # define HDBGIEFP(t, s, o, c) hdbgIEFP (t, s, o, c); s 88 src/dps8/hdbg.h # define HDBGAPURead(s, o, f, d, c) hdbgAPURead (s, o, f, d, c) s 89 src/dps8/hdbg.h # define HDBGAPUWrite(s, o, f, d, c) hdbgAPUWrite (s, o, f, d, c) s 111 src/dps8/hdbg.h # define HDBGIntrSet(i, c, s, ctx) hdbgIntrSet(i, c, s, ctx) s 112 src/dps8/hdbg.h # define HDBGFault(n, s, m, c) hdbgFault(n, s, m, c) s 209 src/dps8/libtelnet.c #define _sendu(t, d, s) _send((t), (const char*)(d), (s)) s 541 src/dps8/threadz.c int s = pthread_setaffinity_np (p->cpuThread, sizeof (cpu_set_t), & cpuset); s 542 src/dps8/threadz.c if (s) s 544 src/dps8/threadz.c cpus[cpuNum].affinity, cpuNum, s); s 168 src/simh/linehistory.c size_t pstrlen(const char *s); s 601 src/simh/linehistory.c abAppend(struct abuf *ab, const char *s, int len) s 615 src/simh/linehistory.c memcpy(new + ab->len, s, len); s 1857 src/simh/linehistory.c pstrlen(const char *s) s 1861 src/simh/linehistory.c while (s[i] != '\0') s 1863 src/simh/linehistory.c if (s[i] == '\033') //-V536 s 1865 src/simh/linehistory.c i = strpbrk(s + i, "m") - s + 1; //-V769 s 285 src/simh/sim_defs.h # define KBD_WAIT(w,s) ((w)? w: KBD_LIM_WAIT (s)) s 139 src/simh/sim_sock.c SOCKET sim_err_sock (SOCKET s, const char *emsg) s 142 src/simh/sim_sock.c if (s != INVALID_SOCKET) { s 144 src/simh/sim_sock.c sim_close_sock (s);