r 5306 src/decNumber/decNumber.c Int r; // rhs=f*10**r [see below] r 5407 src/decNumber/decNumber.c r=rhs->exponent+rhs->digits; // 'normalised' exponent r 5408 src/decNumber/decNumber.c decNumberFromInt32(a, r); // a=r r 5943 src/decNumber/decNumber.c const Unit *l, *r, *u; // work r 5951 src/decNumber/decNumber.c r=b+alength-1; r 5952 src/decNumber/decNumber.c for (;l>=a; l--, r--) { r 5953 src/decNumber/decNumber.c if (*l>*r) return 1; r 5954 src/decNumber/decNumber.c if (*l<*r) return -1; r 438 src/dps8/dps8_cpu.h word36 r; r 303 src/dps8/dps8_decimal.c r 312 src/dps8/dps8_decimal.c r 337 src/dps8/dps8_decimal.c r 338 src/dps8/dps8_decimal.c r 346 src/dps8/dps8_decimal.c r 356 src/dps8/dps8_decimal.c r 381 src/dps8/dps8_decimal.c r 382 src/dps8/dps8_decimal.c r 391 src/dps8/dps8_decimal.c r 431 src/dps8/dps8_decimal.c r 463 src/dps8/dps8_decimal.c r 464 src/dps8/dps8_decimal.c r 475 src/dps8/dps8_decimal.c r 476 src/dps8/dps8_decimal.c r 483 src/dps8/dps8_decimal.c r 494 src/dps8/dps8_decimal.c r 507 src/dps8/dps8_decimal.c r 513 src/dps8/dps8_decimal.c r 660 src/dps8/dps8_decimal.c r 667 src/dps8/dps8_decimal.c r 710 src/dps8/dps8_decimal.c r 715 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 730 src/dps8/dps8_decimal.c if (sf != r->exponent) { r 733 src/dps8/dps8_decimal.c if (sf > r->exponent) // ET 330: truncation due to: output sf > input sf or exponent r 738 src/dps8/dps8_decimal.c r 742 src/dps8/dps8_decimal.c r 748 src/dps8/dps8_decimal.c r 750 src/dps8/dps8_decimal.c if (r->exponent > sf) r 751 src/dps8/dps8_decimal.c set->digits = min (DECNUMDIGITS, max (set->digits, r->digits + r->exponent - sf)); r 752 src/dps8/dps8_decimal.c decNumberRescale (r, r, & _sf, set); r 755 src/dps8/dps8_decimal.c decNumberZero (r); r 766 src/dps8/dps8_decimal.c decNumberToIntegralValue (r2, r, set); r 779 src/dps8/dps8_decimal.c decNumberPlus (r2, r, set); r 782 src/dps8/dps8_decimal.c decNumberSubtract(r, r, r2, set); r 791 src/dps8/dps8_decimal.c if (nout < r->digits) { // not enough space to move all digits r 799 src/dps8/dps8_decimal.c decNumberPlus (r, r, set); r 812 src/dps8/dps8_decimal.c decNumberGetBCD (r,tmp); r 813 src/dps8/dps8_decimal.c int justif = nout - r->digits; r 46 src/dps8/dps8_decimal.h char *formatDecimal(uint8_t * out, decContext *set, decNumber *r, int nout, int s, r 1466 src/dps8/dps8_eis.c word36 r = getMFReg36 (cpup, MFk & 017, allowDU, true, mod_fault); // allow du based on instruction, allow n,ic r 1470 src/dps8/dps8_eis.c address += r; r 1472 src/dps8/dps8_eis.c r = 0; r 1496 src/dps8/dps8_eis.c uint nchars = address * 8 + (uint) r + arn_char4 + CN; r 1519 src/dps8/dps8_eis.c effBITNO = (9u * ARn_CHAR + 6u * r + ARn_BITNO) % 9u; r 1522 src/dps8/dps8_eis.c 6u * r + ARn_BITNO) % 36u) / 6u;//9; r 1526 src/dps8/dps8_eis.c 6u * r + r 1545 src/dps8/dps8_eis.c effCHAR = (CN + ARn_CHAR + r) % 4; r 1548 src/dps8/dps8_eis.c effCHAR, CN, ARn_CHAR, r); r 1552 src/dps8/dps8_eis.c 9u * r + r 1601 src/dps8/dps8_eis.c word36 r = getMFReg36 (cpup, yREG, false, true, mod_fault); // disallow du, allow n,ic r 1628 src/dps8/dps8_eis.c y += ((9u * ARn_CHAR + 36u * r + ARn_BITNO) / 36u); r 1715 src/dps8/dps8_eis.c word36 r = getMFReg36(cpup, MFk & 017, false, true, mod_fault); // disallow du, allow n, ic r 1718 src/dps8/dps8_eis.c address += r; r 1720 src/dps8/dps8_eis.c r = 0; r 1761 src/dps8/dps8_eis.c uint nchars = (uint) (address * 8u + r + arn_char4 + CN); r 1781 src/dps8/dps8_eis.c effCHAR = ((word36) CN + (word36) ARn_CHAR + r) % 4u; r 1782 src/dps8/dps8_eis.c effWORDNO = (uint) (address + (9u*CN + 9u*ARn_CHAR + 9u*r + ARn_BITNO) / 36); r 1895 src/dps8/dps8_eis.c word36 r = getMFReg36(cpup, MFk & 017, false, true, mod_fault); // disallow du, allow n,ic r 1900 src/dps8/dps8_eis.c address += r; r 1902 src/dps8/dps8_eis.c r = 0; r 1905 src/dps8/dps8_eis.c uint effBITNO = (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 9u; r 1906 src/dps8/dps8_eis.c uint effCHAR = ((9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) % 36u) / 9u; r 1907 src/dps8/dps8_eis.c uint effWORDNO = (uint) (address + (9u*ARn_CHAR + r + ARn_BITNO + B + 9u*C) / 36u); r 1968 src/dps8/dps8_eis.c int32 r = SIGNEXT22_32 ((word22) ur); r 1994 src/dps8/dps8_eis.c int32_t addend = address * 8 + r; // in characters r 2049 src/dps8/dps8_eis.c int32 r = SIGNEXT22_32 ((word22) ur); r 2059 src/dps8/dps8_eis.c int32_t subtractend = address * 32 + r * 4; r 2096 src/dps8/dps8_eis.c int32_t r; r 2099 src/dps8/dps8_eis.c r = SIGNEXT24_32 ((word24) rcnt); r 2101 src/dps8/dps8_eis.c r = SIGNEXT22_32 ((word22) rcnt); r 2103 src/dps8/dps8_eis.c r = SIGNEXT21_32 ((word21) rcnt); r 2105 src/dps8/dps8_eis.c r = SIGNEXT21_32 ((word21) rcnt); r 2107 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) rcnt); r 2111 src/dps8/dps8_eis.c sz, ARn, address, reg, r); r 2143 src/dps8/dps8_eis.c int32_t addend = address * 36 + r * (int32_t) sz; r 2175 src/dps8/dps8_eis.c word24 r = getCrAR (cpup, (word4) reg) & MASK24; r 2193 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) + r; r 2198 src/dps8/dps8_eis.c if (r % 36) r 2210 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (address + r / 36) & MASK18; r 2211 src/dps8/dps8_eis.c if (r % 36) r 2215 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (r % 36) / 9, r 2216 src/dps8/dps8_eis.c r % 9); r 2242 src/dps8/dps8_eis.c r 2245 src/dps8/dps8_eis.c r 2247 src/dps8/dps8_eis.c r 2250 src/dps8/dps8_eis.c r 2288 src/dps8/dps8_eis.c r 2293 src/dps8/dps8_eis.c r 2296 src/dps8/dps8_eis.c r 2309 src/dps8/dps8_eis.c r 2314 src/dps8/dps8_eis.c r 2321 src/dps8/dps8_eis.c r 2326 src/dps8/dps8_eis.c r 2330 src/dps8/dps8_eis.c r 2385 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (cpup, reg) & MASK18); r 2386 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) r); r 2390 src/dps8/dps8_eis.c ARn, address, reg, r); r 2408 src/dps8/dps8_eis.c int32_t addend = address + r; r 2429 src/dps8/dps8_eis.c word24 r = getCrAR (cpup, (word4) reg) & MASK24; r 2435 src/dps8/dps8_eis.c word24 bits = 9u * GET_AR_CHAR (ARn) + GET_AR_BITNO (ARn) - r; r 2438 src/dps8/dps8_eis.c if (r % 36) r 2446 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + r / 36)) & MASK18; r 2447 src/dps8/dps8_eis.c if (r % 36) r 2449 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (- ((r % 36) / 9)) & MASK2, r 2450 src/dps8/dps8_eis.c (- (r % 9)) & MASK4); r 2468 src/dps8/dps8_eis.c int32_t r = (int32_t) (getCrAR (cpup, reg) & MASK18); r 2469 src/dps8/dps8_eis.c r = SIGNEXT18_32 ((word18) r); r 2473 src/dps8/dps8_eis.c ARn, address, reg, r); r 2490 src/dps8/dps8_eis.c int32_t subtractend = address + r; r 2514 src/dps8/dps8_eis.c word21 r = getCrAR (cpup, reg) & MASK21;; r 2516 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "s9bd r 0%o\n", r); r 2518 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 2527 src/dps8/dps8_eis.c (GET_AR_CHAR (ARn) - r) / 4) & MASK18; r 2532 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (GET_AR_CHAR (ARn) - r) & MASK2, 0); r 2537 src/dps8/dps8_eis.c cpu.AR[ARn].WORDNO = (- (address + (r + 3) / 4)) & MASK18; r 2541 src/dps8/dps8_eis.c SET_AR_CHAR_BITNO (ARn, (-r) & MASK2, 0); r 2807 src/dps8/dps8_eis.c uint r = 0; r 2810 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK24); r 2812 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK22); r 2814 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); r 2816 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK21); r 2818 src/dps8/dps8_eis.c r = (uint) (rcnt & MASK18); r 2820 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 2866 src/dps8/dps8_eis.c addend = address * 36u + (r * 9) / 2; r 2870 src/dps8/dps8_eis.c if ((! sub) && r % 2) // r is odd r 2874 src/dps8/dps8_eis.c addend = address * 36u + r * sz; r 9648 src/dps8/dps8_eis.c uint16_t r; r 9649 src/dps8/dps8_eis.c x = divide_128_16 (x, 10, & r); r 9650 src/dps8/dps8_eis.c tmp[i] = (char) r + '0'; r 12372 src/dps8/dps8_eis.c r 12505 src/dps8/dps8_eis.c r 12507 src/dps8/dps8_eis.c r 12508 src/dps8/dps8_eis.c r 12537 src/dps8/dps8_eis.c r 12538 src/dps8/dps8_eis.c r 12549 src/dps8/dps8_eis.c r 12550 src/dps8/dps8_eis.c r 12557 src/dps8/dps8_eis.c r 12570 src/dps8/dps8_eis.c r 12583 src/dps8/dps8_eis.c r 12589 src/dps8/dps8_eis.c r 12813 src/dps8/dps8_eis.c r 12820 src/dps8/dps8_eis.c r 12877 src/dps8/dps8_eis.c r 7463 src/dps8/dps8_ins.c cpu.MR.r = cpu.CY; r 7465 src/dps8/dps8_ins.c putbits36_1 (& cpu.MR.r, 32, 0); r 7467 src/dps8/dps8_ins.c putbits36_2 (& cpu.MR.r, 33, 0); r 7701 src/dps8/dps8_ins.c cpu.Ypair[0] = cpu.MR.r; r 379 src/dps8/dps8_math128.c int divmnu (uint16_t q[], uint16_t r[], r 402 src/dps8/dps8_math128.c if (r != NULL) r[0] = (uint16_t) k; r 465 src/dps8/dps8_math128.c if (r != NULL) r 468 src/dps8/dps8_math128.c r[i] = (uint16_t) (un[i] >> s) | (uint16_t) (un[i+1] << (16-s)); r 543 src/dps8/dps8_math128.c uint16_t r [8] = { 8 * 0 }; r 544 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, normlen); r 548 src/dps8/dps8_math128.c (((uint64_t) r [7]) << 48) | r 549 src/dps8/dps8_math128.c (((uint64_t) r [6]) << 32) | r 550 src/dps8/dps8_math128.c (((uint64_t) r [5]) << 16) | r 551 src/dps8/dps8_math128.c (((uint64_t) r [4]) << 0), r 552 src/dps8/dps8_math128.c (((uint64_t) r [3]) << 48) | r 553 src/dps8/dps8_math128.c (((uint64_t) r [2]) << 32) | r 554 src/dps8/dps8_math128.c (((uint64_t) r [1]) << 16) | r 555 src/dps8/dps8_math128.c (((uint64_t) r [0]) << 0)); r 609 src/dps8/dps8_math128.c uint16_t q[m], u[m], v[n], r[2]; r 624 src/dps8/dps8_math128.c divmnu (q, remp ? r : NULL, u, v, m, n); r 626 src/dps8/dps8_math128.c * remp = r [0] | (uint32_t) r[1] << 16; r 643 src/dps8/dps8_math128.c bool r = iszero_128 (construct_128 (h, l)); r 645 src/dps8/dps8_math128.c if (r != expect) { r 648 src/dps8/dps8_math128.c (unsigned long long)h, (unsigned long long)l, (unsigned long)r); r 658 src/dps8/dps8_math128.c uint128 r = and_128 (a, b); r 660 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 664 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 674 src/dps8/dps8_math128.c uint128 r = or_128 (a, b); r 676 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 680 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 689 src/dps8/dps8_math128.c uint128 r = complement_128 (a); r 691 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 694 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)r.h, r 695 src/dps8/dps8_math128.c (unsigned long long)r.l); r 705 src/dps8/dps8_math128.c uint128 r = add_128 (a, b); r 707 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 711 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 721 src/dps8/dps8_math128.c uint128 r = subtract_128 (a, b); r 723 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 727 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 736 src/dps8/dps8_math128.c uint128 r = negate_128 (a); r 738 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 741 src/dps8/dps8_math128.c (unsigned long long)ah, (unsigned long long)al, (unsigned long long)r.h, r 742 src/dps8/dps8_math128.c (unsigned long long)r.l); r 753 src/dps8/dps8_math128.c bool r = isgt_128 (a, b); r 754 src/dps8/dps8_math128.c if (r != expect) { r 758 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r); r 767 src/dps8/dps8_math128.c uint128 r = lshift_128 (a, n); r 769 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 773 src/dps8/dps8_math128.c (unsigned long long)r.h, (unsigned long long)r.l); r 782 src/dps8/dps8_math128.c uint128 r = rshift_128 (a, n); r 784 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 788 src/dps8/dps8_math128.c (unsigned long long)r.h, (unsigned long long)r.l); r 798 src/dps8/dps8_math128.c uint128 r = multiply_128 (a, b); r 800 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 804 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 814 src/dps8/dps8_math128.c int128 r = multiply_s128 (a, b); r 816 src/dps8/dps8_math128.c if (r.h != rh || r.l != rl) { r 820 src/dps8/dps8_math128.c (unsigned long long)bl, (unsigned long long)r.h, (unsigned long long)r.l); r 889 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du_server, DEFAULT_BACKLOG, r 891 src/dps8/fnpuv.c if (r) r 893 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 1183 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & linep->server, DEFAULT_BACKLOG, r 1185 src/dps8/fnpuv.c if (r) r 1187 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 1526 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du3270_server, DEFAULT_BACKLOG, r 1528 src/dps8/fnpuv.c if (r) r 1531 src/dps8/fnpuv.c fnpData.telnet_address, (long) telnet3270_port, uv_strerror(r)); r 88 src/dps8/hdbg.h # define HDBGRegZR(r, c) hdbgRegR (hreg_Z, (word36) r, c) r 89 src/dps8/hdbg.h # define HDBGRegZW(r, c) hdbgRegW (hreg_Z, (word36) r, c) r 844 src/dps8/panelScraper.c SETL (bank_d, 0+3, cpu.MR.r, 36); r 1181 src/dps8/panelScraper.c int r, c; r 1184 src/dps8/panelScraper.c for (r = 0; r < 0 + 8; r ++) r 1190 src/dps8/panelScraper.c unsigned char fontbits = font8x8_basic [(unsigned int) message [(unsigned int) char2]] [r]; r 1193 src/dps8/panelScraper.c banks [r + start_row] [c] = !!bit1; r 647 src/dps8/uvutil.c int r = uv_listen ((uv_stream_t *) & access->server, r 650 src/dps8/uvutil.c if (r) r 653 src/dps8/uvutil.c access->address, (long) access->port, uv_strerror(r)); r 575 src/libsir/include/sir.h sir_textcolor sir_makergb(sir_textcolor r, sir_textcolor g, sir_textcolor b); r 310 src/libsir/include/sir/helpers.h sir_textcolor _sir_makergb(sir_textcolor r, sir_textcolor g, sir_textcolor b) { r 312 src/libsir/include/sir/helpers.h _sir_setredincolor(retval, r); r 185 src/libsir/src/sir.c sir_textcolor sir_makergb(sir_textcolor r, sir_textcolor g, sir_textcolor b) { r 186 src/libsir/src/sir.c return _sir_makergb(r, g, b); r 346 src/libsir/src/sirhelpers.c char* r; r 349 src/libsir/src/sirhelpers.c if (*sub && (q = r = strstr(str, sub)) != NULL) { r 353 src/libsir/src/sirhelpers.c while ((r = strstr(p = r + len, sub)) != NULL) r 354 src/libsir/src/sirhelpers.c while (p < r) r 348 src/simh/scp.c void fprint_stopped (FILE *st, t_stat r); r 1381 src/simh/scp.c int r; r 1384 src/simh/scp.c r = _putenv(envstr); r 1386 src/simh/scp.c return r; r 1464 src/simh/scp.c char *p, *q, *r; r 1465 src/simh/scp.c if (*sub && (q = r = strstr(str, sub)) != NULL) { r 1467 src/simh/scp.c while ((r = strstr(p = r + len, sub)) != NULL) { r 1468 src/simh/scp.c while (p < r) r 2734 src/simh/scp.c t_stat r; r 2740 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); r 2743 src/simh/scp.c return r; r 2824 src/simh/scp.c t_stat r; r 2833 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, cptr); r 2836 src/simh/scp.c return r; r 3565 src/simh/scp.c t_stat r; r 3571 src/simh/scp.c cptr = (CONST char *)get_sim_opt (CMD_OPT_SW|CMD_OPT_DFT, (CONST char *)cptr, &r); r 3735 src/simh/scp.c t_stat r; r 3741 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3742 src/simh/scp.c if (r != SCPE_OK) r 3743 src/simh/scp.c return r; r 3752 src/simh/scp.c delay = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3753 src/simh/scp.c if (r != SCPE_OK) r 3760 src/simh/scp.c after = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3761 src/simh/scp.c if (r != SCPE_OK) r 3790 src/simh/scp.c t_stat r; r 3795 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3796 src/simh/scp.c if (r != SCPE_OK) r 3797 src/simh/scp.c return r; r 3836 src/simh/scp.c t_stat r; r 3840 src/simh/scp.c r = tmxr_locate_line_expect (gbuf, &exp); r 3841 src/simh/scp.c if (r != SCPE_OK) r 3842 src/simh/scp.c return r; r 4089 src/simh/scp.c t_stat r; r 4172 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); r 4173 src/simh/scp.c if (r != SCPE_OK) r 4174 src/simh/scp.c return r; r 4188 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) r 4189 src/simh/scp.c return r; r 4198 src/simh/scp.c r = glbr->action (dptr, uptr, glbr->arg, cvptr); /* do global */ r 4199 src/simh/scp.c if (r != SCPE_OK) r 4200 src/simh/scp.c return r; r 4333 src/simh/scp.c t_stat r = SCPE_IERR; r 4335 src/simh/scp.c cptr = get_sim_opt (CMD_OPT_SW|CMD_OPT_OF, cptr, &r); r 4338 src/simh/scp.c return r; r 4340 src/simh/scp.c r = show_cmd_fi (sim_ofile, flag, cptr); /* do show */ r 4344 src/simh/scp.c r = show_cmd_fi (stdout, flag, cptr); /* no, stdout, log */ r 4350 src/simh/scp.c return r; r 4437 src/simh/scp.c t_stat r; r 4439 src/simh/scp.c r = shptr->action (ofile, dptr, uptr, shptr->arg, cptr); r 4440 src/simh/scp.c if (r != SCPE_OK) r 4441 src/simh/scp.c return r; r 5670 src/simh/scp.c t_stat r; r 5673 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ r 5675 src/simh/scp.c r = sim_brk_showall (st, (uint32)sim_switches); r 5676 src/simh/scp.c return r; r 5768 src/simh/scp.c t_stat r = SCPE_OK; r 5781 src/simh/scp.c if (r == SCPE_OK) r 5783 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); r 5792 src/simh/scp.c t_stat r = SCPE_OK; r 5795 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); r 5798 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO)))) r 5800 src/simh/scp.c return r; r 5839 src/simh/scp.c t_stat r; r 5888 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); r 5889 src/simh/scp.c if (r != SCPE_OK) r 5890 src/simh/scp.c return r; r 5993 src/simh/scp.c t_stat r; r 5997 src/simh/scp.c r = reset_all (start); r 5999 src/simh/scp.c return r; r 6009 src/simh/scp.c t_stat r; r 6026 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach it */ r 6027 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 6028 src/simh/scp.c return r; } r 6192 src/simh/scp.c t_stat r; r 6204 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach unit */ r 6206 src/simh/scp.c if ((r != SCPE_OK) && !shutdown) /* error and not shutting down? */ r 6207 src/simh/scp.c return r; /* bail out now with error status */ r 6299 src/simh/scp.c t_stat r; r 6320 src/simh/scp.c ((r = sim_run_boot_prep (flag)) != SCPE_OK)) { /* reset sim */ r 6322 src/simh/scp.c return r; r 6335 src/simh/scp.c r = expect_cmd (1, cptr); r 6336 src/simh/scp.c if (r != SCPE_OK) r 6337 src/simh/scp.c return r; r 6344 src/simh/scp.c r = ssh_break (NULL, cptr, SSH_ST); r 6345 src/simh/scp.c if (r != SCPE_OK) r 6346 src/simh/scp.c return sim_messagef (r, "Unable to establish breakpoint at: %s\n", cptr); r 6364 src/simh/scp.c sim_step = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 6365 src/simh/scp.c if ((r != SCPE_OK) || (sim_step <= 0)) /* error? */ r 6379 src/simh/scp.c sim_next = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 6380 src/simh/scp.c if ((r != SCPE_OK) || (sim_next <= 0)) /* error? */ r 6411 src/simh/scp.c if ((r = sim_run_boot_prep (flag)) != SCPE_OK) /* reset sim */ r 6412 src/simh/scp.c return r; r 6413 src/simh/scp.c if ((r = dptr->boot (unitno, dptr)) != SCPE_OK) /* boot device */ r 6414 src/simh/scp.c return r; r 6441 src/simh/scp.c if ((r = sim_check_console (30)) != SCPE_OK) { /* check console, error? */ r 6444 src/simh/scp.c return r; r 6485 src/simh/scp.c r = sim_instr(); r 6486 src/simh/scp.c if (r != SCPE_REMOTE) r 6497 src/simh/scp.c if (SCPE_BARE_STATUS(r) >= SCPE_BASE) /* done if an error occurred */ r 6508 src/simh/scp.c if (r != SCPE_STEP) /* done if step didn't complete with step expired */ r 6555 src/simh/scp.c return r | ((sim_switches & SWMASK ('Q')) ? SCPE_NOMESSAGE : 0); r 6561 src/simh/scp.c run_cmd_message (const char *unechoed_cmdline, t_stat r) r 6563 src/simh/scp.c if (unechoed_cmdline && (r >= SCPE_BASE) && (r != SCPE_STEP) && (r != SCPE_STOP) && (r != SCPE_EXPECT)) r 6569 src/simh/scp.c fprint_stopped (stdout, r); /* print msg */ r 6571 src/simh/scp.c fprint_stopped (sim_log, r); r 6573 src/simh/scp.c fprint_stopped (sim_deb, r); r 6585 src/simh/scp.c t_stat r; r 6594 src/simh/scp.c r = reset_all (0); r 6595 src/simh/scp.c if ((r == SCPE_OK) && (flag == RU_RUN)) { r 6602 src/simh/scp.c return r; r 6615 src/simh/scp.c t_stat r = 0; r 6642 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) r 6645 src/simh/scp.c if ((r == SCPE_OK) || (i > 0)) { r 7009 src/simh/scp.c t_stat r; r 7039 src/simh/scp.c val = get_uint (cptr, rdx, mask, &r); r 7040 src/simh/scp.c if (r != SCPE_OK) r 7232 src/simh/scp.c t_stat r, reason; r 7264 src/simh/scp.c r = dptr->deposit (sim_eval[i], j, uptr, sim_switches); r 7265 src/simh/scp.c if (r != SCPE_OK) r 7266 src/simh/scp.c return r; r 7303 src/simh/scp.c t_stat r; r 7311 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { r 7312 src/simh/scp.c sim_eval[0] = get_uint (cptr, rdx, width_mask[dptr->dwidth], &r); r 7313 src/simh/scp.c if (r != SCPE_OK) r 7314 src/simh/scp.c return r; r 7316 src/simh/scp.c lim = 1 - r; r 7319 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 7320 src/simh/scp.c r = fprint_val (stdout, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 7322 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 7323 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 7326 src/simh/scp.c if (r < 0) r 7327 src/simh/scp.c a = a + 1 - r; r 7886 src/simh/scp.c t_stat r; r 7911 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); r 7912 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 9611 src/simh/scp.c t_stat r; r 9629 src/simh/scp.c after = (uint32)get_uint (&gbuf[10], 10, 2000000000, &r); r 9630 src/simh/scp.c if (r != SCPE_OK) r 11440 src/simh/scp.c t_stat r; r 11444 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap); r 11447 src/simh/scp.c return r; r 78 src/simh/scp.h void run_cmd_message (const char *unechod_cmdline, t_stat r); r 287 src/simh/sim_console.c t_stat r; r 297 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 298 src/simh/sim_console.c if (r != SCPE_OK) r 299 src/simh/sim_console.c return r; r 376 src/simh/sim_console.c t_stat r; r 386 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 387 src/simh/sim_console.c if (r != SCPE_OK) r 388 src/simh/sim_console.c return r; r 559 src/simh/sim_console.c t_stat r; r 562 src/simh/sim_console.c r = help_cmd (flag, cptr); r 564 src/simh/sim_console.c return r; r 1071 src/simh/sim_console.c t_stat r; r 1074 src/simh/sim_console.c r = sim_parse_addr (cptr, NULL, 0, NULL, NULL, 0, NULL, NULL); r 1075 src/simh/sim_console.c if (r == SCPE_OK) { r 1082 src/simh/sim_console.c r = tmxr_attach (&sim_rem_con_tmxr, &sim_rem_con_unit[0], cptr);/* open master socket */ r 1083 src/simh/sim_console.c if (r == SCPE_OK) r 1085 src/simh/sim_console.c return r; r 1109 src/simh/sim_console.c t_stat r; r 1114 src/simh/sim_console.c lines = (int32) get_uint (cptr, 10, MAX_REMOTE_SESSIONS, &r); r 1115 src/simh/sim_console.c if (r != SCPE_OK) r 1116 src/simh/sim_console.c return r; r 1226 src/simh/sim_console.c t_stat r; r 1230 src/simh/sim_console.c timeout = (int32) get_uint (cptr, 10, 3600, &r); r 1231 src/simh/sim_console.c if (r != SCPE_OK) r 1232 src/simh/sim_console.c return r; r 1246 src/simh/sim_console.c t_stat r; r 1252 src/simh/sim_console.c val = (int32) get_uint (cptr, rdx, 0177, &r); //-V536 r 1253 src/simh/sim_console.c if ((r != SCPE_OK) || r 1276 src/simh/sim_console.c t_stat r; r 1282 src/simh/sim_console.c val = (uint32) get_uint (cptr, rdx, 0xFFFFFFFF, &r); r 1283 src/simh/sim_console.c if ((r != SCPE_OK) || r 1313 src/simh/sim_console.c t_stat r; r 1322 src/simh/sim_console.c r = sim_open_logfile (gbuf, (sim_switches & SWMASK ('B')) == SWMASK ('B'), r 1324 src/simh/sim_console.c if (r != SCPE_OK) /* error? */ r 1325 src/simh/sim_console.c return r; r 1370 src/simh/sim_console.c t_stat r; r 1379 src/simh/sim_console.c r = sim_open_logfile (gbuf, FALSE, &sim_deb, &sim_deb_ref); r 1381 src/simh/sim_console.c if (r != SCPE_OK) r 1382 src/simh/sim_console.c return r; r 1503 src/simh/sim_console.c t_stat r; r 1513 src/simh/sim_console.c r = ctptr->action (ctptr->arg, cvptr); /* do the rest */ r 1514 src/simh/sim_console.c if (r != SCPE_OK) r 1515 src/simh/sim_console.c return r; r 1520 src/simh/sim_console.c r = tmxr_attach (&sim_con_tmxr, &sim_con_unit, gbuf);/* open master socket */ r 1521 src/simh/sim_console.c if (r == SCPE_OK) r 1524 src/simh/sim_console.c return r; r 2460 src/simh/sim_console.c t_stat r; r 2465 src/simh/sim_console.c val = (int32) get_uint (cptr, 10, INT_MAX, &r); /* parse the argument */ r 2467 src/simh/sim_console.c if (r == SCPE_OK) /* parse OK? */ r 2470 src/simh/sim_console.c return r; r 157 src/simh/sim_disk.c t_stat r; r 164 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, 2000000, &r); r 165 src/simh/sim_disk.c if (r != SCPE_OK) r 210 src/simh/sim_disk.c t_bool r = FALSE; r 211 src/simh/sim_disk.c r = sim_disk_isavailable (uptr); r 212 src/simh/sim_disk.c return r; r 266 src/simh/sim_disk.c t_stat r; r 312 src/simh/sim_disk.c r = _sim_disk_rdsect (uptr, tlba, tbuf, &sread, tsects); r 318 src/simh/sim_disk.c if (r == SCPE_OK) { r 327 src/simh/sim_disk.c return r; r 333 src/simh/sim_disk.c t_stat r = SCPE_OK; r 334 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, buf, sectsread, sects); r 335 src/simh/sim_disk.c return r; r 368 src/simh/sim_disk.c t_stat r; r 425 src/simh/sim_disk.c r = SCPE_NOFNC; r 445 src/simh/sim_disk.c r = SCPE_NOFNC; r 452 src/simh/sim_disk.c r = SCPE_NOFNC; r 459 src/simh/sim_disk.c r = SCPE_NOFNC; r 469 src/simh/sim_disk.c return r; r 474 src/simh/sim_disk.c t_stat r = SCPE_OK; r 475 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, buf, sectswritten, sects); r 476 src/simh/sim_disk.c return r; r 877 src/simh/sim_disk.c t_stat r = SCPE_OK; r 880 src/simh/sim_disk.c r = SCPE_MEM; r 881 src/simh/sim_disk.c if (r == SCPE_OK) r 882 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, r 885 src/simh/sim_disk.c if (r == SCPE_OK) r 886 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(0), secbuf, NULL, 1); /* Write First Sector */ r 888 src/simh/sim_disk.c if (r != SCPE_OK) { r 906 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 915 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, init_buf, NULL, sects); r 916 src/simh/sim_disk.c if (r != SCPE_OK) { r 937 src/simh/sim_disk.c t_stat r = SCPE_OK; r 949 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 953 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, verify_buf, NULL, sects); r 954 src/simh/sim_disk.c if (r == SCPE_OK) { r 802 src/simh/sim_sock.c int r; r 806 src/simh/sim_sock.c r = sim_parse_addr (hostport, host, sizeof(host), NULL, port, sizeof(port), NULL, NULL); r 808 src/simh/sim_sock.c *parse_status = r; r 809 src/simh/sim_sock.c if (r) r 150 src/simh/sim_tape.c t_stat r; r 166 src/simh/sim_tape.c r = attach_unit (uptr, (CONST char *)cptr); /* attach unit */ r 167 src/simh/sim_tape.c if (r != SCPE_OK) /* error? */ r 168 src/simh/sim_tape.c return sim_messagef (r, "Can't open tape image: %s\n", cptr); r 234 src/simh/sim_tape.c t_stat r; r 251 src/simh/sim_tape.c r = detach_unit (uptr); /* detach unit */ r 252 src/simh/sim_tape.c if (r != SCPE_OK) r 253 src/simh/sim_tape.c return r; r 407 src/simh/sim_tape.c t_stat r = MTSE_OK; r 438 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 440 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 460 src/simh/sim_tape.c r = sim_tape_ioerr (uptr); /* report the error and quit */ r 468 src/simh/sim_tape.c r = MTSE_EOM; /* and report the end-of-medium and quit */ r 474 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 476 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 488 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report a tape runaway */ r 490 src/simh/sim_tape.c r = MTSE_EOM; /* as the end-of-medium */ r 497 src/simh/sim_tape.c r = MTSE_TMK; /* then quit with tape mark status */ r 524 src/simh/sim_tape.c if (r == MTSE_OK && runaway_counter <= 0) /* if a tape runaway occurred */ r 525 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report it */ r 538 src/simh/sim_tape.c r = MTSE_EOM; r 543 src/simh/sim_tape.c r = MTSE_TMK; r 568 src/simh/sim_tape.c r = MTSE_TMK; r 576 src/simh/sim_tape.c (long long)r, (long long)*bc, uptr->pos); r 578 src/simh/sim_tape.c return r; r 622 src/simh/sim_tape.c t_stat r = MTSE_OK; r 655 src/simh/sim_tape.c r = MTSE_BOT; /* then quit with an error */ r 672 src/simh/sim_tape.c r = sim_tape_ioerr (uptr); /* report the error and quit */ r 686 src/simh/sim_tape.c r = MTSE_TMK; /* then quit with tape mark status */ r 712 src/simh/sim_tape.c if (r == MTSE_OK && runaway_counter <= 0) /* if a tape runaway occurred */ r 713 src/simh/sim_tape.c r = MTSE_RUNAWAY; /* then report it */ r 725 src/simh/sim_tape.c r = MTSE_EOM; r 730 src/simh/sim_tape.c r = MTSE_TMK; r 743 src/simh/sim_tape.c r = MTSE_EOM; r 755 src/simh/sim_tape.c r = MTSE_TMK; r 762 src/simh/sim_tape.c (long long)r, (long long)*bc, uptr->pos); r 763 src/simh/sim_tape.c return r; r 825 src/simh/sim_tape.c t_stat r = SCPE_OK; r 826 src/simh/sim_tape.c r = sim_tape_rdrecf (uptr, buf, bc, max); r 827 src/simh/sim_tape.c return r; r 882 src/simh/sim_tape.c t_stat r = SCPE_OK; r 883 src/simh/sim_tape.c r = sim_tape_rdrecr (uptr, buf, bc, max); r 884 src/simh/sim_tape.c return r; r 958 src/simh/sim_tape.c t_stat r = SCPE_OK; r 959 src/simh/sim_tape.c r = sim_tape_wrrecf (uptr, buf, bc); r 960 src/simh/sim_tape.c return r; r 1006 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1007 src/simh/sim_tape.c r = sim_tape_wrtmk (uptr); r 1008 src/simh/sim_tape.c return r; r 1034 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1035 src/simh/sim_tape.c r = sim_tape_wreom (uptr); r 1036 src/simh/sim_tape.c return r; r 1044 src/simh/sim_tape.c t_stat r; r 1051 src/simh/sim_tape.c r = sim_tape_wrdata (uptr, MTR_EOM); r 1052 src/simh/sim_tape.c if (r == MTSE_OK) r 1053 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1054 src/simh/sim_tape.c return r; r 1059 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1060 src/simh/sim_tape.c r = sim_tape_wreomrw (uptr); r 1061 src/simh/sim_tape.c return r; r 1316 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1317 src/simh/sim_tape.c return r; r 1355 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1356 src/simh/sim_tape.c r = sim_tape_sprecf (uptr, bc); r 1357 src/simh/sim_tape.c return r; r 1402 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1403 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, count, skipped); r 1404 src/simh/sim_tape.c return r; r 1447 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1448 src/simh/sim_tape.c r = sim_tape_sprecr (uptr, bc); r 1449 src/simh/sim_tape.c return r; r 1495 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1496 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, count, skipped); r 1497 src/simh/sim_tape.c return r; r 1569 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1570 src/simh/sim_tape.c r = sim_tape_spfilebyrecf \ r 1572 src/simh/sim_tape.c return r; r 1609 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1610 src/simh/sim_tape.c r = sim_tape_spfilef (uptr, count, skipped); r 1611 src/simh/sim_tape.c return r; r 1665 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1666 src/simh/sim_tape.c r = sim_tape_spfilebyrecr (uptr, count, skipped, recsskipped); r 1667 src/simh/sim_tape.c return r; r 1705 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1706 src/simh/sim_tape.c r = sim_tape_spfiler (uptr, count, skipped); r 1707 src/simh/sim_tape.c return r; r 1728 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1729 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1730 src/simh/sim_tape.c return r; r 1739 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1748 src/simh/sim_tape.c r = sim_tape_rewind (uptr); r 1749 src/simh/sim_tape.c if (r != MTSE_OK) r 1750 src/simh/sim_tape.c return r; r 1758 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, objsremaining, &skipped); r 1760 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, objsremaining, &skipped); r 1761 src/simh/sim_tape.c objsremaining = objsremaining - (skipped + ((r == MTSE_TMK) ? 1 : 0)); r 1762 src/simh/sim_tape.c if ((r == MTSE_TMK) || (r == MTSE_OK)) r 1763 src/simh/sim_tape.c *objectsskipped = *objectsskipped + skipped + ((r == MTSE_TMK) ? 1 : 0); r 1765 src/simh/sim_tape.c return r; r 1767 src/simh/sim_tape.c r = MTSE_OK; r 1773 src/simh/sim_tape.c r = sim_tape_spfilebyrecr (uptr, files, filesskipped, &fileskiprecs); r 1775 src/simh/sim_tape.c r = sim_tape_spfilebyrecf (uptr, files, filesskipped, &fileskiprecs, (flags & MTPOS_M_DLE)); r 1776 src/simh/sim_tape.c if (r != MTSE_OK) r 1777 src/simh/sim_tape.c return r; r 1779 src/simh/sim_tape.c r = sim_tape_sprecsr (uptr, recs, recsskipped); r 1781 src/simh/sim_tape.c r = sim_tape_sprecsf (uptr, recs, recsskipped); r 1782 src/simh/sim_tape.c if (r == MTSE_TMK) r 1786 src/simh/sim_tape.c return r; r 1793 src/simh/sim_tape.c t_stat r = MTSE_OK; r 1794 src/simh/sim_tape.c r = sim_tape_position (uptr, flags, recs, recsskipped, files, filesskipped, objectsskipped); r 1795 src/simh/sim_tape.c return r; r 2043 src/simh/sim_tape.c t_stat r; r 2049 src/simh/sim_tape.c cap = (t_addr) get_uint (cptr, 10, 2000000, &r); r 2050 src/simh/sim_tape.c if (r != SCPE_OK) r 1015 src/simh/sim_tmxr.c int j, r = (int)random(); r 1039 src/simh/sim_tmxr.c switch (((unsigned)j+(unsigned)r)&1) { r 1902 src/simh/sim_tmxr.c t_stat r; r 1937 src/simh/sim_tmxr.c (SCPE_OK == (r = tmxr_putc_ln (lp, lp->txpb[lp->txppoffset])))) r 1939 src/simh/sim_tmxr.c (void)r; r 1980 src/simh/sim_tmxr.c t_stat r; r 2016 src/simh/sim_tmxr.c (SCPE_OK == (r = tmxr_putc_ln (lp, lp->txpb[lp->txppoffset])))) r 2018 src/simh/sim_tmxr.c (void)r; r 2140 src/simh/sim_tmxr.c t_stat r; r 2150 src/simh/sim_tmxr.c uint32 rxbpsfactor = (uint32) get_uint (cptr+1, 10, 32, &r); r 2151 src/simh/sim_tmxr.c if (r != SCPE_OK) r 2152 src/simh/sim_tmxr.c return r; r 2187 src/simh/sim_tmxr.c t_stat r = SCPE_OK; r 2232 src/simh/sim_tmxr.c nextline = (int32) get_uint (cptr, 10, mp->lines-1, &r); r 2233 src/simh/sim_tmxr.c if (r) r 2259 src/simh/sim_tmxr.c i = (int32) get_uint (cptr, 10, 1024*1024, &r); r 2260 src/simh/sim_tmxr.c if (r || (i == 0)) r 2332 src/simh/sim_tmxr.c sock = sim_master_sock (port, &r); /* make master socket to validate port */ r 2333 src/simh/sim_tmxr.c if (r) r 2428 src/simh/sim_tmxr.c r = sim_open_logfile (lp->txlogname, TRUE, &lp->txlog, &lp->txlogref); r 2429 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2505 src/simh/sim_tmxr.c sock = sim_master_sock (listen, &r); /* make master socket */ r 2506 src/simh/sim_tmxr.c if (r) r 2656 src/simh/sim_tmxr.c r = sim_open_logfile (lp->txlogname, TRUE, &lp->txlog, &lp->txlogref); r 2657 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2662 src/simh/sim_tmxr.c return sim_messagef (r, "Can't open log file: %s\n", logfiletmpl); r 2725 src/simh/sim_tmxr.c sock = sim_master_sock (listen, &r); /* make master socket */ r 2726 src/simh/sim_tmxr.c if (r) r 2830 src/simh/sim_tmxr.c r = SCPE_OK; r 2832 src/simh/sim_tmxr.c if (r == SCPE_OK) r 2834 src/simh/sim_tmxr.c return r; r 2953 src/simh/sim_tmxr.c t_stat r; r 2966 src/simh/sim_tmxr.c int line = (int)get_uint (cptr, 10, tmxr_open_devices[i]->lines, &r); r 2967 src/simh/sim_tmxr.c if (r != SCPE_OK) r 2968 src/simh/sim_tmxr.c return r; r 2997 src/simh/sim_tmxr.c t_stat r; r 3000 src/simh/sim_tmxr.c r = tmxr_open_master (mp, cptr); /* open master socket */ r 3001 src/simh/sim_tmxr.c if (r != SCPE_OK) /* error? */ r 3002 src/simh/sim_tmxr.c return r; r 3691 src/simh/sim_tmxr.c t_stat r; r 3704 src/simh/sim_tmxr.c r = sim_open_logfile (cptr, TRUE, &lp->txlog, &lp->txlogref); /* open log */ r 3705 src/simh/sim_tmxr.c if (r != SCPE_OK) { /* error? */ r 3707 src/simh/sim_tmxr.c return r;