cnt 4471 src/dps8/dps8_cpu.c void dps8_sim_debug (uint32 dbits, DEVICE * dptr, unsigned long long cnt, const char* fmt, ...) cnt 4526 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 3164 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 3169 src/dps8/dps8_ins.c if (cnt < 36) { cnt 3171 src/dps8/dps8_ins.c capture = cpu.rA & barrelLeftMaskTable[cnt + 1]; cnt 3174 src/dps8/dps8_ins.c cpu.rA <<= cnt; cnt 3185 src/dps8/dps8_ins.c if (capture == 0 || capture == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 3493 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 3498 src/dps8/dps8_ins.c if (cnt < 36) { cnt 3500 src/dps8/dps8_ins.c capture = cpu.rQ & barrelLeftMaskTable[cnt + 1]; cnt 3503 src/dps8/dps8_ins.c cpu.rQ <<= cnt; cnt 3514 src/dps8/dps8_ins.c if (capture == 0 || capture == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 4083 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4084 src/dps8/dps8_ins.c cnt %= 36; cnt 4086 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; cnt 4087 src/dps8/dps8_ins.c cpu.rA <<= cnt; cnt 4088 src/dps8/dps8_ins.c highA >>= (36 - cnt); cnt 4089 src/dps8/dps8_ins.c highA &= barrelRightMaskTable[cnt]; cnt 4145 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4148 src/dps8/dps8_ins.c if (cnt >= 36) { cnt 4152 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4155 src/dps8/dps8_ins.c cpu.rA |= barrelLeftMaskTable[cnt]; cnt 4157 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4193 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4194 src/dps8/dps8_ins.c cnt = cnt % 72; // 0-71 cnt 4195 src/dps8/dps8_ins.c if (cnt > 35) { cnt 4196 src/dps8/dps8_ins.c cnt = cnt - 36; cnt 4201 src/dps8/dps8_ins.c word36 highA = cpu.rA & barrelLeftMaskTable[cnt]; cnt 4202 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4203 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4204 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4205 src/dps8/dps8_ins.c cpu.rA = (lowA << cnt) | (highQ >> (36 - cnt)); cnt 4206 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) | (highA >> (36 - cnt)); cnt 4243 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4248 src/dps8/dps8_ins.c if (cnt < 36) { cnt 4250 src/dps8/dps8_ins.c captureA = cpu.rA & barrelLeftMaskTable[cnt + 1]; cnt 4251 src/dps8/dps8_ins.c if (captureA == 0 || captureA == (MASK36 & barrelLeftMaskTable[cnt + 1])) cnt 4257 src/dps8/dps8_ins.c uint cnt72 = cnt < 72 ? cnt : 71; cnt 4268 src/dps8/dps8_ins.c cnt = cnt % 72; // 0-71 cnt 4269 src/dps8/dps8_ins.c if (cnt > 35) { cnt 4270 src/dps8/dps8_ins.c cnt = cnt - 36; cnt 4275 src/dps8/dps8_ins.c word36 lowA = cpu.rA & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4276 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4277 src/dps8/dps8_ins.c word36 lowQ = cpu.rQ & BS_COMPL(barrelLeftMaskTable[cnt]); cnt 4278 src/dps8/dps8_ins.c cpu.rA = (lowA << cnt) | (highQ >> (36 - cnt)); cnt 4279 src/dps8/dps8_ins.c cpu.rQ = (lowQ << cnt) /*| (highA >> (36 - cnt)) */; cnt 4326 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4327 src/dps8/dps8_ins.c if (cnt >= 72) { cnt 4330 src/dps8/dps8_ins.c } else if (cnt < 36) { cnt 4332 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4334 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4336 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; cnt 4338 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4340 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4342 src/dps8/dps8_ins.c lowA <<= (36 - cnt); cnt 4347 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); cnt 4349 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); cnt 4391 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4393 src/dps8/dps8_ins.c if (cnt >= 72) { cnt 4395 src/dps8/dps8_ins.c } else if (cnt < 36) { cnt 4397 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4399 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4401 src/dps8/dps8_ins.c word36 lowA = cpu.rA & barrelRightMaskTable[cnt]; cnt 4403 src/dps8/dps8_ins.c cpu.rA >>= cnt; cnt 4406 src/dps8/dps8_ins.c cpu.rA |= barrelLeftMaskTable[cnt]; cnt 4408 src/dps8/dps8_ins.c cpu.rA &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 4410 src/dps8/dps8_ins.c lowA <<= (36 - cnt); cnt 4415 src/dps8/dps8_ins.c cpu.rQ = cpu.rA >> (cnt - 36); cnt 4418 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt - 36]; cnt 4421 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt - 36]); cnt 4466 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4467 src/dps8/dps8_ins.c cnt %= 36; cnt 4469 src/dps8/dps8_ins.c word36 highQ = cpu.rQ & barrelLeftMaskTable[cnt]; cnt 4470 src/dps8/dps8_ins.c cpu.rQ <<= cnt; cnt 4471 src/dps8/dps8_ins.c highQ >>= (36 - cnt); cnt 4472 src/dps8/dps8_ins.c highQ &= barrelRightMaskTable[cnt]; cnt 4529 src/dps8/dps8_ins.c uint cnt = (uint) cpu.TPR.CA & 0177; // 0-127 cnt 4532 src/dps8/dps8_ins.c if (cnt >= 36) { cnt 4536 src/dps8/dps8_ins.c cpu.rQ >>= cnt; cnt 4539 src/dps8/dps8_ins.c cpu.rQ |= barrelLeftMaskTable[cnt]; cnt 4541 src/dps8/dps8_ins.c cpu.rQ &= BS_COMPL (barrelLeftMaskTable[cnt]); cnt 9659 src/dps8/dps8_ins.c cnt 9661 src/dps8/dps8_ins.c cnt 9681 src/dps8/dps8_ins.c cnt 9691 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 5763 src/simh/scp.c int32 cnt; cnt 5791 src/simh/scp.c cnt = (int32) strtotv (tptr + 1, &t1ptr, 10); cnt 5796 src/simh/scp.c else cnt = 0; cnt 5810 src/simh/scp.c r = ssh_break_one (st, flg, lo, cnt, aptr); cnt 5819 src/simh/scp.c t_stat ssh_break_one (FILE *st, int32 flg, t_addr lo, int32 cnt, CONST char *aptr) cnt 5825 src/simh/scp.c return sim_brk_set (lo, sim_switches, cnt, aptr); cnt 8929 src/simh/scp.c int32 cnt; cnt 8932 src/simh/scp.c cnt = 0; cnt 8934 src/simh/scp.c cnt++; cnt 8935 src/simh/scp.c return cnt; cnt 9095 src/simh/scp.c bp->cnt = 0; cnt 9128 src/simh/scp.c bp->cnt = ncnt; /* set count */ cnt 9265 src/simh/scp.c if (bp->cnt > 0) { cnt 9267 src/simh/scp.c (void)fprintf (st, "[%d]", bp->cnt); } } cnt 9353 src/simh/scp.c if (--bp->cnt > 0) /* count > 0? */ cnt 9355 src/simh/scp.c bp->cnt = 0; /* reset count */ cnt 9428 src/simh/scp.c void sim_brk_npc (uint32 cnt) cnt 9433 src/simh/scp.c if ((cnt == 0) || (cnt > SIM_BKPT_N_SPC)) cnt 9434 src/simh/scp.c cnt = SIM_BKPT_N_SPC; cnt 9437 src/simh/scp.c for (spc = 0; spc < cnt; spc++) cnt 9532 src/simh/scp.c int32 cnt = 0; cnt 9542 src/simh/scp.c cnt = (int32) strtotv (cptr + 1, &c1ptr, 10); cnt 9561 src/simh/scp.c return sim_exp_set (exp, gbuf, cnt, (after_set ? after : exp->after), sim_switches, cptr); cnt 9651 src/simh/scp.c t_stat sim_exp_set (EXPECT *exp, const char *match, int32 cnt, uint32 after, int32 switches, const char *act) cnt 9705 src/simh/scp.c ep->cnt = cnt; /* set proceed count */ cnt 9776 src/simh/scp.c if (ep->cnt > 0) cnt 9777 src/simh/scp.c (void)fprintf (st, " [%d]", ep->cnt); cnt 9913 src/simh/scp.c if (ep->cnt > 0) { cnt 9914 src/simh/scp.c ep->cnt -= 1; cnt 9916 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 */