j 748 src/decNumber/decNumber.c Int i, j; j 753 src/decNumber/decNumber.c j=a%10; j 755 src/decNumber/decNumber.c j|=b%10; j 757 src/decNumber/decNumber.c if (j>1) { j 1105 src/decNumber/decNumber.c Int i, j; // work j 1113 src/decNumber/decNumber.c j=a%10; j 1115 src/decNumber/decNumber.c if (j>1) { j 1705 src/decNumber/decNumber.c Int i, j; j 1709 src/decNumber/decNumber.c j=a%10; j 1711 src/decNumber/decNumber.c j|=b%10; j 1713 src/decNumber/decNumber.c if (j>1) { j 3088 src/decNumber/decNumber.c Int i, j; j 3092 src/decNumber/decNumber.c j=a%10; j 3094 src/decNumber/decNumber.c j|=b%10; j 3096 src/decNumber/decNumber.c if (j>1) { j 1497 src/dps8/dps8_console.c j 1498 src/dps8/dps8_console.c j 1513 src/dps8/dps8_console.c j 1514 src/dps8/dps8_console.c j 3410 src/dps8/dps8_cpu.c for (uint j = 0 ; j < 32 ; j += 1) j 3411 src/dps8/dps8_cpu.c ReadOperandRead (addr + j, cpu.Yblock32 + j); j 3441 src/dps8/dps8_cpu.c for (uint j = 0 ; j < 32 ; j += 1) j 3442 src/dps8/dps8_cpu.c ReadOperandRMW (addr + j, cpu.Yblock32 + j); j 4519 src/dps8/dps8_cpu.c int32 i, j, len; j 4565 src/dps8/dps8_cpu.c for (i = j = 0; i < len; ++i) j 4569 src/dps8/dps8_cpu.c if (i >= j) j 4571 src/dps8/dps8_cpu.c if ((i != j) || (i == 0)) j 4575 src/dps8/dps8_cpu.c current_running_cpu_idx, dptr->name, debug_type, i-j, &buf[j]); j 4578 src/dps8/dps8_cpu.c j = i + 1; j 742 src/dps8/dps8_crdrdr.c j 743 src/dps8/dps8_crdrdr.c j 597 src/dps8/dps8_decimal.c j 598 src/dps8/dps8_decimal.c j 618 src/dps8/dps8_decimal.c j 619 src/dps8/dps8_decimal.c j 10322 src/dps8/dps8_eis.c for(int j = 0 ; j < n2 ; j++) j 10326 src/dps8/dps8_eis.c EISwrite49(&e->ADDR3, &pos, (int) dstTN, (word9) (res[j] - '0')); j 10329 src/dps8/dps8_eis.c EISwrite49(&e->ADDR3, &pos, (int) dstTN, (word9) res[j]); j 12613 src/dps8/dps8_eis.c j 12614 src/dps8/dps8_eis.c j 12634 src/dps8/dps8_eis.c j 12635 src/dps8/dps8_eis.c j 541 src/dps8/dps8_fnp2.c uint j = 0; j 542 src/dps8/dps8_fnp2.c for (uint i = 0; i < n_chars; i += 4, j++) j 553 src/dps8/dps8_fnp2.c iom_direct_data_service (iom_unit_idx, chan_num, fsmbx+MYSTERY+j, & v, direct_store); j 502 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < 16; j ++) j 504 src/dps8/dps8_fnp2_iomcmd.c !! getbits36_1 (w, j); j 505 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < 16; j ++) j 507 src/dps8/dps8_fnp2_iomcmd.c !! getbits36_1 (w, j + 18); j 516 src/dps8/dps8_fnp2_iomcmd.c j 517 src/dps8/dps8_fnp2_iomcmd.c j 1278 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < n_buffers && off < n_chars; j++) j 1281 src/dps8/dps8_fnp2_iomcmd.c iom_direct_data_service (decoded_p->iom_unit, decoded_p->chan_num, decoded_p->fsmbx+DCWS+j, & data, direct_load); j 3078 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) j 3378 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) j 3937 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 3990 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp18 ; j ++) j 4016 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4057 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) j 4094 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4130 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) j 4162 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4215 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 7316 src/dps8/dps8_ins.c uint j = (uint)m * 2; j 7317 src/dps8/dps8_ins.c cpu.SDWAM[m].ADDR = getbits36_24 (cpu.Yblock32[j], 0); j 7318 src/dps8/dps8_ins.c cpu.SDWAM[m].R1 = getbits36_3 (cpu.Yblock32[j], 24); j 7319 src/dps8/dps8_ins.c cpu.SDWAM[m].R2 = getbits36_3 (cpu.Yblock32[j], 27); j 7320 src/dps8/dps8_ins.c cpu.SDWAM[m].R3 = getbits36_3 (cpu.Yblock32[j], 30); j 7322 src/dps8/dps8_ins.c cpu.SDWAM[m].BOUND = getbits36_14 (cpu.Yblock32[j + 1], 37 - 36); j 7323 src/dps8/dps8_ins.c cpu.SDWAM[m].R = getbits36_1 (cpu.Yblock32[j + 1], 51 - 36); j 7324 src/dps8/dps8_ins.c cpu.SDWAM[m].E = getbits36_1 (cpu.Yblock32[j + 1], 52 - 36); j 7325 src/dps8/dps8_ins.c cpu.SDWAM[m].W = getbits36_1 (cpu.Yblock32[j + 1], 53 - 36); j 7326 src/dps8/dps8_ins.c cpu.SDWAM[m].P = getbits36_1 (cpu.Yblock32[j + 1], 54 - 36); j 7327 src/dps8/dps8_ins.c cpu.SDWAM[m].U = getbits36_1 (cpu.Yblock32[j + 1], 55 - 36); j 7328 src/dps8/dps8_ins.c cpu.SDWAM[m].G = getbits36_1 (cpu.Yblock32[j + 1], 56 - 36); j 7329 src/dps8/dps8_ins.c cpu.SDWAM[m].C = getbits36_1 (cpu.Yblock32[j + 1], 57 - 36); j 7330 src/dps8/dps8_ins.c cpu.SDWAM[m].EB = getbits36_14 (cpu.Yblock32[j + 1], 58 - 36); j 7454 src/dps8/dps8_ins.c for (int j = 0; j < 8; j ++) j 7455 src/dps8/dps8_ins.c cpu.Yblock8[j] = cpu.scu_data[j]; j 7486 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7488 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; j 7489 src/dps8/dps8_ins.c putbits36_15 (& cpu.Yblock16[j], 0, j 7490 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].POINTER); j 7492 src/dps8/dps8_ins.c putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO & 07760); j 7495 src/dps8/dps8_ins.c if (cpu.PTWAM[toffset + j].FE) { j 7498 src/dps8/dps8_ins.c parity = ((uint) cpu.PTWAM[toffset + j].POINTER << 4) | (cpu.PTWAM[toffset + j].PAGENO >> 8); j 7504 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 23, (word1) (parity & 1)); j 7506 src/dps8/dps8_ins.c L68_ (putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO); ) j 7507 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, j 7508 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].FE); j 7509 src/dps8/dps8_ins.c DPS8M_ (putbits36_6 (& cpu.Yblock16[j], 30, cpu.PTWAM[toffset + j].USE);) j 7510 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.PTWAM[toffset + j].USE);) j 7525 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7527 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; j 7528 src/dps8/dps8_ins.c DPS8M_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR & 0777760);) j 7529 src/dps8/dps8_ins.c L68_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR);) j 7530 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 29, j 7531 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].M); j 7545 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7547 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; j 7548 src/dps8/dps8_ins.c putbits36_15 (& cpu.Yblock16[j], 0, j 7549 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].POINTER); j 7550 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, j 7551 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].FE); j 7554 src/dps8/dps8_ins.c if (cpu.SDWAM[toffset + j].FE) { j 7557 src/dps8/dps8_ins.c parity = cpu.SDWAM[toffset + j].POINTER >> 4; j 7563 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 15, (word1) (parity & 1)); j 7565 src/dps8/dps8_ins.c putbits36_6 (& cpu.Yblock16[j], 30, cpu.SDWAM[toffset + j].USE); j 7567 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.SDWAM[toffset + j].USE);) j 7583 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7585 src/dps8/dps8_ins.c cpu.Yblock32[j * 2] = 0; j 7586 src/dps8/dps8_ins.c putbits36_24 (& cpu.Yblock32[j * 2], 0, j 7587 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].ADDR); j 7588 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 24, j 7589 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R1); j 7590 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 27, j 7591 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R2); j 7592 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 30, j 7593 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R3); j 7594 src/dps8/dps8_ins.c cpu.Yblock32[j * 2 + 1] = 0; j 7596 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 37 - 36, j 7597 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].BOUND); j 7598 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 51 - 36, j 7599 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R); j 7600 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 52 - 36, j 7601 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].E); j 7602 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 53 - 36, j 7603 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].W); j 7604 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 54 - 36, j 7605 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].P); j 7606 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 55 - 36, j 7607 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].U); j 7608 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 56 - 36, j 7609 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].G); j 7610 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 57 - 36, j 7611 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].C); j 7612 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 58 - 36, j 7613 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].EB); j 3566 src/dps8/dps8_iom.c for (uint j = 0; j < MAX_CHANNELS; j++) j 3568 src/dps8/dps8_iom.c iom_chan_data_t * p = &iom_chan_data [i] [j]; j 3572 src/dps8/dps8_iom.c doPayloadChannel (i, j); j 285 src/dps8/dps8_math128.c int i, j; j 290 src/dps8/dps8_math128.c for (j = 0; j < n; j++) j 295 src/dps8/dps8_math128.c t = (uint64_t) u[i] * (uint64_t) v[j] + (uint64_t) w[i + j] + k; j 297 src/dps8/dps8_math128.c w[i + j] = (uint32_t) t; // (i.e., t & 0xFFFF). j 300 src/dps8/dps8_math128.c w[j + m] = (uint32_t) k; j 316 src/dps8/dps8_math128.c for (int j = 0; j < n; j++) j 318 src/dps8/dps8_math128.c int t = (int) w[j + m] - (int) v[j] - b; j 319 src/dps8/dps8_math128.c w[j + m] = (uint32_t) t; j 390 src/dps8/dps8_math128.c int s, i, j, t, k; j 399 src/dps8/dps8_math128.c for (j = m - 1; j >= 0; j--) j 401 src/dps8/dps8_math128.c q[j] = (uint16_t) (((unsigned int) k*b + u[j])/v[0]); // divisor here. j 402 src/dps8/dps8_math128.c k = (int) (((unsigned int) k*b + u[j]) - q[j]*v[0]); j 426 src/dps8/dps8_math128.c for (j = m - n; j >= 0; j--) j 429 src/dps8/dps8_math128.c qhat = (un[j+n]*b + un[j+n-1])/vn[n-1]; j 430 src/dps8/dps8_math128.c rhat = (un[j+n]*b + un[j+n-1])%vn[n-1]; j 432 src/dps8/dps8_math128.c if (qhat >= b || (unsigned)qhat*(unsigned long long)vn[n-2] > b*rhat + un[j+n-2]) j 444 src/dps8/dps8_math128.c t = (int32_t) un[i+j] - k - (int32_t) (p & 0xFFFF); j 445 src/dps8/dps8_math128.c un[i+j] = (uint16_t) t; j 448 src/dps8/dps8_math128.c t = un[j+n] - k; j 449 src/dps8/dps8_math128.c un[j+n] = (uint16_t) t; j 451 src/dps8/dps8_math128.c q[j] = (uint16_t) qhat; // Store quotient digit. j 454 src/dps8/dps8_math128.c q[j] = q[j] - 1; // much, add back. j 458 src/dps8/dps8_math128.c t = un[i+j] + vn[i] + k; j 459 src/dps8/dps8_math128.c un[i+j] = (uint16_t) t; j 462 src/dps8/dps8_math128.c un[j+n] = (uint16_t) (un[j+n] + k); j 844 src/dps8/dps8_mgp.c int j; j 846 src/dps8/dps8_mgp.c for (j = 0; j < words * 4 && j < dlen; j++) j 849 src/dps8/dps8_mgp.c dest[j] = getbits36_9(buf[MGP_PACKET_HEADER_SIZE + j / 4], ( j % 4 ) * 9); j 858 src/dps8/dps8_mgp.c int j; j 860 src/dps8/dps8_mgp.c for (j = 0; j < words * 4 && j < slen; j++) j 862 src/dps8/dps8_mgp.c putbits36_9(&buf[MGP_PACKET_HEADER_SIZE + j / 4], ( j % 4 ) * 9, src[j]); j 871 src/dps8/dps8_mgp.c int j, cks = 0; j 873 src/dps8/dps8_mgp.c for (j = 2; j < words * 4; j++) j 875 src/dps8/dps8_mgp.c cks += getbits36_9(buf[j / 4], ( j % 4 ) * 9); j 689 src/dps8/dps8_prt.c j 691 src/dps8/dps8_prt.c j 695 src/dps8/dps8_prt.c j 706 src/dps8/dps8_prt.c j 669 src/dps8/dps8_scu.c for (int j = 0; j < N_CELL_INTERRUPTS; j ++) j 670 src/dps8/dps8_scu.c sim_printf("%d", scup -> cells [j]); j 2413 src/dps8/dps8_sys.c for (int j = 0; j < n_book_components; j ++) j 2415 src/dps8/dps8_sys.c if (book_components[j].book_segment_number != i) j 2417 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && j 2418 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) j 2421 src/dps8/dps8_sys.c book_components[j].compname, j 2422 src/dps8/dps8_sys.c offset - book_components[j].txt_start); j 2424 src/dps8/dps8_sys.c * compname = book_components[j].compname; j 2426 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; j 2429 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && j 2430 src/dps8/dps8_sys.c book_components[j].txt_start > bestoffset) j 2432 src/dps8/dps8_sys.c best = j; j 2433 src/dps8/dps8_sys.c bestoffset = book_components[j].txt_start; j 2541 src/dps8/dps8_sys.c for (int j = 0; j < n_book_components; j ++) j 2543 src/dps8/dps8_sys.c if (book_components[j].book_segment_number != i) j 2545 src/dps8/dps8_sys.c if (strcmp (book_components[j].compname, compname) == 0) j 2548 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; j 3081 src/dps8/dps8_sys.c j 3083 src/dps8/dps8_sys.c j 3086 src/dps8/dps8_sys.c j 3087 src/dps8/dps8_sys.c j 3088 src/dps8/dps8_sys.c j 3089 src/dps8/dps8_sys.c j 3090 src/dps8/dps8_sys.c j 3091 src/dps8/dps8_sys.c j 3092 src/dps8/dps8_sys.c j 158 src/dps8/utarray.h # define utarray_eltptr(a,j) (((j) < (a)->i) ? _utarray_eltptr(a,j) : NULL) j 159 src/dps8/utarray.h # define _utarray_eltptr(a,j) ((char*)((a)->d + ((a)->icd.sz*(j) ))) j 161 src/dps8/utarray.h # define utarray_insert(a,p,j) do { \ j 162 src/dps8/utarray.h if (j > (a)->i) utarray_resize(a,j); \ j 164 src/dps8/utarray.h if ((j) < (a)->i) { \ j 165 src/dps8/utarray.h memmove( _utarray_eltptr(a,(j)+1), _utarray_eltptr(a,j), \ j 166 src/dps8/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ j 168 src/dps8/utarray.h if ((a)->icd.copy) { (a)->icd.copy( _utarray_eltptr(a,j), p); } \ j 169 src/dps8/utarray.h else { memcpy(_utarray_eltptr(a,j), p, (a)->icd.sz); }; \ j 173 src/dps8/utarray.h # define utarray_inserta(a,w,j) do { \ j 175 src/dps8/utarray.h if (j > (a)->i) utarray_resize(a,j); \ j 177 src/dps8/utarray.h if ((j) < (a)->i) { \ j 178 src/dps8/utarray.h memmove(_utarray_eltptr(a,(j)+utarray_len(w)), \ j 179 src/dps8/utarray.h _utarray_eltptr(a,j), \ j 180 src/dps8/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ j 185 src/dps8/utarray.h (a)->icd.copy(_utarray_eltptr(a,j+_ut_i), _utarray_eltptr(w,_ut_i)); \ j 188 src/dps8/utarray.h memcpy(_utarray_eltptr(a,j), _utarray_eltptr(w,0), \ j 209 src/simh/linehistory.c int j; j 216 src/simh/linehistory.c for (j = 0; unsupported_term[j]; j++) j 218 src/simh/linehistory.c if (!strcasecmp(term, unsupported_term[j])) j 769 src/simh/linehistory.c int fd = l->ofd, j; j 791 src/simh/linehistory.c for (j = 0; j < old_rows - 1; j++) j 1716 src/simh/linehistory.c int j; j 1718 src/simh/linehistory.c for (j = 0; j < history_len; j++) j 1720 src/simh/linehistory.c FREE(history[j]); j 1827 src/simh/linehistory.c int j; j 1829 src/simh/linehistory.c for (j = 0; j < tocopy - len; j++) j 1831 src/simh/linehistory.c FREE(history[j]); j 169 src/simh/scp.c #define SZ_LOAD(sz,v,mb,j) \ j 170 src/simh/scp.c if (sz == sizeof (uint8)) v = *(((uint8 *) mb) + ((uint32) j)); \ j 171 src/simh/scp.c else if (sz == sizeof (uint16)) v = *(((uint16 *) mb) + ((uint32) j)); \ j 172 src/simh/scp.c else if (sz == sizeof (uint32)) v = *(((uint32 *) mb) + ((uint32) j)); \ j 173 src/simh/scp.c else v = *(((t_uint64 *) mb) + ((uint32) j)); j 175 src/simh/scp.c #define SZ_STORE(sz,v,mb,j) \ j 176 src/simh/scp.c if (sz == sizeof (uint8)) *(((uint8 *) mb) + j) = (uint8) v; \ j 177 src/simh/scp.c else if (sz == sizeof (uint16)) *(((uint16 *) mb) + ((uint32) j)) = (uint16) v; \ j 178 src/simh/scp.c else if (sz == sizeof (uint32)) *(((uint32 *) mb) + ((uint32) j)) = (uint32) v; \ j 179 src/simh/scp.c else *(((t_uint64 *) mb) + ((uint32) j)) = v; j 4167 src/simh/scp.c uint32 j, udbl, ucnt; j 4184 src/simh/scp.c for (j = ucnt = udbl = 0; j < dptr->numunits; j++) { /* count units */ j 4185 src/simh/scp.c uptr = dptr->units + j; j 4216 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* loop thru units */ j 4217 src/simh/scp.c uptr = dptr->units + j; j 5779 src/simh/scp.c uint32 i, j; j 5789 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* loop thru units */ j 5790 src/simh/scp.c uptr = (dptr->units) + j; j 5884 src/simh/scp.c uint32 i, j; j 6017 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* seq devices */ j 6018 src/simh/scp.c uptr = dptr->units + j; j 6127 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* if not buffered in mem */ j 6128 src/simh/scp.c uptr = dptr->units + j; j 6748 src/simh/scp.c t_addr j, loc; j 6757 src/simh/scp.c for (i = 0, j = addr; i < sim_emax; i++, j = j + dptr->aincr) { j 6759 src/simh/scp.c reason = dptr->examine (&sim_eval[i], j, uptr, sim_switches); j 6768 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) { j 6773 src/simh/scp.c loc = j / dptr->aincr; j 6817 src/simh/scp.c t_addr j, loc; j 6847 src/simh/scp.c for (i = 0, j = addr; i < count; i++, j = j + dptr->aincr) { j 6850 src/simh/scp.c r = dptr->deposit (sim_eval[i], j, uptr, sim_switches); j 6859 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) j 6862 src/simh/scp.c loc = j / dptr->aincr; j 7561 src/simh/scp.c uint32 i, j; j 7566 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { j 7567 src/simh/scp.c if (uptr == (dptr->units + j)) j 7573 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { j 7574 src/simh/scp.c if (uptr == (dptr->units + j)) j 10001 src/simh/scp.c int32 i, j, len; j 10029 src/simh/scp.c for (i = j = 0; i < len; ++i) { j 10031 src/simh/scp.c if (i >= j) { j 10032 src/simh/scp.c if ((i != j) || (i == 0)) { j 10034 src/simh/scp.c fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); j 10036 src/simh/scp.c fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); j 10040 src/simh/scp.c j = i + 1; j 10043 src/simh/scp.c if (i > j) { j 10045 src/simh/scp.c fprintf (sim_deb, "%.*s", i-j, &buf[j]); j 10047 src/simh/scp.c fprintf (sim_deb, "%s%.*s", debug_prefix, i-j, &buf[j]); j 638 src/simh/sim_console.c int32 i, j, c = 0; j 683 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { j 684 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; j 685 src/simh/sim_console.c if ((i == j) || (!lpj->conn)) j 706 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { j 707 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; j 708 src/simh/sim_console.c if ((i == j) || (!lpj->conn)) j 978 src/simh/sim_console.c for (j=0; j < sim_rem_con_tmxr.lines; j++) { j 979 src/simh/sim_console.c TMLN *lpj = &sim_rem_con_tmxr.ldsc[j]; j 980 src/simh/sim_console.c if ((i == j) || (!lpj->conn)) j 108 src/simh/sim_fio.c uint32 j; j 114 src/simh/sim_fio.c for (j = 0, dptr = sptr = (unsigned char *) bptr; /* loop on items */ j 115 src/simh/sim_fio.c j < count; j++) { j 140 src/simh/sim_fio.c size_t j; j 149 src/simh/sim_fio.c for (j = 0; j < count; j++) { /* loop on items */ j 804 src/simh/sim_tmxr.c int32 i, j; j 937 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++, i++) { /* find next avail line */ j 941 src/simh/sim_tmxr.c i = j; /* get next sequential line */ j 955 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++, i++) { /* find next avail line */ j 956 src/simh/sim_tmxr.c lp = mp->ldsc + j; /* get pointer to line descriptor */ j 1033 src/simh/sim_tmxr.c int j, r = (int)random(); j 1056 src/simh/sim_tmxr.c for (j=0; j<2; j++) j 1057 src/simh/sim_tmxr.c switch (((unsigned)j+(unsigned)r)&1) { j 1472 src/simh/sim_tmxr.c int32 j; j 1480 src/simh/sim_tmxr.c j = lp->rxbpi - lp->rxbpr; /* # input chrs */ j 1481 src/simh/sim_tmxr.c if (j) { /* any? */ j 1587 src/simh/sim_tmxr.c int32 i, nbytes, j; j 1615 src/simh/sim_tmxr.c j = lp->rxbpi; /* start of data */ j 1622 src/simh/sim_tmxr.c for (; j < lp->rxbpi; ) { /* loop thru char */ j 1623 src/simh/sim_tmxr.c u_char tmp = (u_char)lp->rxb[j]; /* get char */ j 1629 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 1634 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1640 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1645 src/simh/sim_tmxr.c lp->rxb[j] = 0; /* char is null */ j 1646 src/simh/sim_tmxr.c lp->rbr[j] = 1; /* flag break */ j 1647 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1675 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 1732 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove it */ j 1754 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove it */ j 1803 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 2935 src/simh/sim_tmxr.c int i, j; j 2939 src/simh/sim_tmxr.c for (j=i+1; j<tmxr_open_device_count; ++j) j 2940 src/simh/sim_tmxr.c tmxr_open_devices[j-1] = tmxr_open_devices[j]; j 3042 src/simh/sim_tmxr.c int i, j; j 3085 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++) { j 3086 src/simh/sim_tmxr.c lp = mp->ldsc + j; j 3090 src/simh/sim_tmxr.c fprintf (st, "Line: %d", j); j 3883 src/simh/sim_tmxr.c int32 i, j, low, last; j 3897 src/simh/sim_tmxr.c for (j = 1; j <= mp->lines; j++) { /* print remaining lines in order list */ j 3898 src/simh/sim_tmxr.c if (j < mp->lines) /* more lines to process? */