ret 2410 src/decNumber/decNumber.c Unit ret=0; // return value ret 2413 src/decNumber/decNumber.c if (decNumberIsNaN(lhs) && decNumberIsNaN(rhs)) ret=1; ret 2414 src/decNumber/decNumber.c else if (decNumberIsInfinite(lhs) && decNumberIsInfinite(rhs)) ret=1; ret 2417 src/decNumber/decNumber.c else if (lhs->exponent==rhs->exponent) ret=1; ret 2420 src/decNumber/decNumber.c *res->lsu=ret; ret 169 src/dps8/dps8_absi.c t_stat ret; ret 186 src/dps8/dps8_absi.c ret = udp_create (cptr, & absi_state[unitno].link); ret 187 src/dps8/dps8_absi.c if (ret != SCPE_OK) ret 190 src/dps8/dps8_absi.c return ret; ret 202 src/dps8/dps8_absi.c t_stat ret; ret 208 src/dps8/dps8_absi.c ret = udp_release (absi_state[unitno].link); ret 209 src/dps8/dps8_absi.c if (ret != SCPE_OK) ret 210 src/dps8/dps8_absi.c return ret; ret 2702 src/dps8/dps8_cpu.c t_stat ret = executeInstruction (cpup); ret 2713 src/dps8/dps8_cpu.c if (ret > 0) ret 2715 src/dps8/dps8_cpu.c reason = ret; ret 2719 src/dps8/dps8_cpu.c if (ret == CONT_XEC) ret 2734 src/dps8/dps8_cpu.c if (ret == CONT_TRA || ret == CONT_RET) ret 2781 src/dps8/dps8_cpu.c if (ret == CONT_TRA) ret 2792 src/dps8/dps8_cpu.c if (ret == CONT_DIS) ret 2952 src/dps8/dps8_cpu.c if (ret < 0) ret 2954 src/dps8/dps8_cpu.c sim_warn ("executeInstruction returned %d?\n", ret); ret 253 src/dps8/dps8_dia.c t_stat ret; ret 269 src/dps8/dps8_dia.c ret = udp_create (cptr, & dia_data.dia_unit_data[unitno].link); ret 270 src/dps8/dps8_dia.c if (ret != SCPE_OK) ret 273 src/dps8/dps8_dia.c return ret; ret 285 src/dps8/dps8_dia.c t_stat ret; ret 291 src/dps8/dps8_dia.c ret = udp_release (dia_data.dia_unit_data[unitno].link); ret 292 src/dps8/dps8_dia.c if (ret != SCPE_OK) ret 293 src/dps8/dps8_dia.c return ret; ret 3042 src/dps8/dps8_fnp2.c int ret = uv_tcp_getpeername (client, & name, & namelen); ret 3043 src/dps8/dps8_fnp2.c if (ret < 0) ret 3045 src/dps8/dps8_fnp2.c sim_printf ("CONNECT (addr err %d) to %c.h%03d\n", ret, fnp_unit_idx +'a', lineno); ret 1423 src/dps8/dps8_fnp2_iomcmd.c ret 1424 src/dps8/dps8_fnp2_iomcmd.c ret 1425 src/dps8/dps8_fnp2_iomcmd.c ret 1431 src/dps8/dps8_fnp2_iomcmd.c int ret = wcd (decoded_p); ret 1432 src/dps8/dps8_fnp2_iomcmd.c if (ret) ret 1433 src/dps8/dps8_fnp2_iomcmd.c return ret; ret 1439 src/dps8/dps8_fnp2_iomcmd.c int ret = wtx (decoded_p); ret 1440 src/dps8/dps8_fnp2_iomcmd.c if (ret) ret 1441 src/dps8/dps8_fnp2_iomcmd.c return ret; ret 2047 src/dps8/dps8_ins.c t_stat ret = doInstruction (cpup); ret 2330 src/dps8/dps8_ins.c return ret; ret 2992 src/dps8/dps8_ins.c word18 ret = (cpu.PPR.IC + 1) & MASK18; ret 2995 src/dps8/dps8_ins.c cpu.rX[opcode10 & 07] = ret; ret 9426 src/dps8/dps8_ins.c int ret = emCall (cpup); ret 9427 src/dps8/dps8_ins.c if (ret) ret 9428 src/dps8/dps8_ins.c return ret; ret 3515 src/dps8/dps8_iom.c int ret = doConnectChan (iom_unit_idx); ret 3519 src/dps8/dps8_iom.c __func__, iomChar (iom_unit_idx), ret); ret 3569 src/dps8/dps8_iom.c int ret = doConnectChan (this_iom_idx); ret 3573 src/dps8/dps8_iom.c __func__, iomChar (myid), ret); ret 1339 src/dps8/dps8_mt.c int ret = sim_tape_wrrecf (unitp, tape_statep -> buf, tape_statep -> tbc); ret 1341 src/dps8/dps8_mt.c __func__, ret, tape_statep -> tbc); ret 1347 src/dps8/dps8_mt.c if (ret != 0) ret 1350 src/dps8/dps8_mt.c if (ret == MTSE_EOM) ret 1353 src/dps8/dps8_mt.c "%s: EOM: %s\n", __func__, simh_tape_msg (ret)); ret 1363 src/dps8/dps8_mt.c __func__, ret, simh_tape_msg(ret)); ret 1853 src/dps8/dps8_mt.c ret 1856 src/dps8/dps8_mt.c t_stat ret = MTSE_OK; ret 1858 src/dps8/dps8_mt.c ret = sim_tape_sprecf (unitp, & tape_statep->tbc); ret 1859 src/dps8/dps8_mt.c if (ret != MTSE_OK && ret != MTSE_TMK) ret 1864 src/dps8/dps8_mt.c if (ret != MTSE_OK && ret != MTSE_TMK && ret != MTSE_EOM) { ret 1909 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecf (unitp, tally, & skipped, & recsskipped, false); ret 1913 src/dps8/dps8_mt.c ret, skipped, recsskipped); ret 1915 src/dps8/dps8_mt.c if (ret != MTSE_OK && ret != MTSE_TMK && ret != MTSE_LEOT) { ret 1916 src/dps8/dps8_mt.c sim_warn ("sim_tape_spfilebyrecf returned %d\n", ret); ret 1971 src/dps8/dps8_mt.c ret 1972 src/dps8/dps8_mt.c ret 1973 src/dps8/dps8_mt.c ret 1979 src/dps8/dps8_mt.c t_stat ret = sim_tape_sprecr (unitp, & tape_statep->tbc); ret 1980 src/dps8/dps8_mt.c if (ret != MTSE_OK && ret != MTSE_TMK) ret 2037 src/dps8/dps8_mt.c ret 2039 src/dps8/dps8_mt.c ret 2047 src/dps8/dps8_mt.c t_stat ret = sim_tape_spfilebyrecr (unitp, tally, & skipped, & recsskipped); ret 2048 src/dps8/dps8_mt.c if (ret != MTSE_OK && ret != MTSE_TMK && ret != MTSE_BOT) { ret 2049 src/dps8/dps8_mt.c sim_warn ("sim_tape_spfilebyrecr returned %d\n", ret); ret 2138 src/dps8/dps8_mt.c int ret; ret 2139 src/dps8/dps8_mt.c ret = sim_tape_wrtmk (unitp); ret 2140 src/dps8/dps8_mt.c sim_debug (DBG_DEBUG, & tape_dev, "%s: returned %d\n", __func__, ret); ret 2143 src/dps8/dps8_mt.c if (ret != 0) { ret 2144 src/dps8/dps8_mt.c if (ret == MTSE_EOM) { ret 2145 src/dps8/dps8_mt.c sim_debug (DBG_NOTIFY, & tape_dev, "%s: EOM: %s\n", __func__, simh_tape_msg (ret)); ret 2150 src/dps8/dps8_mt.c sim_warn ("%s: Cannot write tape mark: %d - %s\n", __func__, ret, simh_tape_msg(ret)); ret 2470 src/dps8/dps8_sys.c char * ret = lookup_system_book_address (segno, offset, compname, compoffset); ret 2471 src/dps8/dps8_sys.c return ret; ret 1495 src/dps8/dps8_utils.c int ret = -2; // error ret 1503 src/dps8/dps8_utils.c ret = -1; // done ret 1599 src/dps8/dps8_utils.c return ret; ret 559 src/dps8/fnpuv.c int ret = uv_write (req, (uv_stream_t *) stn_client, & buf, 1, fuv_write_3270_cb); ret 564 src/dps8/fnpuv.c if (ret < 0 && ret != -EBADF) ret 565 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: uv_write returned %d]\r\n", ret); ret 597 src/dps8/fnpuv.c int ret = uv_write (req, (uv_stream_t *) client, & buf, 1, fuv_write_cb); ret 602 src/dps8/fnpuv.c if (ret < 0 && ret != -EBADF) ret 603 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: uv_write returned %d]\r\n", ret); ret 788 src/dps8/fnpuv.c int ret = uv_tcp_getpeername (client, & name, & namelen); ret 789 src/dps8/fnpuv.c if (ret < 0) ret 791 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: CONNECT; addr err %d]\r\n", ret); ret 1014 src/dps8/fnpuv.c int ret = fcntl (linep->tun_fd, F_SETFL, flags); ret 1015 src/dps8/fnpuv.c if (ret) ret 1017 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: dialout TUN F_SETFL returned %d]\r\n", ret); ret 1420 src/dps8/fnpuv.c int ret = uv_tcp_getpeername (client, & name, & namelen); ret 1421 src/dps8/fnpuv.c if (ret < 0) ret 1423 src/dps8/fnpuv.c sim_printf ("\r[FNP emulation: CONNECT; addr err %d]\r\n", ret); ret 156 src/dps8/hdbg.c long ret = __sync_fetch_and_add (& hevtPtr, 1l) % hdbgSize; ret 159 src/dps8/hdbg.c long ret = __sync_fetch_and_sub (& hevtMark, 1l); ret 160 src/dps8/hdbg.c if (ret <= 0) ret 163 src/dps8/hdbg.c return ret; ret 252 src/dps8/udplib.c ret 253 src/dps8/udplib.c ret 395 src/dps8/udplib.c ret 399 src/dps8/udplib.c ret 401 src/dps8/udplib.c ret 177 src/dps8/uvutil.c int ret = uv_write (req, (uv_stream_t *) client, & buf, 1, ret 183 src/dps8/uvutil.c if (ret < 0 && ret != -EBADF) ret 184 src/dps8/uvutil.c sim_printf ("uv_write returns %d\n", ret); ret 583 src/dps8/uvutil.c int ret = uv_tcp_getpeername (access->client, & name, & namelen); ret 584 src/dps8/uvutil.c if (ret < 0) ret 586 src/dps8/uvutil.c sim_printf ("\r[OPC emulation: CONNECT; addr err %d]\r\n", ret); ret 48 src/libsir/include/sir/helpers.h bool ret = false; \ ret 61 src/libsir/include/sir/helpers.h # define _SIR_LOCK_SECTION(type, name, mid, ret) \ ret 66 src/libsir/include/sir/helpers.h return ret; \ ret 385 src/libsir/include/sir/helpers.h struct tm* ret = localtime_s(timer, buf); ret 386 src/libsir/include/sir/helpers.h if (!ret) { ret 391 src/libsir/include/sir/helpers.h errno_t ret = localtime_s(buf, timer); ret 392 src/libsir/include/sir/helpers.h if (0 != ret) { ret 393 src/libsir/include/sir/helpers.h (void)_sir_handleerr(ret); ret 401 src/libsir/include/sir/helpers.h struct tm* ret = localtime_r(timer, buf); ret 403 src/libsir/include/sir/helpers.h struct tm* ret = localtime(timer); ret 405 src/libsir/include/sir/helpers.h if (!ret) ret 407 src/libsir/include/sir/helpers.h return ret; ret 71 src/libsir/src/sir.c ret = _sir_logv(SIRL_DEBUG, format, args); ret 73 src/libsir/src/sir.c return ret; ret 79 src/libsir/src/sir.c ret = _sir_logv(SIRL_INFO, format, args); ret 81 src/libsir/src/sir.c return ret; ret 87 src/libsir/src/sir.c ret = _sir_logv(SIRL_NOTICE, format, args); ret 89 src/libsir/src/sir.c return ret; ret 95 src/libsir/src/sir.c ret = _sir_logv(SIRL_WARN, format, args); ret 97 src/libsir/src/sir.c return ret; ret 103 src/libsir/src/sir.c ret = _sir_logv(SIRL_ERROR, format, args); ret 105 src/libsir/src/sir.c return ret; ret 111 src/libsir/src/sir.c ret = _sir_logv(SIRL_CRIT, format, args); ret 113 src/libsir/src/sir.c return ret; ret 119 src/libsir/src/sir.c ret = _sir_logv(SIRL_ALERT, format, args); ret 121 src/libsir/src/sir.c return ret; ret 127 src/libsir/src/sir.c ret = _sir_logv(SIRL_EMERG, format, args); ret 129 src/libsir/src/sir.c return ret; ret 164 src/libsir/src/sirfilesystem.c int ret = _sir_fopen(f, abs_path, mode); ret 166 src/libsir/src/sirfilesystem.c return 0 == ret; ret 276 src/libsir/src/sirfilesystem.c int ret = _sir_aixself(buffer, &size); ret 277 src/libsir/src/sirfilesystem.c resolved = ret == 0 ? true : _sir_handleerr(errno); ret 294 src/libsir/src/sirfilesystem.c int ret = sysctl(mib, 4, buffer, &size, NULL, 0); ret 295 src/libsir/src/sirfilesystem.c if (0 == ret) { ret 306 src/libsir/src/sirfilesystem.c status_t ret = ret 308 src/libsir/src/sirfilesystem.c if (B_OK == ret) { ret 311 src/libsir/src/sirfilesystem.c } else if (B_BUFFER_OVERFLOW == ret) { ret 319 src/libsir/src/sirfilesystem.c int ret = _NSGetExecutablePath(buffer, (uint32_t*)&size); ret 320 src/libsir/src/sirfilesystem.c if (0 == ret) { ret 323 src/libsir/src/sirfilesystem.c } else if (-1 == ret) { ret 334 src/libsir/src/sirfilesystem.c DWORD ret = GetModuleFileNameA(NULL, buffer, (DWORD)size); ret 335 src/libsir/src/sirfilesystem.c if (0UL != ret && ret < (DWORD)size) { ret 338 src/libsir/src/sirfilesystem.c } else if (0UL == ret) { ret 341 src/libsir/src/sirfilesystem.c } else if (ret == (DWORD)size || ERROR_INSUFFICIENT_BUFFER == GetLastError()) { ret 70 src/libsir/src/sirhelpers.c int ret = fcntl(fd, F_GETFL); ret 76 src/libsir/src/sirhelpers.c int ret = _fstat(fd, &st); ret 81 src/libsir/src/sirhelpers.c return (-1 != ret || EBADF != errno) ? true : _sir_handleerr(errno); ret 236 src/libsir/src/sirhelpers.c int ret = strncpy_s(dest, destsz, src, count); ret 237 src/libsir/src/sirhelpers.c if (0 != ret) { ret 238 src/libsir/src/sirhelpers.c (void)_sir_handleerr(ret); ret 257 src/libsir/src/sirhelpers.c int ret = strncat_s(dest, destsz, src, count); ret 258 src/libsir/src/sirhelpers.c if (0 != ret) { ret 259 src/libsir/src/sirhelpers.c (void)_sir_handleerr(ret); ret 278 src/libsir/src/sirhelpers.c int ret = fopen_s(streamptr, filename, mode); ret 279 src/libsir/src/sirhelpers.c if (0 != ret) { ret 280 src/libsir/src/sirhelpers.c (void)_sir_handleerr(ret); ret 545 src/libsir/src/sirinternal.c int ret = pthread_once(once, func); ret 546 src/libsir/src/sirinternal.c return 0 == ret ? true : _sir_handleerr(ret); ret 1193 src/libsir/src/sirinternal.c int ret = clock_gettime(clock, &ts); ret 1194 src/libsir/src/sirinternal.c SIR_ASSERT(0 == ret); ret 1196 src/libsir/src/sirinternal.c if (0 == ret) { ret 1324 src/libsir/src/sirinternal.c int ret = pthread_getname_np(pthread_self(), name, SIR_MAXPID); ret 1325 src/libsir/src/sirinternal.c if (0 != ret) ret 1326 src/libsir/src/sirinternal.c return _sir_handleerr(ret); ret 1370 src/libsir/src/sirinternal.c int ret = pthread_setname_np(name); ret 1371 src/libsir/src/sirinternal.c return (0 != ret) ? _sir_handleerr(ret) : true; ret 1373 src/libsir/src/sirinternal.c status_t ret = rename_thread(find_thread(NULL), name); ret 1374 src/libsir/src/sirinternal.c return (B_OK != ret) ? _sir_handleerr((int)ret) : true; ret 1376 src/libsir/src/sirinternal.c int ret = pthread_setname_np(pthread_self(), "%s", name); ret 1377 src/libsir/src/sirinternal.c return (0 != ret) ? _sir_handleerr(ret) : true; ret 1385 src/libsir/src/sirinternal.c int ret = pthread_setname_np(pthread_self(), name); ret 1386 src/libsir/src/sirinternal.c return (0 != ret) ? _sir_handleerr(ret) : true; ret 1416 src/libsir/src/sirinternal.c int ret = gethostname(name, SIR_MAXHOST - 1); ret 1417 src/libsir/src/sirinternal.c return 0 == ret ? true : _sir_handleerr(errno); ret 1420 src/libsir/src/sirinternal.c int ret = WSAStartup(MAKEWORD(2, 2), &wsad); ret 1421 src/libsir/src/sirinternal.c if (0 != ret) ret 1422 src/libsir/src/sirinternal.c return _sir_handlewin32err(ret); ret 1399 src/simh/scp.c const char *ret = NULL; ret 1405 src/simh/scp.c if (strerror_s(buf, sizeof(buf), errnum) == 0) ret = buf; /*LINTOK: xstrerror_l*/ ret 1407 src/simh/scp.c if (strerror_r(errnum, buf, sizeof(buf)) == 0) ret = buf; /*LINTOK: xstrerror_l*/ ret 1421 src/simh/scp.c ret = strerror_l(errnum, copy); /*LINTOK: xstrerror_l*/ ret 1429 src/simh/scp.c if (!ret) ret 1432 src/simh/scp.c ret = buf; ret 1436 src/simh/scp.c return ret; ret 1446 src/simh/scp.c int ret = 0; ret 1447 src/simh/scp.c size_t size = sizeof(ret); ret 1448 src/simh/scp.c if (sysctlbyname("sysctl.proc_translated", &ret, &size, NULL, 0) == -1) { ret 1452 src/simh/scp.c return ret; ret 1490 src/simh/scp.c int ret; ret 1493 src/simh/scp.c ret = getrlimit(RLIMIT_CORE, &limit); ret 1494 src/simh/scp.c (void)ret; ret 1496 src/simh/scp.c if (ret != 0) ret 1503 src/simh/scp.c ret = setrlimit(RLIMIT_CORE, &limit); ret 1505 src/simh/scp.c if (ret != 0) ret 8362 src/simh/scp.c int32 ret = 0; ret 8365 src/simh/scp.c return ret; ret 8398 src/simh/scp.c ret = 1; ret 8407 src/simh/scp.c for (; (i>=0) && (i<(int32)schptr->count) && ret; i += updown) { ret 8412 src/simh/scp.c ret = 0; ret 8417 src/simh/scp.c ret = 0; ret 8422 src/simh/scp.c ret = 0; ret 8427 src/simh/scp.c ret = 0; ret 8432 src/simh/scp.c ret = 0; ret 8437 src/simh/scp.c ret = 0; ret 8442 src/simh/scp.c return ret; ret 10537 src/simh/scp.c int ret = 0; ret 10541 src/simh/scp.c ret = vfprintf (f, fmt, args); ret 10543 src/simh/scp.c return ret; ret 1090 src/simh/sim_sock.c int ret = 0; ret 1100 src/simh/sim_sock.c ret = p_getnameinfo(addr, size, hostnamebuf, NI_MAXHOST, NULL, 0, NI_NUMERICHOST); ret 1104 src/simh/sim_sock.c if (!ret) ret 1105 src/simh/sim_sock.c ret = p_getnameinfo(addr, size, NULL, 0, portnamebuf, NI_MAXSERV, NI_NUMERICSERV); ret 1110 src/simh/sim_sock.c return ret;