/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | cprop.c | 104 struct expr **table; member 199 for (cur_expr = table->table[hash]; cur_expr; in insert_set_in_table() 215 if (table->table[hash] == NULL) in insert_set_in_table() 217 table->table[hash] = cur_expr; in insert_set_in_table() 358 name, table->size, table->n_elems); in dump_hash_table() 454 table->size = 11; in alloc_hash_table() 459 table->size |= 1; in alloc_hash_table() 461 table->table = XNEWVAR (struct expr *, n); in alloc_hash_table() 469 free (table->table); in free_hash_table() 480 memset (table->table, 0, table->size * sizeof (struct expr *)); in compute_hash_table() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | cprop.c | 185 for (cur_expr = table->table[hash]; cur_expr; in insert_set_in_table() 201 if (table->table[hash] == NULL) in insert_set_in_table() 203 table->table[hash] = cur_expr; in insert_set_in_table() 353 name, table->size, table->n_elems); in dump_hash_table() 448 table->size = 11; in alloc_hash_table() 453 table->size |= 1; in alloc_hash_table() 455 table->table = XNEWVAR (struct cprop_expr *, n); in alloc_hash_table() 463 free (table->table); in free_hash_table() 473 table->n_elems = 0; in compute_hash_table() 474 memset (table->table, 0, table->size * sizeof (struct cprop_expr *)); in compute_hash_table() [all …]
|
/dragonfly/contrib/gdb-7/bfd/ |
H A D | merge.c | 149 if (table->strings) in sec_merge_hash_lookup() 195 _index = hash % table->table.size; in sec_merge_hash_lookup() 196 for (hashp = (struct sec_merge_hash_entry *) table->table.table[_index]; in sec_merge_hash_lookup() 224 bfd_hash_insert (&table->table, string, hash)); in sec_merge_hash_lookup() 240 if (table == NULL) in sec_merge_init() 243 if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc, in sec_merge_init() 246 free (table); in sec_merge_init() 250 table->size = 0; in sec_merge_init() 251 table->first = NULL; in sec_merge_init() 252 table->last = NULL; in sec_merge_init() [all …]
|
H A D | dwarf2.c | 1228 subdir_name = table->dirs[table->files[file - 1].dir - 1]; in concat_filename() 1535 table->dirs[table->num_dirs++] = cur_dir; in decode_line_info() 1558 table->files[table->num_files].name = cur_file; in decode_line_info() 1559 table->files[table->num_files].dir = in decode_line_info() 1562 table->files[table->num_files].time = in decode_line_info() 1565 table->files[table->num_files].size = in decode_line_info() 1667 table->files[table->num_files].name = cur_file; in decode_line_info() 1668 table->files[table->num_files].dir = in decode_line_info() 1671 table->files[table->num_files].time = in decode_line_info() 1674 table->files[table->num_files].size = in decode_line_info() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/utils/ |
H A D | base64.c | 23 const unsigned char *table, in base64_gen_encode() argument 48 *pos++ = table[(in[0] >> 2) & 0x3f]; in base64_gen_encode() 49 *pos++ = table[(((in[0] & 0x03) << 4) | (in[1] >> 4)) & 0x3f]; in base64_gen_encode() 50 *pos++ = table[(((in[1] & 0x0f) << 2) | (in[2] >> 6)) & 0x3f]; in base64_gen_encode() 51 *pos++ = table[in[2] & 0x3f]; in base64_gen_encode() 61 *pos++ = table[(in[0] >> 2) & 0x3f]; in base64_gen_encode() 63 *pos++ = table[((in[0] & 0x03) << 4) & 0x3f]; in base64_gen_encode() 67 *pos++ = table[(((in[0] & 0x03) << 4) | in base64_gen_encode() 69 *pos++ = table[((in[1] & 0x0f) << 2) & 0x3f]; in base64_gen_encode() 88 const unsigned char *table) in base64_gen_decode() argument [all …]
|
/dragonfly/usr.bin/login/ |
H A D | login_fbtab.c | 89 const char *table; in login_fbtab() local 91 if ((fp = fopen(table = _PATH_FBTAB, "r")) == NULL in login_fbtab() 92 && (fp = fopen(table = _PATH_LOGINDEVPERM, "r")) == NULL) in login_fbtab() 107 syslog(LOG_ERR, "%s: bad entry: %s", table, cp ? cp : "(null)"); in login_fbtab() 112 login_protect(table, cp, prot, uid, gid); in login_fbtab() 122 login_protect(const char *table, char *pattern, int mask, uid_t uid, gid_t gid) in login_protect() argument 134 syslog(LOG_ERR, "%s: chflags(%s): %m", table, path); in login_protect() 136 syslog(LOG_ERR, "%s: chmod(%s): %m", table, path); in login_protect() 138 syslog(LOG_ERR, "%s: chown(%s): %m", table, path); in login_protect()
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | ni_dpm.c | 995 if (table) { in ni_patch_single_dependency_table_based_on_leakage() 1264 table->highSMIO[i] = 0; in ni_populate_smc_voltage_table() 1314 if (i >= table->count) in ni_populate_voltage_value() 1809 table->ACPIState = table->initialState; in ni_populate_smc_acpi_state() 1983 table->driverState = table->initialState; in ni_init_smc_table() 1985 table->ULVState = table->initialState; in ni_init_smc_table() 2714 for (i = 0, j = table->last; i < table->last; i++) { in ni_set_mc_special_registers() 2761 table->last = j; in ni_set_mc_special_registers() 2855 ni_table->last = table->last; in ni_copy_vbios_mc_reg_table() 2878 if (!table) in ni_initialize_mc_reg_table() [all …]
|
H A D | rv770_dpm.c | 920 RV770_SMC_STATETABLE *table) in rv770_populate_smc_acpi_state() argument 941 table->ACPIState = table->initialState; in rv770_populate_smc_acpi_state() 1004 table->ACPIState.levels[1] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state() 1005 table->ACPIState.levels[2] = table->ACPIState.levels[0]; in rv770_populate_smc_acpi_state() 1110 table->initialState.levels[1] = table->initialState.levels[0]; in rv770_populate_smc_initial_state() 1111 table->initialState.levels[2] = table->initialState.levels[0]; in rv770_populate_smc_initial_state() 1119 RV770_SMC_STATETABLE *table) in rv770_populate_smc_vddc_table() argument 1141 table->maxVDDCIndexInPPTable = in rv770_populate_smc_vddc_table() 1148 RV770_SMC_STATETABLE *table) in rv770_populate_smc_mvdd_table() argument 1227 table->driverState = table->initialState; in rv770_init_smc_table() [all …]
|
H A D | si_dpm.c | 2943 (table && (table->count == 0))) { in si_get_vce_clock_voltage() 2959 *voltage = table->entries[table->count - 1].v; in si_get_vce_clock_voltage() 4507 table->ACPIState = table->initialState; in si_populate_smc_acpi_state() 4750 table->driverState = table->initialState; in si_init_smc_table() 4772 table->ULVState = table->initialState; in si_init_smc_table() 5361 for (i = 0, j = table->last; i < table->last; i++) { in si_set_mc_special_registers() 5540 if (!table) in si_initialize_mc_reg_table() 5575 kfree(table); in si_initialize_mc_reg_table() 5873 if (table) { in si_patch_single_dependency_table_based_on_leakage() 5890 table->entries[j].v = (table->entries[j].v <= table->entries[j + 1].v) ? in si_patch_single_dependency_table_based_on_leakage() [all …]
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | exec.c | 407 old_count = table->sections_end - table->sections; in resize_section_table() 416 table->sections = xrealloc (table->sections, in resize_section_table() 418 table->sections_end = table->sections + new_count; in resize_section_table() 422 xfree (table->sections); in resize_section_table() 423 table->sections = table->sections_end = NULL; in resize_section_table() 493 dest = table->sections; in remove_target_sections() 494 for (src = table->sections; src < table->sections_end; src++) in remove_target_sections() 697 table->sections, in exec_xfer_partial() 698 table->sections_end, in exec_xfer_partial() 827 for (p = table->sections; p < table->sections_end; p++) in set_section_command() [all …]
|
H A D | macrotab.h | 126 struct macro_table *table; member 177 void free_macro_table (struct macro_table *table); 191 struct macro_source_file *macro_set_main (struct macro_table *table, 196 struct macro_source_file *macro_main (struct macro_table *table); 201 void macro_allow_redefinitions (struct macro_table *table); 222 void macro_define_special (struct macro_table *table); 288 struct macro_table *table; member 344 void macro_for_each (struct macro_table *table, macro_callback_fn fn,
|
H A D | bfd-target.c | 36 struct target_section_table table; member 53 data->table.sections, in target_bfd_xfer_partial() 54 data->table.sections_end, in target_bfd_xfer_partial() 66 return &data->table; in target_bfd_get_section_table() 75 xfree (data->table.sections); in target_bfd_xclose() 89 build_section_table (abfd, &data->table.sections, &data->table.sections_end); in target_bfd_reopen()
|
H A D | macrotab.c | 165 struct macro_table *table; member 360 k->table = t; in new_macro_key() 376 macro_free (key, key->table); in macro_tree_delete_key() 393 f->table = t; in new_source_file() 415 macro_free (src, src->table); in free_macro_source_file() 561 d->table = t; in new_macro_definition() 607 struct macro_table *t = d->table; in macro_tree_delete_value() 630 struct macro_table *t = file->table; in find_definition() 754 struct macro_table *t = source->table; in macro_define_object_internal() 806 struct macro_table *t = source->table; in macro_define_function() [all …]
|
/dragonfly/libexec/bootpd/ |
H A D | hash.c | 88 hashtblptr->member = (hashtblptr->table)[0]; in hash_Init() 129 bucketptr = hashtable->table; in hash_Reset() 135 hashtable->member = (hashtable->table)[0]; in hash_Reset() 223 temp->next = (hashtable->table)[hashcode]; in hash_Insert() 224 (hashtable->table)[hashcode] = temp; in hash_Insert() 252 memberptr = (hashtable->table)[hashcode]; in hash_Delete() 254 (hashtable->table)[hashcode] = memberptr->next; in hash_Delete() 260 memberptr = (hashtable->table)[hashcode]; in hash_Delete() 340 !(memberptr = (hashtable->table)[bucket])) { in hash_NextEntry() 352 hashtable->member = (hashtable->table)[0]; in hash_NextEntry() [all …]
|
/dragonfly/libexec/revnetgroup/ |
H A D | hash.c | 111 lookup(struct group_entry *table[], char *key) in lookup() argument 115 cur = table[hashkey(key)]; in lookup() 144 store(struct group_entry *table[], char *key, char *data) in store() argument 154 new->next = table[i]; in store() 155 table[i] = new; in store() 173 mstore(struct member_entry *table[], char *key, char *data, char *domain) in mstore() argument 180 cur = table[i]; in mstore() 201 new->next = table[i]; in mstore() 202 table[i] = new; in mstore()
|
/dragonfly/contrib/binutils-2.34/bfd/ |
H A D | merge.c | 150 if (table->strings) in sec_merge_hash_lookup() 196 _index = hash % table->table.size; in sec_merge_hash_lookup() 197 for (hashp = (struct sec_merge_hash_entry *) table->table.table[_index]; in sec_merge_hash_lookup() 225 bfd_hash_insert (&table->table, string, hash)); in sec_merge_hash_lookup() 241 if (table == NULL) in sec_merge_init() 244 if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc, in sec_merge_init() 247 free (table); in sec_merge_init() 251 table->size = 0; in sec_merge_init() 252 table->first = NULL; in sec_merge_init() 253 table->last = NULL; in sec_merge_init() [all …]
|
/dragonfly/contrib/binutils-2.27/bfd/ |
H A D | merge.c | 149 if (table->strings) in sec_merge_hash_lookup() 195 _index = hash % table->table.size; in sec_merge_hash_lookup() 196 for (hashp = (struct sec_merge_hash_entry *) table->table.table[_index]; in sec_merge_hash_lookup() 224 bfd_hash_insert (&table->table, string, hash)); in sec_merge_hash_lookup() 240 if (table == NULL) in sec_merge_init() 243 if (! bfd_hash_table_init_n (&table->table, sec_merge_hash_newfunc, in sec_merge_init() 246 free (table); in sec_merge_init() 250 table->size = 0; in sec_merge_init() 251 table->first = NULL; in sec_merge_init() 252 table->last = NULL; in sec_merge_init() [all …]
|
/dragonfly/contrib/ncurses/ncurses/widechar/ |
H A D | lib_wacs.c | 47 } table[] = { in _nc_init_wacs() local 125 for (n = 0; n < SIZEOF(table); ++n) { in _nc_init_wacs() 128 int wide = wcwidth((wchar_t) table[n].value[active]); in _nc_init_wacs() 133 m = table[n].map; in _nc_init_wacs() 135 SetChar(_nc_wacs[m], table[n].value[1], A_NORMAL); in _nc_init_wacs() 139 SetChar(_nc_wacs[m], table[n].value[0], A_NORMAL); in _nc_init_wacs() 144 _tracechar(table[n].value[active]), in _nc_init_wacs()
|
/dragonfly/contrib/gcc-4.7/libcpp/ |
H A D | identifiers.c | 36 alloc_node (hash_table *table) in alloc_node() argument 40 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); in alloc_node() 48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table) in _cpp_init_hashtable() argument 52 if (table == NULL) in _cpp_init_hashtable() 55 table = ht_create (13); /* 8K (=2^13) entries. */ in _cpp_init_hashtable() 56 table->alloc_node = alloc_node; in _cpp_init_hashtable() 63 table->pfile = pfile; in _cpp_init_hashtable() 64 pfile->hash_table = table; in _cpp_init_hashtable()
|
/dragonfly/usr.sbin/pfctl/ |
H A D | pfctl_table.c | 87 table.pfrt_flags |= PFR_TFLAG_PERSIST; \ 96 warn_namespace_collision(table.pfrt_name); \ 101 table.pfrt_flags &= ~PFR_TFLAG_PERSIST; \ 129 struct pfr_table table; in pfctl_table() local 143 bzero(&table, sizeof(table)); in pfctl_table() 147 if (strlcpy(table.pfrt_name, tname, in pfctl_table() 148 sizeof(table.pfrt_name)) >= sizeof(table.pfrt_name)) in pfctl_table() 151 if (strlcpy(table.pfrt_anchor, anchor, in pfctl_table() 152 sizeof(table.pfrt_anchor)) >= sizeof(table.pfrt_anchor)) in pfctl_table() 169 RVTEST(pfr_get_tstats(&table, in pfctl_table() [all …]
|
/dragonfly/contrib/gcc-8.0/libcpp/ |
H A D | identifiers.c | 35 alloc_node (cpp_hash_table *table) in alloc_node() argument 39 node = XOBNEW (&table->pfile->hash_ob, cpp_hashnode); in alloc_node() 47 _cpp_init_hashtable (cpp_reader *pfile, cpp_hash_table *table) in _cpp_init_hashtable() argument 51 if (table == NULL) in _cpp_init_hashtable() 54 table = ht_create (13); /* 8K (=2^13) entries. */ in _cpp_init_hashtable() 55 table->alloc_node = alloc_node; in _cpp_init_hashtable() 60 table->pfile = pfile; in _cpp_init_hashtable() 61 pfile->hash_table = table; in _cpp_init_hashtable()
|
/dragonfly/sys/dev/drm/amd/powerplay/smumgr/ |
H A D | smu10_smumgr.c | 116 uint8_t *table, int16_t table_id) in smu10_copy_table_from_smc() argument 137 memcpy(table, (uint8_t *)priv->smu_tables.entry[table_id].table, in smu10_copy_table_from_smc() 144 uint8_t *table, int16_t table_id) in smu10_copy_table_to_smc() argument 156 memcpy(priv->smu_tables.entry[table_id].table, table, in smu10_copy_table_to_smc() 224 &priv->smu_tables.entry[SMU10_WMTABLE].table); in smu10_smu_fini() 227 &priv->smu_tables.entry[SMU10_CLOCKTABLE].table); in smu10_smu_fini() 269 &priv->smu_tables.entry[SMU10_WMTABLE].table); in smu10_smu_init() 285 &priv->smu_tables.entry[SMU10_CLOCKTABLE].table); in smu10_smu_init() 299 &priv->smu_tables.entry[SMU10_WMTABLE].table); in smu10_smu_init() 310 ret = smu10_copy_table_from_smc(hwmgr, table, table_id); in smu10_smc_table_manager() [all …]
|
/dragonfly/contrib/zlib-1.2/ |
H A D | inftrees.c | 32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument 36 code FAR * FAR *table; 121 *(*table)++ = here; /* make a table to force an error */ 122 *(*table)++ = here; 201 next = *table; /* current table to fill in */ 284 (*table)[low].op = (unsigned char)curr; 285 (*table)[low].bits = (unsigned char)root; 286 (*table)[low].val = (unsigned short)(next - *table); 301 *table += used;
|
/dragonfly/lib/libc/stdio/ |
H A D | printf-pos.c | 68 enum typeid *table; /* table of types */ member 86 types->table = types->stattable; in inittypes() 91 types->table[n] = T_UNUSED; in inittypes() 101 if (types->table != types->stattable) in freetypes() 102 free(types->table); in freetypes() 132 types->table[types->nextarg++] = type; in addtype() 149 types->table[types->nextarg++] = T_LLONG; in addsarg() 151 types->table[types->nextarg++] = T_LONG; in addsarg() 153 types->table[types->nextarg++] = T_INT; in addsarg() 640 types->table = newtable; in __grow_type_table() [all …]
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | si_dpm.c | 3042 (table && (table->count == 0))) { in si_get_vce_clock_voltage() 3058 *voltage = table->entries[table->count - 1].v; in si_get_vce_clock_voltage() 3214 return table->entries[table->count - 1].value; in btc_find_voltage() 3253 if ((table == NULL) || (table->count == 0)) { in btc_get_max_clock_from_voltage_dependency_table() 3270 if ((table == NULL) || (table->count == 0)) in btc_apply_voltage_dependency_rules() 4970 table->ACPIState = table->initialState; in si_populate_smc_acpi_state() 5213 table->driverState = table->initialState; in si_init_smc_table() 5235 table->ULVState = table->initialState; in si_init_smc_table() 5821 for (i = 0, j = table->last; i < table->last; i++) { in si_set_mc_special_registers() 6343 table->entries[j].v = (table->entries[j].v <= table->entries[j + 1].v) ? in si_patch_single_dependency_table_based_on_leakage() [all …]
|