Home
last modified time | relevance | path

Searched refs:dirsize (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/usr.bin/perl/Porting/
H A Dperlhist_calculate.pl123 our $dirsize = 0;
126 $dirsize += (-s $_) / 1000;
132 $dirsize = int $dirsize;
134 emit $dir => $dirsize, $dirnumber;
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Drescoff.c372 unsigned long dirsize; member
480 cwi.dirsize = 0; in write_coff_file()
522 assert (cwi.dirs.length == cwi.dirsize); in write_coff_file()
526 length = (cwi.dirsize in write_coff_file()
580 cwi->dirsize += sizeof (struct extern_res_directory); in coff_bin_sizes()
584 cwi->dirsize += sizeof (struct extern_res_entry); in coff_bin_sizes()
671 0x80000000 | (cwi->dirsize + cwi->dirstrs.length), in coff_to_bin()
688 cwi->dirsize + cwi->dirstrsize + cwi->dataents.length, in coff_to_bin()
715 r->address = cwi->dirsize + cwi->dirstrsize + cwi->dataents.length; in coff_res_to_bin()
730 (cwi->dirsize in coff_res_to_bin()
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Drescoff.c372 unsigned long dirsize; member
480 cwi.dirsize = 0; in write_coff_file()
522 assert (cwi.dirs.length == cwi.dirsize); in write_coff_file()
526 length = (cwi.dirsize in write_coff_file()
580 cwi->dirsize += sizeof (struct extern_res_directory); in coff_bin_sizes()
584 cwi->dirsize += sizeof (struct extern_res_entry); in coff_bin_sizes()
671 0x80000000 | (cwi->dirsize + cwi->dirstrs.length), in coff_to_bin()
688 cwi->dirsize + cwi->dirstrsize + cwi->dataents.length, in coff_to_bin()
715 r->address = cwi->dirsize + cwi->dirstrsize + cwi->dataents.length; in coff_res_to_bin()
730 (cwi->dirsize in coff_res_to_bin()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dmain.c140 int dirsize; in captured_main() local
173 dirsize = 1; in captured_main()
174 dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg)); in captured_main()
410 if (ndir >= dirsize) in captured_main()
412 dirsize *= 2; in captured_main()
414 dirsize * sizeof (*dirarg)); in captured_main()
/openbsd-src/bin/pax/
H A Dtables.c203 static size_t dirsize; /* size of dirp table */ variable
1569 dirsize = DIRP_SIZE; in dir_start()
1570 if ((dirp = reallocarray(NULL, dirsize, sizeof(DIRDATA))) == NULL) { in dir_start()
1607 if (dircnt == dirsize) { in add_dir()
1608 dblk = reallocarray(dirp, dirsize * 2, sizeof(DIRDATA)); in add_dir()
1616 dirsize *= 2; in add_dir()
/openbsd-src/lib/libc/db/hash/
H A Dhash.c779 int dirsize, new_segnum, spare_ndx; in __expand_table() local
794 dirsize = hashp->DSIZE * sizeof(SEGMENT *); in __expand_table()
795 if (!hash_realloc(&hashp->dir, dirsize, dirsize << 1)) in __expand_table()
797 hashp->DSIZE = dirsize << 1; in __expand_table()
/openbsd-src/sys/ufs/ffs/
H A Dffs_alloc.c454 u_int dirsize, cgsize; in ffs_dirpref() local
505 dirsize = fs->fs_avgfilesize * fs->fs_avgfpdir; in ffs_dirpref()
507 if (dirsize < curdirsize) in ffs_dirpref()
508 dirsize = curdirsize; in ffs_dirpref()
509 if (dirsize <= 0) in ffs_dirpref()
512 maxcontigdirs = min(avgbfree * fs->fs_bsize / dirsize, 255); in ffs_dirpref()