Home
last modified time | relevance | path

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

12345678910>>...37

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Dhash.c307 bfd_hash_table_init_n (struct bfd_hash_table *table, in bfd_hash_table_init_n() argument
317 table->memory = (void *) objalloc_create (); in bfd_hash_table_init_n()
318 if (table->memory == NULL) in bfd_hash_table_init_n()
323 table->table = objalloc_alloc ((struct objalloc *) table->memory, alloc); in bfd_hash_table_init_n()
324 if (table->table == NULL) in bfd_hash_table_init_n()
329 memset ((void *) table->table, 0, alloc); in bfd_hash_table_init_n()
330 table->size = size; in bfd_hash_table_init_n()
331 table->newfunc = newfunc; in bfd_hash_table_init_n()
338 bfd_hash_table_init (struct bfd_hash_table *table, in bfd_hash_table_init() argument
343 return bfd_hash_table_init_n (table, newfunc, bfd_default_hash_table_size); in bfd_hash_table_init()
[all …]
Delf-strtab.c48 struct bfd_hash_table table; member
63 struct bfd_hash_table *table, in elf_strtab_hash_newfunc() argument
69 entry = bfd_hash_allocate (table, sizeof (struct elf_strtab_hash_entry)); in elf_strtab_hash_newfunc()
74 entry = bfd_hash_newfunc (entry, table, string); in elf_strtab_hash_newfunc()
95 struct elf_strtab_hash *table; in _bfd_elf_strtab_init() local
98 table = bfd_malloc (amt); in _bfd_elf_strtab_init()
99 if (table == NULL) in _bfd_elf_strtab_init()
102 if (! bfd_hash_table_init (&table->table, elf_strtab_hash_newfunc)) in _bfd_elf_strtab_init()
104 free (table); in _bfd_elf_strtab_init()
108 table->sec_size = 0; in _bfd_elf_strtab_init()
[all …]
Dmerge.c59 struct bfd_hash_table table; member
103 struct bfd_hash_table *table, const char *string) in sec_merge_hash_newfunc() argument
108 entry = bfd_hash_allocate (table, sizeof (struct sec_merge_hash_entry)); in sec_merge_hash_newfunc()
113 entry = bfd_hash_newfunc (entry, table, string); in sec_merge_hash_newfunc()
132 sec_merge_hash_lookup (struct sec_merge_hash *table, const char *string, in sec_merge_hash_lookup() argument
145 if (table->strings) in sec_merge_hash_lookup()
147 if (table->entsize == 1) in sec_merge_hash_lookup()
161 for (i = 0; i < table->entsize; ++i) in sec_merge_hash_lookup()
164 if (i == table->entsize) in sec_merge_hash_lookup()
166 for (i = 0; i < table->entsize; ++i) in sec_merge_hash_lookup()
[all …]
Ddwarf2.c735 add_line_info (struct line_info_table *table, in add_line_info() argument
743 struct line_info* info = bfd_alloc (table->abfd, amt); in add_line_info()
761 if (!table->last_line in add_line_info()
762 || address >= table->last_line->address) in add_line_info()
765 info->prev_line = table->last_line; in add_line_info()
766 table->last_line = info; in add_line_info()
769 if (!table->lcl_head) in add_line_info()
770 table->lcl_head = info; in add_line_info()
773 else if (!table->lcl_head->prev_line in add_line_info()
774 && table->lcl_head->address > address) in add_line_info()
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gas/
Dhash.c54 struct hash_entry **table; member
119 ret->table = obstack_alloc (&ret->memory, alloc); in hash_new()
120 memset (ret->table, 0, alloc); in hash_new()
138 hash_die (struct hash_control *table) in hash_die() argument
140 obstack_free (&table->memory, 0); in hash_die()
141 free (table); in hash_die()
154 hash_lookup (struct hash_control *table, const char *key, size_t len, in hash_lookup() argument
166 ++table->lookups; in hash_lookup()
182 index = hash % table->size; in hash_lookup()
183 list = table->table + index; in hash_lookup()
[all …]
/mirbsd/src/usr.bin/less/
Dposition.c25 static POSITION *table = NULL; /* The position table */ variable
54 return (table[where]);
70 table[i-1] = table[i];
71 table[sc_height - 1] = pos;
87 table[i] = table[i-1];
88 table[0] = pos;
100 table[i] = NULL_POSITION; in pos_clear()
117 if (table != NULL) in pos_init()
120 free((char*)table); in pos_init()
123 table = (POSITION *) ecalloc(sc_height, sizeof(POSITION)); in pos_init()
[all …]
/mirbsd/src/usr.bin/oldroff/tbl/
Dt5.c92 table[nlin] = (struct colstr *)alocv((ncol+2)*sizeof(table[0][0])); in gettbl()
103 table[nlin][icol].col = cstore; in gettbl()
104 table[nlin][icol].rcol=0; in gettbl()
107 table[nlin][icol].col = in gettbl()
119 table[nlin][icol].rcol = in gettbl()
120 (char *)maknew(table[nlin][icol].col); in gettbl()
123 table[nlin][icol].rcol = table[nlin][icol].col; in gettbl()
124 table[nlin][icol].col = ""; in gettbl()
129 table[nlin][++icol].col = ""; in gettbl()
134 table[nlin][icol].col = ""; in gettbl()
[all …]
Dt9.c54 for(useln=0; useln<MAXLIN && table[useln]==0; useln++); in yetmore()
57 table[0]=table[useln]; in yetmore()
88 table[0][icol].col = dataln;
89 table[0][icol].rcol=0;
96 table[0][icol].rcol = (char *)maknew(table[0][icol].col);
99 table[0][icol].rcol = table[0][icol].col;
100 table[0][icol].col= "";
104 table[0][++icol].col = "";
108 table[0][icol].col = "";
/mirbsd/src/gnu/usr.bin/binutils/bfd/doc/
Dhash.texi3 BFD provides a simple set of hash table functions. Routines
4 are provided to initialize a hash table, to free a hash table,
5 to look up a string in a hash table and optionally create an
6 entry for it, and to traverse a hash table. There is
7 currently no routine to delete an string from a hash table.
9 The basic hash table does not permit any data to be stored
10 with a string. However, a hash table is designed to present a
14 rather than simply providing a data pointer in a hash table
16 ends. The linker may create thousands of hash table entries,
20 The basic hash table code is in @code{hash.c}.
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dui-out.c111 struct ui_out_table table; member
281 if (uiout->table.flag) in ui_out_table_begin()
286 uiout->table.flag = 1; in ui_out_table_begin()
287 uiout->table.body_flag = 0; in ui_out_table_begin()
288 uiout->table.entry_level = uiout->level + 1; in ui_out_table_begin()
289 uiout->table.columns = nbrofcols; in ui_out_table_begin()
291 uiout->table.id = xstrdup (tblid); in ui_out_table_begin()
293 uiout->table.id = NULL; in ui_out_table_begin()
296 uo_table_begin (uiout, nbrofcols, nr_rows, uiout->table.id); in ui_out_table_begin()
302 if (!uiout->table.flag) in ui_out_table_body()
[all …]
Dframe-base.c76 struct frame_base_table *table in frame_base_init() local
78 table->tail = &table->head; in frame_base_init()
79 table->default_base = &default_frame_base; in frame_base_init()
80 return table; in frame_base_init()
87 struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data); in frame_base_append_sniffer() local
88 (*table->tail) = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct frame_base_table_entry); in frame_base_append_sniffer()
89 (*table->tail)->sniffer = sniffer; in frame_base_append_sniffer()
90 table->tail = &(*table->tail)->next; in frame_base_append_sniffer()
97 struct frame_base_table *table = gdbarch_data (gdbarch, frame_base_data); in frame_base_set_default() local
98 table->default_base = default_base; in frame_base_set_default()
[all …]
Dframe-unwind.c48 struct frame_unwind_table *table in frame_unwind_init() local
52 table->list = OBSTACK_ZALLOC (obstack, struct frame_unwind_table_entry); in frame_unwind_init()
53 table->list->unwinder = dummy_frame_unwind; in frame_unwind_init()
55 table->osabi_head = &table->list->next; in frame_unwind_init()
56 return table; in frame_unwind_init()
63 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); in frame_unwind_append_sniffer() local
67 for (ip = table->osabi_head; (*ip) != NULL; ip = &(*ip)->next); in frame_unwind_append_sniffer()
76 struct frame_unwind_table *table = gdbarch_data (gdbarch, frame_unwind_data); in frame_unwind_prepend_unwinder() local
82 entry->next = (*table->osabi_head); in frame_unwind_prepend_unwinder()
83 (*table->osabi_head) = entry; in frame_unwind_prepend_unwinder()
[all …]
/mirbsd/src/usr.sbin/dhcpd/
Dhash.c75 void add_hash(struct hash_table *table, unsigned char *name, int len, in add_hash() argument
81 if (!table) in add_hash()
86 hashno = do_hash(name, len, table->hash_count); in add_hash()
95 bp->next = table->buckets[hashno]; in add_hash()
97 table->buckets[hashno] = bp; in add_hash()
101 delete_hash_entry(struct hash_table *table, unsigned char *name, int len) in delete_hash_entry() argument
106 if (!table) in delete_hash_entry()
111 hashno = do_hash(name, len, table->hash_count); in delete_hash_entry()
117 for (bp = table->buckets[hashno]; bp; bp = bp->next) { in delete_hash_entry()
124 table->buckets[hashno] = bp->next; in delete_hash_entry()
[all …]
/mirbsd/src/gnu/usr.bin/perl/vms/ext/DCLsym/
DDCLsym.pm28 my($val,$table);
30 if (($val,$table) = _getsym($name)) {
31 if ($table eq 'GLOBAL') { $Gblsyms{$name} = $val; }
34 wantarray ? ($val,$table) : $val;
38 my($self,$name,$val,$table) = @_;
40 $table = $self->{TYPE} unless $table;
41 if (_setsym($name,$val,$table)) {
42 if ($table eq 'GLOBAL') { $Gblsyms{$name} = $val; }
50 my($self,$name,$table) = @_;
52 $table = $self->{TYPE} unless $table;
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/Symbol/
DMakefile.PL53 foreach my $table (keys %tables) {
54 push (@{$self->{'C'}},"$table.c");
58 push (@files,$table.$ext);
60 $self->{SOURCE} .= " $table.c"
61 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
73 foreach my $table (keys %tables) {
102 foreach my $table (keys %tables) {
116 foreach my $table (keys %tables)
118 $str .= " $table.c";
124 foreach my $table (keys %tables)
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/EBCDIC/
DMakefile.PL48 foreach my $table (keys %tables) {
49 push (@{$self->{'C'}},"$table.c");
53 push (@files,$table.$ext);
55 $self->{SOURCE} .= " $table.c"
56 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
68 foreach my $table (keys %tables) {
97 foreach my $table (keys %tables) {
111 foreach my $table (keys %tables)
113 $str .= " $table.c";
119 foreach my $table (keys %tables)
[all …]
/mirbsd/src/usr.sbin/httpd/src/include/
Dap_alloc.h224 typedef struct table table; typedef
233 API_EXPORT(table *) ap_make_table(pool *p, int nelts);
234 API_EXPORT(table *) ap_copy_table(pool *p, const table *);
235 API_EXPORT(void) ap_clear_table(table *);
236 API_EXPORT(const char *) ap_table_get(const table *, const char *);
237 API_EXPORT(void) ap_table_set(table *, const char *name, const char *val);
238 API_EXPORT(void) ap_table_setn(table *, const char *name, const char *val);
239 API_EXPORT(void) ap_table_merge(table *, const char *name,
241 API_EXPORT(void) ap_table_mergen(table *, const char *name,
243 API_EXPORT(void) ap_table_unset(table *, const char *key);
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/JP/
DMakefile.PL67 foreach my $table (keys %tables) {
68 push (@{$self->{'C'}},"$table.c");
72 push (@files,$table.$ext);
74 $self->{SOURCE} .= " $table.c"
75 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
87 foreach my $table (keys %tables) {
116 foreach my $table (keys %tables) {
130 foreach my $table (keys %tables)
132 $str .= " $table.c";
138 foreach my $table (keys %tables)
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/KR/
DMakefile.PL65 foreach my $table (keys %tables) {
66 push (@{$self->{'C'}},"$table.c");
70 push (@files,$table.$ext);
72 $self->{SOURCE} .= " $table.c"
73 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
85 foreach my $table (keys %tables) {
114 foreach my $table (keys %tables) {
128 foreach my $table (keys %tables)
130 $str .= " $table.c";
136 foreach my $table (keys %tables)
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/CN/
DMakefile.PL67 foreach my $table (keys %tables) {
68 push (@{$self->{'C'}},"$table.c");
72 push (@files,$table.$ext);
74 $self->{SOURCE} .= " $table.c"
75 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
87 foreach my $table (keys %tables) {
116 foreach my $table (keys %tables) {
130 foreach my $table (keys %tables)
132 $str .= " $table.c";
138 foreach my $table (keys %tables)
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/TW/
DMakefile.PL63 foreach my $table (keys %tables) {
64 push (@{$self->{'C'}},"$table.c");
68 push (@files,$table.$ext);
70 $self->{SOURCE} .= " $table.c"
71 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
83 foreach my $table (keys %tables) {
112 foreach my $table (keys %tables) {
126 foreach my $table (keys %tables)
128 $str .= " $table.c";
134 foreach my $table (keys %tables)
[all …]
/mirbsd/src/sys/netinet/
Din_pcb.c114 #define INPCBHASH(table, faddr, fport, laddr, lport) \ argument
115 &(table)->inpt_hashtbl[(ntohl((faddr)->s_addr) + \
116 ntohs((fport)) + ntohs((lport))) & (table->inpt_hash)]
118 #define IN6PCBHASH(table, faddr, fport, laddr, lport) \ argument
119 &(table)->inpt_hashtbl[(ntohl((faddr)->s6_addr32[0] ^ \
121 (table->inpt_hash)]
123 #define INPCBLHASH(table, lport) \ argument
124 &(table)->inpt_lhashtbl[lport & table->inpt_lhash]
127 in_pcbinit(table, hashsize) in in_pcbinit() argument
128 struct inpcbtable *table; in in_pcbinit()
[all …]
/mirbsd/src/lib/libssl/src/crypto/engine/
Deng_table.c137 int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB *cleanup, in engine_table_register() argument
143 if(!(*table)) in engine_table_register()
145 if(!int_table_check(table, 1)) in engine_table_register()
153 fnd = lh_retrieve(&(*table)->piles, &tmplate); in engine_table_register()
168 lh_insert(&(*table)->piles, fnd); in engine_table_register()
213 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e) in IMPLEMENT_LHASH_DOALL_ARG_FN()
216 if(int_table_check(table, 0)) in IMPLEMENT_LHASH_DOALL_ARG_FN()
217 lh_doall_arg(&(*table)->piles, in IMPLEMENT_LHASH_DOALL_ARG_FN()
230 void engine_table_cleanup(ENGINE_TABLE **table) in IMPLEMENT_LHASH_DOALL_FN()
233 if(*table) in IMPLEMENT_LHASH_DOALL_FN()
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/
DMakefile.PL69 foreach my $table (keys %tables)
73 push (@files,$table.$ext);
75 $self->{SOURCE} .= " $table.c"
76 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
90 foreach my $table (keys %tables)
92 $str .= " $table.c";
95 foreach my $table (keys %tables)
101 $str .= "$table.c : $enc2xs Makefile.PL";
102 foreach my $file (@{$tables{$table}})
117 qq{\n\t\$(PERL) $plib $enc2xs $ucopts -o \$\@ -f $table.fnm\n\n};
[all …]
/mirbsd/src/gnu/usr.bin/perl/ext/Encode/Byte/
DMakefile.PL91 foreach my $table (keys %tables) {
92 push (@{$self->{'C'}},"$table.c");
96 push (@files,$table.$ext);
98 $self->{SOURCE} .= " $table.c"
99 if $^O eq 'MacOS' && $self->{SOURCE} !~ /\b$table\.c\b/;
111 foreach my $table (keys %tables) {
140 foreach my $table (keys %tables) {
154 foreach my $table (keys %tables)
156 $str .= " $table.c";
162 foreach my $table (keys %tables)
[all …]

12345678910>>...37