| /src/external/lgpl3/gmp/dist/mpf/ |
| sqrt.c | 67 mp_size_t prec, tsize; local 88 tsize = 2 * prec - expodd; 92 /* root size is ceil(tsize/2), this will be our desired "prec" limbs */ 93 ASSERT ((tsize + 1) / 2 == prec); 95 tp = TMP_ALLOC_LIMBS (tsize); 97 if (usize > tsize) 99 up += usize - tsize; 100 usize = tsize; 101 MPN_COPY (tp, up, tsize); 105 MPN_ZERO (tp, tsize - usize) [all...] |
| div_ui.c | 41 mp_size_t rsize, tsize; local 84 tsize = 1 + prec; 85 tp = TMP_ALLOC_LIMBS (tsize + 1); 87 if (usize > tsize) 89 up += usize - tsize; 90 usize = tsize; 95 MPN_ZERO (tp, tsize - usize); 96 rtp = tp + (tsize - usize); 102 mpn_divmod_1 (rp, tp, tsize, (mp_limb_t) v); 103 q_limb = rp[tsize - 1] [all...] |
| set_q.c | 57 mp_size_t prec, nsize, dsize, qsize, prospective_qsize, tsize, zeros; local 90 tsize = nsize + zeros; /* size of intermediate numerator */ 91 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch */ 106 ASSERT (tsize-dsize+1 == qsize); 107 mpn_div_q (qp, np, tsize, dp, dsize, tp);
|
| ui_div.c | 42 mp_size_t rsize, prospective_rsize, zeros, tsize, high_zero; local 74 tsize = 1 + zeros; /* u with zeros */ 80 tp = TMP_ALLOC_LIMBS (tsize); 88 mp_size_t size = vsize + tsize + (rp == vp ? vsize : 0); 91 new_vp = tp + tsize; 101 MPN_ZERO (tp, tsize-1); 103 tp[tsize - 1] = u & GMP_NUMB_MASK; 107 /* tsize-vsize+1 == rsize, so tsize >= rsize. rsize == prec+1 >= 2, 108 so tsize >= 2, hence there's room for 2-limb u with nails * [all...] |
| div.c | 60 mp_size_t usize, vsize, rsize, prospective_rsize, tsize, zeros; local 102 tsize = usize + zeros; /* size for possible copy of u */ 107 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch needs */ 111 usize = tsize;
|
| /src/sys/compat/common/ |
| sysv_ipc_50.c | 90 size_t infosize, dssize, tsize, buflen; local 139 tsize = infosize + nds * dssize; 143 *sizep = tsize; 152 bf = malloc(uimin(tsize, buflen), M_TEMP, M_WAITOK | M_ZERO);
|
| /src/sys/compat/linux/common/ |
| linux_uselib.c | 90 long bsize, dsize, tsize, taddr, baddr, daddr; local 125 tsize = hdr.a_text; 126 daddr = taddr + tsize;
|
| /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
| prf.c | 122 size_t tsize; local 136 tsize = min(dol, output.length); 137 memcpy(p, output.data, tsize); 138 p += tsize; 139 dol -= tsize;
|
| /src/external/lgpl3/gmp/dist/mpq/ |
| get_d.c | 136 mp_size_t tsize; local 137 tsize = nsize + zeros; /* size for copy of n */ 139 temp = TMP_ALLOC_LIMBS (tsize + 1); 143 nsize = tsize;
|
| /src/external/lgpl3/gmp/dist/mpz/ |
| aorsmul.c | 53 mp_size_t xsize, ysize, tsize, wsize, wsize_signed; local 88 tsize = xsize + ysize; 89 wp = MPZ_REALLOC (w, MAX (wsize, tsize) + 1); 96 tsize -= (high == 0); 97 SIZ(w) = (sub >= 0 ? tsize : -tsize); 102 tp = TMP_ALLOC_LIMBS (tsize); 105 tsize -= (high == 0); 106 ASSERT (tp[tsize-1] != 0); 112 if (usize < tsize) [all...] |
| out_raw.c | 67 size_t tsize, ssize; local 72 tsize = ROUND_UP_MULTIPLE ((unsigned) 4, GMP_LIMB_BYTES) + bytes; 74 tp = __GMP_ALLOCATE_FUNC_TYPE (tsize, char); 170 (*__gmp_free_func) (tp, tsize);
|
| /src/sys/arch/i386/stand/dosboot/ |
| dosfile.c | 112 u_int tsize; local 116 tsize = lsize; 118 if (tsize > DISKBUFSIZE) 119 tsize = DISKBUFSIZE; 123 tgot = dosread(df->doshandle, diskbufp, tsize); 135 if (tgot != tsize)
|
| /src/sys/kern/ |
| sysv_ipc.c | 369 size_t infosize, dssize, tsize, buflen; local 429 tsize = infosize + nds * dssize; 433 *sizep = tsize; 442 sz = uimin(tsize, buflen);
|
| /src/usr.bin/tcopy/ |
| tcopy.c | 66 static off_t size, tsize; variable 213 tsize += size; 219 fprintf(msg, "total length: %lld bytes\n", (long long)tsize); 299 fprintf(msg, "total length: %lld bytes\n", (long long)(tsize + size));
|
| /src/external/gpl2/lvm2/dist/libdm/mm/ |
| dbg_malloc.c | 62 size_t tsize = s + sizeof(*nb) + sizeof(unsigned long); local 70 if (!(nb = malloc(tsize))) {
|
| /src/external/gpl3/binutils/dist/include/coff/ |
| ia64.h | 47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member in struct:__anon10344
|
| /src/external/gpl3/binutils.old/dist/include/coff/ |
| ia64.h | 47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member in struct:__anon11808
|
| /src/external/gpl3/gdb/dist/include/coff/ |
| ia64.h | 47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member in struct:__anon18455
|
| /src/external/gpl3/gdb.old/dist/include/coff/ |
| ia64.h | 47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member in struct:__anon21196
|
| /src/external/lgpl3/gmp/dist/tests/ |
| refmpz.c | 48 mp_size_t xsize, ysize, tsize; local 58 tsize = MAX (xsize, ysize); 60 xp = refmpn_malloc_limbs (tsize); 61 refmpn_zero (xp, tsize); 64 yp = refmpn_malloc_limbs (tsize); 65 refmpn_zero (yp, tsize); 69 refmpn_neg (xp, xp, tsize); 72 refmpn_neg (yp, yp, tsize); 74 ret = refmpn_hamdist (xp, yp, tsize);
|
| /src/external/lgpl3/mpfr/dist/src/ |
| sqrt.c | 503 mp_size_t tsize; /* number of limbs of the sqrtrem remainder */ local 627 tsize = mpn_sqrtrem (rp, NULL, sp, rrsize); 630 sticky = sticky0 || tsize != 0; 656 if (sticky1 == (MPFR_LIMB_ONE << (sh - 1)) && tsize == 0 671 if (sticky1 == MPFR_LIMB_HIGHBIT && tsize == 0 && sticky0 == 0)
|
| /src/sys/arch/macppc/stand/fixcoff/ |
| fixcoff.c | 84 char tsize[4]; member in struct:aouthdr
|
| /src/sys/arch/next68k/stand/boot/ |
| sd.c | 270 int tsize; local 272 tsize = MAX_DMASIZE; 274 tsize = size; 276 nblks = howmany(tsize, ss->sc_dev_bsize); 279 blk, tsize, nblks, ss->sc_dev_bsize)); 291 (u_char *)&cdb, sizeof(cdb), (char *)buf + *rsize, &tsize); 297 *rsize += tsize; 298 size -= tsize;
|
| /src/sys/sys/ |
| exec_ecoff.h | 64 ecoff32_ulong tsize; member in struct:ecoff32_aouthdr 100 (ECOFF_BLOCK_ALIGN((ep), ECOFF32_TXTOFF(ep) + (ep)->a.tsize)) 121 u_long tsize; member in struct:ecoff_aouthdr 168 (ECOFF_BLOCK_ALIGN((ep), ECOFF_TXTOFF(ep) + (ep)->a.tsize))
|
| /src/usr.bin/systat/ |
| bufcache.c | 129 double tvalid, tsize; local 185 tvalid = tsize = 0; 211 tsize += s; 219 (long)(tsize/1024), 100 * tsize / bufmem, 220 tsize != 0 ? ((100 * tvalid) / tsize) : 0);
|