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 1489 src/dps8/dps8_console.c j 1490 src/dps8/dps8_console.c j 1505 src/dps8/dps8_console.c j 1506 src/dps8/dps8_console.c j 3277 src/dps8/dps8_cpu.c for (uint j = 0 ; j < 32 ; j += 1) j 3278 src/dps8/dps8_cpu.c Read (addr + j, cpu.Yblock32 + j, cyctyp); j 4360 src/dps8/dps8_cpu.c int32 i, j, len; j 4396 src/dps8/dps8_cpu.c for (i = j = 0; i < len; ++i) j 4400 src/dps8/dps8_cpu.c if (i >= j) j 4402 src/dps8/dps8_cpu.c if ((i != j) || (i == 0)) j 4406 src/dps8/dps8_cpu.c current_running_cpu_idx, dptr->name, debug_type, i-j, &buf[j]); j 4409 src/dps8/dps8_cpu.c j = i + 1; j 734 src/dps8/dps8_crdrdr.c j 735 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 10323 src/dps8/dps8_eis.c for(int j = 0 ; j < n2 ; j++) j 10327 src/dps8/dps8_eis.c EISwrite49(&e->ADDR3, &pos, (int) dstTN, (word9) (res[j] - '0')); j 10330 src/dps8/dps8_eis.c EISwrite49(&e->ADDR3, &pos, (int) dstTN, (word9) res[j]); j 12614 src/dps8/dps8_eis.c j 12615 src/dps8/dps8_eis.c j 12635 src/dps8/dps8_eis.c j 12636 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 1279 src/dps8/dps8_fnp2_iomcmd.c for (uint j = 0; j < n_buffers && off < n_chars; j++) j 1282 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 3058 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) j 3358 src/dps8/dps8_ins.c for (uint j = 0; j < tmp36; j ++) j 3917 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 3970 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp18 ; j ++) j 3996 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4037 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) j 4074 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4110 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j ++) j 4142 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 4195 src/dps8/dps8_ins.c for (uint j = 0 ; j < tmp36 ; j++) j 7296 src/dps8/dps8_ins.c uint j = (uint)m * 2; j 7297 src/dps8/dps8_ins.c cpu.SDWAM[m].ADDR = getbits36_24 (cpu.Yblock32[j], 0); j 7298 src/dps8/dps8_ins.c cpu.SDWAM[m].R1 = getbits36_3 (cpu.Yblock32[j], 24); j 7299 src/dps8/dps8_ins.c cpu.SDWAM[m].R2 = getbits36_3 (cpu.Yblock32[j], 27); j 7300 src/dps8/dps8_ins.c cpu.SDWAM[m].R3 = getbits36_3 (cpu.Yblock32[j], 30); j 7302 src/dps8/dps8_ins.c cpu.SDWAM[m].BOUND = getbits36_14 (cpu.Yblock32[j + 1], 37 - 36); j 7303 src/dps8/dps8_ins.c cpu.SDWAM[m].R = getbits36_1 (cpu.Yblock32[j + 1], 51 - 36); j 7304 src/dps8/dps8_ins.c cpu.SDWAM[m].E = getbits36_1 (cpu.Yblock32[j + 1], 52 - 36); j 7305 src/dps8/dps8_ins.c cpu.SDWAM[m].W = getbits36_1 (cpu.Yblock32[j + 1], 53 - 36); j 7306 src/dps8/dps8_ins.c cpu.SDWAM[m].P = getbits36_1 (cpu.Yblock32[j + 1], 54 - 36); j 7307 src/dps8/dps8_ins.c cpu.SDWAM[m].U = getbits36_1 (cpu.Yblock32[j + 1], 55 - 36); j 7308 src/dps8/dps8_ins.c cpu.SDWAM[m].G = getbits36_1 (cpu.Yblock32[j + 1], 56 - 36); j 7309 src/dps8/dps8_ins.c cpu.SDWAM[m].C = getbits36_1 (cpu.Yblock32[j + 1], 57 - 36); j 7310 src/dps8/dps8_ins.c cpu.SDWAM[m].EB = getbits36_14 (cpu.Yblock32[j + 1], 58 - 36); j 7434 src/dps8/dps8_ins.c for (int j = 0; j < 8; j ++) j 7435 src/dps8/dps8_ins.c cpu.Yblock8[j] = cpu.scu_data[j]; j 7466 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7468 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; j 7469 src/dps8/dps8_ins.c putbits36_15 (& cpu.Yblock16[j], 0, j 7470 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].POINTER); j 7472 src/dps8/dps8_ins.c putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO & 07760); j 7475 src/dps8/dps8_ins.c if (cpu.PTWAM[toffset + j].FE) { j 7478 src/dps8/dps8_ins.c parity = ((uint) cpu.PTWAM[toffset + j].POINTER << 4) | (cpu.PTWAM[toffset + j].PAGENO >> 8); j 7484 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 23, (word1) (parity & 1)); j 7486 src/dps8/dps8_ins.c L68_ (putbits36_12 (& cpu.Yblock16[j], 15, cpu.PTWAM[toffset + j].PAGENO); ) j 7487 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, j 7488 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].FE); j 7489 src/dps8/dps8_ins.c DPS8M_ (putbits36_6 (& cpu.Yblock16[j], 30, cpu.PTWAM[toffset + j].USE);) j 7490 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.PTWAM[toffset + j].USE);) j 7505 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7507 src/dps8/dps8_ins.c cpu.Yblock16[j] = 0; j 7508 src/dps8/dps8_ins.c DPS8M_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR & 0777760);) j 7509 src/dps8/dps8_ins.c L68_ (putbits36_18 (& cpu.Yblock16[j], 0, cpu.PTWAM[toffset + j].ADDR);) j 7510 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 29, j 7511 src/dps8/dps8_ins.c cpu.PTWAM[toffset + j].M); 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 putbits36_15 (& cpu.Yblock16[j], 0, j 7529 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].POINTER); j 7530 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 27, j 7531 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].FE); j 7534 src/dps8/dps8_ins.c if (cpu.SDWAM[toffset + j].FE) { j 7537 src/dps8/dps8_ins.c parity = cpu.SDWAM[toffset + j].POINTER >> 4; j 7543 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock16[j], 15, (word1) (parity & 1)); j 7545 src/dps8/dps8_ins.c putbits36_6 (& cpu.Yblock16[j], 30, cpu.SDWAM[toffset + j].USE); j 7547 src/dps8/dps8_ins.c L68_ (putbits36_4 (& cpu.Yblock16[j], 32, cpu.SDWAM[toffset + j].USE);) j 7563 src/dps8/dps8_ins.c for (uint j = 0; j < 16; j ++) j 7565 src/dps8/dps8_ins.c cpu.Yblock32[j * 2] = 0; j 7566 src/dps8/dps8_ins.c putbits36_24 (& cpu.Yblock32[j * 2], 0, j 7567 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].ADDR); j 7568 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 24, j 7569 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R1); j 7570 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 27, j 7571 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R2); j 7572 src/dps8/dps8_ins.c putbits36_3 (& cpu.Yblock32[j * 2], 30, j 7573 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R3); j 7574 src/dps8/dps8_ins.c cpu.Yblock32[j * 2 + 1] = 0; j 7576 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 37 - 36, j 7577 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].BOUND); j 7578 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 51 - 36, j 7579 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].R); j 7580 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 52 - 36, j 7581 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].E); j 7582 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 53 - 36, j 7583 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].W); j 7584 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 54 - 36, j 7585 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].P); j 7586 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 55 - 36, j 7587 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].U); j 7588 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 56 - 36, j 7589 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].G); j 7590 src/dps8/dps8_ins.c putbits36_1 (& cpu.Yblock32[j * 2 + 1], 57 - 36, j 7591 src/dps8/dps8_ins.c cpu.SDWAM[toffset + j].C); j 7592 src/dps8/dps8_ins.c putbits36_14 (& cpu.Yblock32[j * 2 + 1], 58 - 36, j 7593 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 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 2379 src/dps8/dps8_sys.c for (int j = 0; j < n_book_components; j ++) j 2381 src/dps8/dps8_sys.c if (book_components[j].book_segment_number != i) j 2383 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && j 2384 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) j 2387 src/dps8/dps8_sys.c book_components[j].compname, j 2388 src/dps8/dps8_sys.c offset - book_components[j].txt_start); j 2390 src/dps8/dps8_sys.c * compname = book_components[j].compname; j 2392 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; j 2395 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && j 2396 src/dps8/dps8_sys.c book_components[j].txt_start > bestoffset) j 2398 src/dps8/dps8_sys.c best = j; j 2399 src/dps8/dps8_sys.c bestoffset = book_components[j].txt_start; j 2507 src/dps8/dps8_sys.c for (int j = 0; j < n_book_components; j ++) j 2509 src/dps8/dps8_sys.c if (book_components[j].book_segment_number != i) j 2511 src/dps8/dps8_sys.c if (strcmp (book_components[j].compname, compname) == 0) j 2514 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; j 3047 src/dps8/dps8_sys.c j 3049 src/dps8/dps8_sys.c j 3052 src/dps8/dps8_sys.c j 3053 src/dps8/dps8_sys.c j 3054 src/dps8/dps8_sys.c j 3055 src/dps8/dps8_sys.c j 3056 src/dps8/dps8_sys.c j 3057 src/dps8/dps8_sys.c j 3058 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 214 src/simh/linehistory.c int j; j 221 src/simh/linehistory.c for (j = 0; unsupported_term[j]; j++) j 223 src/simh/linehistory.c if (!strcasecmp(term, unsupported_term[j])) j 774 src/simh/linehistory.c int fd = l->ofd, j; j 796 src/simh/linehistory.c for (j = 0; j < old_rows - 1; j++) j 1721 src/simh/linehistory.c int j; j 1723 src/simh/linehistory.c for (j = 0; j < history_len; j++) j 1725 src/simh/linehistory.c FREE(history[j]); j 1832 src/simh/linehistory.c int j; j 1834 src/simh/linehistory.c for (j = 0; j < tocopy - len; j++) j 1836 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 4166 src/simh/scp.c uint32 j, udbl, ucnt; j 4183 src/simh/scp.c for (j = ucnt = udbl = 0; j < dptr->numunits; j++) { /* count units */ j 4184 src/simh/scp.c uptr = dptr->units + j; j 4215 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* loop thru units */ j 4216 src/simh/scp.c uptr = dptr->units + j; j 5566 src/simh/scp.c uint32 i, j; j 5576 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* loop thru units */ j 5577 src/simh/scp.c uptr = (dptr->units) + j; j 5671 src/simh/scp.c uint32 i, j; j 5804 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* seq devices */ j 5805 src/simh/scp.c uptr = dptr->units + j; j 5914 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { /* if not buffered in mem */ j 5915 src/simh/scp.c uptr = dptr->units + j; j 6535 src/simh/scp.c t_addr j, loc; j 6544 src/simh/scp.c for (i = 0, j = addr; i < sim_emax; i++, j = j + dptr->aincr) { j 6546 src/simh/scp.c reason = dptr->examine (&sim_eval[i], j, uptr, sim_switches); j 6555 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) { j 6560 src/simh/scp.c loc = j / dptr->aincr; j 6604 src/simh/scp.c t_addr j, loc; j 6634 src/simh/scp.c for (i = 0, j = addr; i < count; i++, j = j + dptr->aincr) { j 6637 src/simh/scp.c r = dptr->deposit (sim_eval[i], j, uptr, sim_switches); j 6646 src/simh/scp.c if ((uptr->flags & UNIT_FIX) && (j >= uptr->capac)) j 6649 src/simh/scp.c loc = j / dptr->aincr; j 7348 src/simh/scp.c uint32 i, j; j 7353 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { j 7354 src/simh/scp.c if (uptr == (dptr->units + j)) j 7360 src/simh/scp.c for (j = 0; j < dptr->numunits; j++) { j 7361 src/simh/scp.c if (uptr == (dptr->units + j)) j 9767 src/simh/scp.c int32 i, j, len; j 9795 src/simh/scp.c for (i = j = 0; i < len; ++i) { j 9797 src/simh/scp.c if (i >= j) { j 9798 src/simh/scp.c if ((i != j) || (i == 0)) { j 9800 src/simh/scp.c fprintf (sim_deb, "%.*s\r\n", i-j, &buf[j]); j 9802 src/simh/scp.c fprintf (sim_deb, "%s%.*s\r\n", debug_prefix, i-j, &buf[j]); j 9806 src/simh/scp.c j = i + 1; j 9809 src/simh/scp.c if (i > j) { j 9811 src/simh/scp.c fprintf (sim_deb, "%.*s", i-j, &buf[j]); j 9813 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 768 src/simh/sim_tmxr.c int32 i, j; j 843 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++, i++) { /* find next avail line */ j 847 src/simh/sim_tmxr.c i = j; /* get next sequential line */ j 861 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++, i++) { /* find next avail line */ j 862 src/simh/sim_tmxr.c lp = mp->ldsc + j; /* get pointer to line descriptor */ j 939 src/simh/sim_tmxr.c int j, r = rand(); j 962 src/simh/sim_tmxr.c for (j=0; j<2; j++) j 963 src/simh/sim_tmxr.c switch (((unsigned)j+(unsigned)r)&1) { j 1378 src/simh/sim_tmxr.c int32 j; j 1386 src/simh/sim_tmxr.c j = lp->rxbpi - lp->rxbpr; /* # input chrs */ j 1387 src/simh/sim_tmxr.c if (j) { /* any? */ j 1493 src/simh/sim_tmxr.c int32 i, nbytes, j; j 1521 src/simh/sim_tmxr.c j = lp->rxbpi; /* start of data */ j 1528 src/simh/sim_tmxr.c for (; j < lp->rxbpi; ) { /* loop thru char */ j 1529 src/simh/sim_tmxr.c u_char tmp = (u_char)lp->rxb[j]; /* get char */ j 1535 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 1540 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1546 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1551 src/simh/sim_tmxr.c lp->rxb[j] = 0; /* char is null */ j 1552 src/simh/sim_tmxr.c lp->rbr[j] = 1; /* flag break */ j 1553 src/simh/sim_tmxr.c j = j + 1; /* advance j */ j 1581 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 1638 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove it */ j 1660 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove it */ j 1709 src/simh/sim_tmxr.c tmxr_rmvrc (lp, j); /* remove char */ j 2841 src/simh/sim_tmxr.c int i, j; j 2845 src/simh/sim_tmxr.c for (j=i+1; j<tmxr_open_device_count; ++j) j 2846 src/simh/sim_tmxr.c tmxr_open_devices[j-1] = tmxr_open_devices[j]; j 2948 src/simh/sim_tmxr.c int i, j; j 2991 src/simh/sim_tmxr.c for (j = 0; j < mp->lines; j++) { j 2992 src/simh/sim_tmxr.c lp = mp->ldsc + j; j 2996 src/simh/sim_tmxr.c fprintf (st, "Line: %d", j); j 3784 src/simh/sim_tmxr.c int32 i, j, low, last; j 3798 src/simh/sim_tmxr.c for (j = 1; j <= mp->lines; j++) { /* print remaining lines in order list */ j 3799 src/simh/sim_tmxr.c if (j < mp->lines) /* more lines to process? */