Searched refs:tablesize (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | make_hash.c | 116 unsigned tablesize) in _nc_make_hash_table() argument 125 for (i = 0; i < tablesize; i++) { in _nc_make_hash_table() 137 printf("/* %d collisions out of %d entries */\n", collisions, tablesize); in _nc_make_hash_table() 249 unsigned tablesize = CAPTABSIZE; in main() local 251 user_table_entry, tablesize); in main() 286 for (n = 0; (n < tablesize) && fgets(buffer, BUFSIZ, stdin);) { in main() 351 if (tablesize > tableused) in main() 352 tablesize = tableused; in main() 353 _nc_make_hash_table(name_table, hash_table, tablesize); in main() 363 for (n = 0; n < tablesize; n++) { in main() [all …]
|
H A D | MKcaptab.sh | 122 size_t tablesize) 125 *actual = typeCalloc(struct alias, tablesize + 1); 128 for (n = 0; n < tablesize; ++n) {
|
/freebsd/contrib/sendmail/libsm/ |
H A D | vfprintf.c | 840 int tablesize; /* current size of type table */ local 846 ((nextarg >= tablesize) ? \ 847 (sm_grow_type_table_x(&typetable, &tablesize), 0) : 0, \ 882 tablesize = STATIC_ARG_TBL_SIZE; 1098 sm_grow_type_table_x(typetable, tablesize) in sm_grow_type_table_x() argument 1100 int *tablesize; 1103 int newsize = *tablesize * 2; 1105 if (*tablesize == STATIC_ARG_TBL_SIZE) 1109 (void) memmove(*typetable, oldtable, *tablesize); 1116 (void) memset(&typetable [*tablesize], T_UNUSED, [all …]
|
/freebsd/libexec/bootpd/ |
H A D | hash.c | 70 hash_Init(unsigned tablesize) in hash_Init() argument 75 if (tablesize > 0) { in hash_Init() 77 + sizeof(hash_member *) * (tablesize - 1); in hash_Init() 81 hashtblptr->size = tablesize; /* Success! */ in hash_Init()
|
H A D | hash.h | 123 extern hash_tbl *hash_Init(u_int tablesize);
|
/freebsd/lib/libc/stdio/ |
H A D | printf-pos.c | 76 u_int tablesize; /* current size of type table */ member 93 types->tablesize = STATIC_ARG_TBL_SIZE; in inittypes() 119 if (types->nextarg >= types->tablesize) { in _ensurespace() 638 const int oldsize = types->tablesize; in __grow_type_table() 662 types->tablesize = newsize; in __grow_type_table()
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | elftc_string_table.c | 132 int n, nbuckets, tablesize; in elftc_string_table_create() local 140 tablesize = sizeof(struct _Elftc_String_Table) + in elftc_string_table_create() 143 if ((st = malloc(tablesize)) == NULL) in elftc_string_table_create()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_rar.c | 208 int tablesize; member 2582 if (!rar_br_read_ahead(a, br, code->tablesize)) { in read_next_symbol() 2588 bits = rar_br_bits(br, code->tablesize); in read_next_symbol() 2600 if (length <= code->tablesize) in read_next_symbol() 2608 rar_br_consume(br, code->tablesize); in read_next_symbol() 2802 code->tablesize = 10; in make_table() 2804 code->tablesize = code->maxlength; in make_table() 2806 code->table = calloc(1U << code->tablesize, sizeof(*code->table)); in make_table() 2808 return make_table_recurse(a, code, 0, code->table, 0, code->tablesize); in make_table()
|