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 294 src/dps8/dps8.h # define max3(a,b,c) max((a), max((b),(c))) c 300 src/dps8/dps8.h # define min3(a,b,c) min((a), min((b),(c))) c 1506 src/dps8/dps8_cable.c all (u, N_IOM_UNITS_MAX) all (c, MAX_CHANNELS) c 1508 src/dps8/dps8_cable.c struct iom_to_ctlr_s *p = &cables->iom_to_ctlr[u][c]; c 1591 src/dps8/dps8_cable.c all (c, MAX_CHANNELS) c 1593 src/dps8/dps8_cable.c struct iom_to_ctlr_s * p = & cables->iom_to_ctlr[u][c]; c 1596 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 753 src/dps8/dps8_console.c unsigned char c; c 758 src/dps8/dps8_console.c c = '!'; c 763 src/dps8/dps8_console.c c = '1'; c 770 src/dps8/dps8_console.c c = (unsigned char) (* csp->readp ++); c 771 src/dps8/dps8_console.c c = (unsigned char) toupper (c); c 774 src/dps8/dps8_console.c if (bcd_code_page[i] == c) c 778 src/dps8/dps8_console.c sim_warn ("Character %o does not map to BCD; replacing with '?'\n", c); c 791 src/dps8/dps8_console.c unsigned char c = (unsigned char) (* csp->readp ++); c 792 src/dps8/dps8_console.c c &= 0177; // Multics get consternated about this c 793 src/dps8/dps8_console.c putbits36_9 (bufp, charno * 9, c); c 825 src/dps8/dps8_console.c int c; c 831 src/dps8/dps8_console.c c = sim_poll_kbd (); c 832 src/dps8/dps8_console.c if (c == SCPE_OK) c 833 src/dps8/dps8_console.c c = accessGetChar (& csp->console_access); c 847 src/dps8/dps8_console.c if (breakEnable && c == SCPE_STOP) c 856 src/dps8/dps8_console.c if (breakEnable && c == SCPE_BREAK) c 865 src/dps8/dps8_console.c if (c == SCPE_OK) c 870 src/dps8/dps8_console.c if (c < SCPE_KFLAG) c 872 src/dps8/dps8_console.c sim_printf ("impossible %d %o\n", c, c); c 878 src/dps8/dps8_console.c int ch = c - SCPE_KFLAG; c 1062 src/dps8/dps8_console.c ta_push (c); c 1088 src/dps8/dps8_console.c unsigned char c = * (csp->autop); c 1089 src/dps8/dps8_console.c if (c == 4) // eot c 1103 src/dps8/dps8_console.c if (c == 030 || c == 031) // ^X ^Y c 1109 src/dps8/dps8_console.c if (c == 0) c 1123 src/dps8/dps8_console.c if (c == '\012' || c == '\015') c 1133 src/dps8/dps8_console.c * csp->tailp ++ = c; c 1135 src/dps8/dps8_console.c console_putchar (conUnitIdx, (char) c); c 1159 src/dps8/dps8_console.c c = ta_peek (); c 1162 src/dps8/dps8_console.c if (c == SCPE_OK) c 1166 src/dps8/dps8_console.c if (c < SCPE_KFLAG) c 1168 src/dps8/dps8_console.c sim_printf ("impossible %d %o\n", c, c); c 1174 src/dps8/dps8_console.c int ch = c - SCPE_KFLAG; c 2203 src/dps8/dps8_cpu.c uint c; c 2204 src/dps8/dps8_cpu.c for (c = 0; c < cpu_dev.numunits; c ++) c 2206 src/dps8/dps8_cpu.c set_cpu_idx (c); c 2210 src/dps8/dps8_cpu.c if (c == cpu_dev.numunits) c 1965 src/dps8/dps8_cpu.h static inline void SET_AR_CHAR_BITNO (uint n, word2 c, word4 b) c 1967 src/dps8/dps8_cpu.h cpu.PAR[n].PR_BITNO = c * 9 + b; c 1969 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 945 src/dps8/dps8_eis.c word9 c = 0; c 953 src/dps8/dps8_eis.c c = (word9) get4 (data, (int) residue); c 957 src/dps8/dps8_eis.c c = (word9) get6 (data, (int) residue); c 961 src/dps8/dps8_eis.c c = get9 (data, (int) residue); c 965 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 967 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 970 src/dps8/dps8_eis.c return c; c 1056 src/dps8/dps8_eis.c word9 c = 0; c 1060 src/dps8/dps8_eis.c c = get4 (p -> data, * pos); c 1063 src/dps8/dps8_eis.c c = get9 (p -> data, * pos); c 1068 src/dps8/dps8_eis.c return c; c 3607 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; c 3608 src/dps8/dps8_eis.c if (c == 0) c 3778 src/dps8/dps8_eis.c word9 c = ((~mask) & (yCharn1 ^ ctest)) & 0777; c 3779 src/dps8/dps8_eis.c if (c == 0) c 3804 src/dps8/dps8_eis.c c 3806 src/dps8/dps8_eis.c c 3809 src/dps8/dps8_eis.c c 3824 src/dps8/dps8_eis.c static word9 xlate (EISaddr * xlatTbl, uint dstTA, uint c) c 3826 src/dps8/dps8_eis.c uint idx = (c / 4) & 0177; // max 128-words (7-bit index) c 3829 src/dps8/dps8_eis.c uint pos9 = c % 4; // lower 2-bits c 3992 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char c 3999 src/dps8/dps8_eis.c m = c & 017; // truncate upper 2-bits c 4002 src/dps8/dps8_eis.c m = c & 077; // truncate upper 3-bits c 4005 src/dps8/dps8_eis.c m = c; // keep all 9-bits c 4188 src/dps8/dps8_eis.c word9 c = EISget469 (1, limit - cpu.du.CHTALLY - 1); // get src char c 4195 src/dps8/dps8_eis.c m = c & 017; // truncate upper 2-bits c 4198 src/dps8/dps8_eis.c m = c & 077; // truncate upper 3-bits c 4201 src/dps8/dps8_eis.c m = c; // keep all 9-bits c 4243 src/dps8/dps8_eis.c c 4248 src/dps8/dps8_eis.c c 4267 src/dps8/dps8_eis.c static bool isGBCDOvp (uint c, bool * isNeg) c 4269 src/dps8/dps8_eis.c if (c & 020) c 4274 src/dps8/dps8_eis.c if (c & 040) c 4600 src/dps8/dps8_eis.c word9 c = EISget469 (1, cpu.du.CHTALLY); // get src char c 4608 src/dps8/dps8_eis.c EISput469 (2, cpu.du.CHTALLY, c); c 4614 src/dps8/dps8_eis.c cout = c; c 4621 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 2-bits c 4631 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 5-bits c 4634 src/dps8/dps8_eis.c cout = c & 077; // truncate upper 3-bits c 4650 src/dps8/dps8_eis.c isGBCDOvp (c, & isNeg); c 4900 src/dps8/dps8_eis.c word9 c = EISget469 (1, e -> N1 - cpu.du.CHTALLY - 1); // get src char c 4908 src/dps8/dps8_eis.c EISput469 (2, e -> N2 - cpu.du.CHTALLY - 1, c); c 4914 src/dps8/dps8_eis.c cout = c; c 4921 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 2-bits c 4931 src/dps8/dps8_eis.c cout = c & 017; // truncate upper 5-bits c 4934 src/dps8/dps8_eis.c cout = c & 077; // truncate upper 3-bits c 4950 src/dps8/dps8_eis.c isGBCDOvp (c, & isNeg); c 5008 src/dps8/dps8_eis.c #define isDecimalZero(c) ((e->srcTA == CTA9) ? \ c 5009 src/dps8/dps8_eis.c ((c) == '0') : \ c 5010 src/dps8/dps8_eis.c (((c) & 017) == 0)) c 5041 src/dps8/dps8_eis.c word9 c = EISget49(a, &pos, TN); c 5042 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "src: %d: %o\n", n, c); c 5074 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5076 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5082 src/dps8/dps8_eis.c if (c == 015) // '-' c 5089 src/dps8/dps8_eis.c e->exponent = (signed char)(c & 0377); // want to do a sign extend c 5094 src/dps8/dps8_eis.c e->exponent = (c & 0xf);// << 4; c 5100 src/dps8/dps8_eis.c e->exponent |= (c & 0xf); c 5109 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5110 src/dps8/dps8_eis.c if (c > 011) c 5113 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5119 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5123 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5126 src/dps8/dps8_eis.c if (c == 015) // '-' c 5132 src/dps8/dps8_eis.c if (c > 011) //-V560 c 5134 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5139 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5143 src/dps8/dps8_eis.c if (c < 012 || c > 017) //-V560 c 5145 src/dps8/dps8_eis.c if (c == 015) // '-' c 5151 src/dps8/dps8_eis.c if (c > 011) c 5153 src/dps8/dps8_eis.c *p++ = c; // store 4-bit char in buffer c 5158 src/dps8/dps8_eis.c c &= 0xf; // hack off all but lower 4 bits c 5160 src/dps8/dps8_eis.c *p++ = c; // the "easy" one c 5197 src/dps8/dps8_eis.c word9 c = EISget469 (k, n); c 5198 src/dps8/dps8_eis.c * p ++ = c; c 5503 src/dps8/dps8_eis.c word9 c = EISget49(&e->ADDR2, &e->mopPos, CTN9); c 5505 src/dps8/dps8_eis.c word9 c = EISget49(e->mopAddress, &e->mopPos, CTN9); c 5507 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, 9, e->dstSZ, c); c 5542 src/dps8/dps8_eis.c c 5544 src/dps8/dps8_eis.c c 5546 src/dps8/dps8_eis.c c 5907 src/dps8/dps8_eis.c word9 c = *(e->in); c 5908 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLC c %d (0%o)\n", c, c); c 5912 src/dps8/dps8_eis.c if (isDecimalZero (c)) { c 5926 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 5936 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 5938 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6003 src/dps8/dps8_eis.c word9 c = *(e->in); c 6004 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT, & cpu_dev, "MFLS n %d c %o\n", n, c); c 6006 src/dps8/dps8_eis.c if (isDecimalZero (c)) c 6035 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6049 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6057 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6059 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6112 src/dps8/dps8_eis.c word9 c = (*e->in | (!e->mopSN ? e->editInsertionTable[2] : e->editInsertionTable[3])); c 6118 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6221 src/dps8/dps8_eis.c word9 c = *(e->in); c 6224 src/dps8/dps8_eis.c if (c & e->editInsertionTable[2]) // XXX only lower 4-bits are considered c 6227 src/dps8/dps8_eis.c else if (c & e->editInsertionTable[3]) // XXX only lower 4-bits are considered c 6236 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6238 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6267 src/dps8/dps8_eis.c word9 c = *e->in; c 6273 src/dps8/dps8_eis.c if (!e->mopES && isDecimalZero (c)) c 6282 src/dps8/dps8_eis.c else if ((! e->mopES) && (! isDecimalZero (c))) c 6287 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6293 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6295 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6333 src/dps8/dps8_eis.c word9 c = *e->in; c 6339 src/dps8/dps8_eis.c if ((!e->mopES) && isDecimalZero (c)) c 6348 src/dps8/dps8_eis.c if ((! e->mopES) && (! isDecimalZero (c))) c 6353 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 6359 src/dps8/dps8_eis.c if (! isDecimalZero (c)) c 6361 src/dps8/dps8_eis.c writeToOutputBuffer(&e->out, e->srcSZ, e->dstSZ, c); c 7189 src/dps8/dps8_eis.c word9 c = EISget469(1, cpu.du.CHTALLY); // get src char c 7197 src/dps8/dps8_eis.c EISput469(2, cpu.du.CHTALLY, xlate (&e->ADDR3, dstTA, c)); c 7201 src/dps8/dps8_eis.c cidx = c; c 9735 src/dps8/dps8_eis.c c 9739 src/dps8/dps8_eis.c c 9742 src/dps8/dps8_eis.c c 9746 src/dps8/dps8_eis.c c 9749 src/dps8/dps8_eis.c c 9758 src/dps8/dps8_eis.c c 9780 src/dps8/dps8_eis.c c 9801 src/dps8/dps8_eis.c c 9822 src/dps8/dps8_eis.c c 9839 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 6934 src/dps8/dps8_ins.c word1 c = (i->address >> 7) & 1; c 6935 src/dps8/dps8_ins.c if (c) c 6949 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; c 6951 src/dps8/dps8_ins.c if (c) c 6965 src/dps8/dps8_ins.c uint c = (i->address >> 7) & 1; c 6967 src/dps8/dps8_ins.c if (c) c 9212 src/dps8/dps8_ins.c c 9213 src/dps8/dps8_ins.c c 9214 src/dps8/dps8_ins.c c 9219 src/dps8/dps8_ins.c c 9220 src/dps8/dps8_ins.c c 9221 src/dps8/dps8_ins.c c 9223 src/dps8/dps8_ins.c c 9228 src/dps8/dps8_ins.c c 9229 src/dps8/dps8_ins.c c 9231 src/dps8/dps8_ins.c c 9232 src/dps8/dps8_ins.c c 9234 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 781 src/dps8/dps8_mgp.c chop_name(uint c) c 783 src/dps8/dps8_mgp.c if (( c > 0 ) && ( c <= CHOP_BRD )) c 785 src/dps8/dps8_mgp.c return chop_names[c]; c 787 src/dps8/dps8_mgp.c else if (c == CHOP_ACK) c 791 src/dps8/dps8_mgp.c else if (c >= 0200) //-V536 /* Decimal: 128; Octal: 0200 */ 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 486 src/dps8/libtelnet.c char *c, *last, *out; c 536 src/dps8/libtelnet.c for (c = buffer + 1; c < buffer + size; ++c) { c 537 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_VAR || *c == TELNET_ENVIRON_USERVAR) { c 539 src/dps8/libtelnet.c } else if (*c == TELNET_ENVIRON_ESC) { c 541 src/dps8/libtelnet.c ++c; c 555 src/dps8/libtelnet.c c = buffer + 1; c 558 src/dps8/libtelnet.c values[eindex].type = (unsigned char) (*c++); c 563 src/dps8/libtelnet.c while (c < buffer + size) { c 565 src/dps8/libtelnet.c if ((unsigned)*c == TELNET_ENVIRON_VAR || c 566 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_VALUE || c 567 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_USERVAR) { c 572 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_ESC) { c 573 src/dps8/libtelnet.c ++c; c 576 src/dps8/libtelnet.c *out++ = *c++; c 586 src/dps8/libtelnet.c if (c < buffer + size && *c == TELNET_ENVIRON_VALUE) { c 587 src/dps8/libtelnet.c ++c; c 589 src/dps8/libtelnet.c while (c < buffer + size) { c 591 src/dps8/libtelnet.c if ((unsigned)*c == TELNET_ENVIRON_VAR || c 592 src/dps8/libtelnet.c (unsigned)*c == TELNET_ENVIRON_USERVAR) { c 597 src/dps8/libtelnet.c if (*c == TELNET_ENVIRON_ESC) { c 598 src/dps8/libtelnet.c ++c; c 601 src/dps8/libtelnet.c *out++ = *c++; c 130 src/dps8/ucache.c # define args(a, b, c) a, b, c, pct (a, (b + 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 444 src/simh/linehistory.c char c = 0; c 474 src/simh/linehistory.c nread = read(ls->ifd, &c, 1); c 481 src/simh/linehistory.c switch (c) c 508 src/simh/linehistory.c return ( c ); /* Return last read character */ c 899 src/simh/linehistory.c linenoiseEditInsert(struct linenoiseState *l, char c) c 905 src/simh/linehistory.c l->buf[l->pos] = c; c 913 src/simh/linehistory.c char d = ( maskmode == 1 ) ? '*' : (char)c; c 930 src/simh/linehistory.c l->buf[l->pos] = c; c 1313 src/simh/linehistory.c signed char c; c 1317 src/simh/linehistory.c nread = read(l.ifd, &c, 1); c 1331 src/simh/linehistory.c if (c == 9 && completionCallback != NULL) c 1346 src/simh/linehistory.c c = (char)cint; c 1351 src/simh/linehistory.c switch (c) c 1509 src/simh/linehistory.c if (linenoiseEditInsert(&l, c)) c 1614 src/simh/linehistory.c int c = fgetc(stdin); c 1615 src/simh/linehistory.c if (c == EOF || c == '\n') c 1617 src/simh/linehistory.c if (c == EOF && len == 0) c 1630 src/simh/linehistory.c line[len] = c; c 2647 src/simh/scp.c char cbuf[4*CBUFSIZE], gbuf[CBUFSIZE], abuf[4*CBUFSIZE], quote, *c, *do_arg[11]; c 2670 src/simh/scp.c c = abuf; c 2673 src/simh/scp.c while (sim_isspace (*c)) /* skip blanks */ c 2674 src/simh/scp.c c++; c 2675 src/simh/scp.c if (*c == 0) /* all done? */ c 2678 src/simh/scp.c if (*c == '\'' || *c == '"') /* quoted string? */ c 2679 src/simh/scp.c quote = *c++; c 2681 src/simh/scp.c do_arg[nargs++] = c; /* save start */ c 2682 src/simh/scp.c while (*c && (quote ? (*c != quote) : !sim_isspace (*c))) c 2683 src/simh/scp.c c++; c 2684 src/simh/scp.c if (*c) /* term at quote/spc */ c 2685 src/simh/scp.c *c++ = 0; c 7099 src/simh/scp.c int sim_isspace (char c) c 7101 src/simh/scp.c return (c & 0x80) ? 0 : isspace (c); c 7104 src/simh/scp.c int sim_islower (char c) c 7106 src/simh/scp.c return (c & 0x80) ? 0 : islower (c); c 7109 src/simh/scp.c int sim_isalpha (char c) c 7111 src/simh/scp.c return (c & 0x80) ? 0 : isalpha (c); c 7114 src/simh/scp.c int sim_isprint (char c) c 7116 src/simh/scp.c return (c & 0x80) ? 0 : isprint (c); c 7119 src/simh/scp.c int sim_isdigit (char c) c 7121 src/simh/scp.c return (c & 0x80) ? 0 : isdigit (c); c 7124 src/simh/scp.c int sim_isgraph (char c) c 7126 src/simh/scp.c return (c & 0x80) ? 0 : isgraph (c); c 7129 src/simh/scp.c int sim_isalnum (char c) c 7131 src/simh/scp.c return (c & 0x80) ? 0 : isalnum (c); c 7317 src/simh/scp.c const char *c; c 7321 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); c 7322 src/simh/scp.c if (c) { c 7323 src/simh/scp.c *optr = ((*optr)<<4) + (uint8)(c-hex_digits); c 7326 src/simh/scp.c c = strchr (hex_digits, toupper(*iptr)); c 7327 src/simh/scp.c if (c) { c 7328 src/simh/scp.c *optr = ((*optr)<<4) + (uint8)(c-hex_digits); c 7875 src/simh/scp.c int32 c, logop, cmpop; c 7885 src/simh/scp.c for (logop = cmpop = -1; (c = *cptr++); ) { /* loop thru clauses */ c 7886 src/simh/scp.c if ((sptr = strchr (logstr, c))) { /* check for mask */ c 7893 src/simh/scp.c else if ((sptr = strchr (cmpstr, c))) { /* check for boolop */ c 7937 src/simh/scp.c int32 c, logop, cmpop; c 7950 src/simh/scp.c for (logop = cmpop = -1; (c = *cptr++); ) { /* loop thru clauses */ c 7951 src/simh/scp.c if ((sptr = strchr (logstr, c))) { /* check for mask */ c 7961 src/simh/scp.c else if ((sptr = strchr (cmpstr, c))) { /* check for boolop */ c 8121 src/simh/scp.c uint32 c, digit; c 8130 src/simh/scp.c for (c = *inptr; sim_isalnum(c); c = *++inptr) { /* loop through char */ c 8131 src/simh/scp.c if (sim_islower (c)) c 8132 src/simh/scp.c c = toupper (c); c 8133 src/simh/scp.c if (sim_isdigit (c)) /* digit? */ c 8134 src/simh/scp.c digit = c - (uint32) '0'; c 8137 src/simh/scp.c else digit = c + 10 - (uint32) 'A'; /* convert letter */ c 9899 src/simh/scp.c char *c, *remnant = buf; c 9900 src/simh/scp.c while ((c = strchr(remnant, '\n'))) { c 9901 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) c 9902 src/simh/scp.c printf("%.*s\r\n", (int)(c-remnant), remnant); c 9904 src/simh/scp.c printf("%.*s\n", (int)(c-remnant), remnant); c 9905 src/simh/scp.c remnant = c + 1; c 9961 src/simh/scp.c char *c, *remnant = buf; c 9962 src/simh/scp.c while ((c = strchr(remnant, '\n'))) { c 9963 src/simh/scp.c if ((c != buf) && (*(c - 1) != '\r')) c 9964 src/simh/scp.c printf("%.*s\r\n", (int)(c-remnant), remnant); c 9966 src/simh/scp.c printf("%.*s\n", (int)(c-remnant), remnant); c 9967 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 1734 src/simh/sim_console.c int32 c, trys = 0; c 1795 src/simh/sim_console.c c = sim_os_poll_kbd (); /* check for stop char */ c 1796 src/simh/sim_console.c if ((c == SCPE_STOP) || stop_cpu) c 1834 src/simh/sim_console.c t_stat c; c 1839 src/simh/sim_console.c if (sim_send_poll_data (&sim_con_send, &c)) /* injected input characters available? */ c 1840 src/simh/sim_console.c return c; c 1845 src/simh/sim_console.c c = sim_os_poll_kbd (); /* get character */ c 1846 src/simh/sim_console.c if (c == SCPE_STOP) { /* ^E */ c 1852 src/simh/sim_console.c if (c && sim_con_ldsc.rxbps) /* got something && rate limiting? */ c 1855 src/simh/sim_console.c return c; /* in-window */ c 1867 src/simh/sim_console.c if ((c = (t_stat)tmxr_getc_ln (&sim_con_ldsc))) /* any char? */ c 1868 src/simh/sim_console.c return (c & (SCPE_BREAK | 0377)) | SCPE_KFLAG; c 1874 src/simh/sim_console.c t_stat sim_putchar (int32 c) c 1876 src/simh/sim_console.c sim_exp_check (&sim_con_expect, c); c 1880 src/simh/sim_console.c fputc (c, sim_log); c 1881 src/simh/sim_console.c return sim_os_putchar (c); /* in-window version */ c 1889 src/simh/sim_console.c tmxr_putc_ln (&sim_con_ldsc, c); /* output char */ c 2041 src/simh/sim_console.c int c = -1; c 2052 src/simh/sim_console.c while (c == -1) { c 2064 src/simh/sim_console.c c = sim_brk_char | SCPE_BREAK; c 2067 src/simh/sim_console.c c = 0; /* return NUL */ c 2069 src/simh/sim_console.c c = rec.Event.KeyEvent.uChar.AsciiChar; c 2073 src/simh/sim_console.c if ((c & 0177) == sim_del_char) c 2074 src/simh/sim_console.c c = 0177; c 2075 src/simh/sim_console.c if ((c & 0177) == sim_int_char) c 2077 src/simh/sim_console.c if ((sim_brk_char && ((c & 0177) == sim_brk_char)) || (c & SCPE_BREAK)) c 2079 src/simh/sim_console.c return c | SCPE_KFLAG; c 2084 src/simh/sim_console.c static t_stat sim_os_putchar (int32 c) c 2092 src/simh/sim_console.c if (c != 0177) { c 2093 src/simh/sim_console.c if (c == BELL_CHAR) { c 2097 src/simh/sim_console.c WriteConsoleA(std_output, &c, 1, &unused, NULL); c 2102 src/simh/sim_console.c WriteConsoleA(std_output, &c, 1, &unused, NULL); c 2200 src/simh/sim_console.c char c; c 2205 src/simh/sim_console.c c = out; c 2206 src/simh/sim_console.c if (write (1, &c, 1)) {}; c 2308 src/simh/sim_console.c char c; c 2313 src/simh/sim_console.c c = out; c 2314 src/simh/sim_console.c (void)!write (1, &c, 1); c 2330 src/simh/sim_console.c char c; c 2333 src/simh/sim_console.c while ((c = *decoded++ = *encoded++)) /* copy the character */ c 2334 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 216 src/simh/sim_sock.c char *c; c 218 src/simh/sim_sock.c port = strtoul(service, &c, 10); c 219 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 1527 src/simh/sim_tmxr.c int32 c; c 1531 src/simh/sim_tmxr.c while (TMXR_VALID & (c = tmxr_getc_ln (lp))) { c 1548 src/simh/sim_tmxr.c if ((lp->rxpboffset == 0) && (fc_size) && (c != frame_byte)) { c 1559 src/simh/sim_tmxr.c lp->rxpb[lp->rxpboffset++] = c & 0xFF; c 1860 src/simh/sim_tmxr.c #define TXBUF_CHAR(lp, c) { \ c 1861 src/simh/sim_tmxr.c lp->txb[lp->txbpi++] = (char)(c); \