| /freebsd-13.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | comp_hash.c | 68 && (unsigned) hashvalue < data->table_size in NCURSES_EXPORT() 79 + data->table_data[data->table_size]); in NCURSES_EXPORT() 103 && (unsigned) hashvalue < data->table_size in _nc_find_type_entry() 114 ptr = table + (ptr->nte_link + data->table_data[data->table_size]); in _nc_find_type_entry() 133 && (unsigned) hashvalue < data->table_size in _nc_find_user_entry() 144 + data->table_data[data->table_size]); in _nc_find_user_entry()
|
| /freebsd-13.1/contrib/flex/src/ |
| H A D | sym.c | 64 int table_size); 73 static int addsym (char sym[], char *str_def, int int_def, hash_table table, int table_size) in addsym() argument 75 int hash_val = hashfunct (sym, table_size); in addsym() 138 static struct hash_entry *findsym (const char *sym, hash_table table, int table_size) in findsym() argument 145 table[hashfunct (sym, table_size)]; in findsym()
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | pci_passthru.c | 176 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local 247 pi->pi_msix.table = calloc(1, table_size); in cfginitmsi() 428 uint32_t table_size, table_offset; in init_msix_table() local 460 table_size = pi->pi_msix.table_offset - table_offset; in init_msix_table() 462 table_size = roundup2(table_size, 4096); in init_msix_table() 473 if (table_offset + table_size != pi->pi_msix.mapped_size) in init_msix_table() 943 uint32_t table_size, table_offset; in passthru_msix_addr() local 963 table_size = pi->pi_msix.table_offset - table_offset; in passthru_msix_addr() 965 table_size = roundup2(table_size, 4096); in passthru_msix_addr() 968 address += table_offset + table_size; in passthru_msix_addr() [all …]
|
| /freebsd-13.1/lib/libiconv_modules/mapper_std/ |
| H A D | citrus_mapper_std.c | 250 uint64_t table_size; in rowcol_init() local 314 table_size = lz->width; in rowcol_init() 317 table_size *= lz->width; in rowcol_init() 319 table_size *= rc->rc_dst_unit_bits/8; in rowcol_init() 321 if (table_size > UINT32_MAX || in rowcol_init() 322 _region_size(&rc->rc_table) < table_size) in rowcol_init()
|
| /freebsd-13.1/contrib/less/ |
| H A D | position.c | 25 static int table_size = 0; variable 111 if (sc_height <= table_size) in pos_init() 124 table_size = sc_height; in pos_init()
|
| /freebsd-13.1/contrib/xz/src/liblzma/lzma/ |
| H A D | lzma_encoder.c | 80 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()
|
| H A D | lzma_encoder_private.h | 47 uint32_t table_size; member
|
| /freebsd-13.1/usr.bin/mkcsmapper/ |
| H A D | yacc.y | 70 static size_t table_size; variable 251 table_size = p->width; in alloc_table() 254 table_size *= p->width; in alloc_table() 256 table = (void *)malloc(table_size * dst_unit_bits / 8); in alloc_table() 272 for (i = 0; i < table_size; i++) in alloc_table() 389 _region_init(&data, table, table_size*dst_unit_bits/8); in dump_file()
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_mcg.c | 318 int table_size = dev->limits.num_mgms + dev->limits.num_amgms; in mthca_init_mcg_table() local 321 table_size, in mthca_init_mcg_table() 322 table_size - 1, in mthca_init_mcg_table()
|
| /freebsd-13.1/sys/dev/mlx5/mlx5_core/ |
| H A D | mlx5_eswitch.c | 277 int table_size; in esw_create_fdb_table() local 297 table_size = BIT(MLX5_CAP_ESW_FLOWTABLE_FDB(dev, log_max_ft_size)) - 2; in esw_create_fdb_table() 299 fdb = mlx5_create_flow_table(root_ns, 0, "FDB", table_size); in esw_create_fdb_table() 311 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, table_size - 1); in esw_create_fdb_table() 619 int table_size = 2; in esw_vport_enable_egress_acl() local 639 acl = mlx5_create_vport_flow_table(root_ns, vport->vport, 0, table_name, table_size); in esw_vport_enable_egress_acl() 725 int table_size = 1; in esw_vport_enable_ingress_acl() local 745 acl = mlx5_create_vport_flow_table(root_ns, vport->vport, 0, table_name, table_size); in esw_vport_enable_ingress_acl()
|
| /freebsd-13.1/sbin/camcontrol/ |
| H A D | persist.c | 443 size_t table_size = 0, id_len = 0; in scsipersist() local 528 table_size = sizeof(persist_in_actions) / in scsipersist() 533 table_size = sizeof(persist_out_actions) / in scsipersist() 544 status = scsi_get_nv(table, table_size, optarg, in scsipersist()
|
| /freebsd-13.1/sys/dev/pst/ |
| H A D | pst-iop.c | 326 if (!(sc->lct = malloc(reply->table_size * sizeof(struct i2o_lct_entry), in iop_get_lct() 332 reply->table_size * sizeof(struct i2o_lct_entry)); in iop_get_lct() 333 sc->lct_count = reply->table_size; in iop_get_lct()
|
| H A D | pst-iop.h | 441 u_int32_t table_size:16; member
|
| /freebsd-13.1/contrib/ncurses/include/ |
| H A D | tic.h | 203 unsigned table_size; member
|
| /freebsd-13.1/crypto/openssl/crypto/ec/curve448/ |
| H A D | curve448.c | 548 unsigned int table_size = C448_SCALAR_BITS / (table_bits + 1) + 3; in recode_wnaf() local 549 int position = table_size - 1; /* at the end */ in recode_wnaf() 593 n = table_size - position; in recode_wnaf()
|
| /freebsd-13.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_verbs.c | 1717 u32 table_size; in ib_create_rwq_ind_table() local 1722 table_size = (1 << init_attr->log_ind_tbl_size); in ib_create_rwq_ind_table() 1734 for (i = 0; i < table_size; i++) in ib_create_rwq_ind_table() 1748 u32 table_size = (1 << rwq_ind_table->log_ind_tbl_size); in ib_destroy_rwq_ind_table() local 1756 for (i = 0; i < table_size; i++) in ib_destroy_rwq_ind_table()
|
| /freebsd-13.1/sys/contrib/zstd/doc/educational_decoder/ |
| H A D | zstd_decompress.c | 1917 const size_t table_size = 1 << max_bits; in HUF_init_dtable() local 1919 table->symbols = malloc(table_size); in HUF_init_dtable() 1920 table->num_bits = malloc(table_size); in HUF_init_dtable() 1941 if (rank_idx[0] != table_size) { in HUF_init_dtable()
|
| /freebsd-13.1/sys/contrib/alpine-hal/ |
| H A D | al_hal_pcie.h | 563 uint16_t table_size; member
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_fs_fs/ |
| H A D | index.c | 3382 apr_size_t table_size = (header->page_count + 1) * sizeof(*header->offsets); in svn_fs_fs__serialize_p2l_header() local 3387 table_size + sizeof(*header) + 32, in svn_fs_fs__serialize_p2l_header() 3393 table_size); in svn_fs_fs__serialize_p2l_header() 3430 apr_size_t table_size = page->elt_size * page->nelts; in svn_fs_fs__serialize_p2l_page() local 3435 table_size + sizeof(*page) + 32, in svn_fs_fs__serialize_p2l_page() 3441 table_size); in svn_fs_fs__serialize_p2l_page()
|
| /freebsd-13.1/contrib/subversion/subversion/libsvn_fs_x/ |
| H A D | string_table.c | 360 apr_size_t table_size in svn_fs_x__string_table_builder_estimate_size() local 367 total += table_size; in svn_fs_x__string_table_builder_estimate_size()
|
| H A D | index.c | 3827 apr_size_t table_size = (header->page_count + 1) * sizeof(*header->offsets); in svn_fs_x__serialize_p2l_header() local 3832 table_size + sizeof(*header) + 32, in svn_fs_x__serialize_p2l_header() 3838 table_size); in svn_fs_x__serialize_p2l_header() 3875 apr_size_t table_size = page->elt_size * page->nelts; in svn_fs_x__serialize_p2l_page() local 3882 table_size + sizeof(*page) + 32, in svn_fs_x__serialize_p2l_page() 3888 table_size); in svn_fs_x__serialize_p2l_page()
|
| /freebsd-13.1/sys/dev/sfxge/ |
| H A D | sfxge_rx.c | 84 TUNABLE_INT(SFXGE_LRO_PARAM(table_size), &lro_table_size); 85 SYSCTL_UINT(_hw_sfxge_lro, OID_AUTO, table_size, CTLFLAG_RDTUN, 1387 SFXGE_LRO_PARAM(table_size), lro_table_size); in sfxge_rx_init()
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | mem.c | 532 unsigned int table_size; in more_basic_blocks() local 547 table_size = ctx->basic_table_size + TABLE_INCREMENT; in more_basic_blocks() 549 table_size * sizeof(unsigned char *)); in more_basic_blocks() 561 ctx->basic_table_size = table_size; in more_basic_blocks()
|
| /freebsd-13.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_l2.c | 503 int i, table_size; in ecore_sp_vport_update_rss() local 561 table_size = OSAL_MIN_T(int, ECORE_RSS_IND_TABLE_SIZE, in ecore_sp_vport_update_rss() 563 for (i = 0; i < table_size; i++) { in ecore_sp_vport_update_rss() 575 table_size); in ecore_sp_vport_update_rss()
|
| H A D | ecore_vf.c | 1363 int i, table_size; in ecore_vf_pf_vport_update() local 1387 table_size = OSAL_MIN_T(int, T_ETH_INDIRECTION_TABLE_SIZE, in ecore_vf_pf_vport_update() 1389 for (i = 0; i < table_size; i++) { in ecore_vf_pf_vport_update()
|