| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/ |
| H A D | vararg.d | 62 auto tsize = ti.tsize; in va_arg() local 63 ap = cast(va_list) (p + tsize.alignUp); in va_arg() 64 parmn[0..tsize] = p[0..tsize]; in va_arg() 75 auto tsize = ti.tsize; in va_arg() local 77 if (isLDC && tsize == 16 && cast(TypeInfo_Array) ti) in va_arg() 80 ap = cast(va_list) (p + tsize); in va_arg() 84 q = (tsize > size_t.sizeof || (tsize & (tsize - 1)) != 0) ? *cast(void**) p : p; in va_arg() 87 parmn[0..tsize] = q[0..tsize]; in va_arg() 96 const tsize = ti.tsize; in va_arg() local 101 p = adjustForBigEndian(p, tsize); in va_arg() [all …]
|
| /netbsd-src/external/lgpl3/gmp/dist/mpz/ |
| H A D | aorsmul.c | 53 mp_size_t xsize, ysize, tsize, wsize, wsize_signed; in mpz_aorsmul() local 88 tsize = xsize + ysize; in mpz_aorsmul() 89 wp = MPZ_REALLOC (w, MAX (wsize, tsize) + 1); in mpz_aorsmul() 96 tsize -= (high == 0); in mpz_aorsmul() 97 SIZ(w) = (sub >= 0 ? tsize : -tsize); in mpz_aorsmul() 102 tp = TMP_ALLOC_LIMBS (tsize); in mpz_aorsmul() 105 tsize -= (high == 0); in mpz_aorsmul() 106 ASSERT (tp[tsize-1] != 0); in mpz_aorsmul() 112 if (usize < tsize) in mpz_aorsmul() 115 usize = tsize; in mpz_aorsmul() [all …]
|
| H A D | out_raw.c | 67 size_t tsize, ssize; in mpz_out_raw() local 72 tsize = ROUND_UP_MULTIPLE ((unsigned) 4, GMP_LIMB_BYTES) + bytes; in mpz_out_raw() 74 tp = __GMP_ALLOCATE_FUNC_TYPE (tsize, char); in mpz_out_raw() 170 (*__gmp_free_func) (tp, tsize); in mpz_out_raw()
|
| /netbsd-src/external/lgpl3/gmp/dist/mpf/ |
| H A D | sqrt.c | 67 mp_size_t prec, tsize; in mpf_sqrt() local 88 tsize = 2 * prec - expodd; in mpf_sqrt() 93 ASSERT ((tsize + 1) / 2 == prec); in mpf_sqrt() 95 tp = TMP_ALLOC_LIMBS (tsize); in mpf_sqrt() 97 if (usize > tsize) in mpf_sqrt() 99 up += usize - tsize; in mpf_sqrt() 100 usize = tsize; in mpf_sqrt() 101 MPN_COPY (tp, up, tsize); in mpf_sqrt() 105 MPN_ZERO (tp, tsize - usize); in mpf_sqrt() 106 MPN_COPY (tp + (tsize - usize), up, usize); in mpf_sqrt() [all …]
|
| H A D | ui_div.c | 42 mp_size_t rsize, prospective_rsize, zeros, tsize, high_zero; in mpf_ui_div() local 74 tsize = 1 + zeros; /* u with zeros */ in mpf_ui_div() 80 tp = TMP_ALLOC_LIMBS (tsize); in mpf_ui_div() 88 mp_size_t size = vsize + tsize + (rp == vp ? vsize : 0); in mpf_ui_div() 91 new_vp = tp + tsize; in mpf_ui_div() 101 MPN_ZERO (tp, tsize-1); in mpf_ui_div() 103 tp[tsize - 1] = u & GMP_NUMB_MASK; in mpf_ui_div() 109 ASSERT (tsize >= 2); in mpf_ui_div() 110 tp[tsize - 1] = u >> GMP_NUMB_BITS; in mpf_ui_div() 111 tp[tsize - 2] = u & GMP_NUMB_MASK; in mpf_ui_div() [all …]
|
| H A D | div_ui.c | 41 mp_size_t rsize, tsize; in mpf_div_ui() local 84 tsize = 1 + prec; in mpf_div_ui() 85 tp = TMP_ALLOC_LIMBS (tsize + 1); in mpf_div_ui() 87 if (usize > tsize) in mpf_div_ui() 89 up += usize - tsize; in mpf_div_ui() 90 usize = tsize; in mpf_div_ui() 95 MPN_ZERO (tp, tsize - usize); in mpf_div_ui() 96 rtp = tp + (tsize - usize); in mpf_div_ui() 102 mpn_divmod_1 (rp, tp, tsize, (mp_limb_t) v); in mpf_div_ui() 103 q_limb = rp[tsize - 1]; in mpf_div_ui() [all …]
|
| H A D | set_q.c | 57 mp_size_t prec, nsize, dsize, qsize, prospective_qsize, tsize, zeros; in mpf_set_q() local 90 tsize = nsize + zeros; /* size of intermediate numerator */ in mpf_set_q() 91 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch */ in mpf_set_q() 106 ASSERT (tsize-dsize+1 == qsize); in mpf_set_q() 107 mpn_div_q (qp, np, tsize, dp, dsize, tp); in mpf_set_q()
|
| H A D | div.c | 60 mp_size_t usize, vsize, rsize, prospective_rsize, tsize, zeros; in mpf_div() local 102 tsize = usize + zeros; /* size for possible copy of u */ in mpf_div() 107 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch needs */ in mpf_div() 111 usize = tsize; in mpf_div()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| H A D | arrayassign.d | 27 …assign(from = %p,%d, to = %p,%d) size = %d\n", from.ptr, from.length, to.ptr, to.length, ti.tsize); in _d_arrayassign() 29 immutable elementSize = ti.tsize; in _d_arrayassign() 54 …sign_l(src = %p,%d, dst = %p,%d) size = %d\n", src.ptr, src.length, dst.ptr, dst.length, ti.tsize); in _d_arrayassign_l() 56 immutable elementSize = ti.tsize; in _d_arrayassign_l() 146 …sign_r(src = %p,%d, dst = %p,%d) size = %d\n", src.ptr, src.length, dst.ptr, dst.length, ti.tsize); in _d_arrayassign_r() 148 immutable elementSize = ti.tsize; in _d_arrayassign_r() 172 …ayctor(from = %p,%d, to = %p,%d) size = %d\n", from.ptr, from.length, to.ptr, to.length, ti.tsize); in _d_arrayctor() 175 auto element_size = ti.tsize; in _d_arrayctor() 212 auto element_size = ti.tsize; in _d_arraysetassign() 238 auto element_size = ti.tsize; in _d_arraysetctor()
|
| H A D | qsort.d | 59 qsort_r(a.ptr, a.length, ti.tsize, &cmp, cast(void*)ti); in _adSort() 74 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 89 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 104 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 119 qsort_r(a.ptr, a.length, ti.tsize, &cmp, cast(void*)ti); in version() 134 qsort(a.ptr, a.length, ti.tsize, &cmp); in _adSort()
|
| H A D | arraycast.d | 23 void[] _d_arraycast(size_t tsize, size_t fsize, void[] a) in _d_arraycast() argument 28 if (nbytes % tsize != 0) in _d_arraycast() 32 length = nbytes / tsize; in _d_arraycast()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/rt/ |
| H A D | arrayassign.d | 27 …assign(from = %p,%d, to = %p,%d) size = %d\n", from.ptr, from.length, to.ptr, to.length, ti.tsize); in _d_arrayassign() 29 immutable elementSize = ti.tsize; in _d_arrayassign() 54 …sign_l(src = %p,%d, dst = %p,%d) size = %d\n", src.ptr, src.length, dst.ptr, dst.length, ti.tsize); in _d_arrayassign_l() 56 immutable elementSize = ti.tsize; in _d_arrayassign_l() 146 …sign_r(src = %p,%d, dst = %p,%d) size = %d\n", src.ptr, src.length, dst.ptr, dst.length, ti.tsize); in _d_arrayassign_r() 148 immutable elementSize = ti.tsize; in _d_arrayassign_r() 172 …ayctor(from = %p,%d, to = %p,%d) size = %d\n", from.ptr, from.length, to.ptr, to.length, ti.tsize); in _d_arrayctor() 175 auto element_size = ti.tsize; in _d_arrayctor() 212 auto element_size = ti.tsize; in _d_arraysetassign() 238 auto element_size = ti.tsize; in _d_arraysetctor()
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | loadfile_ecoff.c | 69 if (coff->a.tsize != 0) { in loadfile_coff() 71 PROGRESS(("%lu", coff->a.tsize)); in loadfile_coff() 72 nr = READ(fd, coff->a.text_start, coff->a.tsize); in loadfile_coff() 76 if (nr != coff->a.tsize) { in loadfile_coff() 82 if (lseek(fd, coff->a.tsize, SEEK_CUR) == -1) { in loadfile_coff() 91 pos += coff->a.tsize; in loadfile_coff()
|
| /netbsd-src/external/lgpl3/gmp/dist/tests/ |
| H A D | refmpz.c | 48 mp_size_t xsize, ysize, tsize; in refmpz_hamdist() local 58 tsize = MAX (xsize, ysize); in refmpz_hamdist() 60 xp = refmpn_malloc_limbs (tsize); in refmpz_hamdist() 61 refmpn_zero (xp, tsize); in refmpz_hamdist() 64 yp = refmpn_malloc_limbs (tsize); in refmpz_hamdist() 65 refmpn_zero (yp, tsize); in refmpz_hamdist() 69 refmpn_neg (xp, xp, tsize); in refmpz_hamdist() 72 refmpn_neg (yp, yp, tsize); in refmpz_hamdist() 74 ret = refmpn_hamdist (xp, yp, tsize); in refmpz_hamdist()
|
| /netbsd-src/sys/arch/i386/stand/dosboot/ |
| H A D | dosfile.c | 112 u_int tsize; in dos_read() local 116 tsize = lsize; in dos_read() 118 if (tsize > DISKBUFSIZE) in dos_read() 119 tsize = DISKBUFSIZE; in dos_read() 123 tgot = dosread(df->doshandle, diskbufp, tsize); in dos_read() 135 if (tgot != tsize) in dos_read()
|
| /netbsd-src/sys/arch/next68k/stand/boot/ |
| H A D | sd.c | 270 int tsize; in sdstrategy() local 272 tsize = MAX_DMASIZE; in sdstrategy() 274 tsize = size; in sdstrategy() 276 nblks = howmany(tsize, ss->sc_dev_bsize); in sdstrategy() 279 blk, tsize, nblks, ss->sc_dev_bsize)); in sdstrategy() 291 (u_char *)&cdb, sizeof(cdb), (char *)buf + *rsize, &tsize); in sdstrategy() 297 *rsize += tsize; in sdstrategy() 298 size -= tsize; in sdstrategy()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
| H A D | prf.c | 122 size_t tsize; in _gsskrb5_pseudo_random() local 136 tsize = min(dol, output.length); in _gsskrb5_pseudo_random() 137 memcpy(p, output.data, tsize); in _gsskrb5_pseudo_random() 138 p += tsize; in _gsskrb5_pseudo_random() 139 dol -= tsize; in _gsskrb5_pseudo_random()
|
| /netbsd-src/external/lgpl3/gmp/dist/mpq/ |
| H A D | get_d.c | 136 mp_size_t tsize; in mpq_get_d() local 137 tsize = nsize + zeros; /* size for copy of n */ in mpq_get_d() 139 temp = TMP_ALLOC_LIMBS (tsize + 1); in mpq_get_d() 143 nsize = tsize; in mpq_get_d()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/ |
| H A D | qsort.d | 53 qsort_r(a.ptr, a.length, ti.tsize, &cmp, cast(void*)ti); in _adSort() 68 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 83 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 98 qsort_r(a.ptr, a.length, ti.tsize, cast(void*)ti, &cmp); in version() 113 qsort_r(a.ptr, a.length, ti.tsize, &cmp, cast(void*)ti); in version() 128 qsort(a.ptr, a.length, ti.tsize, &cmp); in _adSort()
|
| /netbsd-src/sys/compat/common/ |
| H A D | sysv_ipc_50.c | 90 size_t infosize, dssize, tsize, buflen; in sysctl_kern_sysvipc50() local 139 tsize = infosize + nds * dssize; in sysctl_kern_sysvipc50() 143 *sizep = tsize; in sysctl_kern_sysvipc50() 152 bf = malloc(uimin(tsize, buflen), M_TEMP, M_WAITOK | M_ZERO); in sysctl_kern_sysvipc50()
|
| /netbsd-src/usr.bin/systat/ |
| H A D | bufcache.c | 129 double tvalid, tsize; in showbufcache() local 185 tvalid = tsize = 0; in showbufcache() 211 tsize += s; in showbufcache() 219 (long)(tsize/1024), 100 * tsize / bufmem, in showbufcache() 220 tsize != 0 ? ((100 * tvalid) / tsize) : 0); in showbufcache()
|
| /netbsd-src/sys/kern/ |
| H A D | exec_ecoff.c | 157 epp->ep_tsize = eap->tsize; in exec_ecoff_prep_omagic() 164 eap->tsize + eap->dsize, epp->ep_taddr, vp, in exec_ecoff_prep_omagic() 188 epp->ep_tsize = eap->tsize; in exec_ecoff_prep_nmagic() 229 epp->ep_tsize = eap->tsize; in exec_ecoff_prep_zmagic() 239 NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_pagedvn, eap->tsize, in exec_ecoff_prep_zmagic()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| H A D | iotrace.c | 901 iopkt.comm.tsize = sizeof (IOTrace_packet); in write_io_packet() 952 iopkt->comm.tsize = pktSize; in open() 1006 iopkt->comm.tsize = pktSize; in gprofng_open64() 1151 iopkt.comm.tsize = sizeof (IOTrace_packet); in DCL_OPEN64() 1205 iopkt->comm.tsize = pktSize; in openat() 1260 iopkt->comm.tsize = pktSize; in creat() 1317 iopkt->comm.tsize = pktSize; in creat64() 1373 iopkt->comm.tsize = pktSize; in mkstemp() 1428 iopkt->comm.tsize = pktSize; in mkstemps() 1472 iopkt.comm.tsize = sizeof (IOTrace_packet); in close() [all …]
|
| /netbsd-src/sys/sys/ |
| H A D | exec_ecoff.h | 65 ecoff32_ulong tsize; member 101 (ECOFF_BLOCK_ALIGN((ep), ECOFF32_TXTOFF(ep) + (ep)->a.tsize)) 122 u_long tsize; member 169 (ECOFF_BLOCK_ALIGN((ep), ECOFF_TXTOFF(ep) + (ep)->a.tsize))
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| H A D | iotrace.c | 1042 iopkt->comm.tsize = pktSize; in open() 1168 iopkt->comm.tsize = pktSize; 1295 iopkt.comm.tsize = sizeof (IOTrace_packet); 1349 iopkt->comm.tsize = pktSize; 1404 iopkt->comm.tsize = pktSize; 1461 iopkt->comm.tsize = pktSize; 1517 iopkt->comm.tsize = pktSize; 1572 iopkt->comm.tsize = pktSize; 1616 iopkt.comm.tsize = sizeof (IOTrace_packet); 1709 iopkt->comm.tsize = pktSize; [all …]
|