Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/usr.bin/perl/lib/Tie/
H A DSubstrHash.pm47 my ($pack, $klen, $vlen, $tsize) = @_;
49 $tsize = [$tsize, findgteprime($tsize * 1.1)]; # Allow 10% empty.
50 my $self = bless ["\0", $klen, $vlen, $tsize, $rlen, 0, -1];
51 $self->[0] x= $rlen * $tsize->[1];
64 my (undef, $klen, $vlen, $tsize, $rlen) = @$self;
65 my $hashbase = my $hash = hashkey($key, $klen, $tsize);
77 $hash = rehash($hash, $hashbase, $tsize);
83 my (undef, $klen, $vlen, $tsize, $rlen) = @$self;
84 croak("Table is full ($tsize->[0] elements)") if $self->[5] > $tsize->[0];
89 my $hashbase = my $hash = hashkey($key, $klen, $tsize);
[all …]
/openbsd-src/usr.bin/rsync/
H A Dsession.c32 uint64_t tread, uint64_t twrite, uint64_t tsize) in stats_log() argument
72 if (tsize >= 1024 * 1024 * 1024) { in stats_log()
73 ts = tsize / (1024.0 * 1024.0 * 1024.0); in stats_log()
76 } else if (tsize >= 1024 * 1024) { in stats_log()
77 ts = tsize / (1024.0 * 1024.0); in stats_log()
80 } else if (tsize >= 1024) { in stats_log()
81 ts = tsize / 1024.0; in stats_log()
85 ts = tsize; in stats_log()
/openbsd-src/gnu/usr.bin/perl/Porting/
H A Dperlhist_calculate.pl75 our $tsize = 0;
79 $tsize += (-s $_) / 1000;
85 $tsize = int $tsize;
87 return $tsize, $tnumber;
/openbsd-src/regress/lib/libc/malloc/malloc0test/
H A Dmalloc0test.c62 int size, tsize; in main() local
102 tsize = size == 0 ? 16 : size; in main()
104 prot = test(blob, tsize); in main()
/openbsd-src/lib/libpcap/
H A Dsavefile.c308 static int tsize = 0; in sf_next_packet() local
316 if (tsize < hdr->caplen) { in sf_next_packet()
317 tsize = ((hdr->caplen + 1023) / 1024) * 1024; in sf_next_packet()
319 tp = malloc(tsize); in sf_next_packet()
321 tsize = 0; in sf_next_packet()
/openbsd-src/sbin/dump/
H A Dmain.c75 int64_t tsize; /* tape size in 0.1" units */ variable
126 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main()
183 tsize = numarg("tape size", 1, 0) * 12 * 10; in main()
326 if (tsize == 0) in main()
327 tsize = cartridge ? 1700L*120L : 2300L*120L; in main()
507 ) * (1.0 / tsize ); /* tape / 0.1" */ in main()
520 ) * (1.0 / tsize ); /* tape / 0.1" */ in main()
/openbsd-src/gnu/usr.bin/binutils/include/coff/
H A Dexternal.h47 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 Dia64.h46 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
H A Dapollo.h48 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
H A Dor32.h60 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
H A Di960.h79 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
/openbsd-src/gnu/usr.bin/binutils-2.17/include/coff/
H A Dexternal.h47 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 Dia64.h46 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
H A Dapollo.h48 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
H A Dor32.h60 char tsize[4]; /* text size in bytes, padded to FW bdry */ member
H A Di960.h79 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
/openbsd-src/bin/ksh/
H A Dtable.c43 ktinit(struct table *tp, Area *ap, int tsize) in ktinit() argument
48 if (tsize) in ktinit()
49 texpand(tp, tsize); in ktinit()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash66.C63 elong tsize; member
107 int tsize; in main() local
/openbsd-src/usr.bin/less/
H A Dcharset.c770 is_in_table(LWCHAR ch, struct wchar_range table[], int tsize) in is_in_table() argument
779 hi = tsize - 1; in is_in_table()
/openbsd-src/gnu/usr.bin/binutils-2.17/include/aout/
H A Dencap.h56 long tsize; member
/openbsd-src/gnu/usr.bin/binutils/include/aout/
H A Dencap.h56 long tsize; member
/openbsd-src/gnu/usr.bin/gcc/gcc/config/mips/
H A Dmips.c7236 HOST_WIDE_INT tsize = cfun->machine->frame.total_size; local
7284 ? ((long) tsize - current_function_outgoing_args_size)
7285 : (long) tsize),
7363 && INTVAL (offset) == tsize + (REGNO (src) - 4) * UNITS_PER_WORD)
7367 == (tsize
7426 if (tsize > 0)
7430 sp_str, sp_str, (long) tsize);
7435 dwarf2out_def_cfa ("", STACK_POINTER_REGNUM, tsize);
7445 HOST_WIDE_INT tsize; in mips_expand_prologue() local
7560 tsize = compute_frame_size (get_frame_size ()); in mips_expand_prologue()
[all …]
/openbsd-src/usr.bin/xinstall/
H A Dxinstall.c620 create_tempfile(char *path, char *temp, size_t tsize) in create_tempfile() argument
624 if (strlcpy(temp, path, tsize) >= tsize) { in create_tempfile()
633 if (strlcat(temp, "INS@XXXXXXXXXX", tsize) >= tsize) { in create_tempfile()
/openbsd-src/bin/ps/
H A Dextern.h79 void tsize(const struct pinfo *, VARENT *);
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A DpeXXigen.c397 aouthdr_int->tsize = GET_AOUTHDR_TSIZE (abfd, aouthdr_ext->tsize); in _bfd_XXi_swap_aouthdr_in()
464 if (aouthdr_int->tsize) in _bfd_XXi_swap_aouthdr_in()
549 if (aouthdr_in->tsize) in _bfd_XXi_swap_aouthdr_out()
619 bfd_vma tsize = 0; in _bfd_XXi_swap_aouthdr_out() local
632 tsize += rounded; in _bfd_XXi_swap_aouthdr_out()
645 aouthdr_in->tsize = tsize; in _bfd_XXi_swap_aouthdr_out()
659 PUT_AOUTHDR_TSIZE (abfd, aouthdr_in->tsize, aouthdr_out->standard.tsize); in _bfd_XXi_swap_aouthdr_out()

1234