Lines Matching refs:symbol
115 void (*add_symbol) (struct dictionary *dict, struct symbol *sym);
117 struct symbol *(*iterator_first) (const struct dictionary *dict,
119 struct symbol *(*iterator_next) (struct dict_iterator *iterator);
121 struct symbol *(*iter_name_first) (const struct dictionary *dict,
124 struct symbol *(*iter_name_next) (const char *name,
138 struct symbol **buckets;
145 struct symbol **buckets;
154 struct symbol **syms;
161 struct symbol **syms;
229 struct symbol *sym);
236 static struct symbol *iterator_first_hashed (const struct dictionary *dict,
239 static struct symbol *iterator_next_hashed (struct dict_iterator *iterator);
241 static struct symbol *iter_name_first_hashed (const struct dictionary *dict,
245 static struct symbol *iter_name_next_hashed (const char *name,
257 struct symbol *sym);
264 static struct symbol *iterator_first_linear (const struct dictionary *dict,
267 static struct symbol *iterator_next_linear (struct dict_iterator *iterator);
269 static struct symbol *iter_name_first_linear (const struct dictionary *dict,
273 static struct symbol *iter_name_next_linear (const char *name,
283 struct symbol *sym);
338 static struct symbol *iterator_hashed_advance (struct dict_iterator *iter);
341 struct symbol *sym);
357 struct symbol **buckets; in dict_create_hashed()
372 buckets = obstack_alloc (obstack, nbuckets * sizeof (struct symbol *)); in dict_create_hashed()
373 memset (buckets, 0, nbuckets * sizeof (struct symbol *)); in dict_create_hashed()
383 insert_symbol_hashed (retval, list_counter->symbol[i]); in dict_create_hashed()
404 sizeof (struct symbol *)); in dict_create_hashed_expandable()
421 struct symbol **syms; in dict_create_linear()
435 syms = obstack_alloc (obstack, nsyms * sizeof (struct symbol *)); in dict_create_linear()
448 syms[j] = list_counter->symbol[i]; in dict_create_linear()
472 * sizeof (struct symbol *)); in dict_create_linear_expandable()
491 dict_add_symbol (struct dictionary *dict, struct symbol *sym) in dict_add_symbol()
499 struct symbol *
509 struct symbol *
516 struct symbol *
524 struct symbol *
563 add_symbol_nonexpandable (struct dictionary *dict, struct symbol *sym) in add_symbol_nonexpandable()
571 static struct symbol *
580 static struct symbol *
584 struct symbol *next; in iterator_next_hashed()
597 static struct symbol *
606 struct symbol *sym = DICT_HASHED_BUCKET (dict, i); in iterator_hashed_advance()
619 static struct symbol *
626 struct symbol *sym; in iter_name_first_hashed()
650 static struct symbol *
653 struct symbol *next; in iter_name_next_hashed()
672 struct symbol *sym) in insert_symbol_hashed()
675 struct symbol **buckets = DICT_HASHED_BUCKETS (dict); in insert_symbol_hashed()
700 struct symbol *sym) in add_symbol_hashed_expandable()
721 struct symbol **old_buckets = DICT_HASHED_BUCKETS (dict); in expand_hashtable()
723 struct symbol **new_buckets = xcalloc (new_nbuckets, in expand_hashtable()
724 sizeof (struct symbol *)); in expand_hashtable()
731 struct symbol *sym, *next_sym; in expand_hashtable()
751 static struct symbol *
760 static struct symbol *
771 static struct symbol *
782 static struct symbol *
787 struct symbol *sym, *retval = NULL; in iter_name_next_linear()
822 struct symbol *sym) in add_symbol_linear_expandable()
832 * sizeof (struct symbol *)); in add_symbol_linear_expandable()