sz 361 src/dps8/dps8_absi.c int sz = udp_receive (absi_state[unit].link, pkt, psz); sz 362 src/dps8/dps8_absi.c if (sz < 0) sz 366 src/dps8/dps8_absi.c else if (sz == 0) sz 372 src/dps8/dps8_absi.c for (int i = 0; i < sz; i ++) sz 381 src/dps8/dps8_absi.c int rc = udp_send (absi_state[unit].link, pkt, (uint16_t) sz, sz 863 src/dps8/dps8_addrmods.c word6 sz = GET_TB (GET_TAG (indword)); sz 869 src/dps8/dps8_addrmods.c sz, os, Yi); sz 871 src/dps8/dps8_addrmods.c if (sz == TB6 && os > 5) sz 876 src/dps8/dps8_addrmods.c if (sz == TB9 && os > 3) sz 885 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; sz 913 src/dps8/dps8_addrmods.c if (sz == TB6) sz 933 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; sz 985 src/dps8/dps8_addrmods.c if (((sz == TB6) && (os > 5)) || sz 986 src/dps8/dps8_addrmods.c ((sz == TB9) && (os > 3))) sz 895 src/dps8/dps8_dia.c int sz = dn_udp_receive (dia_data.dia_unit_data[unitno].link, pkt, psz); sz 896 src/dps8/dps8_dia.c if (sz < 0) sz 898 src/dps8/dps8_dia.c sim_printf ("dn_udp_receive failed: %d\n", sz); sz 899 src/dps8/dps8_dia.c sz = 0; sz 902 src/dps8/dps8_dia.c return sz; sz 912 src/dps8/dps8_dia.c int sz = poll_coupler (unit_num, & pktp); sz 914 src/dps8/dps8_dia.c if (! sz) sz 2087 src/dps8/dps8_eis.c void axbd (uint sz) sz 2098 src/dps8/dps8_eis.c if (sz == 1) sz 2100 src/dps8/dps8_eis.c else if (sz == 4) sz 2102 src/dps8/dps8_eis.c else if (sz == 6) sz 2104 src/dps8/dps8_eis.c else if (sz == 9) sz 2109 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "axbd sz %d ARn 0%o address 0%o reg 0%o r 0%o\n", sz, ARn, address, reg, r); sz 2120 src/dps8/dps8_eis.c if (sz == 9 || GET_A (cpu.cu.IWB)) sz 2122 src/dps8/dps8_eis.c augend = (augend / sz) * sz; sz 2134 src/dps8/dps8_eis.c int32_t addend = address * 36 + r * (int32_t) sz; sz 2546 src/dps8/dps8_eis.c void asxbd (uint sz, bool sub) sz 2769 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "asxbd sz %d r 0%"PRIo64"\n", sz, rcnt); sz 2774 src/dps8/dps8_eis.c if (sz == 1) sz 2776 src/dps8/dps8_eis.c else if (sz == 4) sz 2778 src/dps8/dps8_eis.c else if (sz == 6) sz 2780 src/dps8/dps8_eis.c else if (sz == 9) sz 2785 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "asxbd sz %d ARn 0%o address 0%o reg 0%o r 0%o\n", sz, ARn, address, reg, r); sz 2796 src/dps8/dps8_eis.c if (sz == 36) sz 2810 src/dps8/dps8_eis.c if (sz == 4) sz 2812 src/dps8/dps8_eis.c else if (sz == 6) sz 2827 src/dps8/dps8_eis.c if (sz == 4) sz 2839 src/dps8/dps8_eis.c addend = address * 36u + r * sz; sz 2868 src/dps8/dps8_eis.c if (sz == 6 || sz == 9) sz 2870 src/dps8/dps8_eis.c sum = (sum / sz) * sz; sz 2881 src/dps8/dps8_eis.c if (sz == 36) sz 2887 src/dps8/dps8_eis.c if (sz == 4) sz 26 src/dps8/dps8_eis.h void axbd (uint sz); sz 32 src/dps8/dps8_eis.h void sxbd (uint sz); sz 33 src/dps8/dps8_eis.h void asxbd (uint sz, bool sub); sz 1422 src/dps8/dps8_fnp2.c uint sz = (uint) (bufp - linep->buffer); sz 1423 src/dps8/dps8_fnp2.c if (sz) sz 1427 src/dps8/dps8_fnp2.c linep->nPos = sz; sz 828 src/dps8/dps8_fnp2_iomcmd.c uint sz = getbits36_18 (command_data[0], 18); sz 830 src/dps8/dps8_fnp2_iomcmd.c linep->inputBufferSize = sz; sz 298 src/dps8/segldr.c ssize_t sz; sz 302 src/dps8/segldr.c sz = read (deckfd, bytes, 9); sz 303 src/dps8/segldr.c if (sz == 0) sz 339 src/dps8/segldr.c static t_stat msave (char * p2, word24 sz) sz 341 src/dps8/segldr.c uint wrsz = sz * sizeof (word36); sz 91 src/dps8/utarray.h size_t sz; sz 134 src/dps8/utarray.h if ( ((a)->d=(char*)realloc((a)->d, (a)->n*(a)->icd.sz)) == NULL) oom(); \ sz 141 src/dps8/utarray.h else { memcpy(_utarray_eltptr(a,(a)->i++), p, (a)->icd.sz); }; \ sz 152 src/dps8/utarray.h else { memset(_utarray_eltptr(a,(a)->i),0,(a)->icd.sz); } \ sz 159 src/dps8/utarray.h # define _utarray_eltptr(a,j) ((char*)((a)->d + ((a)->icd.sz*(j) ))) sz 166 src/dps8/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ sz 169 src/dps8/utarray.h else { memcpy(_utarray_eltptr(a,j), p, (a)->icd.sz); }; \ sz 180 src/dps8/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ sz 189 src/dps8/utarray.h utarray_len(w)*((a)->icd.sz)); \ sz 209 src/dps8/utarray.h memset(_utarray_eltptr(dst,dst->i),0,(dst)->icd.sz*(num-dst->i)); \ sz 228 src/dps8/utarray.h (((a)->i)-(pos+len))*((a)->icd.sz)); \ sz 251 src/dps8/utarray.h qsort((a)->d, (a)->i, (a)->icd.sz, cmp); \ sz 254 src/dps8/utarray.h # define utarray_find(a,v,cmp) bsearch((v),(a)->d,(a)->i,(a)->icd.sz,cmp) sz 259 src/dps8/utarray.h # define utarray_eltidx(a,e) (((char*)(e) >= (char*)((a)->d)) ? (((char*)(e) - (char*)((a)->d))/(ssize_t)(a)->icd.sz) : -1) sz 103 src/dps8/uthash.h # define uthash_malloc(sz) malloc(sz) /* malloc fcn */ sz 106 src/dps8/uthash.h # define uthash_free(ptr,sz) FREE(ptr) /* free fcn */ sz 169 src/simh/scp.c #define SZ_LOAD(sz,v,mb,j) \ sz 170 src/simh/scp.c if (sz == sizeof (uint8)) v = *(((uint8 *) mb) + ((uint32) j)); \ sz 171 src/simh/scp.c else if (sz == sizeof (uint16)) v = *(((uint16 *) mb) + ((uint32) j)); \ sz 172 src/simh/scp.c else if (sz == sizeof (uint32)) v = *(((uint32 *) mb) + ((uint32) j)); \ sz 175 src/simh/scp.c #define SZ_STORE(sz,v,mb,j) \ sz 176 src/simh/scp.c if (sz == sizeof (uint8)) *(((uint8 *) mb) + j) = (uint8) v; \ sz 177 src/simh/scp.c else if (sz == sizeof (uint16)) *(((uint16 *) mb) + ((uint32) j)) = (uint16) v; \ sz 178 src/simh/scp.c else if (sz == sizeof (uint32)) *(((uint32 *) mb) + ((uint32) j)) = (uint32) v; \ sz 6336 src/simh/scp.c size_t sz; sz 6340 src/simh/scp.c sz = SZ_R (rptr); sz 6347 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6353 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6358 src/simh/scp.c (sz == sizeof (uint8))) sz 6361 src/simh/scp.c (sz == sizeof (uint16))) sz 6363 src/simh/scp.c else if (sz <= sizeof (uint32)) sz 6436 src/simh/scp.c size_t sz; sz 6440 src/simh/scp.c #define PUT_RVAL(sz,rp,id,v,m) \ sz 6441 src/simh/scp.c *(((sz *) rp->loc) + id) = \ sz 6442 src/simh/scp.c (sz)((*(((sz *) rp->loc) + id) & \ sz 6447 src/simh/scp.c sz = SZ_R (rptr); sz 6456 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6465 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6473 src/simh/scp.c (sz == sizeof (uint8))) sz 6476 src/simh/scp.c (sz == sizeof (uint16))) sz 6478 src/simh/scp.c else if (sz <= sizeof (uint32)) sz 6536 src/simh/scp.c size_t sz; sz 6559 src/simh/scp.c sz = SZ_D (dptr); sz 6562 src/simh/scp.c SZ_LOAD (sz, sim_eval[i], uptr->filebuf, loc); sz 6565 src/simh/scp.c sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET); sz 6566 src/simh/scp.c sim_fread (&sim_eval[i], sz, 1, uptr->fileref); sz 6607 src/simh/scp.c size_t sz; sz 6648 src/simh/scp.c sz = SZ_D (dptr); sz 6651 src/simh/scp.c SZ_STORE (sz, sim_eval[i], uptr->filebuf, loc); sz 6656 src/simh/scp.c sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET); sz 6657 src/simh/scp.c sim_fwrite (&sim_eval[i], sz, 1, uptr->fileref); sz 729 src/simh/sim_defs.h # define BITF(nm,sz) {#nm, 0xffffffff, sz} /* Bit Field definition */ sz 730 src/simh/sim_defs.h # define BITNCF(sz) {"", 0xffffffff, sz} /* Don't care Bit Field definition */ sz 731 src/simh/sim_defs.h # define BITFFMT(nm,sz,fmt) {#nm, 0xffffffff, sz, NULL, #fmt}/* Bit Field definition with Output format */ sz 732 src/simh/sim_defs.h # define BITFNAM(nm,sz,names) {#nm, 0xffffffff, sz, names} /* Bit Field definition with value->name map */ sz 759 src/simh/sim_defs.h # define BITF(nm,sz) {"nm", 0xffffffff, sz} /* Bit Field definition */ sz 760 src/simh/sim_defs.h # define BITNCF(sz) {"", 0xffffffff, sz} /* Don't care Bit Field definition */ sz 761 src/simh/sim_defs.h # define BITFFMT(nm,sz,fmt) {"nm", 0xffffffff, sz, NULL, "fmt"}/* Bit Field definition with Output format */ sz 762 src/simh/sim_defs.h # define BITFNAM(nm,sz,names) {"nm", 0xffffffff, sz, names} /* Bit Field definition with value->name map */ sz 200 src/simh/sim_fio.c t_offset pos, sz; sz 207 src/simh/sim_fio.c sz = sim_ftell (fp); sz 210 src/simh/sim_fio.c return sz; sz 216 src/simh/sim_fio.c t_offset sz; sz 220 src/simh/sim_fio.c sz = sim_fsize_ex (fp); sz 222 src/simh/sim_fio.c return sz;