offset 370 src/dps8/dps8_addrmods.c word15 offset = GET_OFFSET(IWB_IRODD); offset 371 src/dps8/dps8_addrmods.c cpu.TPR.CA = (cpu.PAR[n].WORDNO + SIGNEXT15_18 (offset)) offset 773 src/dps8/dps8_append.c static void fetch_ptw (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 782 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 788 src/dps8/dps8_append.c PNL (cpu.lastPTWOffset = offset;) offset 836 src/dps8/dps8_append.c static void loadPTWAM (cpu_state_t * cpup, word15 segno, word18 offset, UNUSED bool nomatch) offset 838 src/dps8/dps8_append.c cpu.PTW0.PAGENO = (offset >> 6) & 07760; offset 864 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 890 src/dps8/dps8_append.c segno, offset); offset 894 src/dps8/dps8_append.c uint setno = (offset >> 10) & 017; offset 914 src/dps8/dps8_append.c p->PAGENO = (offset >> 6) & 07760; offset 937 src/dps8/dps8_append.c static void modify_ptw (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 941 src/dps8/dps8_append.c word24 x2 = offset / 1024; // floor offset 970 src/dps8/dps8_append.c static void do_ptw2 (cpu_state_t * cpup, sdw_s *sdw, word18 offset) offset 976 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2240 src/dps8/dps8_append.c int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 2344 src/dps8/dps8_append.c if (((offset >> 4) & 037777) > SDW1.BOUND) offset 2354 src/dps8/dps8_append.c * finalAddress = (SDW1.ADDR + offset) & PAMASK; offset 2359 src/dps8/dps8_append.c word24 y2 = offset % 1024; offset 2360 src/dps8/dps8_append.c word24 x2 = (offset) / 1024; // floor offset 2379 src/dps8/dps8_append.c y2 = offset % 1024; offset 161 src/dps8/dps8_append.h int dbgLookupAddress (word18 segno, word18 offset, word24 * finalAddress, offset 799 src/dps8/dps8_cpu.c if (stall_points[i].segno || stall_points[i].offset) offset 806 src/dps8/dps8_cpu.c (long)i, stall_points[i].segno, stall_points[i].offset, offset 852 src/dps8/dps8_cpu.c stall_points[n].offset = (word18) o; offset 857 src/dps8/dps8_cpu.c if (stall_points[n].segno && stall_points[n].offset) offset 3442 src/dps8/dps8_cpu.c stall_points[i].offset && stall_points[i].offset == cpu.PPR.IC) offset 5300 src/dps8/dps8_cpu.c int32 offset = 0; offset 5308 src/dps8/dps8_cpu.c while ((offset < 32) && dptr->debflags[offset].name) offset 5310 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 5311 src/dps8/dps8_cpu.c return dptr->debflags[offset].name; offset 5312 src/dps8/dps8_cpu.c if (dptr->debflags[offset].mask & dbits) offset 5313 src/dps8/dps8_cpu.c some_match = dptr->debflags[offset].name; offset 5314 src/dps8/dps8_cpu.c offset ++; offset 5745 src/dps8/dps8_cpu.c #define BURN(offset, length, string) memcpy ((char *) PROM + (offset), string, length) offset 5746 src/dps8/dps8_cpu.c #define BURN1(offset, byte) PROM[offset] = (char) (byte) offset 2025 src/dps8/dps8_cpu.h word18 offset; offset 1257 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1258 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1410 src/dps8/dps8_eis.c word18 offset = SIGNEXT15_18 ((word15) address); // 15-bit signed number offset 1411 src/dps8/dps8_eis.c address = (cpu.AR [n].WORDNO + offset) & AMASK; offset 1630 src/dps8/dps8_eis.c word15 offset = y & MASK15; // 15-bit signed number offset 1631 src/dps8/dps8_eis.c y = (cpu.AR [n].WORDNO + SIGNEXT15_18 (offset)) & AMASK; offset 1682 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1683 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 1871 src/dps8/dps8_eis.c word15 offset = address & MASK15; // 15-bit signed number offset 1872 src/dps8/dps8_eis.c address = (cpu.AR[n].WORDNO + SIGNEXT15_18(offset)) & AMASK; offset 505 src/dps8/dps8_fnp2_iomcmd.c uint offset = 0; offset 510 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 513 src/dps8/dps8_fnp2_iomcmd.c linep->echnego_break_table[offset++] = offset 1902 src/dps8/dps8_ins.c word18 offset = ci->address; offset 1903 src/dps8/dps8_ins.c offset &= AMASK; offset 1905 src/dps8/dps8_ins.c sim_debug (DBG_TRACEEXT, & cpu_dev, "rpt/rd/rl repeat first; offset is %06o\r\n", offset); offset 1911 src/dps8/dps8_ins.c cpu.TPR.CA = (cpu.rX[Xn] + offset) & AMASK; offset 1998 src/dps8/dps8_ins.c word15 offset = GET_OFFSET(IWB_IRODD); offset 2020 src/dps8/dps8_ins.c n, offset, cpu.TPR.CA, cpu.TPR.TBR, cpu.TPR.TSR, cpu.TPR.TRR); offset 426 src/dps8/dps8_socket_dev.c offset 427 src/dps8/dps8_socket_dev.c offset 446 src/dps8/dps8_socket_dev.c uint offset = ((i+4) % 4) * 9; offset 447 src/dps8/dps8_socket_dev.c word9 ch = getbits36_9 (buffer[wordno], offset); offset 2057 src/dps8/dps8_sys.c offset 2093 src/dps8/dps8_sys.c offset 2108 src/dps8/dps8_sys.c offset 2197 src/dps8/dps8_sys.c offset 2216 src/dps8/dps8_sys.c offset 2217 src/dps8/dps8_sys.c offset 2255 src/dps8/dps8_sys.c offset 2268 src/dps8/dps8_sys.c static t_stat abs_addr_n (int segno, uint offset) offset 2273 src/dps8/dps8_sys.c if (dbgLookupAddress ((word18) segno, offset, & res, NULL)) offset 2286 src/dps8/dps8_sys.c uint offset; offset 2287 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2289 src/dps8/dps8_sys.c return abs_addr_n ((int) segno, offset); offset 2389 src/dps8/dps8_sys.c static char * lookup_system_book_address (word18 segno, word18 offset, offset 2409 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2410 src/dps8/dps8_sys.c book_components[j].txt_start + book_components[j].txt_length > offset) offset 2414 src/dps8/dps8_sys.c offset - book_components[j].txt_start); offset 2418 src/dps8/dps8_sys.c * compoffset = offset - book_components[j].txt_start; offset 2421 src/dps8/dps8_sys.c if (book_components[j].txt_start <= offset && offset 2436 src/dps8/dps8_sys.c * compoffset = offset - book_components[best].txt_start; offset 2439 src/dps8/dps8_sys.c offset - book_components[best].txt_start); offset 2449 src/dps8/dps8_sys.c * compoffset = offset; offset 2451 src/dps8/dps8_sys.c offset); offset 2458 src/dps8/dps8_sys.c char * lookup_address (word18 segno, word18 offset, char * * compname, offset 2489 src/dps8/dps8_sys.c offset 2494 src/dps8/dps8_sys.c offset 2497 src/dps8/dps8_sys.c offset 2505 src/dps8/dps8_sys.c offset 2508 src/dps8/dps8_sys.c offset 2515 src/dps8/dps8_sys.c char * ret = lookup_system_book_address (segno, offset, compname, compoffset); offset 2524 src/dps8/dps8_sys.c long * offset) offset 2540 src/dps8/dps8_sys.c * offset = (long) book_components[j].txt_start; offset 2555 src/dps8/dps8_sys.c void list_source (char * compname, word18 offset, uint dflag) offset 2561 src/dps8/dps8_sys.c (void)sprintf (offset_str, " %06o", offset); offset 2681 src/dps8/dps8_sys.c if (loc[n] > best && loc[n] <= (int) offset) offset 2688 src/dps8/dps8_sys.c if (best == (int) offset) offset 2936 src/dps8/dps8_sys.c uint offset; offset 2937 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 2941 src/dps8/dps8_sys.c char * where = lookup_address ((word18) segno, offset, offset 2945 src/dps8/dps8_sys.c sim_msg ("%05o:%06o %s\r\n", segno, offset, where); offset 3136 src/dps8/dps8_sys.c long segno, offset; offset 3165 src/dps8/dps8_sys.c offset = strtol (w2, & end2, 8); offset 3170 src/dps8/dps8_sys.c char * ans = lookup_address ((word18) segno, (word18) offset, NULL, NULL); offset 3178 src/dps8/dps8_sys.c offset = strtol (w3, & end3, 8); offset 3183 src/dps8/dps8_sys.c offset = 0; offset 3191 src/dps8/dps8_sys.c sim_msg ("0%o:0%o\r\n", (uint) segno, (uint) (comp_offset + offset)); offset 3192 src/dps8/dps8_sys.c abs_addr_n ((int) segno, (uint) (comp_offset + offset)); offset 3306 src/dps8/dps8_sys.c for (word18 offset = 0; offset 3307 src/dps8/dps8_sys.c offset < 16u * (SDW0.BOUND + 1u); offset 3308 src/dps8/dps8_sys.c offset += 1024) offset 3310 src/dps8/dps8_sys.c word24 y2 = offset % 1024; offset 3311 src/dps8/dps8_sys.c word24 x2 = (offset - y2) / 1024; offset 3330 src/dps8/dps8_sys.c if (address >= PTW2.ADDR + offset && offset 3331 src/dps8/dps8_sys.c address < PTW2.ADDR + offset + 1024) offset 3332 src/dps8/dps8_sys.c sim_msg (" %06o:%06o\r\n", tspt, (address - offset) - PTW2.ADDR); offset 3404 src/dps8/dps8_sys.c int segno, offset; offset 3406 src/dps8/dps8_sys.c int cnt = sscanf (buf, "%o:%o%n", & segno, & offset, & where); offset 3412 src/dps8/dps8_sys.c (void)sprintf (reformatted, "0%04o%06o%s", segno, offset, buf + where); offset 3504 src/dps8/dps8_sys.c offset 3506 src/dps8/dps8_sys.c offset 3707 src/dps8/dps8_sys.c if (ea->offset < eb->offset) offset 3709 src/dps8/dps8_sys.c if (ea->offset > eb->offset) offset 3714 src/dps8/dps8_sys.c int dbgevent_lookup (word15 segno, word18 offset) offset 3716 src/dps8/dps8_sys.c struct dbgevent_t key = {segno, offset, false}; offset 3750 src/dps8/dps8_sys.c uint offset; offset 3751 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3753 src/dps8/dps8_sys.c if (segno > MASK15 || offset > MASK18) offset 3755 src/dps8/dps8_sys.c if (dbgevent_lookup ((word15) segno, (word18) offset) != -1) offset 3757 src/dps8/dps8_sys.c sim_printf ("not adding duplicate 0%o:0%o\r\n", segno, offset); offset 3761 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset = (word18) offset; offset 3766 src/dps8/dps8_sys.c dbgevents[n_dbgevents].offset, offset 3774 src/dps8/dps8_sys.c uint offset; offset 3775 src/dps8/dps8_sys.c if (sscanf (buf, "%o:%o", & segno, & offset) != 2) offset 3777 src/dps8/dps8_sys.c int n = dbgevent_lookup ((word15) segno, (word18) offset); offset 3780 src/dps8/dps8_sys.c sim_printf ("0%o:0%o not found\r\n", segno, offset); offset 3791 src/dps8/dps8_sys.c dbgevents[i].offset,dbgevents[i].tag); offset 4665 src/dps8/dps8_sys.c static int getAddress(int segno, int offset) offset 4672 src/dps8/dps8_sys.c return (s->ADDR + (word18) offset) & 0xffffff; // keep to 24-bits offset 4724 src/dps8/dps8_sys.c uint offset = (uint)strtoll(off, &endp, 8); offset 4735 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) (offset + PRoffset)); offset 4746 src/dps8/dps8_sys.c word24 offset = 0; offset 4753 src/dps8/dps8_sys.c offset = cpu.PR[prt->n].WORDNO; offset 4761 src/dps8/dps8_sys.c word24 abs_addr = (word24) getAddress(segno, (int) offset); offset 86 src/dps8/dps8_sys.h word18 offset; offset 94 src/dps8/dps8_sys.h int dbgevent_lookup (word15 segno, word18 offset); offset 115 src/dps8/dps8_sys.h char * lookup_address (word18 segno, word18 offset, char * * compname, word18 * compoffset); offset 116 src/dps8/dps8_sys.h void list_source (char * compname, word18 offset, uint dflag); offset 219 src/dps8/dps8_utils.c int offset = address & 077777; offset 221 src/dps8/dps8_utils.c (void)sprintf (buff, " pr%d|%o", n, offset); offset 108 src/dps8/hdbg.c word18 offset; offset 119 src/dps8/hdbg.c word18 offset; offset 224 src/dps8/hdbg.c void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 228 src/dps8/hdbg.c hevp[p].apu.offset = offset; offset 234 src/dps8/hdbg.c void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx) { offset 238 src/dps8/hdbg.c hevp[p].apu.offset = offset; offset 322 src/dps8/hdbg.c void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx) { offset 327 src/dps8/hdbg.c hevp[p].iefp.offset = offset; offset 360 src/dps8/hdbg.c p->apu.offset, offset 509 src/dps8/hdbg.c p->iefp.offset); offset 516 src/dps8/hdbg.c p->iefp.offset); offset 524 src/dps8/hdbg.c p->iefp.offset); offset 532 src/dps8/hdbg.c p->iefp.offset); offset 539 src/dps8/hdbg.c p->iefp.offset); offset 546 src/dps8/hdbg.c p->iefp.offset); offset 554 src/dps8/hdbg.c p->iefp.offset); offset 562 src/dps8/hdbg.c p->iefp.offset); offset 570 src/dps8/hdbg.c p->iefp.offset); offset 41 src/dps8/hdbg.h void hdbgIEFP (enum hdbgIEFP_e type, word15 segno, word18 offset, const char * ctx); offset 72 src/dps8/hdbg.h void hdbgAPURead (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 73 src/dps8/hdbg.h void hdbgAPUWrite (word15 segno, word18 offset, word24 final, word36 data, const char * ctx); offset 27 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 bound, offset 36 src/dps8/ucache.c ep->offset = offset; offset 44 src/dps8/ucache.c ucNum, segno, offset, bound, p, address, r1, paged); offset 49 src/dps8/ucache.c (cpu_state_t * cpup, uint ucNum, word15 segno, word18 offset, word14 * bound, offset 82 src/dps8/ucache.c if (ep->paged && ((ep->offset & PG18MASK) != (offset & PG18MASK))) { offset 84 src/dps8/ucache.c hdbgNote ("ucache", "pgno %o != %o\r\n", (ep->offset & PG18MASK), (offset & PG18MASK)); offset 89 src/dps8/ucache.c if (((offset >> 4) & 037777) > ep->bound) { offset 92 src/dps8/ucache.c hdbgNote ("ucache", "bound %o != %o\r\n", ((offset >> 4) & 037777), ep->bound); offset 98 src/dps8/ucache.c ucNum, segno, offset, ep->bound, ep->p, ep->address, ep->r1, ep->paged); offset 103 src/dps8/ucache.c offset 109 src/dps8/ucache.c offset 30 src/dps8/ucache.h word18 offset; offset 65 src/dps8/ucache.h word18 offset, word14 bound, word1 p, word24 address, word3 r1, bool paged); offset 68 src/dps8/ucache.h word18 offset, word14 * bound, word1 * p, word24 * address, word3 * r1, bool * paged); offset 1582 src/prt2pdf/prt2pdf.c uint32_t offset = read_u32_be (fp); offset 1587 src/prt2pdf/prt2pdf.c name_offset = offset; offset 1592 src/prt2pdf/prt2pdf.c cff_offset = offset; offset 1640 src/prt2pdf/prt2pdf.c uint16_t offset = read_u16_be (fp); offset 1657 src/prt2pdf/prt2pdf.c if (fseek (fp, storage_base + offset, SEEK_SET) != 0) offset 1771 src/prt2pdf/prt2pdf.c uint32_t offset = read_u32_be_from_mem (& p, end); offset 1776 src/prt2pdf/prt2pdf.c name_offset = offset; offset 1781 src/prt2pdf/prt2pdf.c cff_offset = offset; offset 1829 src/prt2pdf/prt2pdf.c uint16_t offset = read_u16_be_from_mem (& p_name, end_name); offset 1834 src/prt2pdf/prt2pdf.c if (storage_base + offset + length > end_name) offset 1837 src/prt2pdf/prt2pdf.c const uint8_t * raw = storage_base + offset; offset 1960 src/prt2pdf/prt2pdf.c uint32_t offset = read_u32_be (font_fp); offset 1964 src/prt2pdf/prt2pdf.c head_offset = offset; offset 1967 src/prt2pdf/prt2pdf.c hhea_offset = offset; offset 1970 src/prt2pdf/prt2pdf.c hmtx_offset = offset; offset 1973 src/prt2pdf/prt2pdf.c maxp_offset = offset; offset 2087 src/prt2pdf/prt2pdf.c uint32_t offset = read_u32_be_from_mem (& p, end); offset 2091 src/prt2pdf/prt2pdf.c head_offset = offset; offset 2094 src/prt2pdf/prt2pdf.c hhea_offset = offset; offset 2097 src/prt2pdf/prt2pdf.c hmtx_offset = offset; offset 3676 src/punutil/miniz.c static mz_bool mz_zip_reader_eocd64_valid(mz_zip_archive *pZip, uint64_t offset, uint8_t *buf) offset 3678 src/punutil/miniz.c if (pZip->m_pRead(pZip->m_pIO_opaque, offset, buf, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) == MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) offset 251 src/simh/scp.c (size_map[((rp)->width + (rp)->offset + CHAR_BIT - 1) / CHAR_BIT]) offset 4778 src/simh/scp.c static void printp (unsigned char * PROM, char * label, int offset, int length) { offset 4780 src/simh/scp.c sim_printf (" %2d %3o(8) '", length, offset); offset 4783 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 4816 src/simh/scp.c static void printpq (unsigned char * PROM, FILE * st, int offset, int length) { offset 4822 src/simh/scp.c unsigned int byte = PROM[offset + l]; offset 7176 src/simh/scp.c val = (val >> rptr->offset) & width_mask[rptr->width]; offset 7253 src/simh/scp.c ~((m) << (rp)->offset)) | ((v) << (rp)->offset)) offset 7268 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 7269 src/simh/scp.c (((uint32) val) << rptr->offset); offset 7271 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 7277 src/simh/scp.c ~(((uint32) mask) << rptr->offset)) | offset 7278 src/simh/scp.c (((uint32) val) << rptr->offset); offset 7280 src/simh/scp.c & ~(mask << rptr->offset)) | (val << rptr->offset); offset 10370 src/simh/scp.c int32 offset = 0; offset 10379 src/simh/scp.c while ((offset < 32) && dptr->debflags[offset].name) { offset 10380 src/simh/scp.c if (dptr->debflags[offset].mask == dbits) /* All Bits Match */ offset 10381 src/simh/scp.c return dptr->debflags[offset].name; offset 10382 src/simh/scp.c if (dptr->debflags[offset].mask & dbits) offset 10383 src/simh/scp.c some_match = dptr->debflags[offset].name; offset 10384 src/simh/scp.c offset++; offset 10436 src/simh/scp.c int32 i, fields, offset; offset 10439 src/simh/scp.c for (fields=offset=0; bitdefs[fields].name; ++fields) { offset 10440 src/simh/scp.c if (bitdefs[fields].offset == 0xffffffff) /* fixup uninitialized offsets */ offset 10441 src/simh/scp.c bitdefs[fields].offset = offset; offset 10442 src/simh/scp.c offset += bitdefs[fields].width; offset 10448 src/simh/scp.c int off = ((after >> bitdefs[i].offset) & 1) + (((before ^ after) >> bitdefs[i].offset) & 1) * 2; offset 10454 src/simh/scp.c value = (uint32)((after >> bitdefs[i].offset) & mask); offset 10455 src/simh/scp.c beforevalue = (uint32)((before >> bitdefs[i].offset) & mask); offset 489 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 502 src/simh/sim_defs.h uint32 offset; /* starting bit */ offset 385 src/simh/sim_disk.c t_lba offset; offset 388 src/simh/sim_disk.c for (offset = 0; offset < ctx->sector_size; offset += sizeof(uint32)) { offset 389 src/simh/sim_disk.c if (*((uint32 *)&buf[sect*ctx->sector_size + offset]) != (uint32)(lba + sect)) { offset 915 src/simh/sim_disk.c t_lba offset; offset 916 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) offset 917 src/simh/sim_disk.c *((uint32 *)&init_buf[sect*sector_size + offset]) = (uint32)(lba + sect); offset 960 src/simh/sim_disk.c t_lba offset; offset 963 src/simh/sim_disk.c for (offset = 0; offset < sector_size; offset += sizeof(uint32)) { offset 964 src/simh/sim_disk.c if (*((uint32 *)&verify_buf[sect*sector_size + offset]) != (uint32)(lba + sect)) { offset 303 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) offset 310 src/simh/sim_fio.c fileaddr = (fpos_t)offset; offset 316 src/simh/sim_fio.c fileaddr = statb.st_size + offset; offset 321 src/simh/sim_fio.c fileaddr = fileaddr + offset; offset 354 src/simh/sim_fio.c int sim_fseek (FILE *st, t_addr offset, int whence) offset 356 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); offset 49 src/simh/sim_fio.h int sim_fseek (FILE *st, t_addr offset, int whence); offset 50 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence);