Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/dragonfly/contrib/diffutils/lib/
H A Dhash.c251 size_t n = table->hasher (key, table->n_buckets); in safe_hasher()
605 table = malloc (sizeof *table); in hash_initialize()
626 table->bucket = calloc (table->n_buckets, sizeof *table->bucket); in hash_initialize()
629 table->bucket_limit = table->bucket + table->n_buckets; in hash_initialize()
641 return table; in hash_initialize()
644 free (table); in hash_initialize()
703 if (table->data_freer && table->n_entries) in hash_free()
742 free (table); in hash_free()
1064 > table->tuning->growth_threshold * table->n_buckets) in hash_insert_if_absent()
1070 > table->tuning->growth_threshold * table->n_buckets) in hash_insert_if_absent()
[all …]
/dragonfly/contrib/grep/lib/
H A Dhash.c251 size_t n = table->hasher (key, table->n_buckets); in safe_hasher()
605 table = malloc (sizeof *table); in hash_initialize()
626 table->bucket = calloc (table->n_buckets, sizeof *table->bucket); in hash_initialize()
629 table->bucket_limit = table->bucket + table->n_buckets; in hash_initialize()
641 return table; in hash_initialize()
644 free (table); in hash_initialize()
703 if (table->data_freer && table->n_entries) in hash_free()
742 free (table); in hash_free()
1064 > table->tuning->growth_threshold * table->n_buckets) in hash_insert_if_absent()
1070 > table->tuning->growth_threshold * table->n_buckets) in hash_insert_if_absent()
[all …]
/dragonfly/sys/dev/drm/amd/lib/
H A Dchash.c54 __CHASH_TABLE_INIT(table->table, table->data, in chash_table_alloc()
109 table->key_size, table->value_size); in __chash_table_dump_stats()
114 DIV_FRAC(table->hits * 1000, table->hits_time_ns, in __chash_table_dump_stats()
124 DIV_FRAC(table->miss * 1000, table->miss_time_ns, in __chash_table_dump_stats()
132 if (table->hits + table->miss > 0) { in __chash_table_dump_stats()
133 DIV_FRAC(table->hits_steps + table->miss_steps, in __chash_table_dump_stats()
135 DIV_FRAC((table->hits + table->miss) * 1000, in __chash_table_dump_stats()
136 (table->hits_time_ns + table->miss_time_ns), in __chash_table_dump_stats()
145 DIV_FRAC(table->hits + table->miss, table->relocs, in __chash_table_dump_stats()
242 if (src.table == dst.table) { in chash_iter_relocate()
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Dhash.c393 if (table->table == NULL) in bfd_hash_table_init_n()
470 for (hashp = table->table[_index]; in bfd_hash_lookup()
516 hashp->next = table->table[_index]; in bfd_hash_insert()
517 table->table[_index] = hashp; in bfd_hash_insert()
520 if (!table->frozen && table->count > table->size * 3 / 4) in bfd_hash_insert()
545 while (table->table[hi]) in bfd_hash_insert()
558 table->table = newtable; in bfd_hash_insert()
586 ent->next = table->table[_index]; in bfd_hash_rename()
587 table->table[_index] = ent; in bfd_hash_rename()
601 for (pph = &table->table[_index]; in bfd_hash_replace()
[all …]
/dragonfly/contrib/binutils-2.27/bfd/
H A Dhash.c393 if (table->table == NULL) in bfd_hash_table_init_n()
469 for (hashp = table->table[_index]; in bfd_hash_lookup()
515 hashp->next = table->table[_index]; in bfd_hash_insert()
516 table->table[_index] = hashp; in bfd_hash_insert()
519 if (!table->frozen && table->count > table->size * 3 / 4) in bfd_hash_insert()
544 while (table->table[hi]) in bfd_hash_insert()
557 table->table = newtable; in bfd_hash_insert()
585 ent->next = table->table[_index]; in bfd_hash_rename()
586 table->table[_index] = ent; in bfd_hash_rename()
600 for (pph = &table->table[_index]; in bfd_hash_replace()
[all …]
/dragonfly/contrib/gdb-7/bfd/
H A Dhash.c394 if (table->table == NULL) in bfd_hash_table_init_n()
469 for (hashp = table->table[_index]; in bfd_hash_lookup()
515 hashp->next = table->table[_index]; in bfd_hash_insert()
516 table->table[_index] = hashp; in bfd_hash_insert()
519 if (!table->frozen && table->count > table->size * 3 / 4) in bfd_hash_insert()
544 while (table->table[hi]) in bfd_hash_insert()
557 table->table = newtable; in bfd_hash_insert()
585 ent->next = table->table[_index]; in bfd_hash_rename()
586 table->table[_index] = ent; in bfd_hash_rename()
600 for (pph = &table->table[_index]; in bfd_hash_replace()
[all …]
/dragonfly/contrib/gcc-4.7/libcpp/
H A Dsymtab.c60 hash_table *table; in ht_create() local
74 return table; in ht_create()
85 free (table); in ht_destroy()
114 table->searches++; in ht_lookup_with_hash()
158 node = (*table->alloc_node) (table); in ht_lookup_with_hash()
175 if (++table->nelements * 4 >= table->nslots * 3) in ht_lookup_with_hash()
194 p = table->entries; in ht_expand()
231 p = table->entries; in ht_forall()
249 p = table->entries; in ht_purge()
292 p = table->entries; in ht_dump_statistics()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/
H A Dsymtab.c71 return table; in ht_create()
82 free (table); in ht_destroy()
111 table->searches++; in ht_lookup_with_hash()
155 node = (*table->alloc_node) (table); in ht_lookup_with_hash()
172 if (++table->nelements * 4 >= table->nslots * 3) in ht_lookup_with_hash()
174 ht_expand (table); in ht_lookup_with_hash()
191 p = table->entries; in ht_expand()
228 p = table->entries; in ht_forall()
246 p = table->entries; in ht_purge()
289 p = table->entries; in ht_dump_statistics()
[all …]
/dragonfly/contrib/wpa_supplicant/src/utils/
H A Deloop.c129 if (table == NULL || table->table == NULL) in eloop_trace_sock_add_ref()
143 if (table == NULL || table->table == NULL) in eloop_trace_sock_remove_ref()
366 table->table = tmp; in eloop_sock_table_add_sock()
390 if (table == NULL || table->table == NULL || table->count == 0) in eloop_sock_table_remove_sock()
401 os_memmove(&table->table[i], &table->table[i + 1], in eloop_sock_table_remove_sock()
525 if (!table || !table->table) in eloop_sock_table_dispatch_table()
538 table->table[i].handler(table->table[i].sock, in eloop_sock_table_dispatch_table()
594 if (table == NULL || table->table == NULL) in eloop_sock_table_dispatch()
600 table->table[i].handler(table->table[i].sock, in eloop_sock_table_dispatch()
622 table->handler(table->sock, table->eloop_data, in eloop_sock_table_dispatch()
[all …]
/dragonfly/sys/dev/drm/amd/include/linux/
H A Dchash.h71 struct __chash_table table; \
84 struct __chash_table table; member
153 .table = { \
198 (void)table __CHASH_STATS_INIT((*table)); in __chash_table_reset_stats()
256 struct __chash_table *table; member
267 table, \
323 BUG_ON(iter.table->key_size != 4); in chash_iter_key32()
329 BUG_ON(iter.table->key_size != 8); in chash_iter_key64()
337 iter.table->keys32[iter.slot] : iter.table->keys64[iter.slot]; in chash_iter_key()
342 BUG_ON(iter.table->key_size != 4); in chash_iter_hash32()
[all …]
/dragonfly/sys/dev/drm/i915/
H A Dintel_mocs.c183 table->table = skylake_mocs_table; in get_mocs_settings()
187 table->table = broxton_mocs_table; in get_mocs_settings()
199 if (WARN_ON(table->table[i].l3cc_value & in get_mocs_settings()
249 table.table[index].control_value); in intel_mocs_init_engine()
261 table.table[0].control_value); in intel_mocs_init_engine()
294 *cs++ = table->table[index].control_value; in emit_mocs_control_table()
307 *cs++ = table->table[0].control_value; in emit_mocs_control_table()
320 return table->table[low].l3cc_value | in l3cc_combine()
321 table->table[high].l3cc_value << 16; in l3cc_combine()
355 if (table->size & 0x01) { in emit_mocs_l3cc_table()
[all …]
/dragonfly/contrib/binutils-2.34/gas/
H A Dhash.c52 struct hash_entry **table; member
121 free (table); in hash_die()
146 ++table->lookups; in hash_lookup()
163 list = table->table + hindex; in hash_lookup()
217 ++table->insertions; in hash_insert()
254 ++table->insertions; in hash_jam()
284 ++table->replacements; in hash_replace()
341 ++table->deletions; in hash_delete()
365 for (p = table->table[i]; p != NULL; p = p->next) in hash_traverse()
397 if (table->table[i] == NULL) in hash_print_statistics()
[all …]
/dragonfly/contrib/binutils-2.27/gas/
H A Dhash.c52 struct hash_entry **table; member
121 free (table); in hash_die()
146 ++table->lookups; in hash_lookup()
163 list = table->table + hindex; in hash_lookup()
217 ++table->insertions; in hash_insert()
254 ++table->insertions; in hash_jam()
284 ++table->replacements; in hash_replace()
341 ++table->deletions; in hash_delete()
365 for (p = table->table[i]; p != NULL; p = p->next) in hash_traverse()
397 if (table->table[i] == NULL) in hash_print_statistics()
[all …]
/dragonfly/lib/libc/locale/
H A Dcollate.c71 struct xlocale_collate *table = t; in destruct_collate() local
72 if (table->map && (table->maplen > 0)) { in destruct_collate()
73 (void) munmap(table->map, table->maplen); in destruct_collate()
89 xlocale_release(table); in __collate_load()
92 return table; in __collate_load()
115 table->__collate_load_error = 1; in __collate_load_tables_l()
172 table->info = info; in __collate_load_tables_l()
181 table->subst_table[z] = NULL; in __collate_load_tables_l()
189 table->chain_pri_table = NULL; in __collate_load_tables_l()
193 table->large_pri_table = NULL; in __collate_load_tables_l()
[all …]
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/
H A Dvegam_smumgr.c464 table->Smio[level] |= in vegam_populate_smc_mvdd_table()
1219 table->VceBootLevel = 0; in vegam_populate_smc_vce_level()
1332 table->UvdBootLevel = 0; in vegam_populate_smc_uvd_level()
1948 table->SystemFlags = 0; in vegam_init_smc_table()
2037 table->MemoryInterval = 1; in vegam_init_smc_table()
2045 table->PCIeBootLinkLevel = in vegam_init_smc_table()
2048 table->VRConfig = 0; in vegam_init_smc_table()
2054 table->ThermGpio = 17; in vegam_init_smc_table()
2061 table->VRHotLevel = in vegam_init_smc_table()
2119 table->Ulv.BifSclkDfs = in vegam_init_smc_table()
[all …]
H A Dci_smumgr.c1443 table->MemoryACPILevel.MinVddc = table->ACPILevel.MinVddc; in ci_populate_smc_acpi_level()
1444 table->MemoryACPILevel.MinVddcPhases = table->ACPILevel.MinVddcPhases; in ci_populate_smc_acpi_level()
1447 table->MemoryACPILevel.MinVddci = table->MemoryACPILevel.MinVddc; in ci_populate_smc_acpi_level()
2091 table->VddcVddciDelta = PP_HOST_TO_SMC_US(table->VddcVddciDelta); in ci_init_smc_table()
2095 table->BootVddc = PP_HOST_TO_SMC_US(table->BootVddc * VOLTAGE_SCALE); in ci_init_smc_table()
2096 table->BootVddci = PP_HOST_TO_SMC_US(table->BootVddci * VOLTAGE_SCALE); in ci_init_smc_table()
2097 table->BootMVdd = PP_HOST_TO_SMC_US(table->BootMVdd * VOLTAGE_SCALE); in ci_init_smc_table()
2584 for (i = 0, j = table->last; i < table->last; i++) { in ci_set_mc_special_registers()
2648 table->last = j; in ci_set_mc_special_registers()
2680 if (NULL == table) in ci_initialize_mc_reg_table()
[all …]
H A Dtonga_smumgr.c343 table->Smio[count] |= in tonga_populate_smc_vdd_ci_table()
370 table->Smio[count] |= in tonga_populate_smc_mvdd_table()
1311 table->UvdBootLevel = 0; in tonga_populate_smc_uvd_level()
1371 table->VceBootLevel = 0; in tonga_populate_smc_vce_level()
1416 table->AcpBootLevel = 0; in tonga_populate_smc_acp_level()
2348 table->ThermGpio = 17; in tonga_init_smc_table()
2413 table->Smio[i] = PP_HOST_TO_SMC_UL(table->Smio[i]); in tonga_init_smc_table()
2967 for (i = 0, j = table->last; i < table->last; i++) { in tonga_set_mc_special_registers()
3031 table->last = j; in tonga_set_mc_special_registers()
3063 if (table == NULL) in tonga_initialize_mc_reg_table()
[all …]
H A Dpolaris10_smumgr.c661 table->Smio[level] |= in polaris10_populate_smc_mvdd_table()
1298 table->VceBootLevel = 0; in polaris10_populate_smc_vce_level()
1404 table->UvdBootLevel = 0; in polaris10_populate_smc_uvd_level()
1454 table->MemoryBootLevel = 0; in polaris10_populate_smc_boot_level()
1606 table->VRConfig |= config; in polaris10_populate_vr_config()
1782 table->SystemFlags = 0; in polaris10_init_smc_table()
1870 table->MemoryInterval = 1; in polaris10_init_smc_table()
1876 table->VRConfig = 0; in polaris10_init_smc_table()
1882 table->ThermGpio = 17; in polaris10_init_smc_table()
1926 table->ThermOutGpio = 17; in polaris10_init_smc_table()
[all …]
H A Diceland_smumgr.c1491 table->MemoryACPILevel.MinVddc = table->ACPILevel.MinVddc; in iceland_populate_smc_acpi_level()
1492 table->MemoryACPILevel.MinVddcPhases = table->ACPILevel.MinVddcPhases; in iceland_populate_smc_acpi_level()
1495 table->MemoryACPILevel.MinVddci = table->MemoryACPILevel.MinVddc; in iceland_populate_smc_acpi_level()
1678 table->BootVddci = table->BootVddc; in iceland_populate_smc_boot_level()
2051 table->BootVddc = PP_HOST_TO_SMC_US(table->BootVddc * VOLTAGE_SCALE); in iceland_init_smc_table()
2052 table->BootVddci = PP_HOST_TO_SMC_US(table->BootVddci * VOLTAGE_SCALE); in iceland_init_smc_table()
2053 table->BootMVdd = PP_HOST_TO_SMC_US(table->BootMVdd * VOLTAGE_SCALE); in iceland_init_smc_table()
2514 for (i = 0, j = table->last; i < table->last; i++) { in iceland_set_mc_special_registers()
2579 table->last = j; in iceland_set_mc_special_registers()
2610 if (NULL == table) in iceland_initialize_mc_reg_table()
[all …]
/dragonfly/contrib/file/magic/Magdir/
H A Dgpt5 # GPT Partition table patterns.
11 # partition table code (aka MBR).
38 >>>>>>>>>>>>>>&-8 use gpt-table
161 # table... If the GPT table has less than 128 entries, this may even
168 ##>>&-8 use gpt-table
173 ##>>>&-8 use gpt-table
178 ##>>>>&-8 use gpt-table
183 ##>>>>>&-8 use gpt-table
188 ##>>>>>>&-8 use gpt-table
220 0 name gpt-table
[all …]
/dragonfly/contrib/less/
H A Dposition.c53 return (table[sindex]); in position()
67 table[i-1] = table[i]; in add_forw_pos()
68 table[sc_height - 1] = pos; in add_forw_pos()
82 table[i] = table[i-1]; in add_back_pos()
83 table[0] = pos; in add_back_pos()
94 table[i] = NULL_POSITION; in pos_clear()
110 if (table != NULL) in pos_init()
113 free((char*)table); in pos_init()
132 if (pos < table[0]) in onscreen()
135 if (pos < table[i]) in onscreen()
[all …]
/dragonfly/usr.bin/indent/
H A Dlexi.c201 if (i >= nitems(table) || table[i] == NULL || in lexi()
589 table['-'] = table['+']; in init_constant_tt()
590 table['8'] = table['9']; in init_constant_tt()
591 table['2'] = table['3'] = table['4'] = table['5'] = table['6'] = table['7']; in init_constant_tt()
592 table['A'] = table['C'] = table['D'] = table['c'] = table['d'] = table['a']; in init_constant_tt()
593 table['B'] = table['b']; in init_constant_tt()
594 table['E'] = table['e']; in init_constant_tt()
595 table['U'] = table['u']; in init_constant_tt()
596 table['X'] = table['x']; in init_constant_tt()
597 table['P'] = table['p']; in init_constant_tt()
[all …]
/dragonfly/sys/dev/drm/radeon/
H A Drv730_dpm.c230 RV770_SMC_STATETABLE *table) in rv730_populate_smc_acpi_state() argument
242 table->ACPIState = table->initialState; in rv730_populate_smc_acpi_state()
247 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state()
250 table->ACPIState.levels[0].gen2XSP = in rv730_populate_smc_acpi_state()
254 &table->ACPIState.levels[0].vddc); in rv730_populate_smc_acpi_state()
313 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv730_populate_smc_acpi_state()
314 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv730_populate_smc_acpi_state()
321 RV770_SMC_STATETABLE *table) in rv730_populate_smc_initial_state() argument
361 table->initialState.levels[0].seqValue = in rv730_populate_smc_initial_state()
385 table->initialState.levels[1] = table->initialState.levels[0]; in rv730_populate_smc_initial_state()
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dui-out.c283 if (uiout->table.flag) in ui_out_table_begin()
312 if (uiout->table.header_next->colno != uiout->table.columns) in ui_out_table_body()
318 uiout->table.header_next = uiout->table.header_first; in ui_out_table_body()
343 if (!uiout->table.flag || uiout->table.body_flag) in ui_out_table_header()
376 if (uiout->table.flag && !uiout->table.body_flag) in ui_out_begin()
402 uiout->table.header_next = uiout->table.header_first; in ui_out_begin()
801 if (uiout->table.id) in clear_table()
938 uiout->table.header_next = uiout->table.header_first; in clear_header_list()
939 uiout->table.header_first = uiout->table.header_first->next; in clear_header_list()
988 uiout->table.header_next = uiout->table.header_last; in append_header_to_list()
[all …]
/dragonfly/usr.sbin/nscd/
H A Dhashtable.h69 #define HASHTABLE_ENTRIES_COUNT(table) ((table)->entries_size) argument
78 (table)->entries = (void *)calloc(1, \
80 (table)->entries_size = (_entries_size); \
82 (table)->entries[var].field.capacity = \
84 (table)->entries[var].field.size = 0; \
95 #define HASHTABLE_DESTROY(table, field) \ argument
103 #define HASHTABLE_GET_ENTRY(table, hash) (&((table)->entries[hash])) argument
108 #define HASHTABLE_FOREACH(table, var) \ argument
109 for ((var) = &((table)->entries[0]); \
110 (var) < &((table)->entries[HASHTABLE_ENTRIES_COUNT(table)]);\
[all …]

12345678910>>...44