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 435 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 9637 src/dps8/dps8_eis.c uint16_t r; r 9638 src/dps8/dps8_eis.c x = divide_128_16 (x, 10, & r); r 9639 src/dps8/dps8_eis.c tmp[i] = (char) r + '0'; r 12361 src/dps8/dps8_eis.c r 12494 src/dps8/dps8_eis.c r 12496 src/dps8/dps8_eis.c r 12497 src/dps8/dps8_eis.c r 12526 src/dps8/dps8_eis.c r 12527 src/dps8/dps8_eis.c r 12538 src/dps8/dps8_eis.c r 12539 src/dps8/dps8_eis.c r 12546 src/dps8/dps8_eis.c r 12559 src/dps8/dps8_eis.c r 12572 src/dps8/dps8_eis.c r 12578 src/dps8/dps8_eis.c r 12802 src/dps8/dps8_eis.c r 12809 src/dps8/dps8_eis.c r 12866 src/dps8/dps8_eis.c r 7467 src/dps8/dps8_ins.c cpu.MR.r = cpu.CY; r 7469 src/dps8/dps8_ins.c putbits36_1 (& cpu.MR.r, 32, 0); r 7471 src/dps8/dps8_ins.c putbits36_2 (& cpu.MR.r, 33, 0); r 7705 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 886 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du_server, DEFAULT_BACKLOG, r 888 src/dps8/fnpuv.c if (r) r 890 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 1180 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & linep->server, DEFAULT_BACKLOG, r 1182 src/dps8/fnpuv.c if (r) r 1184 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 1523 src/dps8/fnpuv.c int r = uv_listen ((uv_stream_t *) & fnpData.du3270_server, DEFAULT_BACKLOG, r 1525 src/dps8/fnpuv.c if (r) r 1528 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 344 src/simh/scp.c void fprint_stopped (FILE *st, t_stat r); r 1377 src/simh/scp.c int r; r 1380 src/simh/scp.c r = _putenv(envstr); r 1382 src/simh/scp.c return r; r 1460 src/simh/scp.c char *p, *q, *r; r 1461 src/simh/scp.c if (*sub && (q = r = strstr(str, sub)) != NULL) { r 1463 src/simh/scp.c while ((r = strstr(p = r + len, sub)) != NULL) { r 1464 src/simh/scp.c while (p < r) r 2658 src/simh/scp.c t_stat r; r 2664 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, (cmdp->action == &set_cmd) ? "SET" : "SHOW"); r 2667 src/simh/scp.c return r; r 2748 src/simh/scp.c t_stat r; r 2757 src/simh/scp.c r = help_dev_help (stdout, dptr, uptr, flag, cptr); r 2760 src/simh/scp.c return r; r 3495 src/simh/scp.c t_stat r; r 3501 src/simh/scp.c cptr = (CONST char *)get_sim_opt (CMD_OPT_SW|CMD_OPT_DFT, (CONST char *)cptr, &r); r 3663 src/simh/scp.c t_stat r; r 3669 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3670 src/simh/scp.c if (r != SCPE_OK) r 3671 src/simh/scp.c return r; r 3680 src/simh/scp.c delay = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3681 src/simh/scp.c if (r != SCPE_OK) r 3688 src/simh/scp.c after = (uint32)get_uint (&gbuf[6], 10, 2000000000, &r); r 3689 src/simh/scp.c if (r != SCPE_OK) r 3718 src/simh/scp.c t_stat r; r 3723 src/simh/scp.c r = tmxr_locate_line_send (gbuf, &snd); r 3724 src/simh/scp.c if (r != SCPE_OK) r 3725 src/simh/scp.c return r; r 3759 src/simh/scp.c t_stat r; r 3763 src/simh/scp.c r = tmxr_locate_line_expect (gbuf, &exp); r 3764 src/simh/scp.c if (r != SCPE_OK) r 3765 src/simh/scp.c return r; r 4012 src/simh/scp.c t_stat r; r 4095 src/simh/scp.c r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc); r 4096 src/simh/scp.c if (r != SCPE_OK) r 4097 src/simh/scp.c return r; r 4111 src/simh/scp.c ((r = mptr->valid (uptr, mptr->match, cvptr, mptr->desc)) != SCPE_OK)) r 4112 src/simh/scp.c return r; r 4121 src/simh/scp.c r = glbr->action (dptr, uptr, glbr->arg, cvptr); /* do global */ r 4122 src/simh/scp.c if (r != SCPE_OK) r 4123 src/simh/scp.c return r; r 4256 src/simh/scp.c t_stat r = SCPE_IERR; r 4258 src/simh/scp.c cptr = get_sim_opt (CMD_OPT_SW|CMD_OPT_OF, cptr, &r); r 4261 src/simh/scp.c return r; r 4263 src/simh/scp.c r = show_cmd_fi (sim_ofile, flag, cptr); /* do show */ r 4267 src/simh/scp.c r = show_cmd_fi (stdout, flag, cptr); /* no, stdout, log */ r 4273 src/simh/scp.c return r; r 4360 src/simh/scp.c t_stat r; r 4362 src/simh/scp.c r = shptr->action (ofile, dptr, uptr, shptr->arg, cptr); r 4363 src/simh/scp.c if (r != SCPE_OK) r 4364 src/simh/scp.c return r; r 5592 src/simh/scp.c t_stat r; r 5595 src/simh/scp.c r = ssh_break (st, cptr, 1); /* more? */ r 5597 src/simh/scp.c r = sim_brk_showall (st, sim_switches); r 5598 src/simh/scp.c return r; r 5690 src/simh/scp.c t_stat r = SCPE_OK; r 5703 src/simh/scp.c if (r == SCPE_OK) r 5705 src/simh/scp.c r = show_one_mod (st, dptr, uptr, mptr, NULL, 0); r 5714 src/simh/scp.c t_stat r = SCPE_OK; r 5717 src/simh/scp.c r = mptr->disp (st, uptr, mptr->match, (CONST void *)(cptr? cptr: mptr->desc)); r 5720 src/simh/scp.c if ((r == SCPE_OK) && (flag && !((mptr->mask & MTAB_XTD) && MODMASK(mptr,MTAB_NMO)))) r 5722 src/simh/scp.c return r; r 5761 src/simh/scp.c t_stat r; r 5810 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); r 5811 src/simh/scp.c if (r != SCPE_OK) r 5812 src/simh/scp.c return r; r 5915 src/simh/scp.c t_stat r; r 5919 src/simh/scp.c r = reset_all (start); r 5921 src/simh/scp.c return r; r 5931 src/simh/scp.c t_stat r; r 5948 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach it */ r 5949 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 5950 src/simh/scp.c return r; } r 6114 src/simh/scp.c t_stat r; r 6126 src/simh/scp.c r = scp_detach_unit (dptr, uptr); /* detach unit */ r 6128 src/simh/scp.c if ((r != SCPE_OK) && !shutdown) /* error and not shutting down? */ r 6129 src/simh/scp.c return r; /* bail out now with error status */ r 6221 src/simh/scp.c t_stat r; r 6242 src/simh/scp.c ((r = sim_run_boot_prep (flag)) != SCPE_OK)) { /* reset sim */ r 6244 src/simh/scp.c return r; r 6257 src/simh/scp.c r = expect_cmd (1, cptr); r 6258 src/simh/scp.c if (r != SCPE_OK) r 6259 src/simh/scp.c return r; r 6266 src/simh/scp.c r = ssh_break (NULL, cptr, SSH_ST); r 6267 src/simh/scp.c if (r != SCPE_OK) r 6268 src/simh/scp.c return sim_messagef (r, "Unable to establish breakpoint at: %s\n", cptr); r 6286 src/simh/scp.c sim_step = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 6287 src/simh/scp.c if ((r != SCPE_OK) || (sim_step <= 0)) /* error? */ r 6301 src/simh/scp.c sim_next = (int32) get_uint (gbuf, 10, INT_MAX, &r); r 6302 src/simh/scp.c if ((r != SCPE_OK) || (sim_next <= 0)) /* error? */ r 6333 src/simh/scp.c if ((r = sim_run_boot_prep (flag)) != SCPE_OK) /* reset sim */ r 6334 src/simh/scp.c return r; r 6335 src/simh/scp.c if ((r = dptr->boot (unitno, dptr)) != SCPE_OK) /* boot device */ r 6336 src/simh/scp.c return r; r 6363 src/simh/scp.c if ((r = sim_check_console (30)) != SCPE_OK) { /* check console, error? */ r 6366 src/simh/scp.c return r; r 6407 src/simh/scp.c r = sim_instr(); r 6408 src/simh/scp.c if (r != SCPE_REMOTE) r 6419 src/simh/scp.c if (SCPE_BARE_STATUS(r) >= SCPE_BASE) /* done if an error occurred */ r 6430 src/simh/scp.c if (r != SCPE_STEP) /* done if step didn't complete with step expired */ r 6477 src/simh/scp.c return r | ((sim_switches & SWMASK ('Q')) ? SCPE_NOMESSAGE : 0); r 6483 src/simh/scp.c run_cmd_message (const char *unechoed_cmdline, t_stat r) r 6485 src/simh/scp.c if (unechoed_cmdline && (r >= SCPE_BASE) && (r != SCPE_STEP) && (r != SCPE_STOP) && (r != SCPE_EXPECT)) r 6491 src/simh/scp.c fprint_stopped (stdout, r); /* print msg */ r 6493 src/simh/scp.c fprint_stopped (sim_log, r); r 6495 src/simh/scp.c fprint_stopped (sim_deb, r); r 6507 src/simh/scp.c t_stat r; r 6516 src/simh/scp.c r = reset_all (0); r 6517 src/simh/scp.c if ((r == SCPE_OK) && (flag == RU_RUN)) { r 6524 src/simh/scp.c return r; r 6537 src/simh/scp.c t_stat r = 0; r 6564 src/simh/scp.c if ((r = dptr->examine (&sim_eval[i], k, dptr->units, SWMASK ('V')|SIM_SW_STOP)) != SCPE_OK) r 6567 src/simh/scp.c if ((r == SCPE_OK) || (i > 0)) { r 6931 src/simh/scp.c t_stat r; r 6961 src/simh/scp.c val = get_uint (cptr, rdx, mask, &r); r 6962 src/simh/scp.c if (r != SCPE_OK) r 7154 src/simh/scp.c t_stat r, reason; r 7186 src/simh/scp.c r = dptr->deposit (sim_eval[i], j, uptr, sim_switches); r 7187 src/simh/scp.c if (r != SCPE_OK) r 7188 src/simh/scp.c return r; r 7225 src/simh/scp.c t_stat r; r 7233 src/simh/scp.c if ((r = parse_sym ((CONST char *)cptr, 0, dptr->units, sim_eval, sim_switches)) > 0) { r 7234 src/simh/scp.c sim_eval[0] = get_uint (cptr, rdx, width_mask[dptr->dwidth], &r); r 7235 src/simh/scp.c if (r != SCPE_OK) r 7236 src/simh/scp.c return r; r 7238 src/simh/scp.c lim = 1 - r; r 7241 src/simh/scp.c if ((r = fprint_sym (stdout, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 7242 src/simh/scp.c r = fprint_val (stdout, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 7244 src/simh/scp.c if ((r = fprint_sym (sim_log, a, &sim_eval[i], dptr->units, sim_switches)) > 0) r 7245 src/simh/scp.c r = fprint_val (sim_log, sim_eval[i], rdx, dptr->dwidth, PV_RZRO); r 7248 src/simh/scp.c if (r < 0) r 7249 src/simh/scp.c a = a + 1 - r; r 7808 src/simh/scp.c t_stat r; r 7833 src/simh/scp.c u = (uint32) get_uint (tptr, 10, dptr->numunits - 1, &r); r 7834 src/simh/scp.c if (r != SCPE_OK) /* error? */ r 9533 src/simh/scp.c t_stat r; r 9551 src/simh/scp.c after = (uint32)get_uint (&gbuf[10], 10, 2000000000, &r); r 9552 src/simh/scp.c if (r != SCPE_OK) r 11357 src/simh/scp.c t_stat r; r 11361 src/simh/scp.c r = scp_vhelp (st, dptr, uptr, flag, help, cptr, ap); r 11364 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 2459 src/simh/sim_console.c t_stat r; r 2464 src/simh/sim_console.c val = (int32) get_uint (cptr, 10, INT_MAX, &r); /* parse the argument */ r 2466 src/simh/sim_console.c if (r == SCPE_OK) /* parse OK? */ r 2469 src/simh/sim_console.c return r; r 159 src/simh/sim_disk.c t_stat r; r 166 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, sim_taddr_64? 2000000: 2000, &r); r 167 src/simh/sim_disk.c if (r != SCPE_OK) r 212 src/simh/sim_disk.c t_bool r = FALSE; r 213 src/simh/sim_disk.c r = sim_disk_isavailable (uptr); r 214 src/simh/sim_disk.c return r; r 268 src/simh/sim_disk.c t_stat r; r 314 src/simh/sim_disk.c r = _sim_disk_rdsect (uptr, tlba, tbuf, &sread, tsects); r 320 src/simh/sim_disk.c if (r == SCPE_OK) { r 329 src/simh/sim_disk.c return r; r 335 src/simh/sim_disk.c t_stat r = SCPE_OK; r 336 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, buf, sectsread, sects); r 337 src/simh/sim_disk.c return r; r 370 src/simh/sim_disk.c t_stat r; r 427 src/simh/sim_disk.c r = SCPE_NOFNC; r 447 src/simh/sim_disk.c r = SCPE_NOFNC; r 454 src/simh/sim_disk.c r = SCPE_NOFNC; r 461 src/simh/sim_disk.c r = SCPE_NOFNC; r 464 src/simh/sim_disk.c if ((r == SCPE_OK) && sectswritten) { //-V560 r 471 src/simh/sim_disk.c return r; r 476 src/simh/sim_disk.c t_stat r = SCPE_OK; r 477 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, buf, sectswritten, sects); r 478 src/simh/sim_disk.c return r; r 879 src/simh/sim_disk.c t_stat r = SCPE_OK; r 882 src/simh/sim_disk.c r = SCPE_MEM; r 883 src/simh/sim_disk.c if (r == SCPE_OK) r 884 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, r 887 src/simh/sim_disk.c if (r == SCPE_OK) r 888 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(0), secbuf, NULL, 1); /* Write First Sector */ r 890 src/simh/sim_disk.c if (r != SCPE_OK) { r 908 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 917 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, lba, init_buf, NULL, sects); r 918 src/simh/sim_disk.c if (r != SCPE_OK) { r 939 src/simh/sim_disk.c t_stat r = SCPE_OK; r 951 src/simh/sim_disk.c for (lba = 0; (lba < total_sectors) && (r == SCPE_OK); lba += sects) { r 955 src/simh/sim_disk.c r = sim_disk_rdsect (uptr, lba, verify_buf, NULL, sects); r 956 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, sim_taddr_64? 2000000: 2000, &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 3689 src/simh/sim_tmxr.c t_stat r; r 3702 src/simh/sim_tmxr.c r = sim_open_logfile (cptr, TRUE, &lp->txlog, &lp->txlogref); /* open log */ r 3703 src/simh/sim_tmxr.c if (r != SCPE_OK) { /* error? */ r 3705 src/simh/sim_tmxr.c return r;