Home
last modified time | relevance | path

Searched refs:tsize (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-10-stable/usr.bin/truncate/
Dtruncate.c57 off_t oflow, rsize, sz, tsize; in main() local
63 rsize = tsize = sz = 0; in main()
103 tsize = sb.st_size; in main()
107 tsize = sz; in main()
138 tsize = oflow; in main()
140 if (tsize < 0) in main()
141 tsize = 0; in main()
143 if (ftruncate(fd, tsize) == -1) { in main()
/freebsd-10-stable/sys/dev/patm/genrtab/
Dgenrtab.c46 static const u_int tsize = 256; variable
127 return (tsize - 1); in cps2log()
129 return ((tsize - 1) * (1 - log(alink / lg) / log(alink / offset))); in cps2log()
139 (double)(tsize - lg - 1) / (tsize - 1))); in log2cps()
186 (double)(tsize - i - 1) / (tsize - 1)); in gen_log2rate()
312 for (i = 0; i < tsize/2 - 8; i++) { in gen_glob()
338 for (i = 0; i < tsize; i++) { in gen_air()
377 d = tsize - 1; in gen_rdf()
380 d = (tsize - 1) / log(alink / offset); in gen_rdf()
385 for (i = 0; i < tsize; i++) { in gen_rdf()
/freebsd-10-stable/contrib/sendmail/libsm/
Dfvwrite.c136 int tsize; variable
139 tsize = fp->f_bf.smb_size;
142 tsize = (tsize << 1) + 1;
143 } while ((size_t) tsize < blen + len);
145 tsize + 1);
151 fp->f_w += tsize - fp->f_bf.smb_size;
153 fp->f_bf.smb_size = tsize;
/freebsd-10-stable/tests/sys/geom/class/stripe/
D2_test.sh8 tsize=3
12 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=${src} of=/dev/stripe/${name} bs=1m count=$tsize >/dev/null 2>&1
22 dd if=/dev/stripe/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd-10-stable/tests/sys/geom/class/concat/
D2_test.sh8 tsize=6
16 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=${src} of=/dev/concat/${name} bs=1m count=$tsize >/dev/null 2>&1
22 dd if=/dev/concat/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd-10-stable/crypto/heimdal/lib/gssapi/krb5/
Dprf.c120 size_t tsize; in _gsskrb5_pseudo_random() local
134 tsize = min(dol, output.length); in _gsskrb5_pseudo_random()
135 memcpy(p, output.data, tsize); in _gsskrb5_pseudo_random()
136 p += tsize; in _gsskrb5_pseudo_random()
137 dol -= tsize; in _gsskrb5_pseudo_random()
/freebsd-10-stable/contrib/groff/src/preproc/grn/
Dmain.cpp178 int tsize[SIZES]; /* optionally changed by commands inside */ variable
436 tsize[i] = defsize[i]; in initpic()
541 tsize[i] = (int) (troffscale * (double) tsize[i] + 0.5); in conv()
668 defsize[i] = tsize[i]; in savestate()
740 tsize[str1[0] - '1'] = i; in interpret()
/freebsd-10-stable/usr.bin/tcopy/
Dtcopy.c64 static uint64_t lastrec, record, size, tsize; variable
206 tsize += size; in main()
212 fprintf(msg, "total length: %ju bytes\n", (intmax_t)tsize); in main()
288 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); in intr()
/freebsd-10-stable/usr.sbin/config/
Dmain.c553 size_t tsize; in moveifchanged() local
574 tsize = (size_t)from_sb.st_size; in moveifchanged()
577 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0); in moveifchanged()
580 q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0); in moveifchanged()
584 changed = memcmp(p, q, tsize); in moveifchanged()
585 munmap(p, tsize); in moveifchanged()
586 munmap(q, tsize); in moveifchanged()
/freebsd-10-stable/contrib/libpcap/
Dsf-pcap.c372 static size_t tsize = 0; in pcap_next_packet() local
380 if (tsize < hdr->caplen) { in pcap_next_packet()
381 tsize = ((hdr->caplen + 1023) / 1024) * 1024; in pcap_next_packet()
384 tp = (u_char *)malloc(tsize); in pcap_next_packet()
386 tsize = 0; in pcap_next_packet()
/freebsd-10-stable/sbin/dump/
Dmain.c112 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main()
208 tsize = numarg("tape size", 1L, 0L) * 12 * 10; in main()
284 if (tsize == 0) in main()
285 tsize = cartridge ? 1700L*120L : 2300L*120L; in main()
500 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
513 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
Ddump.h72 long tsize; /* tape size in 0.1" units */ variable
/freebsd-10-stable/sys/netsmb/
Dsmb_smb.c825 int tsize, len, resid; in smb_read() local
828 tsize = uio->uio_resid; in smb_read()
829 while (tsize > 0) { in smb_read()
831 len = tsize; in smb_read()
835 tsize -= resid; in smb_read()
900 int error = 0, len, tsize, resid; in smb_write() local
903 tsize = uio->uio_resid; in smb_write()
905 while (tsize > 0) { in smb_write()
907 len = tsize; in smb_write()
915 tsize -= resid; in smb_write()
/freebsd-10-stable/contrib/binutils/include/coff/
Dexternal.h47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
63 char tsize[4]; /* Text size in bytes, padded to FW bdry*/ member
Dia64.h46 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
Drs6k64.h60 unsigned char tsize[8]; /* text size bytes, padded to FW bdry */ member
/freebsd-10-stable/sys/kern/
Dvfs_cluster.c316 long tinc, tsize; in cluster_rbuild() local
422 tsize = size; in cluster_rbuild()
424 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
426 tinc = tsize; in cluster_rbuild()
438 tsize -= tinc; in cluster_rbuild()
440 if (tsize > 0) { in cluster_rbuild()
/freebsd-10-stable/sys/i386/ibcs2/
Dcoff.h58 long tsize; /* */ member
/freebsd-10-stable/contrib/binutils/include/aout/
Dencap.h56 long tsize; member
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX/
DRegisterContextLinux_i386.cpp42 uint32_t tsize; // Text segment size. member
DRegisterContextLinux_x86_64.cpp55 uint64_t tsize; // Text segment size. member
/freebsd-10-stable/contrib/binutils/bfd/
DpeXXigen.c399 aouthdr_int->tsize = GET_AOUTHDR_TSIZE (abfd, aouthdr_ext->tsize); in _bfd_XXi_swap_aouthdr_in()
415 a->SizeOfCode = aouthdr_int->tsize ; in _bfd_XXi_swap_aouthdr_in()
486 if (aouthdr_int->tsize) in _bfd_XXi_swap_aouthdr_in()
571 if (aouthdr_in->tsize) in _bfd_XXi_swap_aouthdr_out()
641 bfd_vma tsize = 0; in _bfd_XXi_swap_aouthdr_out() local
654 tsize += rounded; in _bfd_XXi_swap_aouthdr_out()
672 aouthdr_in->tsize = tsize; in _bfd_XXi_swap_aouthdr_out()
686 PUT_AOUTHDR_TSIZE (abfd, aouthdr_in->tsize, aouthdr_out->standard.tsize); in _bfd_XXi_swap_aouthdr_out()
/freebsd-10-stable/contrib/amd/conf/nfs_prot/
Dnfs_prot_freebsd2.h101 #define sfrok_tsize tsize
Dnfs_prot_freebsd3.h139 #define sfrok_tsize tsize
/freebsd-10-stable/usr.bin/xinstall/
Dxinstall.c1101 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument
1105 (void)strncpy(temp, path, tsize); in create_tempfile()
1106 temp[tsize - 1] = '\0'; in create_tempfile()
1111 (void)strncpy(p, "INS@XXXX", &temp[tsize - 1] - p); in create_tempfile()
1112 temp[tsize - 1] = '\0'; in create_tempfile()

123