sz 367 src/dps8/dps8_absi.c int sz = udp_receive (absi_state[unit].link, pkt, psz); sz 368 src/dps8/dps8_absi.c if (sz < 0) sz 372 src/dps8/dps8_absi.c else if (sz == 0) sz 378 src/dps8/dps8_absi.c for (int i = 0; i < sz; i ++) sz 387 src/dps8/dps8_absi.c int rc = udp_send (absi_state[unit].link, pkt, (uint16_t) sz, sz 861 src/dps8/dps8_addrmods.c word6 sz = GET_TB (GET_TAG (indword)); sz 867 src/dps8/dps8_addrmods.c sz, os, Yi); sz 869 src/dps8/dps8_addrmods.c if (sz == TB6 && os > 5) sz 874 src/dps8/dps8_addrmods.c if (sz == TB9 && os > 3) sz 883 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; sz 911 src/dps8/dps8_addrmods.c if (sz == TB6) sz 931 src/dps8/dps8_addrmods.c cpu.ou.characterOperandSize = sz; sz 983 src/dps8/dps8_addrmods.c if (((sz == TB6) && (os > 5)) || sz 984 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 2086 src/dps8/dps8_eis.c void axbd (uint sz) sz 2097 src/dps8/dps8_eis.c if (sz == 1) sz 2099 src/dps8/dps8_eis.c else if (sz == 4) sz 2101 src/dps8/dps8_eis.c else if (sz == 6) sz 2103 src/dps8/dps8_eis.c else if (sz == 9) sz 2108 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 2119 src/dps8/dps8_eis.c if (sz == 9 || GET_A (cpu.cu.IWB)) sz 2121 src/dps8/dps8_eis.c augend = (augend / sz) * sz; sz 2133 src/dps8/dps8_eis.c int32_t addend = address * 36 + r * (int32_t) sz; sz 2545 src/dps8/dps8_eis.c void asxbd (uint sz, bool sub) sz 2768 src/dps8/dps8_eis.c sim_debug (DBG_TRACEEXT|DBG_CAC, & cpu_dev, "asxbd sz %d r 0%"PRIo64"\n", sz, rcnt); sz 2773 src/dps8/dps8_eis.c if (sz == 1) sz 2775 src/dps8/dps8_eis.c else if (sz == 4) sz 2777 src/dps8/dps8_eis.c else if (sz == 6) sz 2779 src/dps8/dps8_eis.c else if (sz == 9) sz 2784 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 2795 src/dps8/dps8_eis.c if (sz == 36) sz 2809 src/dps8/dps8_eis.c if (sz == 4) sz 2811 src/dps8/dps8_eis.c else if (sz == 6) sz 2826 src/dps8/dps8_eis.c if (sz == 4) sz 2838 src/dps8/dps8_eis.c addend = address * 36u + r * sz; sz 2867 src/dps8/dps8_eis.c if (sz == 6 || sz == 9) sz 2869 src/dps8/dps8_eis.c sum = (sum / sz) * sz; sz 2880 src/dps8/dps8_eis.c if (sz == 36) sz 2886 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 6549 src/simh/scp.c size_t sz; sz 6553 src/simh/scp.c sz = SZ_R (rptr); sz 6560 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6566 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6571 src/simh/scp.c (sz == sizeof (uint8))) sz 6574 src/simh/scp.c (sz == sizeof (uint16))) sz 6576 src/simh/scp.c else if (sz <= sizeof (uint32)) sz 6649 src/simh/scp.c size_t sz; sz 6653 src/simh/scp.c #define PUT_RVAL(sz,rp,id,v,m) \ sz 6654 src/simh/scp.c *(((sz *) rp->loc) + id) = \ sz 6655 src/simh/scp.c (sz)((*(((sz *) rp->loc) + id) & \ sz 6660 src/simh/scp.c sz = SZ_R (rptr); sz 6669 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6678 src/simh/scp.c if (sz <= sizeof (uint32)) sz 6686 src/simh/scp.c (sz == sizeof (uint8))) sz 6689 src/simh/scp.c (sz == sizeof (uint16))) sz 6691 src/simh/scp.c else if (sz <= sizeof (uint32)) sz 6749 src/simh/scp.c size_t sz; sz 6772 src/simh/scp.c sz = SZ_D (dptr); sz 6775 src/simh/scp.c SZ_LOAD (sz, sim_eval[i], uptr->filebuf, loc); sz 6778 src/simh/scp.c sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET); sz 6779 src/simh/scp.c sim_fread (&sim_eval[i], sz, 1, uptr->fileref); sz 6820 src/simh/scp.c size_t sz; sz 6861 src/simh/scp.c sz = SZ_D (dptr); sz 6864 src/simh/scp.c SZ_STORE (sz, sim_eval[i], uptr->filebuf, loc); sz 6869 src/simh/scp.c sim_fseek (uptr->fileref, (t_addr)(sz * loc), SEEK_SET); sz 6870 src/simh/scp.c sim_fwrite (&sim_eval[i], sz, 1, uptr->fileref); sz 731 src/simh/sim_defs.h # define BITF(nm,sz) {#nm, 0xffffffff, sz} /* Bit Field definition */ sz 732 src/simh/sim_defs.h # define BITNCF(sz) {"", 0xffffffff, sz} /* Don't care Bit Field definition */ sz 733 src/simh/sim_defs.h # define BITFFMT(nm,sz,fmt) {#nm, 0xffffffff, sz, NULL, #fmt}/* Bit Field definition with Output format */ sz 734 src/simh/sim_defs.h # define BITFNAM(nm,sz,names) {#nm, 0xffffffff, sz, names} /* Bit Field definition with value->name map */ sz 761 src/simh/sim_defs.h # define BITF(nm,sz) {"nm", 0xffffffff, sz} /* Bit Field definition */ sz 762 src/simh/sim_defs.h # define BITNCF(sz) {"", 0xffffffff, sz} /* Don't care Bit Field definition */ sz 763 src/simh/sim_defs.h # define BITFFMT(nm,sz,fmt) {"nm", 0xffffffff, sz, NULL, "fmt"}/* Bit Field definition with Output format */ sz 764 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;