/dragonfly/contrib/gmp/mpz/ |
H A D | aorsmul.c | 78 tsize = xsize + ysize; in mpz_aorsmul() 87 tsize -= (high == 0); in mpz_aorsmul() 88 SIZ(w) = (sub >= 0 ? tsize : -tsize); in mpz_aorsmul() 93 tp = TMP_ALLOC_LIMBS (tsize); in mpz_aorsmul() 96 tsize -= (high == 0); in mpz_aorsmul() 97 ASSERT (tp[tsize-1] != 0); in mpz_aorsmul() 103 if (usize < tsize) in mpz_aorsmul() 106 usize = tsize; in mpz_aorsmul() 108 tsize = wsize; in mpz_aorsmul() 125 usize = tsize; in mpz_aorsmul() [all …]
|
H A D | out_raw.c | 57 size_t tsize, ssize; in mpz_out_raw() local 62 tsize = ROUND_UP_MULTIPLE ((unsigned) 4, BYTES_PER_MP_LIMB) + bytes; in mpz_out_raw() 64 tp = __GMP_ALLOCATE_FUNC_TYPE (tsize, char); in mpz_out_raw() 160 (*__gmp_free_func) (tp, tsize); in mpz_out_raw()
|
/dragonfly/contrib/gmp/mpf/ |
H A D | sqrt.c | 57 mp_size_t prec, tsize; in mpf_sqrt() local 78 tsize = 2 * prec - expodd; in mpf_sqrt() 83 ASSERT ((tsize + 1) / 2 == prec); in mpf_sqrt() 85 tp = TMP_ALLOC_LIMBS (tsize); in mpf_sqrt() 87 if (usize > tsize) in mpf_sqrt() 89 up += usize - tsize; in mpf_sqrt() 90 usize = tsize; in mpf_sqrt() 91 MPN_COPY (tp, up, tsize); in mpf_sqrt() 95 MPN_ZERO (tp, tsize - usize); in mpf_sqrt() 96 MPN_COPY (tp + (tsize - usize), up, usize); in mpf_sqrt() [all …]
|
H A D | ui_div.c | 33 mp_size_t rsize, prospective_rsize, zeros, tsize, high_zero; in mpf_ui_div() local 64 tsize = 1 + zeros; /* u with zeros */ in mpf_ui_div() 70 tp = TMP_ALLOC_LIMBS (tsize); in mpf_ui_div() 78 mp_size_t size = vsize + tsize + (rp == vp ? vsize : 0); in mpf_ui_div() 81 new_vp = tp + tsize; in mpf_ui_div() 91 MPN_ZERO (tp, tsize-1); in mpf_ui_div() 93 tp[tsize - 1] = u & GMP_NUMB_MASK; in mpf_ui_div() 99 ASSERT (tsize >= 2); in mpf_ui_div() 100 tp[tsize - 1] = u >> GMP_NUMB_BITS; in mpf_ui_div() 101 tp[tsize - 2] = u & GMP_NUMB_MASK; in mpf_ui_div() [all …]
|
H A D | div_ui.c | 31 mp_size_t rsize, tsize; in mpf_div_ui() local 73 tsize = 1 + prec; in mpf_div_ui() 74 tp = TMP_ALLOC_LIMBS (tsize + 1); in mpf_div_ui() 76 if (usize > tsize) in mpf_div_ui() 78 up += usize - tsize; in mpf_div_ui() 79 usize = tsize; in mpf_div_ui() 84 MPN_ZERO (tp, tsize - usize); in mpf_div_ui() 85 rtp = tp + (tsize - usize); in mpf_div_ui() 91 mpn_divmod_1 (rp, tp, tsize, (mp_limb_t) v); in mpf_div_ui() 92 q_limb = rp[tsize - 1]; in mpf_div_ui() [all …]
|
H A D | set_q.c | 66 mp_size_t prec, nsize, dsize, qsize, prospective_qsize, tsize, zeros; in mpf_set_q() local 99 tsize = nsize + zeros; /* possible copy of n */ in mpf_set_q() 107 tp = TMP_ALLOC_LIMBS (tsize); in mpf_set_q() 112 mp_size_t size = dsize + (zeros > 0 ? tsize : 0); in mpf_set_q() 123 nsize = tsize; in mpf_set_q()
|
H A D | div.c | 50 mp_size_t usize, vsize, rsize, prospective_rsize, tsize, zeros; in mpf_div() local 91 tsize = usize + zeros; /* size for possible copy of u */ in mpf_div() 96 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch needs */ in mpf_div() 100 usize = tsize; in mpf_div()
|
/dragonfly/usr.bin/truncate/ |
H A D | truncate.c | 52 off_t oflow, rsize, sz, tsize; in main() local 56 rsize = tsize = sz = 0; in main() 94 tsize = sb.st_size; in main() 98 tsize = sz; in main() 127 tsize = oflow; in main() 129 if (tsize < 0) in main() 130 tsize = 0; in main() 132 if (ftruncate(fd, tsize) == -1) { in main()
|
/dragonfly/contrib/gmp/mpq/ |
H A D | get_d.c | 101 mp_size_t qsize, prospective_qsize, zeros, chop, tsize; in mpq_get_d() local 132 tsize = nsize + zeros; /* size for possible copy of n */ in mpq_get_d() 138 tp = (zeros > 0 ? TMP_ALLOC_LIMBS (tsize) : NULL); in mpq_get_d() 143 remp = TMP_ALLOC_LIMBS (dsize + (zeros > 0 ? tsize : 0)); in mpq_get_d() 153 nsize = tsize; in mpq_get_d()
|
/dragonfly/contrib/mpfr/src/ |
H A D | sqrt.c | 31 mp_size_t tsize; /* number of limbs of the sqrtrem remainder */ in mpfr_sqrt() local 139 tsize = __gmpn_rootrem (rp, NULL, sp, rrsize, 2); in mpfr_sqrt() 141 tsize = mpn_sqrtrem (rp, NULL, sp, rrsize); in mpfr_sqrt() 145 sticky = sticky0 || tsize != 0; in mpfr_sqrt() 170 if (sticky1 == (MPFR_LIMB_ONE << (sh - 1)) && tsize == 0 in mpfr_sqrt() 185 if (sticky1 == MPFR_LIMB_HIGHBIT && tsize == 0 && sticky0 == 0) in mpfr_sqrt()
|
/dragonfly/usr.sbin/config/ |
H A D | main.c | 438 size_t tsize; in moveifchanged() local 459 tsize = (size_t)from_sb.st_size; in moveifchanged() 462 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0); in moveifchanged() 468 q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0); in moveifchanged() 472 changed = memcmp(p, q, tsize); in moveifchanged() 473 munmap(p, tsize); in moveifchanged() 474 munmap(q, tsize); in moveifchanged()
|
/dragonfly/sbin/dump/ |
H A D | main.c | 72 long tsize; /* tape size in 0.1" units */ variable 114 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main() 191 tsize = numarg("tape size", 1L, 0L) * 12 * 10; in main() 260 if (tsize == 0) in main() 261 tsize = cartridge ? 1700L*120L : 2300L*120L; in main() 401 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main() 414 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
|
H A D | dump.h | 67 extern long tsize; /* tape size in 0.1" units */
|
/dragonfly/usr.bin/tcopy/ |
H A D | tcopy.c | 54 static u_int64_t lastrec, record, size, tsize; variable 198 tsize += size; in main() 204 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)tsize); in main() 282 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)tsize + size); in intr()
|
/dragonfly/contrib/binutils-2.34/include/coff/ |
H A D | external.h | 48 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member 64 char tsize[4]; /* Text size in bytes, padded to FW bdry*/ member
|
/dragonfly/contrib/binutils-2.27/include/coff/ |
H A D | external.h | 48 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member 64 char tsize[4]; /* Text size in bytes, padded to FW bdry*/ member
|
H A D | ia64.h | 47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
|
/dragonfly/contrib/lvm2/dist/libdm/mm/ |
H A D | dbg_malloc.c | 62 size_t tsize = s + sizeof(*nb) + sizeof(unsigned long); in dm_malloc_aux_debug() local 70 if (!(nb = malloc(tsize))) { in dm_malloc_aux_debug()
|
/dragonfly/usr.bin/xinstall/ |
H A D | xinstall.c | 940 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument 944 (void)strncpy(temp, path, tsize); in create_tempfile() 945 temp[tsize - 1] = '\0'; in create_tempfile() 950 (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p); in create_tempfile() 951 temp[tsize - 1] = '\0'; in create_tempfile()
|
/dragonfly/sbin/disklabel64/ |
H A D | disklabel64.c | 1474 uint64_t tsize; in expandlabel() local 1492 tsize = st.st_size; in expandlabel() 1496 printf("total size: %ld -> %ld\n", lp->d_total_size, tsize); in expandlabel() 1503 lp->d_total_size > tsize) { in expandlabel() 1513 lp->d_total_size == tsize) { in expandlabel() 1520 lp->d_total_size = tsize; in expandlabel()
|
/dragonfly/bin/ps/ |
H A D | extern.h | 82 void tsize(const KINFO *, const struct varent *);
|
/dragonfly/lib/libc/rpc/ |
H A D | rpcb_clnt.c | 450 size_t tsize; in local_rpcb() local 469 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb() 471 (rpcvers_t)RPCBVERS, tsize, tsize); in local_rpcb()
|
/dragonfly/sys/vfs/smbfs/ |
H A D | smbfs_vnops.c | 306 u_quad_t tsize = 0; in smbfs_setattr() local 334 tsize = np->n_size; in smbfs_setattr() 346 np->n_size = tsize; in smbfs_setattr() 347 vnode_pager_setsize(vp, (u_long)tsize); in smbfs_setattr()
|
/dragonfly/contrib/tcsh-6/ |
H A D | tc.func.c | 1470 static size_t tsize = TILINCR; variable 1588 if (tlength == tsize) { in gettilde() 1589 tsize += TILINCR; in gettilde() 1590 tcache = xrealloc(tcache, tsize * sizeof(struct tildecache)); in gettilde() 1615 tsize = TILINCR; in getusername()
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | peXXigen.c | 481 aouthdr_int->tsize = GET_AOUTHDR_TSIZE (abfd, aouthdr_ext->tsize); in _bfd_XXi_swap_aouthdr_in() 498 a->SizeOfCode = aouthdr_int->tsize ; in _bfd_XXi_swap_aouthdr_in() 579 if (aouthdr_int->tsize) in _bfd_XXi_swap_aouthdr_in() 653 if (aouthdr_in->tsize) in _bfd_XXi_swap_aouthdr_out() 720 bfd_vma tsize = 0; in _bfd_XXi_swap_aouthdr_out() local 736 tsize += rounded; in _bfd_XXi_swap_aouthdr_out() 754 aouthdr_in->tsize = tsize; in _bfd_XXi_swap_aouthdr_out() 769 PUT_AOUTHDR_TSIZE (abfd, aouthdr_in->tsize, aouthdr_out->standard.tsize); in _bfd_XXi_swap_aouthdr_out()
|