cnt 4467 src/dps8/dps8_cpu.c void dps8_sim_debug (uint32 dbits, DEVICE * dptr, unsigned long long cnt, const char* fmt, ...) cnt 4522 src/dps8/dps8_cpu.c (long long)t.tv_sec, t.tv_nsec/1000, cnt, cnt 2983 src/dps8/dps8_fnp2.c int cnt = sscanf (cpy, "%c.h%u", & fnpcode, & lineno); cnt 2985 src/dps8/dps8_fnp2.c if (cnt != 2 || fnpcode < 'a' || fnpcode > 'h' || lineno >= MAX_LINES) cnt 3159 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 3164 src/dps8/dps8_ins.c if (cnt < 36) { cnt 3166 src/dps8/dps8_ins.c capture = cpu.rA & barrelLeftMaskTable[cnt + 1]; cnt 3169 src/dps8/dps8_ins.c cpu.rA <<= cnt; cnt 3180 src/dps8/dps8_ins.c if (capture == 0 || capture == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 3488 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 3493 src/dps8/dps8_ins.c if (cnt < 36) { cnt 3495 src/dps8/dps8_ins.c capture = cpu.rQ & barrelLeftMaskTable[cnt + 1]; cnt 3498 src/dps8/dps8_ins.c cpu.rQ <<= cnt; cnt 3509 src/dps8/dps8_ins.c if (capture == 0 || capture == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 4078 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4079 src/dps8/dps8_ins.c cnt %= 36; cnt 4081 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; cnt 4082 src/dps8/dps8_ins.c cpu.rA <<= cnt; cnt 4083 src/dps8/dps8_ins.c highA >>= (36 - cnt); cnt 4084 src/dps8/dps8_ins.c highA &= barrelRightMaskTable[cnt]; cnt 4140 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4143 src/dps8/dps8_ins.c if (cnt >= 36) { cnt 4147 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4150 src/dps8/dps8_ins.c cpu.rA |= barrelLeftMaskTable[cnt]; cnt 4152 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4188 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4189 src/dps8/dps8_ins.c cnt = cnt % 72; // 0-71 cnt 4190 src/dps8/dps8_ins.c if (cnt > 35) { cnt 4191 src/dps8/dps8_ins.c cnt = cnt - 36; cnt 4196 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; cnt 4197 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4198 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4199 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4200 src/dps8/dps8_ins.c cpu.rA = (lowA << cnt) | (highQ >> (36 - cnt)); cnt 4201 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) | (highA >> (36 - cnt)); cnt 4238 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4243 src/dps8/dps8_ins.c if (cnt < 36) { cnt 4245 src/dps8/dps8_ins.c captureA = cpu.rA & barrelLeftMaskTable[cnt + 1]; cnt 4246 src/dps8/dps8_ins.c if (captureA == 0 || captureA == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 4252 src/dps8/dps8_ins.c uint cnt72 = cnt < 72 ? cnt : 71; cnt 4263 src/dps8/dps8_ins.c cnt = cnt % 72; // 0-71 cnt 4264 src/dps8/dps8_ins.c if (cnt > 35) { cnt 4265 src/dps8/dps8_ins.c cnt = cnt - 36; cnt 4270 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4271 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4272 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4273 src/dps8/dps8_ins.c cpu.rA = (lowA << cnt) | (highQ >> (36 - cnt)); cnt 4274 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) /*| (highA >> (36 - cnt)) */; cnt 4321 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4322 src/dps8/dps8_ins.c if (cnt >= 72) { cnt 4325 src/dps8/dps8_ins.c } else if (cnt < 36) { cnt 4327 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4329 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4331 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; cnt 4333 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4335 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4337 src/dps8/dps8_ins.c lowA <<= (36 - cnt); cnt 4342 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); cnt 4344 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); cnt 4386 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4388 src/dps8/dps8_ins.c if (cnt >= 72) { cnt 4390 src/dps8/dps8_ins.c } else if (cnt < 36) { cnt 4392 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4394 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4396 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; cnt 4398 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4401 src/dps8/dps8_ins.c cpu.rA |= barrelLeftMaskTable[cnt]; cnt 4403 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4405 src/dps8/dps8_ins.c lowA <<= (36 - cnt); cnt 4410 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); cnt 4413 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt - 36]; cnt 4416 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); cnt 4461 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4462 src/dps8/dps8_ins.c cnt %= 36; cnt 4464 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4465 src/dps8/dps8_ins.c cpu.rQ <<= cnt; cnt 4466 src/dps8/dps8_ins.c highQ >>= (36 - cnt); cnt 4467 src/dps8/dps8_ins.c highQ &= barrelRightMaskTable[cnt]; cnt 4524 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4527 src/dps8/dps8_ins.c if (cnt >= 36) { cnt 4531 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4534 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt]; cnt 4536 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 9654 src/dps8/dps8_ins.c cnt 9656 src/dps8/dps8_ins.c cnt 9676 src/dps8/dps8_ins.c cnt 9686 src/dps8/dps8_ins.c cnt 1995 src/dps8/dps8_iom.c void iom_indirect_data_service (uint iom_unit_idx, uint chan, word36 * data, uint * cnt, bool write) { cnt 2013 src/dps8/dps8_iom.c uint c = * cnt; cnt 2068 src/dps8/dps8_iom.c * cnt = c; cnt 405 src/dps8/dps8_iom.h uint * cnt, bool write); cnt 1969 src/dps8/dps8_mgp.c int maxfd, numfds, i, sval, cnt, rval = -1; cnt 2077 src/dps8/dps8_mgp.c if (( cnt = read(mgp_dev_state.conns[i].skt, cnt 2090 src/dps8/dps8_mgp.c else if (cnt == 0) cnt 2101 src/dps8/dps8_mgp.c else if (cnt != CBRIDGE_PACKET_HEADER_SIZE) cnt 2105 src/dps8/dps8_mgp.c __func__, cnt, i); cnt 2131 src/dps8/dps8_mgp.c else if (( cnt = read(mgp_dev_state.conns[i].skt, cbuf, clen)) < 0) cnt 2143 src/dps8/dps8_mgp.c else if (cnt != clen) cnt 2147 src/dps8/dps8_mgp.c __func__, cnt, clen, i); cnt 1420 src/dps8/dps8_mt.c uint cnt = 0; cnt 1428 src/dps8/dps8_mt.c if (cnt / 2 >= bufsz) cnt 1448 src/dps8/dps8_mt.c if (cnt % 2 == 0) cnt 1450 src/dps8/dps8_mt.c buffer [cnt / 2] = ((word36) handler) << 18; cnt 1454 src/dps8/dps8_mt.c buffer [cnt / 2] |= handler; cnt 1456 src/dps8/dps8_mt.c cnt ++; cnt 2230 src/dps8/dps8_scu.c int cnt = 0; cnt 2238 src/dps8/dps8_scu.c cnt ++; cnt 2241 src/dps8/dps8_scu.c if (cnt > 1) cnt 158 src/dps8/dps8_simh.h void dps8_sim_debug (uint32 dbits, DEVICE* dptr, unsigned long long cnt, const char* fmt, ...); cnt 418 src/dps8/dps8_socket_dev.c word9 cnt = getbits36_9 (buffer [0], 27); cnt 421 src/dps8/dps8_socket_dev.c cnt 423 src/dps8/dps8_socket_dev.c cnt 436 src/dps8/dps8_socket_dev.c if (cnt > 256) cnt 438 src/dps8/dps8_socket_dev.c sim_warn ("socket$gethostbyname() clipping cnt from %u to 256\n", cnt); cnt 439 src/dps8/dps8_socket_dev.c cnt = 256; cnt 443 src/dps8/dps8_socket_dev.c for (uint i = 0; i < cnt; i ++) cnt 450 src/dps8/dps8_socket_dev.c name[cnt] = 0; cnt 2613 src/dps8/dps8_sys.c int cnt = sscanf (line, cnt 2629 src/dps8/dps8_sys.c if (! (cnt == 2 || cnt == 4 || cnt == 6 || cnt 2630 src/dps8/dps8_sys.c cnt == 8 || cnt == 10 || cnt == 12 || cnt 2631 src/dps8/dps8_sys.c cnt == 14)) cnt 2634 src/dps8/dps8_sys.c for (n = 0; n < cnt / 2; n ++) cnt 2933 src/dps8/dps8_sys.c int cnt = sscanf (filebuf, "%32s %o (%o, %o, %o)", name, & segno, cnt 2935 src/dps8/dps8_sys.c if (filebuf[0] != '\t' && cnt == 5) cnt 2951 src/dps8/dps8_sys.c cnt = sscanf (filebuf, "%32s (%o, %o, %o)", name, cnt 2953 src/dps8/dps8_sys.c if (filebuf[0] != '\t' && cnt == 4) cnt 2968 src/dps8/dps8_sys.c cnt = sscanf (filebuf, "Bindmap for >ldd>h>e>%32s", name); cnt 2969 src/dps8/dps8_sys.c if (cnt != 1) cnt 2970 src/dps8/dps8_sys.c cnt = sscanf (filebuf, "Bindmap for >ldd>hard>e>%32s", name); cnt 2971 src/dps8/dps8_sys.c if (cnt == 1) cnt 2992 src/dps8/dps8_sys.c cnt = sscanf (filebuf, "%32s %o %o %o %o %o %o", name, & txt_start, cnt 2996 src/dps8/dps8_sys.c if (cnt == 7) cnt 3008 src/dps8/dps8_sys.c cnt = sscanf (filebuf, "%32s %o (%o, %o, %o)", name, & segno, cnt 3010 src/dps8/dps8_sys.c if (filebuf[0] == '\t' && cnt == 5) cnt 3361 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); cnt 3362 src/dps8/dps8_sys.c if (cnt != 2) cnt 3589 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%u", & msk); cnt 3590 src/dps8/dps8_sys.c if (cnt != 1) cnt 413 src/libsir/src/sirhelpers.c size_t cnt = 0; cnt 416 src/libsir/src/sirhelpers.c return cnt; cnt 418 src/libsir/src/sirhelpers.c while (cnt < (size_t)max && (i = strchr(i, c)) != NULL) { cnt 420 src/libsir/src/sirhelpers.c cnt++; cnt 423 src/libsir/src/sirhelpers.c return cnt; cnt 1128 src/simh/linehistory.c int cnt; cnt 1131 src/simh/linehistory.c cnt = history_len - 2 - l->history_index; cnt 1132 src/simh/linehistory.c for (; cnt >= 0; cnt--) cnt 1139 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) cnt 1141 src/simh/linehistory.c strncpy(l->buf, history[cnt], l->buflen); cnt 1151 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; cnt 1159 src/simh/linehistory.c cnt = history_len - l->history_index; cnt 1160 src/simh/linehistory.c for (; cnt < history_len; cnt++) cnt 1167 src/simh/linehistory.c if (strncmp(l->buf, history[cnt], l->pos) == 0) cnt 1169 src/simh/linehistory.c strncpy(l->buf, history[cnt], l->buflen); cnt 1179 src/simh/linehistory.c l->history_index = history_len - 1 - cnt; cnt 361 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr); cnt 5775 src/simh/scp.c int32 cnt; cnt 5803 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); cnt 5808 src/simh/scp.c else cnt = 0; cnt 5822 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); cnt 5831 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr) cnt 5837 src/simh/scp.c return sim_brk_set (lo, sim_switches, cnt, aptr); cnt 8941 src/simh/scp.c int32 cnt; cnt 8944 src/simh/scp.c cnt = 0; cnt 8946 src/simh/scp.c cnt++; cnt 8947 src/simh/scp.c return cnt; cnt 9107 src/simh/scp.c bp->cnt = 0; cnt 9140 src/simh/scp.c bp->cnt = ncnt; /* set count */ cnt 9277 src/simh/scp.c if (bp->cnt > 0) { cnt 9279 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } cnt 9365 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ cnt 9367 src/simh/scp.c bp->cnt = 0; /* reset count */ cnt 9440 src/simh/scp.c void sim_brk_npc (uint32 cnt) cnt 9445 src/simh/scp.c if ((cnt == 0) || (cnt > SIM_BKPT_N_SPC)) cnt 9446 src/simh/scp.c cnt = SIM_BKPT_N_SPC; cnt 9449 src/simh/scp.c for (spc = 0; spc < cnt; spc++) cnt 9544 src/simh/scp.c int32 cnt = 0; cnt 9554 src/simh/scp.c cnt = (int32) strtotv (cptr + 1, &c1ptr, 10); cnt 9573 src/simh/scp.c return sim_exp_set (exp, gbuf, cnt, (after_set ? after : exp->after), sim_switches, cptr); cnt 9663 src/simh/scp.c t_stat sim_exp_set (EXPECT *exp, const char *match, int32 cnt, uint32 after, int32 switches, const char *act) cnt 9717 src/simh/scp.c ep->cnt = cnt; /* set proceed count */ cnt 9788 src/simh/scp.c if (ep->cnt > 0) cnt 9789 src/simh/scp.c (void)fprintf (st, " [%d]", ep->cnt); cnt 9925 src/simh/scp.c if (ep->cnt > 0) { cnt 9926 src/simh/scp.c ep->cnt -= 1; cnt 9928 src/simh/scp.c (long long)ep->cnt, (ep->cnt == 1) ? "" : "es"); cnt 178 src/simh/scp.h void sim_brk_npc (uint32 cnt); cnt 187 src/simh/scp.h t_stat sim_exp_set (EXPECT *exp, const char *match, int32 cnt, uint32 after, int32 switches, const char *act); cnt 609 src/simh/sim_defs.h int32 cnt; /* proceed count */ cnt 629 src/simh/sim_defs.h int32 cnt; /* proceed count */