c 266 src/decNumber/decNumber.c # define decFinish(a,b,c,d) decFinalize(a,b,c,d) c 439 src/decNumber/decNumber.c const char *c; // work c 448 src/decNumber/decNumber.c for (c=chars;; c++) { // -> input character c 449 src/decNumber/decNumber.c if (*c>='0' && *c<='9') { // test for Arabic digit c 450 src/decNumber/decNumber.c last=c; c 454 src/decNumber/decNumber.c if (*c=='.' && dotchar==NULL) { // first '.' c 455 src/decNumber/decNumber.c dotchar=c; // record offset into decimal part c 456 src/decNumber/decNumber.c if (c==cfirst) cfirst++; // first digit must follow c 458 src/decNumber/decNumber.c if (c==chars) { // first in string... c 459 src/decNumber/decNumber.c if (*c=='-') { // valid - sign c 463 src/decNumber/decNumber.c if (*c=='+') { // valid + sign c 473 src/decNumber/decNumber.c if (*c=='\0') break; // and no more to come... c 481 src/decNumber/decNumber.c if (decBiStr(c, "infinity", "INFINITY") c 482 src/decNumber/decNumber.c || decBiStr(c, "inf", "INF")) { c 490 src/decNumber/decNumber.c if (*c=='s' || *c=='S') { // looks like an sNaN c 491 src/decNumber/decNumber.c c++; c 494 src/decNumber/decNumber.c if (*c!='n' && *c!='N') break; // check caseless "NaN" c 495 src/decNumber/decNumber.c c++; c 496 src/decNumber/decNumber.c if (*c!='a' && *c!='A') break; // .. c 497 src/decNumber/decNumber.c c++; c 498 src/decNumber/decNumber.c if (*c!='n' && *c!='N') break; // .. c 499 src/decNumber/decNumber.c c++; c 502 src/decNumber/decNumber.c for (cfirst=c; *cfirst=='0';) cfirst++; c 508 src/decNumber/decNumber.c for (c=cfirst;; c++, d++) { c 509 src/decNumber/decNumber.c if (*c<'0' || *c>'9') break; // test for Arabic digit c 510 src/decNumber/decNumber.c last=c; c 512 src/decNumber/decNumber.c if (*c!='\0') break; // not all digits c 524 src/decNumber/decNumber.c else if (*c!='\0') { // more to process... c 529 src/decNumber/decNumber.c if (*c!='e' && *c!='E') break; c 533 src/decNumber/decNumber.c c++; // to (possible) sign c 534 src/decNumber/decNumber.c if (*c=='-') {nege=1; c++;} c 535 src/decNumber/decNumber.c else if (*c=='+') c++; c 536 src/decNumber/decNumber.c if (*c=='\0') break; c 538 src/decNumber/decNumber.c for (; *c=='0' && *(c+1)!='\0';) c++; // strip insignificant zeros c 539 src/decNumber/decNumber.c firstexp=c; // save exponent digit place c 540 src/decNumber/decNumber.c for (; ;c++) { c 541 src/decNumber/decNumber.c if (*c<'0' || *c>'9') break; // not a digit c 542 src/decNumber/decNumber.c exponent=X10(exponent)+(Int)*c-(Int)'0'; c 545 src/decNumber/decNumber.c if (*c!='\0') break; c 550 src/decNumber/decNumber.c if (c>=firstexp+9+1) { c 551 src/decNumber/decNumber.c if (c>firstexp+9+1 || *firstexp>'1') exponent=DECNUMMAXE*2; c 563 src/decNumber/decNumber.c for (c=cfirst; c<last; c++, cfirst++) { c 564 src/decNumber/decNumber.c if (*c=='.') continue; // ignore dots c 565 src/decNumber/decNumber.c if (*c!='0') break; // non-zero found c 602 src/decNumber/decNumber.c for (c=cfirst;; c++) { // along the digits c 603 src/decNumber/decNumber.c if (*c=='.') continue; // ignore '.' [don't decrement cut] c 604 src/decNumber/decNumber.c out=X10(out)+(Int)*c-(Int)'0'; c 605 src/decNumber/decNumber.c if (c==last) break; // done [never get to trailing '.'] c 618 src/decNumber/decNumber.c for (c=last; c>=cfirst; c--) { // over each character, from least c 619 src/decNumber/decNumber.c if (*c=='.') continue; // ignore . [don't step up] c 620 src/decNumber/decNumber.c *up=(Unit)((Int)*c-(Int)'0'); c 3420 src/decNumber/decNumber.c char *c=string; // work [output pointer] c 3425 src/decNumber/decNumber.c *c='-'; c 3426 src/decNumber/decNumber.c c++; c 3430 src/decNumber/decNumber.c strcpy(c, "Inf"); c 3431 src/decNumber/decNumber.c strcpy(c+3, "inity"); c 3435 src/decNumber/decNumber.c *c='s'; c 3436 src/decNumber/decNumber.c c++; c 3438 src/decNumber/decNumber.c strcpy(c, "NaN"); c 3439 src/decNumber/decNumber.c c+=3; // step past c 3453 src/decNumber/decNumber.c for (; cut>=0; c++, cut--) TODIGIT(u, cut, c, pow); c 3456 src/decNumber/decNumber.c *c='\0'; // terminate the string c 3494 src/decNumber/decNumber.c for (; pre>0; pre--, c++, cut--) { c 3501 src/decNumber/decNumber.c TODIGIT(u, cut, c, pow); c 3504 src/decNumber/decNumber.c *c='.'; c++; c 3505 src/decNumber/decNumber.c for (;; c++, cut--) { c 3512 src/decNumber/decNumber.c TODIGIT(u, cut, c, pow); c 3515 src/decNumber/decNumber.c else for (; pre>0; pre--, c++) *c='0'; // 0 padding (for engineering) needed c 3518 src/decNumber/decNumber.c *c='0'; c++; c 3519 src/decNumber/decNumber.c *c='.'; c++; c 3520 src/decNumber/decNumber.c for (; pre<0; pre++, c++) *c='0'; // add any 0's after '.' c 3521 src/decNumber/decNumber.c for (; ; c++, cut--) { c 3528 src/decNumber/decNumber.c TODIGIT(u, cut, c, pow); c 3537 src/decNumber/decNumber.c *c='E'; c++; c 3538 src/decNumber/decNumber.c *c='+'; c++; // assume positive c 3541 src/decNumber/decNumber.c *(c-1)='-'; // oops, need - c 3546 src/decNumber/decNumber.c TODIGIT(u, cut, c, pow); c 3547 src/decNumber/decNumber.c if (*c=='0' && !had) continue; // skip leading zeros c 3549 src/decNumber/decNumber.c c++; // step for next c 3552 src/decNumber/decNumber.c *c='\0'; // terminate the string (all paths) c 6063 src/decNumber/decNumber.c Unit *c, Int m) { c 6065 src/decNumber/decNumber.c Unit *clsu=c; // C ditto c 6074 src/decNumber/decNumber.c maxC=c+alength; // A is usually the longer c 6075 src/decNumber/decNumber.c minC=c+blength; // .. and B the shorter c 6079 src/decNumber/decNumber.c if (a==c && bshift<=alength) { c 6080 src/decNumber/decNumber.c c+=bshift; c 6083 src/decNumber/decNumber.c else for (; c<clsu+bshift; a++, c++) { // copy needed c 6084 src/decNumber/decNumber.c if (a<alsu+alength) *c=*a; c 6085 src/decNumber/decNumber.c else *c=0; c 6098 src/decNumber/decNumber.c for (; c<minC; c++) { c 6105 src/decNumber/decNumber.c *c=(Unit)carry; c 6112 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6114 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // estimate was correct c 6116 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6122 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6124 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // was OK c 6126 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6130 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6132 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // estimate was correct c 6134 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6140 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6142 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // was OK c 6144 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6149 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6156 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6161 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); // [helps additions] c 6166 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); c 6172 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); c 6179 src/decNumber/decNumber.c if (c<maxC) for (; c<maxC; c++) { c 6191 src/decNumber/decNumber.c *c=(Unit)carry; c 6199 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6201 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // estimate was correct c 6203 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6209 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6211 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // was OK c 6213 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6217 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6219 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // estimate was correct c 6221 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6227 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6229 src/decNumber/decNumber.c if (*c<DECDPUNMAX+1) continue; // was OK c 6231 src/decNumber/decNumber.c *c-=DECDPUNMAX+1; c 6235 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); // remainder c 6242 src/decNumber/decNumber.c *c=(Unit)(carry-est*(DECDPUNMAX+1)); c 6246 src/decNumber/decNumber.c *c=(Unit)(carry-(DECDPUNMAX+1)); c 6252 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); c 6258 src/decNumber/decNumber.c *c=(Unit)(carry%(DECDPUNMAX+1)); c 6265 src/decNumber/decNumber.c if (carry==0) return c-clsu; // no carry, so no more to do c 6267 src/decNumber/decNumber.c *c=(Unit)carry; // place as new unit c 6268 src/decNumber/decNumber.c c++; // .. c 6269 src/decNumber/decNumber.c return c-clsu; c 6273 src/decNumber/decNumber.c for (c=clsu; c<maxC; c++) { c 6274 src/decNumber/decNumber.c add=DECDPUNMAX+add-*c; c 6276 src/decNumber/decNumber.c *c=(Unit)add; c 6280 src/decNumber/decNumber.c *c=0; c 6286 src/decNumber/decNumber.c *c=(Unit)(add-carry-1); c 6287 src/decNumber/decNumber.c c++; // interesting, include it c 6289 src/decNumber/decNumber.c return clsu-c; // -ve result indicates borrowed c 316 src/decNumber/decNumberLocal.h # define TODIGIT(u, cut, c, pow) { \ c 317 src/decNumber/decNumberLocal.h *(c)='0'; \ c 321 src/decNumber/decNumberLocal.h if ((u)>=pow) {(u)-=pow; *(c)+=8;} \ c 323 src/decNumber/decNumberLocal.h if ((u)>=pow) {(u)-=pow; *(c)+=4;} \ c 326 src/decNumber/decNumberLocal.h if ((u)>=pow) {(u)-=pow; *(c)+=2;} \ c 328 src/decNumber/decNumberLocal.h if ((u)>=pow) {(u)-=pow; *(c)+=1;} \ c 280 src/dps8/dps8.h # define max3(a,b,c) max((a), max((b),(c))) c 286 src/dps8/dps8.h # define min3(a,b,c) min((a), min((b),(c))) c 1465 src/dps8/dps8_cable.c all (u, N_IOM_UNITS_MAX) all (c, MAX_CHANNELS) c 1467 src/dps8/dps8_cable.c struct iom_to_ctlr_s *p = &cables->iom_to_ctlr[u][c]; c 1550 src/dps8/dps8_cable.c all (c, MAX_CHANNELS) c 1552 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[u][c]; c 1555 src/dps8/dps8_cable.c u, c, p->ctlr_unit_idx, p->port_num, ctlr_type_strs[p->ctlr_type], c 373 src/dps8/dps8_console.c static void ta_push (int c) c 383 src/dps8/dps8_console.c ta_buffer [ta_cnt ++] = c; c 390 src/dps8/dps8_console.c int c = ta_buffer[ta_next]; c 391 src/dps8/dps8_console.c return c; c 398 src/dps8/dps8_console.c int c = ta_buffer[ta_next ++]; c 401 src/dps8/dps8_console.c return c; c 752 src/dps8/dps8_console.c unsigned char c; c 757 src/dps8/dps8_console.c c = '!'; c 762 src/dps8/dps8_console.c c = '1'; c 769 src/dps8/dps8_console.c c = (unsigned char) (* csp->readp ++); c 770 src/dps8/dps8_console.c c = (unsigned char) toupper (c); c 773 src/dps8/dps8_console.c if (bcd_code_page[i] == c) c 777 src/dps8/dps8_console.c sim_warn ("Character %o does not map to BCD; replacing with '?'\n", c); c 790 src/dps8/dps8_console.c unsigned char c = (unsigned char) (* csp->readp ++); c 791 src/dps8/dps8_console.c c &= 0177; // Multics get consternated about this c 792 src/dps8/dps8_console.c putbits36_9 (bufp, charno * 9, c); c 824 src/dps8/dps8_console.c int c; c 830 src/dps8/dps8_console.c c = sim_poll_kbd (); c 831 src/dps8/dps8_console.c if (c == SCPE_OK) c 832 src/dps8/dps8_console.c c = accessGetChar (& csp->console_access); c 846 src/dps8/dps8_console.c if (breakEnable && c == SCPE_STOP) c 855 src/dps8/dps8_console.c if (breakEnable && c == SCPE_BREAK) c 864 src/dps8/dps8_console.c if (c == SCPE_OK) c 869 src/dps8/dps8_console.c if (c < SCPE_KFLAG) c 871 src/dps8/dps8_console.c sim_printf ("impossible %d %o\n", c, c); c 877 src/dps8/dps8_console.c int ch = c - SCPE_KFLAG; c 1060 src/dps8/dps8_console.c ta_push (c); c 1086 src/dps8/dps8_console.c unsigned char c = * (csp->autop); c 1087 src/dps8/dps8_console.c if (c == 4) // eot c 1100 src/dps8/dps8_console.c if (c == 030 || c == 031) // ^X ^Y c 1106 src/dps8/dps8_console.c if (c == 0) c 1120 src/dps8/dps8_console.c if (c == '\012' || c == '\015') c 1130 src/dps8/dps8_console.c * csp->tailp ++ = c; c 1132 src/dps8/dps8_console.c console_putchar (conUnitIdx, (char) c); c 1155 src/dps8/dps8_console.c c = ta_peek (); c 1158 src/dps8/dps8_console.c if (c == SCPE_OK) c 1162 src/dps8/dps8_console.c if (c < SCPE_KFLAG) c 1164 src/dps8/dps8_console.c sim_printf ("impossible %d %o\n", c, c); c 1170 src/dps8/dps8_console.c int ch = c - SCPE_KFLAG; c 2110 src/dps8/dps8_cpu.c uint c; c 2111 src/dps8/dps8_cpu.c for (c = 0; c < cpu_dev.numunits; c ++) c 2113 src/dps8/dps8_cpu.c set_cpu_idx (c); c 2117 src/dps8/dps8_cpu.c if (c == cpu_dev.numunits) c 1962 src/dps8/dps8_cpu.h static inline void SET_AR_CHAR_BITNO (uint n, word2 c, word4 b) c 1964 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = c * 9 + b; c 1966 src/dps8/dps8_cpu.h cpu.PAR[n].AR_CHAR = c & MASK2; c 583 src/dps8/dps8_crdpun.c char c = search_glyph_patterns(char_matrix); c 585 src/dps8/dps8_crdpun.c return c; c 592 src/dps8/dps8_crdpun.c char c = get_lace_char(buffer, c_pos); c 596 src/dps8/dps8_crdpun.c state -> glyph_buffer[current_length++] = c; c 218 src/dps8/dps8_eis.c static word36 put4 (word36 w, int pos, word4 c) c 226 src/dps8/dps8_eis.c c &= MASK4; c 231 src/dps8/dps8_eis.c return setbits36_5 (w, 0, c); c 234 src/dps8/dps8_eis.c return setbits36_4 (w, 5, c); c 238 src/dps8/dps8_eis.c return setbits36_5 (w, 9, c); c 241 src/dps8/dps8_eis.c return setbits36_4 (w, 14, c); c 245 src/dps8/dps8_eis.c return setbits36_5 (w, 18, c); c 248 src/dps8/dps8_eis.c return setbits36_4 (w, 23, c); c 252 src/dps8/dps8_eis.c return setbits36_5 (w, 27, c); c 255 src/dps8/dps8_eis.c return setbits36_4 (w, 32, c); c 262 src/dps8/dps8_eis.c static word36 put6 (word36 w, int pos, word6 c) c 268 src/dps8/dps8_eis.c return setbits36_6 (w, 0, c); c 272 src/dps8/dps8_eis.c return setbits36_6 (w, 6, c); c 276 src/dps8/dps8_eis.c return setbits36_6 (w, 12, c); c 280 src/dps8/dps8_eis.c return setbits36_6 (w, 18, c); c 284 src/dps8/dps8_eis.c return setbits36_6 (w, 24, c); c 288 src/dps8/dps8_eis.c return setbits36_6 (w, 30, c); c 296 src/dps8/dps8_eis.c static word36 put9 (word36 w, int pos, word9 c) c 303 src/dps8/dps8_eis.c return setbits36_9 (w, 0, c); c 307 src/dps8/dps8_eis.c return setbits36_9 (w, 9, c); c 311 src/dps8/dps8_eis.c return setbits36_9 (w, 18, c); c 315 src/dps8/dps8_eis.c return setbits36_9 (w, 27, c); c 946 src/dps8/dps8_eis.c word9 c = 0; c 954 src/dps8/dps8_eis.c c = (word9) get4 (data, (int) residue); c 958 src/dps8/dps8_eis.c c = (word9) get6 (data, (int) residue); c 962 src/dps8/dps8_eis.c c = get9 (data, (int) residue); c 966 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISGet469 : k: %u TAk %u coffset %u c %o \n", k, cpu.du.TAk[k - 1], residue, c); c 968 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "EISGet469 : k: %u TAk %u coffset %u c %o \n", k, e -> TA [k - 1], residue, c); c 971 src/dps8/dps8_eis.c return c; c 1057 src/dps8/dps8_eis.c word9 c = 0; c 1061 src/dps8/dps8_eis.c c = get4 (p -> data, * pos); c 1064 src/dps8/dps8_eis.c c = get9 (p -> data, * pos); c 1069 src/dps8/dps8_eis.c return c; c 3608 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; c 3609 src/dps8/dps8_eis.c if (c == 0) c 3779 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; c 3780 src/dps8/dps8_eis.c if (c == 0) c 3805 src/dps8/dps8_eis.c c 3807 src/dps8/dps8_eis.c c 3810 src/dps8/dps8_eis.c c 3825 src/dps8/dps8_eis.c static word9 xlate (EISaddr * xlatTbl, uint dstTA, uint c) c 3827 src/dps8/dps8_eis.c uint idx = (c / 4) & 0177; // max 128-words (7-bit index) c 3830 src/dps8/dps8_eis.c uint pos9 = c % 4; // lower 2-bits c 3993 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char c 4000 src/dps8/dps8_eis.c m = c & 017; // truncate upper 2-bits c 4003 src/dps8/dps8_eis.c m = c & 077; // truncate upper 3-bits c 4006 src/dps8/dps8_eis.c m = c; // keep all 9-bits c 4189 src/dps8/dps8_eis.c word9 c = EISget469 (1, limit - cpu.du.CHTALLY - 1); // get src char c 4196 src/dps8/dps8_eis.c m = c & 017; // truncate upper 2-bits c 4199 src/dps8/dps8_eis.c m = c & 077; // truncate upper 3-bits c 4202 src/dps8/dps8_eis.c m = c; // keep all 9-bits c 4244 src/dps8/dps8_eis.c c 4249 src/dps8/dps8_eis.c c 4268 src/dps8/dps8_eis.c static bool isGBCDOvp (uint c, bool * isNeg) c 4270 src/dps8/dps8_eis.c if (c & 020) c 4275 src/dps8/dps8_eis.c if (c & 040) c 4601 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char c 4609 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, c); c 4615 src/dps8/dps8_eis.c cout = c; c 4622 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 2-bits c 4632 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 5-bits c 4635 src/dps8/dps8_eis.c cout = c & 077; // truncate upper 3-bits c 4651 src/dps8/dps8_eis.c isGBCDOvp (c, & isNeg); c 4901 src/dps8/dps8_eis.c word9 c = EISget469 (1, e -> N1 - cpu.du.CHTALLY - 1); // get src char c 4909 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, c); c 4915 src/dps8/dps8_eis.c cout = c; c 4922 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 2-bits c 4932 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 5-bits c 4935 src/dps8/dps8_eis.c cout = c & 077; // truncate upper 3-bits c 4951 src/dps8/dps8_eis.c isGBCDOvp (c, & isNeg); c 5009 src/dps8/dps8_eis.c #define isDecimalZero(c) ((e->srcTA == CTA9) ? \ c 5010 src/dps8/dps8_eis.c ((c) == '0') : \ c 5011 src/dps8/dps8_eis.c (((c) & 017) == 0)) c 5042 src/dps8/dps8_eis.c word9 c = EISget49(a, &pos, TN); c 5043 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "src: %d: %o\n", n, c); c 5075 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5077 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5083 src/dps8/dps8_eis.c if (c == 015) // '-' c 5090 src/dps8/dps8_eis.c e->exponent = (signed char)(c & 0377); // want to do a sign extend c 5095 src/dps8/dps8_eis.c e->exponent = (c & 0xf);// << 4; c 5101 src/dps8/dps8_eis.c e->exponent |= (c & 0xf); c 5110 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5111 src/dps8/dps8_eis.c if (c > 011) c 5114 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5120 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5124 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5127 src/dps8/dps8_eis.c if (c == 015) // '-' c 5133 src/dps8/dps8_eis.c if (c > 011) //-V560 c 5135 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5140 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5144 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5146 src/dps8/dps8_eis.c if (c == 015) // '-' c 5152 src/dps8/dps8_eis.c if (c > 011) c 5154 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5159 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5161 src/dps8/dps8_eis.c *p++ = c; // the "easy" one c 5198 src/dps8/dps8_eis.c word9 c = EISget469 (k, n); c 5199 src/dps8/dps8_eis.c * p ++ = c; c 5504 src/dps8/dps8_eis.c word9 c = EISget49(&e->ADDR2, &e->mopPos, CTN9); c 5506 src/dps8/dps8_eis.c word9 c = EISget49(e->mopAddress, &e->mopPos, CTN9); c 5508 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, 9, e->dstSZ, c); c 5543 src/dps8/dps8_eis.c c 5545 src/dps8/dps8_eis.c c 5547 src/dps8/dps8_eis.c c 5908 src/dps8/dps8_eis.c word9 c = *(e->in); c 5909 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLC c %d (0%o)\n", c, c); c 5913 src/dps8/dps8_eis.c if (isDecimalZero (c)) { c 5927 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 5937 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 5939 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6004 src/dps8/dps8_eis.c word9 c = *(e->in); c 6005 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLS n %d c %o\n", n, c); c 6007 src/dps8/dps8_eis.c if (isDecimalZero (c)) c 6036 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6050 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6058 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6060 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6113 src/dps8/dps8_eis.c word9 c = (*e->in | (!e->mopSN ? e->editInsertionTable[2] : e->editInsertionTable[3])); c 6119 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6222 src/dps8/dps8_eis.c word9 c = *(e->in); c 6225 src/dps8/dps8_eis.c if (c & e->editInsertionTable[2]) // XXX only lower 4-bits are considered c 6228 src/dps8/dps8_eis.c else if (c & e->editInsertionTable[3]) // XXX only lower 4-bits are considered c 6237 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6239 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6268 src/dps8/dps8_eis.c word9 c = *e->in; c 6274 src/dps8/dps8_eis.c if (!e->mopES && isDecimalZero (c)) c 6283 src/dps8/dps8_eis.c else if ((! e->mopES) && (! isDecimalZero (c))) c 6288 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6294 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6296 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6334 src/dps8/dps8_eis.c word9 c = *e->in; c 6340 src/dps8/dps8_eis.c if ((!e->mopES) && isDecimalZero (c)) c 6349 src/dps8/dps8_eis.c if ((! e->mopES) && (! isDecimalZero (c))) c 6354 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6360 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6362 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 7190 src/dps8/dps8_eis.c word9 c = EISget469(1, cpu.du.CHTALLY); // get src char c 7198 src/dps8/dps8_eis.c EISput469(2, cpu.du.CHTALLY, xlate (&e->ADDR3, dstTA, c)); c 7202 src/dps8/dps8_eis.c cidx = c; c 9736 src/dps8/dps8_eis.c c 9740 src/dps8/dps8_eis.c c 9743 src/dps8/dps8_eis.c c 9747 src/dps8/dps8_eis.c c 9750 src/dps8/dps8_eis.c c 9759 src/dps8/dps8_eis.c c 9781 src/dps8/dps8_eis.c c 9802 src/dps8/dps8_eis.c c 9823 src/dps8/dps8_eis.c c 9840 src/dps8/dps8_eis.c c 1221 src/dps8/dps8_fnp2.c unsigned char c = linep->inBuffer [linep->inUsed ++]; c 1236 src/dps8/dps8_fnp2.c linep->buffer[linep->nPos++] = c; c 1240 src/dps8/dps8_fnp2.c if (processInputCharacter (linep, c, eob)) c 2532 src/dps8/dps8_fnp2.c c 2534 src/dps8/dps8_fnp2.c c 2537 src/dps8/dps8_fnp2.c c 2539 src/dps8/dps8_fnp2.c c 6915 src/dps8/dps8_ins.c word1 c = (i->address >> 7) & 1; c 6916 src/dps8/dps8_ins.c if (c) c 6930 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; c 6932 src/dps8/dps8_ins.c if (c) c 6946 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; c 6948 src/dps8/dps8_ins.c if (c) c 9190 src/dps8/dps8_ins.c c 9191 src/dps8/dps8_ins.c c 9192 src/dps8/dps8_ins.c c 9197 src/dps8/dps8_ins.c c 9198 src/dps8/dps8_ins.c c 9199 src/dps8/dps8_ins.c c 9201 src/dps8/dps8_ins.c c 9206 src/dps8/dps8_ins.c c 9207 src/dps8/dps8_ins.c c 9209 src/dps8/dps8_ins.c c 9210 src/dps8/dps8_ins.c c 9212 src/dps8/dps8_ins.c c 2012 src/dps8/dps8_iom.c uint c = * cnt; c 2014 src/dps8/dps8_iom.c if (c == 0) c 2037 src/dps8/dps8_iom.c c --; c 2040 src/dps8/dps8_iom.c uint c = 0; c 2065 src/dps8/dps8_iom.c c ++; c 2067 src/dps8/dps8_iom.c * cnt = c; c 85 src/dps8/hdbg.h # define HDBGMRead(a, d, c) hdbgMRead (a, d, c) c 86 src/dps8/hdbg.h # define HDBGMWrite(a, d, c) hdbgMWrite (a, d, c) c 87 src/dps8/hdbg.h # define HDBGIEFP(t, s, o, c) hdbgIEFP (t, s, o, c); c 88 src/dps8/hdbg.h # define HDBGAPURead(s, o, f, d, c) hdbgAPURead (s, o, f, d, c) c 89 src/dps8/hdbg.h # define HDBGAPUWrite(s, o, f, d, c) hdbgAPUWrite (s, o, f, d, c) c 90 src/dps8/hdbg.h # define HDBGRegAR(c) hdbgRegR (hreg_A, cpu.rA, c) c 91 src/dps8/hdbg.h # define HDBGRegAW(c) hdbgRegW (hreg_A, cpu.rA, c) c 92 src/dps8/hdbg.h # define HDBGRegQR(c) hdbgRegR (hreg_Q, cpu.rQ, c) c 93 src/dps8/hdbg.h # define HDBGRegQW(c) hdbgRegW (hreg_Q, cpu.rQ, c) c 94 src/dps8/hdbg.h # define HDBGRegXR(i, c) hdbgRegR (hreg_X0+(i), (word36) cpu.rX[i], c) c 95 src/dps8/hdbg.h # define HDBGRegXW(i, c) hdbgRegW (hreg_X0+(i), (word36) cpu.rX[i], c) c 96 src/dps8/hdbg.h # define HDBGRegYR(c) hdbgRegR (hreg_Y, (word36) cpu.rY, c) c 97 src/dps8/hdbg.h # define HDBGRegYW(c) hdbgRegW (hreg_Y, (word36) cpu.rY, c) c 98 src/dps8/hdbg.h # define HDBGRegZR(r, c) hdbgRegR (hreg_Z, (word36) r, c) c 99 src/dps8/hdbg.h # define HDBGRegZW(r, c) hdbgRegW (hreg_Z, (word36) r, c) c 100 src/dps8/hdbg.h # define HDBGRegPRR(i, c) hdbgPARegR (hreg_PR0+(i), & cpu.PAR[i], c) c 101 src/dps8/hdbg.h # define HDBGRegPRW(i, c) hdbgPARegW (hreg_PR0+(i), & cpu.PAR[i], c) c 102 src/dps8/hdbg.h # define HDBGRegARR(i, c) hdbgPARegR (hreg_AR0+(i), & cpu.PAR[i], c) c 103 src/dps8/hdbg.h # define HDBGRegARW(i, c) hdbgPARegW (hreg_AR0+(i), & cpu.PAR[i], c) c 105 src/dps8/hdbg.h c 106 src/dps8/hdbg.h c 108 src/dps8/hdbg.h # define HDBGRegIR(c) hdbgRegW (hreg_IR, (word36) cpu.cu.IR, c) c 109 src/dps8/hdbg.h # define HDBGTrace(c) hdbgTrace(c) c 110 src/dps8/hdbg.h # define HDBGIntr(i, c) hdbgIntr(i, c) c 111 src/dps8/hdbg.h # define HDBGIntrSet(i, c, s, ctx) hdbgIntrSet(i, c, s, ctx) c 112 src/dps8/hdbg.h # define HDBGFault(n, s, m, c) hdbgFault(n, s, m, c) c 480 src/dps8/libtelnet.c char *c, *last, *out; c 530 src/dps8/libtelnet.c for (c = buffer + 1; c < buffer + size; ++c) { c 531 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_VAR || *c == TELNET_ENVIRON_USERVAR) { c 533 src/dps8/libtelnet.c } else if (*c == TELNET_ENVIRON_ESC) { c 535 src/dps8/libtelnet.c ++c; c 549 src/dps8/libtelnet.c c = buffer + 1; c 552 src/dps8/libtelnet.c values[eindex].type = (unsigned char) (*c++); c 557 src/dps8/libtelnet.c while (c < buffer + size) { c 559 src/dps8/libtelnet.c if ((unsigned)*c == TELNET_ENVIRON_VAR || c 560 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_VALUE || c 561 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_USERVAR) { c 566 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_ESC) { c 567 src/dps8/libtelnet.c ++c; c 570 src/dps8/libtelnet.c *out++ = *c++; c 580 src/dps8/libtelnet.c if (c < buffer + size && *c == TELNET_ENVIRON_VALUE) { c 581 src/dps8/libtelnet.c ++c; c 583 src/dps8/libtelnet.c while (c < buffer + size) { c 585 src/dps8/libtelnet.c if ((unsigned)*c == TELNET_ENVIRON_VAR || c 586 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_USERVAR) { c 591 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_ESC) { c 592 src/dps8/libtelnet.c ++c; c 595 src/dps8/libtelnet.c *out++ = *c++; c 459 src/dps8/uthash.h # define HASH_JEN_MIX(a,b,c) \ c 461 src/dps8/uthash.h a -= b; a -= c; a ^= ( c >> 13 ); \ c 462 src/dps8/uthash.h b -= c; b -= a; b ^= ( a << 8 ); \ c 463 src/dps8/uthash.h c -= a; c -= b; c ^= ( b >> 13 ); \ c 464 src/dps8/uthash.h a -= b; a -= c; a ^= ( c >> 12 ); \ c 465 src/dps8/uthash.h b -= c; b -= a; b ^= ( a << 16 ); \ c 466 src/dps8/uthash.h c -= a; c -= b; c ^= ( b >> 5 ); \ c 467 src/dps8/uthash.h a -= b; a -= c; a ^= ( c >> 3 ); \ c 468 src/dps8/uthash.h b -= c; b -= a; b ^= ( a << 10 ); \ c 469 src/dps8/uthash.h c -= a; c -= b; c ^= ( b >> 15 ); \ c 691 src/dps8/uvutil.c unsigned char c = access->inBuffer[access->inUsed ++]; c 702 src/dps8/uvutil.c return (int) c + SCPE_KFLAG; c 449 src/simh/linehistory.c char c = 0; c 479 src/simh/linehistory.c nread = read(ls->ifd, &c, 1); c 486 src/simh/linehistory.c switch (c) c 513 src/simh/linehistory.c return ( c ); /* Return last read character */ c 904 src/simh/linehistory.c linenoiseEditInsert(struct linenoiseState *l, char c) c 910 src/simh/linehistory.c l->buf[l->pos] = c; c 918 src/simh/linehistory.c char d = ( maskmode == 1 ) ? '*' : (char)c; c 935 src/simh/linehistory.c l->buf[l->pos] = c; c 1318 src/simh/linehistory.c signed char c; c 1322 src/simh/linehistory.c nread = read(l.ifd, &c, 1); c 1336 src/simh/linehistory.c if (c == 9 && completionCallback != NULL) c 1351 src/simh/linehistory.c c = (char)cint; c 1356 src/simh/linehistory.c switch (c) c 1514 src/simh/linehistory.c if (linenoiseEditInsert(&l, c)) c 1619 src/simh/linehistory.c int c = fgetc(stdin); c 1620 src/simh/linehistory.c if (c == EOF || c == '\n') c 1622 src/simh/linehistory.c if (c == EOF && len == 0) c 1635 src/simh/linehistory.c line[len] = c; c 2646 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; c 2669 src/simh/scp.c c = abuf; c 2672 src/simh/scp.c while (sim_isspace (*c)) /* skip blanks */ c 2673 src/simh/scp.c c++; c 2674 src/simh/scp.c if (*c == 0) /* all done? */ c 2677 src/simh/scp.c if (*c == '\'' || *c == '"') /* quoted string? */ c 2678 src/simh/scp.c quote = *c++; c 2680 src/simh/scp.c do_arg[nargs++] = c; /* save start */ c 2681 src/simh/scp.c while (*c && (quote ? (*c != quote) : !sim_isspace (*c))) c 2682 src/simh/scp.c c++; c 2683 src/simh/scp.c if (*c) /* term at quote/spc */ c 2684 src/simh/scp.c *c++ = 0; c 6886 src/simh/scp.c int sim_isspace (char c) c 6888 src/simh/scp.c return (c & 0x80) ? 0 : isspace (c); c 6891 src/simh/scp.c int sim_islower (char c) c 6893 src/simh/scp.c return (c & 0x80) ? 0 : islower (c); c 6896 src/simh/scp.c int sim_isalpha (char c) c 6898 src/simh/scp.c return (c & 0x80) ? 0 : isalpha (c); c 6901 src/simh/scp.c int sim_isprint (char c) c 6903 src/simh/scp.c return (c & 0x80) ? 0 : isprint (c); c 6906 src/simh/scp.c int sim_isdigit (char c) c 6908 src/simh/scp.c return (c & 0x80) ? 0 : isdigit (c); c 6911 src/simh/scp.c int sim_isgraph (char c) c 6913 src/simh/scp.c return (c & 0x80) ? 0 : isgraph (c); c 6916 src/simh/scp.c int sim_isalnum (char c) c 6918 src/simh/scp.c return (c & 0x80) ? 0 : isalnum (c); c 7104 src/simh/scp.c const char *c; c 7108 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); c 7109 src/simh/scp.c if (c) { c 7110 src/simh/scp.c *optr = ((*optr)<<4) + (uint8)(c-hex_digits); c 7113 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); c 7114 src/simh/scp.c if (c) { c 7115 src/simh/scp.c *optr = ((*optr)<<4) + (uint8)(c-hex_digits); c 7662 src/simh/scp.c int32 c, logop, cmpop; c 7672 src/simh/scp.c for (logop = cmpop = -1; (c = *cptr++); ) { /* loop thru clauses */ c 7673 src/simh/scp.c if ((sptr = strchr (logstr, c))) { /* check for mask */ c 7680 src/simh/scp.c else if ((sptr = strchr (cmpstr, c))) { /* check for boolop */ c 7724 src/simh/scp.c int32 c, logop, cmpop; c 7737 src/simh/scp.c for (logop = cmpop = -1; (c = *cptr++); ) { /* loop thru clauses */ c 7738 src/simh/scp.c if ((sptr = strchr (logstr, c))) { /* check for mask */ c 7748 src/simh/scp.c else if ((sptr = strchr (cmpstr, c))) { /* check for boolop */ c 7908 src/simh/scp.c uint32 c, digit; c 7917 src/simh/scp.c for (c = *inptr; sim_isalnum(c); c = *++inptr) { /* loop through char */ c 7918 src/simh/scp.c if (sim_islower (c)) c 7919 src/simh/scp.c c = toupper (c); c 7920 src/simh/scp.c if (sim_isdigit (c)) /* digit? */ c 7921 src/simh/scp.c digit = c - (uint32) '0'; c 7924 src/simh/scp.c else digit = c + 10 - (uint32) 'A'; /* convert letter */ c 9665 src/simh/scp.c char *c, *remnant = buf; c 9666 src/simh/scp.c while ((c = strchr(remnant, '\n'))) { c 9667 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) c 9668 src/simh/scp.c printf("%.*s\r\n", (int)(c-remnant), remnant); c 9670 src/simh/scp.c printf("%.*s\n", (int)(c-remnant), remnant); c 9671 src/simh/scp.c remnant = c + 1; c 9727 src/simh/scp.c char *c, *remnant = buf; c 9728 src/simh/scp.c while ((c = strchr(remnant, '\n'))) { c 9729 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) c 9730 src/simh/scp.c printf("%.*s\r\n", (int)(c-remnant), remnant); c 9732 src/simh/scp.c printf("%.*s\n", (int)(c-remnant), remnant); c 9733 src/simh/scp.c remnant = c + 1; c 135 src/simh/scp.h int sim_isspace (char c); c 136 src/simh/scp.h int sim_islower (char c); c 137 src/simh/scp.h int sim_isalpha (char c); c 138 src/simh/scp.h int sim_isprint (char c); c 139 src/simh/scp.h int sim_isdigit (char c); c 140 src/simh/scp.h int sim_isgraph (char c); c 141 src/simh/scp.h int sim_isalnum (char c); c 438 src/simh/sim_console.c int32 c; c 440 src/simh/sim_console.c c = tmxr_poll_conn (&sim_rem_con_tmxr); c 441 src/simh/sim_console.c if (c >= 0) { /* poll connect */ c 442 src/simh/sim_console.c TMLN *lp = &sim_rem_con_tmxr.ldsc[c]; c 447 src/simh/sim_console.c sim_rem_buf_ptr[c] = 0; /* start with empty command buffer */ c 448 src/simh/sim_console.c sim_rem_single_mode[c] = TRUE; /* start in single command mode */ c 449 src/simh/sim_console.c sim_rem_read_timeouts[c] = sim_rem_read_timeout; /* Start with default timeout */ c 461 src/simh/sim_console.c ((sim_rem_master_mode && (c == 0)) ? "" : "\nSimulator Running...")); c 462 src/simh/sim_console.c if (sim_rem_master_mode && (c == 0)) /* Master Mode session? */ c 463 src/simh/sim_console.c sim_rem_single_mode[c] = FALSE; /* start in multi-command mode */ c 638 src/simh/sim_console.c int32 i, j, c = 0; c 694 src/simh/sim_console.c c = tmxr_getc_ln (lp); c 695 src/simh/sim_console.c if (!(TMXR_VALID & c)) c 697 src/simh/sim_console.c c = c & ~TMXR_VALID; c 699 src/simh/sim_console.c if (c == sim_int_char) { /* ^E (the interrupt character) must start continue mode console interaction */ c 724 src/simh/sim_console.c ((c == '\n') || /* Ignore bare LF between commands (Microsoft Telnet bug) */ c 725 src/simh/sim_console.c (c == '\r'))) /* Ignore empty commands */ c 727 src/simh/sim_console.c if ((c == '\004') || (c == '\032')) { /* EOF character (^D or ^Z) ? */ c 760 src/simh/sim_console.c c = tmxr_getc_ln (lp); c 761 src/simh/sim_console.c if (!(TMXR_VALID & c)) { c 788 src/simh/sim_console.c c = c & ~TMXR_VALID; c 790 src/simh/sim_console.c switch (c) { c 839 src/simh/sim_console.c tmxr_putc_ln (lp, c); c 844 src/simh/sim_console.c sim_rem_buf[i][sim_rem_buf_ptr[i]++] = (char)c; c 850 src/simh/sim_console.c c = 0; c 852 src/simh/sim_console.c c = tmxr_getc_ln (lp); c 853 src/simh/sim_console.c c = c & ~TMXR_VALID; c 855 src/simh/sim_console.c } while ((!got_command) && ((!sim_rem_single_mode[i]) || c)); c 1713 src/simh/sim_console.c int32 c, trys = 0; c 1774 src/simh/sim_console.c c = sim_os_poll_kbd (); /* check for stop char */ c 1775 src/simh/sim_console.c if ((c == SCPE_STOP) || stop_cpu) c 1813 src/simh/sim_console.c t_stat c; c 1818 src/simh/sim_console.c if (sim_send_poll_data (&sim_con_send, &c)) /* injected input characters available? */ c 1819 src/simh/sim_console.c return c; c 1824 src/simh/sim_console.c c = sim_os_poll_kbd (); /* get character */ c 1825 src/simh/sim_console.c if (c == SCPE_STOP) { /* ^E */ c 1831 src/simh/sim_console.c if (c && sim_con_ldsc.rxbps) /* got something && rate limiting? */ c 1834 src/simh/sim_console.c return c; /* in-window */ c 1846 src/simh/sim_console.c if ((c = (t_stat)tmxr_getc_ln (&sim_con_ldsc))) /* any char? */ c 1847 src/simh/sim_console.c return (c & (SCPE_BREAK | 0377)) | SCPE_KFLAG; c 1853 src/simh/sim_console.c t_stat sim_putchar (int32 c) c 1855 src/simh/sim_console.c sim_exp_check (&sim_con_expect, c); c 1859 src/simh/sim_console.c fputc (c, sim_log); c 1860 src/simh/sim_console.c return sim_os_putchar (c); /* in-window version */ c 1868 src/simh/sim_console.c tmxr_putc_ln (&sim_con_ldsc, c); /* output char */ c 2015 src/simh/sim_console.c int c = -1; c 2026 src/simh/sim_console.c while (c == -1) { c 2038 src/simh/sim_console.c c = sim_brk_char | SCPE_BREAK; c 2041 src/simh/sim_console.c c = 0; /* return NUL */ c 2043 src/simh/sim_console.c c = rec.Event.KeyEvent.uChar.AsciiChar; c 2047 src/simh/sim_console.c if ((c & 0177) == sim_del_char) c 2048 src/simh/sim_console.c c = 0177; c 2049 src/simh/sim_console.c if ((c & 0177) == sim_int_char) c 2051 src/simh/sim_console.c if ((sim_brk_char && ((c & 0177) == sim_brk_char)) || (c & SCPE_BREAK)) c 2053 src/simh/sim_console.c return c | SCPE_KFLAG; c 2058 src/simh/sim_console.c static t_stat sim_os_putchar (int32 c) c 2066 src/simh/sim_console.c if (c != 0177) { c 2067 src/simh/sim_console.c if (c == BELL_CHAR) { c 2071 src/simh/sim_console.c WriteConsoleA(std_output, &c, 1, &unused, NULL); c 2076 src/simh/sim_console.c WriteConsoleA(std_output, &c, 1, &unused, NULL); c 2174 src/simh/sim_console.c char c; c 2179 src/simh/sim_console.c c = out; c 2180 src/simh/sim_console.c if (write (1, &c, 1)) {}; c 2282 src/simh/sim_console.c char c; c 2287 src/simh/sim_console.c c = out; c 2288 src/simh/sim_console.c (void)!write (1, &c, 1); c 2304 src/simh/sim_console.c char c; c 2307 src/simh/sim_console.c while ((c = *decoded++ = *encoded++)) /* copy the character */ c 2308 src/simh/sim_console.c if (c == ESC_CHAR) { /* does it start an escape? */ c 114 src/simh/sim_console.h t_stat sim_putchar (int32 c); c 120 src/simh/sim_console.h int32 sim_tt_inpcvt (int32 c, uint32 mode); c 121 src/simh/sim_console.h int32 sim_tt_outcvt (int32 c, uint32 mode); c 127 src/simh/sim_fio.c size_t c; c 131 src/simh/sim_fio.c c = fread (bptr, size, count, fptr); /* read buffer */ c 132 src/simh/sim_fio.c if (sim_end || (size == sizeof (char)) || (c == 0)) /* le, byte, or err? */ c 133 src/simh/sim_fio.c return c; /* done */ c 135 src/simh/sim_fio.c return c; c 158 src/simh/sim_fio.c size_t c, nelem, nbuf, lcnt, total; c 178 src/simh/sim_fio.c c = (i == 1)? lcnt: nelem; c 179 src/simh/sim_fio.c sim_buf_copy_swapped (sim_flip, sptr, size, c); c 181 src/simh/sim_fio.c c = fwrite (sim_flip, size, c, fptr); c 182 src/simh/sim_fio.c if (c == 0) { c 186 src/simh/sim_fio.c total = total + c; c 43 src/simh/sim_fio.h # define fxread(a,b,c,d) sim_fread (a, b, c, d) c 44 src/simh/sim_fio.h # define fxwrite(a,b,c,d) sim_fwrite (a, b, c, d) c 215 src/simh/sim_sock.c char *c; c 217 src/simh/sim_sock.c port = strtoul(service, &c, 10); c 218 src/simh/sim_sock.c if ((port == 0) || (*c != '\0')) { c 398 src/simh/sim_tape.c uint8 c; c 548 src/simh/sim_tape.c (void)sim_fread (&c, sizeof (uint8), 1, uptr->fileref); c 558 src/simh/sim_tape.c if ((sbc != 0) && (c & P7B_SOR)) /* next record? */ c 560 src/simh/sim_tape.c if ((c & P7B_DPAR) != P7B_EOF) c 611 src/simh/sim_tape.c uint8 c; c 737 src/simh/sim_tape.c (void)sim_fread (&c, sizeof (uint8), 1, uptr->fileref); c 744 src/simh/sim_tape.c if ((c & P7B_DPAR) != P7B_EOF) c 746 src/simh/sim_tape.c if (c & P7B_SOR) /* start of record? */ c 1433 src/simh/sim_tmxr.c int32 c; c 1437 src/simh/sim_tmxr.c while (TMXR_VALID & (c = tmxr_getc_ln (lp))) { c 1454 src/simh/sim_tmxr.c if ((lp->rxpboffset == 0) && (fc_size) && (c != frame_byte)) { c 1465 src/simh/sim_tmxr.c lp->rxpb[lp->rxpboffset++] = c & 0xFF; c 1766 src/simh/sim_tmxr.c #define TXBUF_CHAR(lp, c) { \ c 1767 src/simh/sim_tmxr.c lp->txb[lp->txbpi++] = (char)(c); \