Searched defs:table_size (Results 1 - 15 of 15) sorted by relevance

/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/
H A Dcfga_rcm.c261 size_t table_size = 0; local
318 table_size = (2 + tuples) * (width + 1) + 2;
320 *table = malloc(table_size);
322 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/cfgadm_plugins/sata/common/
H A Dcfga_rcm.c193 size_t table_size = 0; local
249 table_size = (2 + tuples) * (width + 1) + 2;
252 *table = calloc(table_size, sizeof (char));
257 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_rcm.c260 size_t table_size = 0; local
309 table_size = (2 + tuples) * (width + 1) + 2;
312 *table = calloc(table_size, sizeof (char));
316 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_rcm.c213 size_t table_size = 0; local
271 table_size = (2 + tuples) * (width + 1) + 2;
274 *table = calloc(table_size, sizeof (char));
281 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_hash.c85 ht_create_table(size_t table_size, size_t key_size, size_t flags) argument
91 if ((table_size == 0) || (key_size == 0))
94 if (ht_is_power2(table_size) == 0)
97 msize = sizeof (HT_HANDLE) + (sizeof (HT_TABLE_ENTRY) * table_size);
104 ht->ht_table_size = table_size;
105 ht->ht_table_mask = table_size - 1;
115 for (i = 0; i < table_size; i++)
/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dcache.h75 unsigned int table_size; member in struct:_HfsCPrivateCacheTable
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c488 size_t table_size = 0; local
539 table_size = (2 + tuples) * (width + 1) + 2;
541 *table = malloc(table_size);
543 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_hash.c347 * Create a new hash table with at least 'table_size' hash buckets.
351 IN DAT_COUNT table_size,
356 DAT_COUNT table_length = table_size * sizeof (DAPL_HASH_ELEM);
373 p_table->tbl_size = table_size;
385 for (i = 0; i < table_size; i++) {
350 dapls_hash_create( IN DAT_COUNT table_size, IN DAT_BOOLEAN locking_required, OUT DAPL_HASH_TABLE **pp_table) argument
/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dfat.c193 FatCluster table_size; local
195 table_size = fs_info->fat_sectors * 512
197 fs_info->fat = fat_table_new (fs_info->fat_type, table_size);
284 FatCluster table_size; local
359 table_size = fs_info->fat_sectors * 512
361 fs_info->fat = fat_table_new (fs_info->fat_type, table_size);
460 FatCluster table_size; local
463 table_size = fs_info->fat_sectors * 512
466 table_copy = fat_table_new (fs_info->fat_type, table_size);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dfnmatch_loop.c464 int32_t table_size; local
487 table_size =
501 elem = hash % table_size;
504 second = hash % (table_size - 2) + 1;
685 int32_t table_size; local
708 table_size =
723 elem = hash % table_size;
726 second = hash % (table_size - 2) + 1;
H A Dregcomp.c858 __re_size_t table_size;
879 /* Avoid overflows. The extra "/ 2" is for the table_size doubling
889 /* table_size = 2 ^ ceil(log pat_len) */
890 for (table_size = 1; ; table_size <<= 1)
891 if (table_size > pat_len)
894 dfa->state_table = calloc (sizeof (struct re_state_table_entry), table_size);
895 dfa->state_hash_mask = table_size - 1;
2791 int32_t table_size;
2806 int32_t elem = hash % table_size;
853 __re_size_t table_size; local
2782 int32_t table_size; local
[all...]
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dlock.h50 u_int32_t table_size; /* size of hash table */ member in struct:__db_lockregion
/osnet-11/usr/src/lib/libxcurses/src/tic/
H A Dticparse.c54 int table_size = 0; /* current string_table size */ variable
414 if (table_size == 0)
418 table_size = 1024;
420 table_size);
423 while (table_size < next_free + strlen(string))
425 if ((string_table = realloc(string_table, table_size + 1024))
428 table_size += 1024;
429 DEBUG(5, "Extended string table. Size now %d\n", table_size);
/osnet-11/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c396 size_t table_size = 0; local
445 table_size = (2 + tuples) * (width + 1) + 2;
448 *table = calloc(table_size, sizeof (char));
452 newtable = realloc(*table, strlen(*table) + table_size);
/osnet-11/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c409 size_t table_size = 0; local
457 table_size = (2 + tuples) * (width + 1) + 2;
460 *table = calloc(table_size, sizeof (char));
464 newtable = realloc(*table, strlen(*table) + table_size);

Completed in 55 milliseconds