Home
last modified time | relevance | path

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

12345

/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dsymbol.cpp32 int symbol::table_size = 0; member in symbol
91 table_size = table_sizes[0]; in symbol()
92 table = (const char **)new char*[table_size]; in symbol()
93 for (int i = 0; i < table_size; i++) in symbol()
99 for (pp = table + hc % table_size; in symbol()
101 (pp == table ? pp = table + table_size - 1 : --pp)) in symbol()
110 if (table_used >= table_size - 1 || table_used >= table_size*FULL_MAX) { in symbol()
112 unsigned int old_table_size = table_size; in symbol()
117 table_size = table_sizes[i]; in symbol()
119 table = (const char **)new char*[table_size]; in symbol()
[all …]
/netbsd-src/sys/external/bsd/drm/dist/bsd-core/
H A Dati_pcigart.c79 gart_info->table_size, 1, /* maxsize, nsegs */ in drm_ati_alloc_pcigart_table()
80 gart_info->table_size, /* maxsegsize */ in drm_ati_alloc_pcigart_table()
101 gart_info->table_size, drm_ati_alloc_pcigart_table_cb, dmah, 0); in drm_ati_alloc_pcigart_table()
116 ret = bus_dmamem_alloc(dmah->tag, gart_info->table_size, PAGE_SIZE, in drm_ati_alloc_pcigart_table()
120 (size_t)gart_info->table_size, ret); in drm_ati_alloc_pcigart_table()
134 gart_info->table_size, &dmah->vaddr, in drm_ati_alloc_pcigart_table()
144 ret = bus_dmamap_create(dmah->tag, gart_info->table_size, 1, in drm_ati_alloc_pcigart_table()
145 gart_info->table_size, 0, in drm_ati_alloc_pcigart_table()
149 bus_dmamem_unmap(dmah->tag, dmah->vaddr, gart_info->table_size); in drm_ati_alloc_pcigart_table()
157 gart_info->table_size, NULL, BUS_DMA_NOWAIT); in drm_ati_alloc_pcigart_table()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_gart.c82 error = bus_dmamem_alloc(rdev->ddev->dmat, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
87 error = bus_dmamap_create(rdev->ddev->dmat, rdev->gart.table_size, 1, in radeon_gart_table_ram_alloc()
88 rdev->gart.table_size, 0, BUS_DMA_WAITOK, in radeon_gart_table_ram_alloc()
93 rdev->gart.table_size, &rdev->gart.ptr, in radeon_gart_table_ram_alloc()
98 rdev->gart.ptr, rdev->gart.table_size, NULL, BUS_DMA_WAITOK); in radeon_gart_table_ram_alloc()
102 memset(rdev->gart.ptr, 0, rdev->gart.table_size); in radeon_gart_table_ram_alloc()
104 rdev->gart.table_size, BUS_DMASYNC_PREWRITE); in radeon_gart_table_ram_alloc()
113 rdev->gart.table_size); in radeon_gart_table_ram_alloc()
122 ptr = pci_alloc_consistent(rdev->pdev, rdev->gart.table_size, in radeon_gart_table_ram_alloc()
131 rdev->gart.table_size >> PAGE_SHIFT); in radeon_gart_table_ram_alloc()
[all …]
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dwrite-qt.c495 unsigned long table_size; in write_qm() local
513 table_size = next_prime (num_contexts * 1.7); in write_qm()
514 if (table_size >= 0x10000) in write_qm()
515 table_size = 65521; in write_qm()
522 xmalloc (table_size * sizeof (struct list_cell)); in write_qm()
526 (struct bucket *) xmalloc (table_size * sizeof (struct bucket)); in write_qm()
531 for (i = 0; i < table_size; i++) in write_qm()
548 i = string_hashcode (context) % table_size; in write_qm()
562 for (i = 0; i < table_size; i++) in write_qm()
581 append_u16 (&contexts_pool, table_size); in write_qm()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Damdgpu_process_pptables_v1_0.c165 uint32_t table_size, i; in get_vddc_lookup_table() local
173 table_size = sizeof(uint32_t) + in get_vddc_lookup_table()
176 table = kzalloc(table_size, GFP_KERNEL); in get_vddc_lookup_table()
326 uint32_t table_size, i; in get_valid_clk() local
333 table_size = sizeof(uint32_t) + in get_valid_clk()
336 table = kzalloc(table_size, GFP_KERNEL); in get_valid_clk()
378 uint32_t table_size, i; in get_mclk_voltage_dependency_table() local
386 table_size = sizeof(uint32_t) + sizeof(phm_ppt_v1_clock_voltage_dependency_record) in get_mclk_voltage_dependency_table()
389 mclk_table = kzalloc(table_size, GFP_KERNEL); in get_mclk_voltage_dependency_table()
421 uint32_t table_size, i; in get_sclk_voltage_dependency_table() local
[all …]
H A Damdgpu_processpptables.c94 uint16_t table_size = 0; in get_vce_clock_info_array_size() local
99 table_size = sizeof(uint8_t) + p->ucNumEntries * sizeof(VCEClockInfo); in get_vce_clock_info_array_size()
102 return table_size; in get_vce_clock_info_array_size()
122 uint16_t table_size = 0; in get_vce_clock_voltage_limit_table_size() local
128table_size = sizeof(uint8_t) + ptable->numEntries * sizeof(ATOM_PPLIB_VCE_Clock_Voltage_Limit_Reco… in get_vce_clock_voltage_limit_table_size()
130 return table_size; in get_vce_clock_voltage_limit_table_size()
193 uint16_t table_size = 0; in get_uvd_clock_info_array_size() local
199 table_size = sizeof(UCHAR) + in get_uvd_clock_info_array_size()
203 return table_size; in get_uvd_clock_info_array_size()
320 unsigned long table_size; in get_cac_tdp_table() local
[all …]
H A Damdgpu_vega10_processpptables.c352 uint32_t table_size, i; in get_mm_clock_voltage_table() local
359 table_size = sizeof(uint32_t) + in get_mm_clock_voltage_table()
362 mm_table = kzalloc(table_size, GFP_KERNEL); in get_mm_clock_voltage_table()
431 uint32_t table_size; in get_tdp_table() local
439 table_size = sizeof(uint32_t) + sizeof(struct phm_tdp_table); in get_tdp_table()
441 tdp_table = kzalloc(table_size, GFP_KERNEL); in get_tdp_table()
579 uint32_t table_size, i; in get_socclk_voltage_dependency_table() local
585 table_size = sizeof(uint32_t) + in get_socclk_voltage_dependency_table()
589 clk_table = kzalloc(table_size, GFP_KERNEL); in get_socclk_voltage_dependency_table()
613 uint32_t table_size, i; in get_mclk_voltage_dependency_table() local
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_rlc.c195 u32 table_offset, table_size; in amdgpu_gfx_rlc_setup_cp_table() local
209 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
217 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
225 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
233 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
241 table_size = le32_to_cpu(hdr->jt_size); in amdgpu_gfx_rlc_setup_cp_table()
244 for (i = 0; i < table_size; i ++) { in amdgpu_gfx_rlc_setup_cp_table()
249 bo_offset += table_size; in amdgpu_gfx_rlc_setup_cp_table()
H A Dmmsch_v1_0.h55 uint32_t table_size; member
139 table_size += sizeof(struct mmsch_v1_0_cmd_direct_read_modify_write)/4; \
147 table_size += sizeof(struct mmsch_v1_0_cmd_direct_write)/4; \
155 table_size += sizeof(struct mmsch_v1_0_cmd_direct_polling)/4; \
/netbsd-src/external/bsd/flex/dist/src/
H A Dsym.c67 int table_size);
76 static int addsym (char sym[], char *str_def, int int_def, hash_table table, int table_size) in addsym() argument
78 int hash_val = hashfunct (sym, table_size); in addsym()
141 static struct hash_entry *findsym (const char *sym, hash_table table, int table_size) in findsym() argument
148 table[hashfunct (sym, table_size)]; in findsym()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dgl_anyhash_list2.h99 if (new_size > list->table_size) in hash_resize()
108 for (i = list->table_size; i > 0; ) in hash_resize()
125 list->table_size = new_size; in hash_resize()
H A Dgl_linkedhash_list.c53 if (estimate > list->table_size) in hash_resize_after_add()
61 size_t bucket = node->h.hashcode % list->table_size; in add_to_bucket()
71 size_t bucket = node->h.hashcode % list->table_size; in remove_from_bucket()
H A Dfnmatch_loop.c459 int32_t table_size; in FCT() local
482 table_size = in FCT()
496 elem = hash % table_size; in FCT()
497 second = hash % (table_size - 2); in FCT()
667 int32_t table_size; in FCT() local
690 table_size = in FCT()
705 elem = hash % table_size; in FCT()
706 second = hash % (table_size - 2); in FCT()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf32-z80.c279 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_reloc_type_lookup() enumerator
283 for (i = 0; i < table_size; i++) in z80_reloc_type_lookup()
299 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_reloc_name_lookup() enumerator
303 for (i = 0; i < table_size; i++) in z80_reloc_name_lookup()
320 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_rtype_to_howto() enumerator
324 for (i = 0; i < table_size; i++) in z80_rtype_to_howto()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf32-z80.c279 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_reloc_type_lookup() enumerator
283 for (i = 0; i < table_size; i++) in z80_reloc_type_lookup()
299 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_reloc_name_lookup() enumerator
303 for (i = 0; i < table_size; i++) in z80_reloc_name_lookup()
320 table_size = sizeof (elf_z80_howto_table) / sizeof (elf_z80_howto_table[0]) in z80_rtype_to_howto() enumerator
324 for (i = 0; i < table_size; i++) in z80_rtype_to_howto()
/netbsd-src/lib/libc/citrus/modules/
H A Dcitrus_mapper_std.c262 u_int64_t table_size; in rowcol_init() local
328 table_size = lz->width; in rowcol_init()
331 table_size *= lz->width; in rowcol_init()
333 table_size *= rc->rc_dst_unit_bits/8; in rowcol_init()
335 if (table_size > UINT32_MAX || in rowcol_init()
336 _region_size(&rc->rc_table) < table_size) in rowcol_init()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dlocalcharset.c1031 size_t const table_size = in locale_charset() local
1034 size_t hi = table_size; in locale_charset()
1105 size_t const table_size = in locale_charset() local
1108 size_t hi = table_size; in locale_charset()
H A Dfnmatch_loop.c479 int32_t table_size; in FCT() local
488 table_size = in FCT()
498 for (elem = 0; elem < table_size; elem++) in FCT()
532 if (elem < table_size) in FCT()
668 int32_t table_size; in FCT() local
677 table_size = in FCT()
687 for (elem = 0; elem < table_size; elem++) in FCT()
724 if (elem < table_size) in FCT()
/netbsd-src/external/bsd/less/dist/
H A Dposition.c27 static int table_size = 0; variable
106 if (sc_height <= table_size) in pos_init()
119 table_size = sc_height; in pos_init()
/netbsd-src/external/public-domain/xz/dist/src/liblzma/lzma/
H A Dlzma_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()
583 coder->match_len_encoder.table_size in lzma_lzma_encoder_create()
585 coder->rep_len_encoder.table_size in lzma_lzma_encoder_create()
/netbsd-src/sys/arch/arm/cortex/
H A Dgicv3_its.c640 uint32_t table_offset, table_size; in gicv3_its_msi_intr_establish()
655 table_size = pci_msix_count(pa->pa_pc, pa->pa_tag) * PCI_MSIX_TABLE_ENTRY_SIZE; in gicv3_its_msi_intr_release()
656 if (table_size == 0) in gicv3_its_msi_intr_release()
660 BUS_SPACE_MAP_LINEAR, roundup(table_size, PAGE_SIZE), table_offset, in gicv3_its_msi_intr_release()
847 uint64_t table_size;
884 table_size = roundup2(l1_entry_size * l1_num_ids, page_size); in gicv3_its_set_affinity()
885 if (howmany(table_size, page_size) > GITS_BASER_Size + 1) { in gicv3_its_set_affinity()
886 DPRINTF(("ITS: clamp table size 0x%lx -> ", table_size));
887 table_size = (GITS_BASER_Size + 1) * page_size;
888 DPRINTF(("0x%lx\n", table_size)); in gicv3_its_init()
556 uint32_t table_offset, table_size; gicv3_its_msix_alloc() local
712 u_int table_size, page_size, table_align; gicv3_its_table_init() local
[all...]
/netbsd-src/sys/external/bsd/drm2/dist/drm/r128/
H A Dati_pcigart.c52 gart_info->table_handle = drm_pci_alloc(dev, gart_info->table_size, in drm_ati_alloc_pcigart_table()
82 max_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_cleanup()
149 max_ati_pages = (gart_info->table_size / sizeof(u32)); in drm_ati_pcigart_init()
/netbsd-src/usr.bin/mkcsmapper/
H A Dyacc.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()
388 _region_init(&data, table, table_size*dst_unit_bits/8); in dump_file()
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dfnmatch_loop.c462 int32_t table_size; in FCT() local
485 table_size = in FCT()
499 elem = hash % table_size; in FCT()
500 second = hash % (table_size - 2); in FCT()
670 int32_t table_size; in FCT() local
693 table_size = in FCT()
708 elem = hash % table_size; in FCT()
709 second = hash % (table_size - 2); in FCT()
/netbsd-src/sys/netinet6/
H A Dip6_flow.c203 ip6flow_init_locked(int table_size) in ip6flow_init_locked() argument
211 table_size, M_RTABLE, M_NOWAIT); in ip6flow_init_locked()
220 ip6_hashsize = table_size; in ip6flow_init_locked()
230 ip6flow_init(int table_size) in ip6flow_init() argument
242 ret = ip6flow_init_locked(table_size); in ip6flow_init()

12345