result 1616 src/decNumber/decNumber.c Int result; // .. result 1623 src/decNumber/decNumber.c result=decCompare(lhs, rhs, 0); // sign matters result 1624 src/decNumber/decNumber.c if (result==BADINT) status|=DEC_Insufficient_storage; // rare result 1626 src/decNumber/decNumber.c if (result==0) decNumberCopySign(res, lhs, rhs); // easy result 1629 src/decNumber/decNumber.c if (result<0) { // lhs<rhs, do nextplus result 5734 src/decNumber/decNumber.c Int result=0; // default result value result 5743 src/decNumber/decNumber.c if (alloclhs==NULL) {result=BADINT; break;} result 5748 src/decNumber/decNumber.c if (allocrhs==NULL) {result=BADINT; break;} result 5760 src/decNumber/decNumber.c result=-1; result 5766 src/decNumber/decNumber.c result=+1; result 5781 src/decNumber/decNumber.c if (!decNumberIsNaN(lhs)) result=-1; result 5782 src/decNumber/decNumber.c else if (!decNumberIsNaN(rhs)) result=+1; result 5784 src/decNumber/decNumber.c else if (decNumberIsSNaN(lhs) && decNumberIsQNaN(rhs)) result=-1; result 5785 src/decNumber/decNumber.c else if (decNumberIsQNaN(lhs) && decNumberIsSNaN(rhs)) result=+1; result 5788 src/decNumber/decNumber.c result=decUnitCompare(lhs->lsu, D2U(lhs->digits), result 5792 src/decNumber/decNumber.c if (decNumberIsNegative(lhs)) result=-result; result 5802 src/decNumber/decNumber.c if (lhs->bits & DECNAN) result=-1; // pick rhs result 5803 src/decNumber/decNumber.c else result=+1; // pick lhs result 5812 src/decNumber/decNumber.c if (op==COMPMAXMAG || op==COMPMINMAG) result=decCompare(lhs, rhs, 1); result 5813 src/decNumber/decNumber.c else result=decCompare(lhs, rhs, 0); // sign matters result 5816 src/decNumber/decNumber.c if (result==BADINT) *status|=DEC_Insufficient_storage; // rare result 5819 src/decNumber/decNumber.c if (op==COMPTOTAL && result==0) { result 5823 src/decNumber/decNumber.c if (lhs->exponent<rhs->exponent) result=-1; result 5824 src/decNumber/decNumber.c else result=+1; result 5825 src/decNumber/decNumber.c if (decNumberIsNegative(lhs)) result=-result; result 5829 src/decNumber/decNumber.c if (result!=0) { // must be -1 or +1 result 5831 src/decNumber/decNumber.c if (result<0) res->bits=DECNEG; result 5839 src/decNumber/decNumber.c if (result==0) { // operands are numerically equal result 5846 src/decNumber/decNumber.c result=+1; result 5851 src/decNumber/decNumber.c if (slhs) result=-1; // rhs is max result 5852 src/decNumber/decNumber.c else result=+1; // lhs is max result 5856 src/decNumber/decNumber.c if (lhs->exponent<rhs->exponent) result=+1; result 5857 src/decNumber/decNumber.c else result=-1; result 5861 src/decNumber/decNumber.c if (lhs->exponent>rhs->exponent) result=+1; result 5862 src/decNumber/decNumber.c else result=-1; result 5867 src/decNumber/decNumber.c if (op==COMPMIN || op==COMPMINMAG) result=-result; result 5868 src/decNumber/decNumber.c choice=(result>0 ? lhs : rhs); // choose result 5895 src/decNumber/decNumber.c Int result; // result value result 5899 src/decNumber/decNumber.c result=1; // assume signum(lhs) result 5900 src/decNumber/decNumber.c if (ISZERO(lhs)) result=0; result 5902 src/decNumber/decNumber.c if (ISZERO(rhs)) return result; // LHS wins or both 0 result 5904 src/decNumber/decNumber.c if (result==0) return -1; // LHS is 0; RHS wins result 5908 src/decNumber/decNumber.c if (result && decNumberIsNegative(lhs)) result=-1; result 5912 src/decNumber/decNumber.c if (result > sigr) return +1; // L > R, return 1 result 5913 src/decNumber/decNumber.c if (result < sigr) return -1; // L < R, return -1 result 5914 src/decNumber/decNumber.c if (result==0) return 0; // both 0 result 5920 src/decNumber/decNumber.c if (decNumberIsInfinite(lhs)) result=0;// both infinite result 5921 src/decNumber/decNumber.c else result=-result; // only rhs infinite result 5923 src/decNumber/decNumber.c return result; result 5931 src/decNumber/decNumber.c result=-result; result 5936 src/decNumber/decNumber.c if (compare!=BADINT) compare*=result; // comparison succeeded result 5964 src/decNumber/decNumber.c Int expunits, exprem, result; // .. result 6003 src/decNumber/decNumber.c if (accunits<0) result=-1; // negative result result 6007 src/decNumber/decNumber.c result=(*u==0 ? 0 : +1); result 6011 src/decNumber/decNumber.c return result; result 53 src/dps8/dps8_iefp.c void Read (word18 address, word36 * result, processor_cycle_type cyctyp) result 75 src/dps8/dps8_iefp.c core_read_lock (cpu.iefpFinalAddress, result, __func__); result 77 src/dps8/dps8_iefp.c core_read (cpu.iefpFinalAddress, result, __func__); result 79 src/dps8/dps8_iefp.c core_read (cpu.iefpFinalAddress, result, __func__); result 83 src/dps8/dps8_iefp.c "readData=%012"PRIo64"\n", address, *result); result 86 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read ABS BAR"); result 96 src/dps8/dps8_iefp.c core_read_lock (address, result, __func__); result 98 src/dps8/dps8_iefp.c core_read (address, result, __func__); result 100 src/dps8/dps8_iefp.c core_read (address, result, __func__); result 104 src/dps8/dps8_iefp.c "readData=%012"PRIo64"\n", address, *result); result 107 src/dps8/dps8_iefp.c HDBGMRead (address, * result, "Read ABS"); result 121 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 1); result 125 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 128 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read BAR"); result 135 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 1); result 142 src/dps8/dps8_iefp.c cpu.iefpFinalAddress, * result); result 145 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read"); result 155 src/dps8/dps8_iefp.c void Read2 (word18 address, word36 * result, processor_cycle_type cyctyp) result 179 src/dps8/dps8_iefp.c core_read2 (cpu.iefpFinalAddress, result + 0, result + 1, result 187 src/dps8/dps8_iefp.c address + i, result [i]); result 191 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 ABBR evn"); result 192 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 ABBR odd"); result 200 src/dps8/dps8_iefp.c core_read2 (address, result + 0, result + 1, __func__); result 207 src/dps8/dps8_iefp.c address + i, result [i]); result 211 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress, * result, "Read2 AB evn"); result 212 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress+1, * (result+1), "Read2 AB odd"); result 226 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 2); result 233 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 237 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 BR evn"); result 238 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 BR odd"); result 244 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (cyctyp, result, 2); result 251 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 261 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 266 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA, cpu.iefpFinalAddress, * result, "Read2 evn"); result 267 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + 1, cpu.iefpFinalAddress + 1, * (result+1), "Read2 odd"); result 276 src/dps8/dps8_iefp.c void Read8 (word18 address, word36 * result, bool isAR) result 297 src/dps8/dps8_iefp.c core_readN (cpu.iefpFinalAddress, result, 8, __func__); result 304 src/dps8/dps8_iefp.c address + i, result [i]); result 309 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "Read8 ABBR"); result 317 src/dps8/dps8_iefp.c core_readN (address, result, 8, __func__); result 324 src/dps8/dps8_iefp.c address + i, result [i]); result 329 src/dps8/dps8_iefp.c HDBGMRead (address + i, result [i], "Read8 ABS"); result 343 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, result 351 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 356 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result[i], "Read8 BAR"); result 362 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, result 373 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 378 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "Read8"); result 388 src/dps8/dps8_iefp.c void Read16 (word18 address, word36 * result) result 391 src/dps8/dps8_iefp.c Read8 (address, result, cpu.currentInstruction.b29); result 392 src/dps8/dps8_iefp.c Read8 (address + 8, result + 8, cpu.currentInstruction.b29); result 396 src/dps8/dps8_iefp.c void ReadPage (word18 address, word36 * result, bool isAR) result 422 src/dps8/dps8_iefp.c core_readN (cpu.iefpFinalAddress, result, PGSZ, __func__); result 429 src/dps8/dps8_iefp.c address + i, result [i]); result 434 src/dps8/dps8_iefp.c HDBGMRead (cpu.iefpFinalAddress + i, result [i], "ReadPage AB"); result 442 src/dps8/dps8_iefp.c core_readN (address, result, PGSZ, __func__); result 449 src/dps8/dps8_iefp.c address + i, result [i]); result 454 src/dps8/dps8_iefp.c HDBGMRead (address + i, result [i], "ReadPage ABS"); result 468 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, result 476 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 481 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage B"); result 488 src/dps8/dps8_iefp.c cpu.iefpFinalAddress = do_append_cycle (APU_DATA_READ, result, result 499 src/dps8/dps8_iefp.c cpu.iefpFinalAddress + i, result [i]); result 504 src/dps8/dps8_iefp.c HDBGAPURead (cpu.TPR.TSR, cpu.TPR.CA + i, cpu.iefpFinalAddress + i, result [i], "ReadPage"); result 31 src/dps8/dps8_iefp.h void Read8 (word18 address, word36 * result, bool isAR); result 32 src/dps8/dps8_iefp.h void Read16 (word18 address, word36 * result); result 34 src/dps8/dps8_iefp.h void ReadPage (word18 address, word36 * result, bool isAR); result 63 src/dps8/dps8_ins.c static int doABSA (word36 * result); result 1049 src/dps8/dps8_ins.c static char result[132] = "???"; result 1050 src/dps8/dps8_ins.c strcpy (result, "???"); result 1053 src/dps8/dps8_ins.c strcpy (result, opcodes10[opcode | (opcodeX ? 01000 : 0)].mne); result 1055 src/dps8/dps8_ins.c strcat (result, " prn|nnnn"); result 1057 src/dps8/dps8_ins.c strcat (result, " nnnn"); result 1062 src/dps8/dps8_ins.c strcat (result, ","); result 1063 src/dps8/dps8_ins.c strcat (result, extMods[tag].mod); result 1065 src/dps8/dps8_ins.c if (result[0] == '?') result 1069 src/dps8/dps8_ins.c sim_printf ("%20"PRId64": %s\n", count, result); result 1072 src/dps8/dps8_ins.c static char result[132] = "???"; result 1073 src/dps8/dps8_ins.c strcpy (result, "???"); result 1077 src/dps8/dps8_ins.c strcpy (result, opcodes10[opcode | (opcodeX ? 01000 : 0)].mne); result 1078 src/dps8/dps8_ins.c sim_printf ("%20"PRId64": %s\n", total, result); result 8295 src/dps8/dps8_ins.c word36 result; result 8296 src/dps8/dps8_ins.c int rc = doABSA (& result); result 8299 src/dps8/dps8_ins.c cpu.rA = result; result 9376 src/dps8/dps8_ins.c static int doABSA (word36 * result) result 9385 src/dps8/dps8_ins.c * result = ((word36) (cpu.TPR.CA & MASK18)) << 12; // 24:12 format result 9397 src/dps8/dps8_ins.c * result = res; result 186 src/dps8/dps8_math.c word72 result = 0; result 193 src/dps8/dps8_math.c putbits72 (& result, 71-62, 1, 1); result 204 src/dps8/dps8_math.c putbits72 (& result, 71-n, 1, 1); result 216 src/dps8/dps8_math.c result = -result & (((word72)1 << 64) - 1); result 222 src/dps8/dps8_math.c putbits72 (& result, 71-64, 8, e & 0377); result 226 src/dps8/dps8_math.c return result; result 304 src/dps8/dps8_math.c word72 result = 0; result 310 src/dps8/dps8_math.c result = putbits72 (& result, 71-63, 1, 1); result 321 src/dps8/dps8_math.c putbits72 (& result 71-n, 1, 1); result 330 src/dps8/dps8_math.c result = -result & (((word72)1 << 72) - 1); result 333 src/dps8/dps8_math.c cpu . rA = (result >> 36) & MASK36; result 337 src/dps8/dps8_math.c cpu . rQ = result & MASK36; result 397 src/dps8/dps8_math.c result 407 src/dps8/dps8_math.c result 418 src/dps8/dps8_math.c result 424 src/dps8/dps8_math.c result 428 src/dps8/dps8_math.c result 951 src/dps8/dps8_math128.c void __udivmodti3(UTItype div, UTItype dvd,UTItype *result,UTItype *remain); result 957 src/dps8/dps8_math128.c UTItype result,remain; result 959 src/dps8/dps8_math128.c __udivmodti3(div,dvd,&result,&remain); result 961 src/dps8/dps8_math128.c return result; result 964 src/dps8/dps8_math128.c void __udivmodti3(UTItype div, UTItype dvd,UTItype *result,UTItype *remain) result 969 src/dps8/dps8_math128.c *result = (UTItype)0; result 990 src/dps8/dps8_math128.c *result += z2; result 1043 src/dps8/dps8_math128.c UTItype result,remain; result 1045 src/dps8/dps8_math128.c __udivmodti3(div,dvd,&result,&remain); result 1052 src/dps8/dps8_math128.c TItype result = (TItype)0; result 1064 src/dps8/dps8_math128.c result += v; result 1070 src/dps8/dps8_math128.c return -result; result 1072 src/dps8/dps8_math128.c return result; result 91 src/dps8/dps8_utils.c char *disassemble(char * result, word36 instruction) result 102 src/dps8/dps8_utils.c strcpy(result, "???"); result 106 src/dps8/dps8_utils.c strcpy(result, opcodes10[opcode10].mne); result 118 src/dps8/dps8_utils.c strcat (result, buff); result 122 src/dps8/dps8_utils.c strcat (result, buff); result 136 src/dps8/dps8_utils.c strcat(result, ","); result 137 src/dps8/dps8_utils.c strcat(result, buff); result 140 src/dps8/dps8_utils.c return dps8_strupr(result); result 1448 src/dps8/dps8_utils.c int cfg_parse (const char * tag, const char * cptr, config_list_t * clist, config_state_t * state, int64_t * result) result 1538 src/dps8/dps8_utils.c * result = v -> value; result 1570 src/dps8/dps8_utils.c * result = n; result 1983 src/dps8/dps8_utils.c struct timespec * result) result 1986 src/dps8/dps8_utils.c result->tv_sec = stop->tv_sec - start->tv_sec - 1; result 1987 src/dps8/dps8_utils.c result->tv_nsec = stop->tv_nsec - start->tv_nsec + 1000000000L; result 1989 src/dps8/dps8_utils.c result->tv_sec = stop->tv_sec - start->tv_sec; result 1990 src/dps8/dps8_utils.c result->tv_nsec = stop->tv_nsec - start->tv_nsec; result 43 src/dps8/dps8_utils.h int cfg_parse (const char * tag, const char * cptr, config_list_t * clist, config_state_t * state, int64_t * result); result 48 src/dps8/dps8_utils.h char *disassemble(char * result, word36 instruction); result 329 src/dps8/dps8_utils.h word36 result = (x & ~ mask) | ((val&MASKBITS(n)) << (36 - p - n)); result 330 src/dps8/dps8_utils.h return result; result 345 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 346 src/dps8/dps8_utils.h return result; result 361 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 362 src/dps8/dps8_utils.h return result; result 377 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 378 src/dps8/dps8_utils.h return result; result 393 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 394 src/dps8/dps8_utils.h return result; result 409 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 410 src/dps8/dps8_utils.h return result; result 425 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 426 src/dps8/dps8_utils.h return result; result 441 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 442 src/dps8/dps8_utils.h return result; result 457 src/dps8/dps8_utils.h word36 result = (x & ~ smask) | (((word36) val & mask) << shift); result 458 src/dps8/dps8_utils.h return result; result 900 src/dps8/dps8_utils.h struct timespec *result); result 3292 src/simh/scp.c t_bool result; result 3356 src/simh/scp.c result = sim_cmp_string (gbuf, gbuf2); result 3357 src/simh/scp.c result = ((result == optr->aval) || (result == optr->bval)); result 3359 src/simh/scp.c result = !result; result 3405 src/simh/scp.c result = test_search (&val, &sim_stabr); /* test condition */ result 3414 src/simh/scp.c result = test_search (sim_eval, &sim_staba); /* test condition */ result 3417 src/simh/scp.c if (Not ^ result) { result 182 src/simh/sim_sock.c struct addrinfo *result = NULL; result 291 src/simh/sim_sock.c s_freeaddrinfo(result); result 304 src/simh/sim_sock.c s_freeaddrinfo(result); result 311 src/simh/sim_sock.c if (NULL == result) result 312 src/simh/sim_sock.c result = ai; result 318 src/simh/sim_sock.c result->ai_canonname = (char *)calloc(1, strlen(cname)+1); result 319 src/simh/sim_sock.c if (NULL == result->ai_canonname) { result 320 src/simh/sim_sock.c s_freeaddrinfo(result); result 323 src/simh/sim_sock.c strcpy(result->ai_canonname, cname); result 325 src/simh/sim_sock.c *res = result; result 797 src/simh/sim_sock.c struct addrinfo *result = NULL, *preferred; result 810 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) { result 815 src/simh/sim_sock.c preferred = result; result 826 src/simh/sim_sock.c preferred = result; result 840 src/simh/sim_sock.c (preferred != result)) { result 841 src/simh/sim_sock.c preferred = result; result 845 src/simh/sim_sock.c p_freeaddrinfo(result); result 867 src/simh/sim_sock.c p_freeaddrinfo(result); result 887 src/simh/sim_sock.c struct addrinfo *result = NULL, *source = NULL; result 896 src/simh/sim_sock.c if (p_getaddrinfo(host[0] ? host : NULL, port[0] ? port : NULL, &hints, &result)) result 903 src/simh/sim_sock.c p_freeaddrinfo (result); result 909 src/simh/sim_sock.c hints.ai_family = result->ai_family; /* Same family as connect destination */ result 913 src/simh/sim_sock.c p_freeaddrinfo (result); result 917 src/simh/sim_sock.c newsock = sim_create_sock (result->ai_family, opt_flags & SIM_SOCK_OPT_DATAGRAM);/* create socket */ result 919 src/simh/sim_sock.c p_freeaddrinfo (result); result 928 src/simh/sim_sock.c p_freeaddrinfo (result); result 934 src/simh/sim_sock.c newsock = sim_create_sock (result->ai_family, opt_flags & SIM_SOCK_OPT_DATAGRAM);/* create socket */ result 936 src/simh/sim_sock.c p_freeaddrinfo (result); result 944 src/simh/sim_sock.c p_freeaddrinfo (result); result 951 src/simh/sim_sock.c p_freeaddrinfo (result); result 968 src/simh/sim_sock.c sta = connect (newsock, result->ai_addr, result->ai_addrlen); result 969 src/simh/sim_sock.c p_freeaddrinfo (result); result 1008 src/simh/sim_tape.c t_stat result; result 1017 src/simh/sim_tape.c result = sim_tape_wrdata (uptr, MTR_EOM); /* write the EOM marker */ result 1022 src/simh/sim_tape.c return result; result 2068 src/simh/sim_tape.c t_stat result = SCPE_OK; result 2084 src/simh/sim_tape.c new_bpi = (uint32) get_uint (cptr, 10, UINT_MAX, &result); /* convert the string value */ result 2086 src/simh/sim_tape.c if (result != SCPE_OK) /* if the conversion failed */ result 2097 src/simh/sim_tape.c result = SCPE_ARG; /* if no match, then report a bad argument */ result 2100 src/simh/sim_tape.c return result; /* return the result of the operation */ result 3691 src/simh/sim_tmxr.c t_stat result = SCPE_OK; result 3725 src/simh/sim_tmxr.c result = SCPE_ARG; /* "Invalid argument" error */ result 3730 src/simh/sim_tmxr.c result = SCPE_SUB; /* "Subscript out of range" error */ result 3749 src/simh/sim_tmxr.c if (result == SCPE_OK) { /* assignment successful? */ result 3764 src/simh/sim_tmxr.c return result;