Home
last modified time | relevance | path

Searched refs:sizehint (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/elftoolchain/libelftc/
H A Delftc_string_table.c129 elftc_string_table_create(size_t sizehint) in elftc_string_table_create() argument
134 if (sizehint < ELFTC_STRING_TABLE_DEFAULT_SIZE) in elftc_string_table_create()
135 sizehint = ELFTC_STRING_TABLE_DEFAULT_SIZE; in elftc_string_table_create()
137 nbuckets = sizehint / (ELFTC_STRING_TABLE_EXPECTED_CHAIN_LENGTH * in elftc_string_table_create()
145 if ((st->st_string_pool = malloc(sizehint)) == NULL) { in elftc_string_table_create()
155 st->st_string_pool_size = sizehint; in elftc_string_table_create()
176 elftc_string_table_from_section(Elf_Scn *scn, size_t sizehint) in elftc_string_table_from_section() argument
197 if ((st = elftc_string_table_create(sizehint)) == NULL) in elftc_string_table_from_section()
/freebsd/sbin/pfctl/tests/
H A Dpfctl_test.c89 read_fd(int fd, size_t sizehint) in read_fd() argument
95 sb = sbuf_new(NULL, NULL, sizehint, SBUF_AUTOEXTEND); in read_fd()
/freebsd/sys/contrib/openzfs/include/sys/lua/
H A Dlauxlib.h163 int sizehint);
/freebsd/contrib/elftoolchain/elfcopy/
H A Dsections.c1460 size_t indx, sizehint; in init_shstrtab() local
1470 sizehint = shdr.sh_size; in init_shstrtab()
1474 sizehint = 0; in init_shstrtab()
1487 s->strtab = elftc_string_table_create(sizehint); in init_shstrtab()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlauxlib.c666 int sizehint) { in luaL_pushmodule() argument
673 if (luaL_findtable(L, 0, modname, sizehint) != NULL) in luaL_pushmodule()