r 5326 src/decNumber/decNumber.c Int r; // rhs=f*10**r [see below] r 5427 src/decNumber/decNumber.c r=rhs->exponent+rhs->digits; // 'normalised' exponent r 5428 src/decNumber/decNumber.c decNumberFromInt32(a, r); // a=r r 5963 src/decNumber/decNumber.c const Unit *l, *r, *u; // work r 5971 src/decNumber/decNumber.c r=b+alength-1; r 5972 src/decNumber/decNumber.c for (;l>=a; l--, r--) { r 5973 src/decNumber/decNumber.c if (*l>*r) return 1; r 5974 src/decNumber/decNumber.c if (*l<*r) return -1; r 438 src/dps8/dps8_cpu.h word36 r; r 302 src/dps8/dps8_decimal.c r 311 src/dps8/dps8_decimal.c r 334 src/dps8/dps8_decimal.c r 335 src/dps8/dps8_decimal.c r 343 src/dps8/dps8_decimal.c r 353 src/dps8/dps8_decimal.c r 376 src/dps8/dps8_decimal.c r 377 src/dps8/dps8_decimal.c r 386 src/dps8/dps8_decimal.c r 423 src/dps8/dps8_decimal.c r 455 src/dps8/dps8_decimal.c r 456 src/dps8/dps8_decimal.c r 466 src/dps8/dps8_decimal.c r 467 src/dps8/dps8_decimal.c r 473 src/dps8/dps8_decimal.c r 483 src/dps8/dps8_decimal.c r 496 src/dps8/dps8_decimal.c r 502 src/dps8/dps8_decimal.c r 650 src/dps8/dps8_decimal.c r 657 src/dps8/dps8_decimal.c r 700 src/dps8/dps8_decimal.c r 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) { r 721 src/dps8/dps8_decimal.c if (sf != r->exponent) { r 724 src/dps8/dps8_decimal.c if (sf > r->exponent) // ET 330: truncation due to: output sf > input sf or exponent r 729 src/dps8/dps8_decimal.c r 733 src/dps8/dps8_decimal.c r 739 src/dps8/dps8_decimal.c r 741 src/dps8/dps8_decimal.c if (r->exponent > sf) r 742 src/dps8/dps8_decimal.c set->digits = min (DECNUMDIGITS, max (set->digits, r->digits + r->exponent - sf)); r 743 src/dps8/dps8_decimal.c decNumberRescale (r, r, & _sf, set); r 746 src/dps8/dps8_decimal.c decNumberZero (r); r 757 src/dps8/dps8_decimal.c decNumberToIntegralValue (r2, r, set); r 771 src/dps8/dps8_decimal.c decNumberPlus (r2, r, set); r 774 src/dps8/dps8_decimal.c decNumberSubtract(r, r, r2, set); r 783 src/dps8/dps8_decimal.c if (nout < r->digits) { // not enough space to move all digits r 791 src/dps8/dps8_decimal.c decNumberPlus (r, r, set); r 804 src/dps8/dps8_decimal.c decNumberGetBCD (r,tmp); r 805 src/dps8/dps8_decimal.c int justif = nout - r->digits; r 49 src/dps8/dps8_decimal.h char *formatDecimal(uint8_t * out, decContext *set, decNumber *r, int nout, int s, r 1472 src/dps8/dps8_eis.c word36 r = getMFReg36 (MFk & 017, allowDU, true, mod_fault); // allow du based on instruction, allow n,ic r 1476 src/dps8/dps8_eis.c address += r; r 1478 src/dps8/dps8_eis.c r = 0; r 1502 src/dps8/dps8_eis.c uint nchars = address * 8 + (uint) r + arn_char4 + CN; r 1525 src/dps8/dps8_eis.c effBITNO = (9u * ARn_CHAR + 6u * r + ARn_BITNO) % 9u; r 1528 src/dps8/dps8_eis.c 6u * r + ARn_BITNO) % 36u) / 6u;//9; r 1532 src/dps8/dps8_eis.c 6u * r + r 1551 src/dps8/dps8_eis.c effCHAR = (CN + ARn_CHAR + r) % 4; r 1554 src/dps8/dps8_eis.c effCHAR, CN, ARn_CHAR, r); r 1558 src/dps8/dps8_eis.c 9u * r + r 1607 src/dps8/dps8_eis.c word36 r = getMFReg36 (yREG, false, true, mod_fault); // disallow du, allow n,ic r 1634 src/dps8/dps8_eis.c y += ((9u * ARn_CHAR + 36u * r + ARn_BITNO) / 36u); r 1721 src/dps8/dps8_eis.c word36 r = getMFReg36(MFk & 017, false, true, mod_fault); // disallow du, allow n, ic r 1724 src/dps8/dps8_eis.c address += r; r 1726 src/dps8/dps8_eis.c r = 0; r 1767 src/dps8/dps8_eis.c uint nchars = (uint) (address * 8u + r + arn_char4 + CN); r 1787 src/dps8/dps8_eis.c effCHAR = ((word36) CN + (word36) ARn_CHAR + r) % 4u; r 1788 src/dps8/dps8_eis.c effWORDNO = (uint) (address + (9u*CN + 9u*ARn_CHAR + 9u*r + ARn_BITNO) / 36); r 1896 src/dps8/dps8_eis.c word36 r = getMFReg36(MFk & 017, false, true, mod_fault); // disallow du, allow n,ic r 1901 src/dps8/dps8_eis.c address += r; r 1903 src/dps8/dps8_eis.c r = 0; r 1906 src/dps8/dps8_eis.c uint effBITNO = (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 9u; r 1907 src/dps8/dps8_eis.c uint effCHAR = ((9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 36u) / 9u; r 1908 src/dps8/dps8_eis.c uint effWORDNO = (uint) (address + (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) / 36u); r 1969 src/dps8/dps8_eis.c int32 r = SIGNEXT22_32 ((word22) ur); r 1993 src/dps8/dps8_eis.c int32_t addend = address * 8 + r; // in characters r 2048 src/dps8/dps8_eis.c int32 r = SIGNEXT22_32 ((word22) ur); r 2058 src/dps8/dps8_eis.c int32_t subtractend = address * 32 + r * 4; r 2095 src/dps8/dps8_eis.c int32_t r; r 2098 src/dps8/dps8_eis.c r = SIGNEXT24_32 ((word24) rcnt); r 2100 src/dps8/dps8_eis.c r = SIGNEXT22_32 ((word22) rcnt); r 2102 src/dps8/dps8_eis.c r = SIGNEXT21_32 ((word21) rcnt); r 2104 src/dps8/dps8_eis.c r = SIGNEXT21_32 ((word21) rcnt); r 2106 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) rcnt); r 2108 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "axbd sz %d ARn 0%o address 0%o reg 0%o r 0%o\n", sz, ARn, address, reg, r); r 2133 src/dps8/dps8_eis.c int32_t addend = address * 36 + r * (int32_t) sz; r 2165 src/dps8/dps8_eis.c word24 r = getCrAR ((word4) reg) & MASK24; r 2181 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) + r; r 2186 src/dps8/dps8_eis.c if (r % 36) r 2198 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (address + r / 36) & MASK18; r 2199 src/dps8/dps8_eis.c if (r % 36) r 2203 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (r % 36) / 9, r 2204 src/dps8/dps8_eis.c r % 9); r 2228 src/dps8/dps8_eis.c r 2231 src/dps8/dps8_eis.c r 2233 src/dps8/dps8_eis.c r 2236 src/dps8/dps8_eis.c r 2272 src/dps8/dps8_eis.c r 2277 src/dps8/dps8_eis.c r 2280 src/dps8/dps8_eis.c r 2293 src/dps8/dps8_eis.c r 2298 src/dps8/dps8_eis.c r 2305 src/dps8/dps8_eis.c r 2310 src/dps8/dps8_eis.c r 2314 src/dps8/dps8_eis.c r 2367 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (reg) & MASK18); r 2368 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) r); r 2371 src/dps8/dps8_eis.c "awd ARn 0%o address 0%o reg 0%o r 0%o\n", ARn, address, reg, r); r 2384 src/dps8/dps8_eis.c int32_t addend = address + r; r 2403 src/dps8/dps8_eis.c word24 r = getCrAR ((word4) reg) & MASK24; r 2409 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) - r; r 2412 src/dps8/dps8_eis.c if (r % 36) r 2420 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + r / 36)) & MASK18; r 2421 src/dps8/dps8_eis.c if (r % 36) r 2423 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (- ((r % 36) / 9)) & MASK2, r 2424 src/dps8/dps8_eis.c (- (r % 9)) & MASK4); r 2442 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (reg) & MASK18); r 2443 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) r); r 2445 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "swd ARn 0%o address 0%o reg 0%o r 0%o\n", ARn, address, reg, r); r 2458 src/dps8/dps8_eis.c int32_t subtractend = address + r; r 2480 src/dps8/dps8_eis.c word21 r = getCrAR (reg) & MASK21;; r 2482 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "s9bd r 0%o\n", r); r 2484 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "s9bd ARn 0%o address 0%o reg 0%o r 0%o\n", ARn, address, reg, r); r 2493 src/dps8/dps8_eis.c (GET_AR_CHAR (ARn) - r) / 4) & MASK18; r 2498 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (GET_AR_CHAR (ARn) - r) & MASK2, 0); r 2503 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + (r + 3) / 4)) & MASK18; r 2507 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (-r) & MASK2, 0); r 2771 src/dps8/dps8_eis.c uint r = 0; r 2774 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK24); r 2776 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK22); r 2778 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); r 2780 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); r 2782 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK18); r 2784 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "asxbd sz %d ARn 0%o address 0%o reg 0%o r 0%o\n", sz, ARn, address, reg, r); r 2830 src/dps8/dps8_eis.c addend = address * 36u + (r * 9) / 2; r 2834 src/dps8/dps8_eis.c if ((! sub) && r % 2) // r is odd r 2838 src/dps8/dps8_eis.c addend = address * 36u + r * sz; r 9585 src/dps8/dps8_eis.c uint16_t r; r 9586 src/dps8/dps8_eis.c x = divide_128_16 (x, 10, & r); r 9587 src/dps8/dps8_eis.c tmp[i] = (char) r + '0'; r 12244 src/dps8/dps8_eis.c r 12379 src/dps8/dps8_eis.c r 12381 src/dps8/dps8_eis.c r 12382 src/dps8/dps8_eis.c r 12412 src/dps8/dps8_eis.c r 12413 src/dps8/dps8_eis.c r 12423 src/dps8/dps8_eis.c r 12424 src/dps8/dps8_eis.c r 12430 src/dps8/dps8_eis.c r 12442 src/dps8/dps8_eis.c r 12455 src/dps8/dps8_eis.c r 12461 src/dps8/dps8_eis.c r 12683 src/dps8/dps8_eis.c r 12690 src/dps8/dps8_eis.c r 12747 src/dps8/dps8_eis.c r 7132 src/dps8/dps8_ins.c cpu.MR.r = cpu.CY; r 7134 src/dps8/dps8_ins.c putbits36_1 (& cpu.MR.r, 32, 0); r 7136 src/dps8/dps8_ins.c putbits36_2 (& cpu.MR.r, 33, 0); r 7370 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.MR.r; r 380 src/dps8/dps8_math128.c int divmnu (uint16_t q[], uint16_t r[], r 404 src/dps8/dps8_math128.c if (r != NULL) r[0] = (uint16_t) k; r 467 src/dps8/dps8_math128.c if (r != NULL) r 470 src/dps8/dps8_math128.c r[i] = (uint16_t) (un[i] >> s) | (uint16_t) (un[i+1] << (16-s)); r 545 src/dps8/dps8_math128.c uint16_t r [8] = { 8 * 0 }; r 546 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, normlen); r 550 src/dps8/dps8_math128.c (((uint64_t) r [7]) << 48) | r 551 src/dps8/dps8_math128.c (((uint64_t) r [6]) << 32) | r 552 src/dps8/dps8_math128.c (((uint64_t) r [5]) << 16) | r 553 src/dps8/dps8_math128.c (((uint64_t) r [4]) << 0), r 554 src/dps8/dps8_math128.c (((uint64_t) r [3]) << 48) | r 555 src/dps8/dps8_math128.c (((uint64_t) r [2]) << 32) | r 556 src/dps8/dps8_math128.c (((uint64_t) r [1]) << 16) | r 557 src/dps8/dps8_math128.c (((uint64_t) r [0]) << 0)); r 611 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n], r[2]; r 626 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, n); r 628 src/dps8/dps8_math128.c * remp = r [0] | (uint32_t) r[1] << 16; r 645 src/dps8/dps8_math128.c bool r = iszero_128 (construct_128 (h, l)); r 647 src/dps8/dps8_math128.c if (r != expect) { r 650 src/dps8/dps8_math128.c (unsigned long long)h, (unsigned long long)l, (unsigned long)r); r 660 src/dps8/dps8_math128.c uint128 r = and_128 (a, b); r 662 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 666 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 676 src/dps8/dps8_math128.c uint128 r = or_128 (a, b); r 678 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 682 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 691 src/dps8/dps8_math128.c uint128 r = complement_128 (a); r 693 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 696 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)r.h, r 697 src/dps8/dps8_math128.c (unsigned long long)r.l); r 707 src/dps8/dps8_math128.c uint128 r = add_128 (a, b); r 709 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 713 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 723 src/dps8/dps8_math128.c uint128 r = subtract_128 (a, b); r 725 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 729 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 738 src/dps8/dps8_math128.c uint128 r = negate_128 (a); r 740 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 743 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)r.h, r 744 src/dps8/dps8_math128.c (unsigned long long)r.l); r 755 src/dps8/dps8_math128.c bool r = isgt_128 (a, b); r 756 src/dps8/dps8_math128.c if (r != expect) { r 760 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r); r 769 src/dps8/dps8_math128.c uint128 r = lshift_128 (a, n); r 771 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 775 src/dps8/dps8_math128.c (unsigned long long)r.h, (unsigned long long)r.l); r 784 src/dps8/dps8_math128.c uint128 r = rshift_128 (a, n); r 786 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 790 src/dps8/dps8_math128.c (unsigned long long)r.h, (unsigned long long)r.l); r 800 src/dps8/dps8_math128.c uint128 r = multiply_128 (a, b); r 802 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 806 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 816 src/dps8/dps8_math128.c int128 r = multiply_s128 (a, b); r 818 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 822 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 937 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du_server, DEFAULT_BACKLOG, r 939 src/dps8/fnpuv.c if (r) r 941 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listen error: %s:%ld: %s]\r\n", telnet_address, (long) telnet_port, uv_strerror (r)); r 1233 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & linep->server, DEFAULT_BACKLOG, r 1235 src/dps8/fnpuv.c if (r) r 1237 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listen error: %s:%ld: %s]\r\n", fnpData.telnet_address, (long) linep->port, uv_strerror (r)); r 1285 src/dps8/fnpuv.c r 1287 src/dps8/fnpuv.c r 1289 src/dps8/fnpuv.c r 1628 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du3270_server, DEFAULT_BACKLOG, r 1630 src/dps8/fnpuv.c if (r) r 1632 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: listen error: %s:%ld: %s]\r\n", fnpData.telnet_address, (long) telnet3270_port, uv_strerror (r)); r 98 src/dps8/hdbg.h # define HDBGRegZR(r, c) hdbgRegR (hreg_Z, (word36) r, c) r 99 src/dps8/hdbg.h # define HDBGRegZW(r, c) hdbgRegW (hreg_Z, (word36) r, c) r 606 src/dps8/uthash.h # define MUR_ROTL32(x,r) (((x) << (r)) | ((x) >> (32 - (r)))) r 653 src/dps8/uvutil.c int r = uv_listen ((uv_stream_t *) & access->server, r 656 src/dps8/uvutil.c if (r) r 658 src/dps8/uvutil.c fprintf (stderr, "\r[OPC emulation: listen error: %s:%ld: %s]\r\n", access->address, (long) access->port, uv_strerror (r)); r 273 src/simh/scp.c void fprint_stopped (FILE *st, t_stat r); r 1306 src/simh/scp.c int r; r 1309 src/simh/scp.c r = _putenv(envstr); r 1311 src/simh/scp.c return r; r 1328 src/simh/scp.c void *r = realloc(ptr, size); r 1330 src/simh/scp.c if (r != ptr) return r; r 1331 src/simh/scp.c else if (r) r 1349 src/simh/scp.c memcpy(rm, r, size); r 1350 src/simh/scp.c FREE(r); r 1353 src/simh/scp.c else return r; r 1385 src/simh/scp.c char *p, *q, *r; r 1386 src/simh/scp.c if (*sub && (q = r = strstr(str, sub)) != NULL) { r 1388 src/simh/scp.c while ((r = strstr(p = r + len, sub)) != NULL) { r 1389 src/simh/scp.c while (p < r) r 2473 src/simh/scp.c t_stat r; r 2479 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); r 2482 src/simh/scp.c return r; r 2559 src/simh/scp.c t_stat r; r 2568 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, cptr); r 2571 src/simh/scp.c return r; r 3291 src/simh/scp.c t_stat r; r 3297 src/simh/scp.c cptr = (CONST char *)get_sim_opt (CMD_OPT_SW|CMD_OPT_DFT, (CONST char *)cptr, &r); r 3438 src/simh/scp.c t_stat r; r 3444 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3445 src/simh/scp.c if (r != SCPE_OK) r 3446 src/simh/scp.c return r; r 3455 src/simh/scp.c delay = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3456 src/simh/scp.c if (r != SCPE_OK) r 3463 src/simh/scp.c after = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3464 src/simh/scp.c if (r != SCPE_OK) r 3493 src/simh/scp.c t_stat r; r 3498 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3499 src/simh/scp.c if (r != SCPE_OK) r 3500 src/simh/scp.c return r; r 3534 src/simh/scp.c t_stat r; r 3538 src/simh/scp.c r = tmxr_locate_line_expect (gbuf, &exp); r 3539 src/simh/scp.c if (r != SCPE_OK) r 3540 src/simh/scp.c return r; r 3787 src/simh/scp.c t_stat r; r 3870 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); r 3871 src/simh/scp.c if (r != SCPE_OK) r 3872 src/simh/scp.c return r; r 3886 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) r 3887 src/simh/scp.c return r; r 3896 src/simh/scp.c r = glbr->action (dptr, uptr, glbr->arg, cvptr); /* do global */ r 3897 src/simh/scp.c if (r != SCPE_OK) r 3898 src/simh/scp.c return r; r 4031 src/simh/scp.c t_stat r = SCPE_IERR; r 4033 src/simh/scp.c cptr = get_sim_opt (CMD_OPT_SW|CMD_OPT_OF, cptr, &r); r 4036 src/simh/scp.c return r; r 4038 src/simh/scp.c r = show_cmd_fi (sim_ofile, flag, cptr); /* do show */ r 4042 src/simh/scp.c r = show_cmd_fi (stdout, flag, cptr); /* no, stdout, log */ r 4048 src/simh/scp.c return r; r 4135 src/simh/scp.c t_stat r; r 4137 src/simh/scp.c r = shptr->action (ofile, dptr, uptr, shptr->arg, cptr); r 4138 src/simh/scp.c if (r != SCPE_OK) r 4139 src/simh/scp.c return r; r 5259 src/simh/scp.c t_stat r; r 5262 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ r 5264 src/simh/scp.c r = sim_brk_showall (st, sim_switches); r 5265 src/simh/scp.c return r; r 5357 src/simh/scp.c t_stat r = SCPE_OK; r 5370 src/simh/scp.c if (r == SCPE_OK) r 5372 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); r 5381 src/simh/scp.c t_stat r = SCPE_OK; r 5384 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); r 5387 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO)))) r 5389 src/simh/scp.c return r; r 5428 src/simh/scp.c t_stat r; r 5477 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); r 5478 src/simh/scp.c if (r != SCPE_OK) r 5479 src/simh/scp.c return r; r 5583 src/simh/scp.c t_stat r; r 5587 src/simh/scp.c r = reset_all (start); r 5589 src/simh/scp.c return r; r 5599 src/simh/scp.c t_stat r; r 5616 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach it */ r 5617 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 5618 src/simh/scp.c return r; } r 5782 src/simh/scp.c t_stat r; r 5794 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach unit */ r 5796 src/simh/scp.c if ((r != SCPE_OK) && !shutdown) /* error and not shutting down? */ r 5797 src/simh/scp.c return r; /* bail out now with error status */ r 5888 src/simh/scp.c t_stat r; r 5909 src/simh/scp.c ((r = sim_run_boot_prep (flag)) != SCPE_OK)) { /* reset sim */ r 5911 src/simh/scp.c return r; r 5924 src/simh/scp.c r = expect_cmd (1, cptr); r 5925 src/simh/scp.c if (r != SCPE_OK) r 5926 src/simh/scp.c return r; r 5933 src/simh/scp.c r = ssh_break (NULL, cptr, SSH_ST); r 5934 src/simh/scp.c if (r != SCPE_OK) r 5935 src/simh/scp.c return sim_messagef (r, "Unable to establish breakpoint at: %s\n", cptr); r 5953 src/simh/scp.c sim_step = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 5954 src/simh/scp.c if ((r != SCPE_OK) || (sim_step <= 0)) /* error? */ r 5968 src/simh/scp.c sim_next = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 5969 src/simh/scp.c if ((r != SCPE_OK) || (sim_next <= 0)) /* error? */ r 6000 src/simh/scp.c if ((r = sim_run_boot_prep (flag)) != SCPE_OK) /* reset sim */ r 6001 src/simh/scp.c return r; r 6002 src/simh/scp.c if ((r = dptr->boot (unitno, dptr)) != SCPE_OK) /* boot device */ r 6003 src/simh/scp.c return r; r 6030 src/simh/scp.c if ((r = sim_check_console (30)) != SCPE_OK) { /* check console, error? */ r 6033 src/simh/scp.c return r; r 6074 src/simh/scp.c r = sim_instr(); r 6075 src/simh/scp.c if (r != SCPE_REMOTE) r 6086 src/simh/scp.c if (SCPE_BARE_STATUS(r) >= SCPE_BASE) /* done if an error occurred */ r 6097 src/simh/scp.c if (r != SCPE_STEP) /* done if step didn't complete with step expired */ r 6144 src/simh/scp.c return r | ((sim_switches & SWMASK ('Q')) ? SCPE_NOMESSAGE : 0); r 6150 src/simh/scp.c run_cmd_message (const char *unechoed_cmdline, t_stat r) r 6152 src/simh/scp.c if (unechoed_cmdline && (r >= SCPE_BASE) && (r != SCPE_STEP) && (r != SCPE_STOP) && (r != SCPE_EXPECT)) r 6158 src/simh/scp.c fprint_stopped (stdout, r); /* print msg */ r 6160 src/simh/scp.c fprint_stopped (sim_log, r); r 6162 src/simh/scp.c fprint_stopped (sim_deb, r); r 6174 src/simh/scp.c t_stat r; r 6183 src/simh/scp.c r = reset_all (0); r 6184 src/simh/scp.c if ((r == SCPE_OK) && (flag == RU_RUN)) { r 6191 src/simh/scp.c return r; r 6204 src/simh/scp.c t_stat r = 0; r 6231 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) r 6234 src/simh/scp.c if ((r == SCPE_OK) || (i > 0)) { r 6596 src/simh/scp.c t_stat r; r 6626 src/simh/scp.c val = get_uint (cptr, rdx, mask, &r); r 6627 src/simh/scp.c if (r != SCPE_OK) r 6818 src/simh/scp.c t_stat r, reason; r 6850 src/simh/scp.c r = dptr->deposit (sim_eval[i], j, uptr, sim_switches); r 6851 src/simh/scp.c if (r != SCPE_OK) r 6852 src/simh/scp.c return r; r 6889 src/simh/scp.c t_stat r; r 6897 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { r 6898 src/simh/scp.c sim_eval[0] = get_uint (cptr, rdx, width_mask[dptr->dwidth], &r); r 6899 src/simh/scp.c if (r != SCPE_OK) r 6900 src/simh/scp.c return r; r 6902 src/simh/scp.c lim = 1 - r; r 6905 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 6906 src/simh/scp.c r = fprint_val (stdout, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 6908 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 6909 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 6912 src/simh/scp.c if (r < 0) r 6913 src/simh/scp.c a = a + 1 - r; r 7472 src/simh/scp.c t_stat r; r 7497 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); r 7498 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 9171 src/simh/scp.c t_stat r; r 9189 src/simh/scp.c after = (uint32)get_uint (&gbuf[10], 10, 2000000000, &r); r 9190 src/simh/scp.c if (r != SCPE_OK) r 10982 src/simh/scp.c t_stat r; r 10986 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap); r 10989 src/simh/scp.c return r; r 78 src/simh/scp.h void run_cmd_message (const char *unechod_cmdline, t_stat r); r 285 src/simh/sim_console.c t_stat r; r 295 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 296 src/simh/sim_console.c if (r != SCPE_OK) r 297 src/simh/sim_console.c return r; r 374 src/simh/sim_console.c t_stat r; r 384 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 385 src/simh/sim_console.c if (r != SCPE_OK) r 386 src/simh/sim_console.c return r; r 551 src/simh/sim_console.c t_stat r; r 554 src/simh/sim_console.c r = help_cmd (flag, cptr); r 556 src/simh/sim_console.c return r; r 1053 src/simh/sim_console.c t_stat r; r 1056 src/simh/sim_console.c r = sim_parse_addr (cptr, NULL, 0, NULL, NULL, 0, NULL, NULL); r 1057 src/simh/sim_console.c if (r == SCPE_OK) { r 1064 src/simh/sim_console.c r = tmxr_attach (&sim_rem_con_tmxr, &sim_rem_con_unit[0], cptr);/* open master socket */ r 1065 src/simh/sim_console.c if (r == SCPE_OK) r 1067 src/simh/sim_console.c return r; r 1091 src/simh/sim_console.c t_stat r; r 1096 src/simh/sim_console.c lines = (int32) get_uint (cptr, 10, MAX_REMOTE_SESSIONS, &r); r 1097 src/simh/sim_console.c if (r != SCPE_OK) r 1098 src/simh/sim_console.c return r; r 1208 src/simh/sim_console.c t_stat r; r 1212 src/simh/sim_console.c timeout = (int32) get_uint (cptr, 10, 3600, &r); r 1213 src/simh/sim_console.c if (r != SCPE_OK) r 1214 src/simh/sim_console.c return r; r 1228 src/simh/sim_console.c t_stat r; r 1234 src/simh/sim_console.c val = (int32) get_uint (cptr, rdx, 0177, &r); //-V536 r 1235 src/simh/sim_console.c if ((r != SCPE_OK) || r 1258 src/simh/sim_console.c t_stat r; r 1264 src/simh/sim_console.c val = (uint32) get_uint (cptr, rdx, 0xFFFFFFFF, &r); r 1265 src/simh/sim_console.c if ((r != SCPE_OK) || r 1295 src/simh/sim_console.c t_stat r; r 1304 src/simh/sim_console.c r = sim_open_logfile (gbuf, (sim_switches & SWMASK ('B')) == SWMASK ('B'), r 1306 src/simh/sim_console.c if (r != SCPE_OK) /* error? */ r 1307 src/simh/sim_console.c return r; r 1352 src/simh/sim_console.c t_stat r; r 1372 src/simh/sim_console.c r = sim_open_logfile (gbuf, FALSE, &sim_deb, &sim_deb_ref); r 1374 src/simh/sim_console.c if (r != SCPE_OK) r 1375 src/simh/sim_console.c return r; r 1500 src/simh/sim_console.c t_stat r; r 1510 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 1511 src/simh/sim_console.c if (r != SCPE_OK) r 1512 src/simh/sim_console.c return r; r 1517 src/simh/sim_console.c r = tmxr_attach (&sim_con_tmxr, &sim_con_unit, gbuf);/* open master socket */ r 1518 src/simh/sim_console.c if (r == SCPE_OK) r 1521 src/simh/sim_console.c return r; r 2444 src/simh/sim_console.c t_stat r; r 2449 src/simh/sim_console.c val = (int32) get_uint (cptr, 10, INT_MAX, &r); /* parse the argument */ r 2451 src/simh/sim_console.c if (r == SCPE_OK) /* parse OK? */ r 2454 src/simh/sim_console.c return r; r 155 src/simh/sim_disk.c t_stat r; r 162 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, sim_taddr_64? 2000000: 2000, &r); r 163 src/simh/sim_disk.c if (r != SCPE_OK) r 208 src/simh/sim_disk.c t_bool r = FALSE; r 209 src/simh/sim_disk.c r = sim_disk_isavailable (uptr); r 210 src/simh/sim_disk.c return r; r 263 src/simh/sim_disk.c t_stat r; r 308 src/simh/sim_disk.c r = _sim_disk_rdsect (uptr, tlba, tbuf, &sread, tsects); r 314 src/simh/sim_disk.c if (r == SCPE_OK) { r 323 src/simh/sim_disk.c return r; r 329 src/simh/sim_disk.c t_stat r = SCPE_OK; r 330 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, buf, sectsread, sects); r 331 src/simh/sim_disk.c return r; r 363 src/simh/sim_disk.c t_stat r; r 417 src/simh/sim_disk.c r = SCPE_NOFNC; r 437 src/simh/sim_disk.c r = SCPE_NOFNC; r 444 src/simh/sim_disk.c r = SCPE_NOFNC; r 451 src/simh/sim_disk.c r = SCPE_NOFNC; r 454 src/simh/sim_disk.c if ((r == SCPE_OK) && sectswritten) { //-V560 r 461 src/simh/sim_disk.c return r; r 466 src/simh/sim_disk.c t_stat r = SCPE_OK; r 467 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, buf, sectswritten, sects); r 468 src/simh/sim_disk.c return r; r 860 src/simh/sim_disk.c t_stat r = SCPE_OK; r 863 src/simh/sim_disk.c r = SCPE_MEM; r 864 src/simh/sim_disk.c if (r == SCPE_OK) r 865 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - ctx->sector_size)/ctx->sector_size), secbuf, NULL, 1); /* Write Last Sector */ r 866 src/simh/sim_disk.c if (r == SCPE_OK) r 867 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(0), secbuf, NULL, 1); /* Write First Sector */ r 869 src/simh/sim_disk.c if (r != SCPE_OK) { r 887 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 896 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, init_buf, NULL, sects); r 897 src/simh/sim_disk.c if (r != SCPE_OK) { r 913 src/simh/sim_disk.c t_stat r = SCPE_OK; r 925 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 929 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, verify_buf, NULL, sects); r 930 src/simh/sim_disk.c if (r == SCPE_OK) { r 796 src/simh/sim_sock.c int r; r 800 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL); r 802 src/simh/sim_sock.c *parse_status = r; r 803 src/simh/sim_sock.c if (r) r 149 src/simh/sim_tape.c t_stat r; r 165 src/simh/sim_tape.c r = attach_unit (uptr, (CONST char *)cptr); /* attach unit */ r 166 src/simh/sim_tape.c if (r != SCPE_OK) /* error? */ r 167 src/simh/sim_tape.c return sim_messagef (r, "Can't open tape image: %s\n", cptr); r 233 src/simh/sim_tape.c t_stat r; r 250 src/simh/sim_tape.c r = detach_unit (uptr); /* detach unit */ r 251 src/simh/sim_tape.c if (r != SCPE_OK) r 252 src/simh/sim_tape.c return r; r 406 src/simh/sim_tape.c t_stat r = MTSE_OK; r 437 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 439 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 459 src/simh/sim_tape.c r = sim_tape_ioerr (uptr); /* report the error and quit */ r 467 src/simh/sim_tape.c r = MTSE_EOM; /* and report the end-of-medium and quit */ r 473 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 475 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 487 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 489 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 496 src/simh/sim_tape.c r = MTSE_TMK; /* then quit with tape mark status */ r 523 src/simh/sim_tape.c if (r == MTSE_OK && runaway_counter <= 0) /* if a tape runaway occurred */ r 524 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report it */ r 537 src/simh/sim_tape.c r = MTSE_EOM; r 542 src/simh/sim_tape.c r = MTSE_TMK; r 567 src/simh/sim_tape.c r = MTSE_TMK; r 574 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %d, lnt: %d, pos: %" T_ADDR_FMT "u\n", r, *bc, uptr->pos); r 576 src/simh/sim_tape.c return r; r 620 src/simh/sim_tape.c t_stat r = MTSE_OK; r 653 src/simh/sim_tape.c r = MTSE_BOT; /* then quit with an error */ r 670 src/simh/sim_tape.c r = sim_tape_ioerr (uptr); /* report the error and quit */ r 684 src/simh/sim_tape.c r = MTSE_TMK; /* then quit with tape mark status */ r 710 src/simh/sim_tape.c if (r == MTSE_OK && runaway_counter <= 0) /* if a tape runaway occurred */ r 711 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report it */ r 723 src/simh/sim_tape.c r = MTSE_EOM; r 728 src/simh/sim_tape.c r = MTSE_TMK; r 741 src/simh/sim_tape.c r = MTSE_EOM; r 753 src/simh/sim_tape.c r = MTSE_TMK; r 759 src/simh/sim_tape.c sim_debug (MTSE_DBG_STR, ctx->dptr, "rd_lnt: st: %d, lnt: %d, pos: %" T_ADDR_FMT "u\n", r, *bc, uptr->pos); r 760 src/simh/sim_tape.c return r; r 821 src/simh/sim_tape.c t_stat r = SCPE_OK; r 822 src/simh/sim_tape.c r = sim_tape_rdrecf (uptr, buf, bc, max); r 823 src/simh/sim_tape.c return r; r 877 src/simh/sim_tape.c t_stat r = SCPE_OK; r 878 src/simh/sim_tape.c r = sim_tape_rdrecr (uptr, buf, bc, max); r 879 src/simh/sim_tape.c return r; r 952 src/simh/sim_tape.c t_stat r = SCPE_OK; r 953 src/simh/sim_tape.c r = sim_tape_wrrecf (uptr, buf, bc); r 954 src/simh/sim_tape.c return r; r 999 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1000 src/simh/sim_tape.c r = sim_tape_wrtmk (uptr); r 1001 src/simh/sim_tape.c return r; r 1027 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1028 src/simh/sim_tape.c r = sim_tape_wreom (uptr); r 1029 src/simh/sim_tape.c return r; r 1037 src/simh/sim_tape.c t_stat r; r 1044 src/simh/sim_tape.c r = sim_tape_wrdata (uptr, MTR_EOM); r 1045 src/simh/sim_tape.c if (r == MTSE_OK) r 1046 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1047 src/simh/sim_tape.c return r; r 1052 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1053 src/simh/sim_tape.c r = sim_tape_wreomrw (uptr); r 1054 src/simh/sim_tape.c return r; r 1309 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1310 src/simh/sim_tape.c return r; r 1348 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1349 src/simh/sim_tape.c r = sim_tape_sprecf (uptr, bc); r 1350 src/simh/sim_tape.c return r; r 1394 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1395 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, count, skipped); r 1396 src/simh/sim_tape.c return r; r 1439 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1440 src/simh/sim_tape.c r = sim_tape_sprecr (uptr, bc); r 1441 src/simh/sim_tape.c return r; r 1486 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1487 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, count, skipped); r 1488 src/simh/sim_tape.c return r; r 1558 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1559 src/simh/sim_tape.c r = sim_tape_spfilebyrecf (uptr, count, skipped, recsskipped, check_leot); r 1560 src/simh/sim_tape.c return r; r 1596 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1597 src/simh/sim_tape.c r = sim_tape_spfilef (uptr, count, skipped); r 1598 src/simh/sim_tape.c return r; r 1651 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1652 src/simh/sim_tape.c r = sim_tape_spfilebyrecr (uptr, count, skipped, recsskipped); r 1653 src/simh/sim_tape.c return r; r 1690 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1691 src/simh/sim_tape.c r = sim_tape_spfiler (uptr, count, skipped); r 1692 src/simh/sim_tape.c return r; r 1713 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1714 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1715 src/simh/sim_tape.c return r; r 1723 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1731 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1732 src/simh/sim_tape.c if (r != MTSE_OK) r 1733 src/simh/sim_tape.c return r; r 1741 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, objsremaining, &skipped); r 1743 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, objsremaining, &skipped); r 1744 src/simh/sim_tape.c objsremaining = objsremaining - (skipped + ((r == MTSE_TMK) ? 1 : 0)); r 1745 src/simh/sim_tape.c if ((r == MTSE_TMK) || (r == MTSE_OK)) r 1746 src/simh/sim_tape.c *objectsskipped = *objectsskipped + skipped + ((r == MTSE_TMK) ? 1 : 0); r 1748 src/simh/sim_tape.c return r; r 1750 src/simh/sim_tape.c r = MTSE_OK; r 1756 src/simh/sim_tape.c r = sim_tape_spfilebyrecr (uptr, files, filesskipped, &fileskiprecs); r 1758 src/simh/sim_tape.c r = sim_tape_spfilebyrecf (uptr, files, filesskipped, &fileskiprecs, (flags & MTPOS_M_DLE)); r 1759 src/simh/sim_tape.c if (r != MTSE_OK) r 1760 src/simh/sim_tape.c return r; r 1762 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, recs, recsskipped); r 1764 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, recs, recsskipped); r 1765 src/simh/sim_tape.c if (r == MTSE_TMK) r 1769 src/simh/sim_tape.c return r; r 1774 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1775 src/simh/sim_tape.c r = sim_tape_position (uptr, flags, recs, recsskipped, files, filesskipped, objectsskipped); r 1776 src/simh/sim_tape.c return r; r 2014 src/simh/sim_tape.c t_stat r; r 2020 src/simh/sim_tape.c cap = (t_addr) get_uint (cptr, 10, sim_taddr_64? 2000000: 2000, &r); r 2021 src/simh/sim_tape.c if (r != SCPE_OK) r 1033 src/simh/sim_tmxr.c int j, r = (int)random(); r 1057 src/simh/sim_tmxr.c switch (((unsigned)j+(unsigned)r)&1) { r 1906 src/simh/sim_tmxr.c t_stat r; r 1941 src/simh/sim_tmxr.c (SCPE_OK == (r = tmxr_putc_ln (lp, lp->txpb[lp->txppoffset])))) r 1943 src/simh/sim_tmxr.c (void)r; r 1984 src/simh/sim_tmxr.c t_stat r; r 2020 src/simh/sim_tmxr.c (SCPE_OK == (r = tmxr_putc_ln (lp, lp->txpb[lp->txppoffset])))) r 2022 src/simh/sim_tmxr.c (void)r; r 2144 src/simh/sim_tmxr.c t_stat r; r 2154 src/simh/sim_tmxr.c uint32 rxbpsfactor = (uint32) get_uint (cptr+1, 10, 32, &r); r 2155 src/simh/sim_tmxr.c if (r != SCPE_OK) r 2156 src/simh/sim_tmxr.c return r; r 2191 src/simh/sim_tmxr.c t_stat r = SCPE_OK; r 2236 src/simh/sim_tmxr.c nextline = (int32) get_uint (cptr, 10, mp->lines-1, &r); r 2237 src/simh/sim_tmxr.c if (r) r 2263 src/simh/sim_tmxr.c i = (int32) get_uint (cptr, 10, 1024*1024, &r); r 2264 src/simh/sim_tmxr.c if (r || (i == 0)) r 2336 src/simh/sim_tmxr.c sock = sim_master_sock (port, &r); /* make master socket to validate port */ r 2337 src/simh/sim_tmxr.c if (r) r 2432 src/simh/sim_tmxr.c r = sim_open_logfile (lp->txlogname, TRUE, &lp->txlog, &lp->txlogref); r 2433 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2509 src/simh/sim_tmxr.c sock = sim_master_sock (listen, &r); /* make master socket */ r 2510 src/simh/sim_tmxr.c if (r) r 2657 src/simh/sim_tmxr.c r = sim_open_logfile (lp->txlogname, TRUE, &lp->txlog, &lp->txlogref); r 2658 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2663 src/simh/sim_tmxr.c return sim_messagef (r, "Can't open log file: %s\n", logfiletmpl); r 2726 src/simh/sim_tmxr.c sock = sim_master_sock (listen, &r); /* make master socket */ r 2727 src/simh/sim_tmxr.c if (r) r 2828 src/simh/sim_tmxr.c r = SCPE_OK; r 2830 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2832 src/simh/sim_tmxr.c return r; r 2951 src/simh/sim_tmxr.c t_stat r; r 2964 src/simh/sim_tmxr.c int line = (int)get_uint (cptr, 10, tmxr_open_devices[i]->lines, &r); r 2965 src/simh/sim_tmxr.c if (r != SCPE_OK) r 2966 src/simh/sim_tmxr.c return r; r 2995 src/simh/sim_tmxr.c t_stat r; r 2998 src/simh/sim_tmxr.c r = tmxr_open_master (mp, cptr); /* open master socket */ r 2999 src/simh/sim_tmxr.c if (r != SCPE_OK) /* error? */ r 3000 src/simh/sim_tmxr.c return r; r 3686 src/simh/sim_tmxr.c t_stat r; r 3699 src/simh/sim_tmxr.c r = sim_open_logfile (cptr, TRUE, &lp->txlog, &lp->txlogref); /* open log */ r 3700 src/simh/sim_tmxr.c if (r != SCPE_OK) { /* error? */ r 3702 src/simh/sim_tmxr.c return r;