Home
last modified time | relevance | path

Searched refs:table_size (Results 1 – 25 of 72) sorted by relevance

123

/NextBSD/contrib/groff/src/libs/libgroff/
HDsymbol.cpp30 int symbol::table_size = 0; member in symbol
89 table_size = table_sizes[0]; in symbol()
90 table = (const char **)new char*[table_size]; in symbol()
91 for (int i = 0; i < table_size; i++) in symbol()
97 for (pp = table + hc % table_size; in symbol()
99 (pp == table ? pp = table + table_size - 1 : --pp)) in symbol()
108 if (table_used >= table_size - 1 || table_used >= table_size*FULL_MAX) { in symbol()
110 unsigned int old_table_size = table_size; in symbol()
115 table_size = table_sizes[i]; in symbol()
117 table = (const char **)new char*[table_size]; in symbol()
[all …]
/NextBSD/usr.bin/grep/regex/
HDhashtable.c62 *hashtable_init(size_t table_size, size_t key_size, size_t value_size) in hashtable_init() argument
67 table_size, key_size, value_size)); in hashtable_init()
73 tbl->entries = calloc(sizeof(hashtable_entry *), table_size); in hashtable_init()
77 tbl->table_size = table_size; in hashtable_init()
109 if (tbl->table_size == tbl->usage) in hashtable_put()
115 hash = hash32_buf(key, tbl->key_size, hash) % tbl->table_size; in hashtable_put()
134 if (++hash == tbl->table_size) in hashtable_put()
183 hash = hash32_buf(key, tbl->key_size, hash) % tbl->table_size; in hashtable_lookup()
195 if (++hash == tbl->table_size) in hashtable_lookup()
259 for (unsigned int i = 0; i < tbl->table_size; i++) in hashtable_free()
HDhashtable.h23 size_t table_size; member
/NextBSD/contrib/flex/
HDsym.c66 int table_size));
75 static int addsym (sym, str_def, int_def, table, table_size) in addsym() argument
80 int table_size;
82 int hash_val = hashfunct (sym, table_size);
149 static struct hash_entry *findsym (sym, table, table_size) in findsym() argument
152 int table_size;
160 table[hashfunct (sym, table_size)];
/NextBSD/sys/compat/mach/ipc/
HDmach_debug.c261 vm_size_t table_size; in mach_port_space_info()
304 table_addr, table_size); in mach_port_space_info()
306 table_size = round_page(table_actual * in mach_port_space_info()
309 &table_addr, table_size); in mach_port_space_info()
319 table_potential = table_size/sizeof *table_info; in mach_port_space_info()
334 table_addr, table_size); in mach_port_space_info()
375 kmem_free(ipc_kernel_map, table_addr, table_size); in mach_port_space_info()
387 if (rsize_used != table_size) in mach_port_space_info()
390 table_size - rsize_used); in mach_port_space_info()
/NextBSD/usr.sbin/bhyve/
HDpci_passthru.c164 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local
234 table_size = pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in cfginitmsi()
235 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi()
366 uint32_t table_size, table_offset; in init_msix_table() local
385 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table()
386 table_size += pi->pi_msix.table_count * MSIX_TABLE_ENTRY_SIZE; in init_msix_table()
387 table_size = roundup2(table_size, 4096); in init_msix_table()
392 if (pba_offset >= table_offset + table_size || in init_msix_table()
424 base += table_size; in init_msix_table()
425 start += table_size; in init_msix_table()
[all …]
/NextBSD/sys/dev/drm/
HDati_pcigart.c77 gart_info->table_size, 1, /* maxsize, nsegs */ in drm_ati_alloc_pcigart_table()
78 gart_info->table_size, /* maxsegsize */ in drm_ati_alloc_pcigart_table()
99 gart_info->table_size, drm_ati_alloc_pcigart_table_cb, dmah, in drm_ati_alloc_pcigart_table()
185 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/NextBSD/lib/libiconv_modules/mapper_std/
HDcitrus_mapper_std.c248 uint64_t table_size; in rowcol_init() local
312 table_size = lz->width; in rowcol_init()
315 table_size *= lz->width; in rowcol_init()
317 table_size *= rc->rc_dst_unit_bits/8; in rowcol_init()
319 if (table_size > UINT32_MAX || in rowcol_init()
320 _region_size(&rc->rc_table) < table_size) in rowcol_init()
/NextBSD/contrib/less/
HDposition.c25 static int table_size; variable
110 if (sc_height <= table_size) in pos_init()
123 table_size = sc_height; in pos_init()
/NextBSD/contrib/xz/src/liblzma/lzma/
HDlzma_encoder.c80 const uint32_t table_size = lc->table_size; in length_update_prices() local
81 lc->counters[pos_state] = table_size; in length_update_prices()
90 for (i = 0; i < table_size && i < LEN_LOW_SYMBOLS; ++i) in length_update_prices()
94 for (; i < table_size && i < LEN_LOW_SYMBOLS + LEN_MID_SYMBOLS; ++i) in length_update_prices()
98 for (; i < table_size; ++i) in length_update_prices()
582 coder->match_len_encoder.table_size in lzma_lzma_encoder_create()
584 coder->rep_len_encoder.table_size in lzma_lzma_encoder_create()
HDlzma_encoder_private.h48 uint32_t table_size; member
/NextBSD/sys/dev/drm2/
HDati_pcigart.c44 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table()
77 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
148 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDcomp_hash.c76 + data->table_data[data->table_size]); in NCURSES_EXPORT()
109 ptr = table + (ptr->nte_link + data->table_data[data->table_size]); in _nc_find_type_entry()
/NextBSD/usr.bin/mkcsmapper/
HDyacc.y68 static size_t table_size; variable
249 table_size = p->width; in alloc_table()
252 table_size *= p->width; in alloc_table()
254 table = (void *)malloc(table_size * dst_unit_bits / 8); in alloc_table()
270 for (i = 0; i < table_size; i++) in alloc_table()
387 _region_init(&data, table, table_size*dst_unit_bits/8); in dump_file()
/NextBSD/sys/ofed/drivers/infiniband/hw/mthca/
HDmthca_mcg.c355 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local
358 table_size, in mthca_init_mcg_table()
359 table_size - 1, in mthca_init_mcg_table()
/NextBSD/contrib/groff/src/include/
HDindex.h28 int table_size; member
HDsymbol.h28 static int table_size; variable
/NextBSD/contrib/groff/src/libs/libbib/
HDindex.cpp203 + header.table_size * sizeof(int) in load()
214 pool = (char *)(table + header.table_size); in load()
228 for (i = 0; i < header.table_size; i++) { in do_verify()
496 int li = table[int(hc % header.table_size)]; in search1()
/NextBSD/sbin/camcontrol/
HDpersist.c440 size_t table_size = 0, id_len = 0; in scsipersist() local
526 table_size = sizeof(persist_in_actions) / in scsipersist()
531 table_size = sizeof(persist_out_actions) / in scsipersist()
542 status = scsi_get_nv(table, table_size, optarg, in scsipersist()
/NextBSD/sys/dev/drm2/radeon/
HDradeon_gart.c74 dmah = drm_pci_alloc(rdev->ddev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
85 rdev->gart.table_size >> PAGE_SHIFT, PAT_UNCACHED); in radeon_gart_table_ram_alloc()
89 memset((void *)rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
111 rdev->gart.table_size >> PAGE_SHIFT, PAT_WRITE_COMBINING); in radeon_gart_table_ram_free()
135 r = radeon_bo_create(rdev, rdev->gart.table_size, in radeon_gart_table_vram_alloc()
/NextBSD/sys/dev/pst/
HDpst-iop.c324 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry), in iop_get_lct()
330 reply->table_size * sizeof(struct i2o_lct_entry)); in iop_get_lct()
331 sc->lct_count = reply->table_size; in iop_get_lct()
/NextBSD/contrib/libstdc++/src/
Dctype.cc78 const size_t ctype<char>::table_size; member in ctype<char>
/NextBSD/lib/libnotify/
HDlibnotify.c59 _notify_lib_notify_state_new(uint32_t flags, uint32_t table_size) in _notify_lib_notify_state_new() argument
81 ns->name_table = _nc_table_new(table_size); in _notify_lib_notify_state_new()
82 ns->name_id_table = _nc_table_new(table_size); in _notify_lib_notify_state_new()
83 ns->client_table = _nc_table_new(table_size); in _notify_lib_notify_state_new()
84 ns->port_table = _nc_table_new(table_size); in _notify_lib_notify_state_new()
85 ns->proc_table = _nc_table_new(table_size); in _notify_lib_notify_state_new()
/NextBSD/contrib/ncurses/include/
HDtic.h207 unsigned table_size; member
/NextBSD/sys/dev/vxge/include/
HDvxgehal-mgmt.h292 u32 table_size; member

123