#include "obstack.h"

Go to the source code of this file.
| typedef struct ht hash_table |
| typedef struct ht_identifier* hashnode |
| typedef int(* ht_cb)(struct cpp_reader *, hashnode, const void *) |
| typedef struct ht_identifier ht_identifier |
| enum ht_lookup_option |
| struct ht_identifier GTY | ( | () | ) | [read, write] |
| hash_table* ht_create | ( | unsigned int | order | ) |
Definition at line 79 of file hashtable.c.
References _obstack_begin(), free(), gcc_obstack_init, memset, obstack_alignment_mask, void, xcalloc(), XCNEW, XCNEWVEC, and xmalloc().
Referenced by _cpp_init_hashtable(), and init_stringpool().
| void ht_destroy | ( | hash_table * | ) |
Definition at line 100 of file hashtable.c.
References free(), NULL, and obstack_free.
Referenced by _cpp_destroy_hashtable().
| void ht_dump_statistics | ( | hash_table * | ) |
Definition at line 244 of file hashtable.c.
References approx_sqrt(), double, fprintf(), HT_LEN, n, obstack_memory_used, p, and SCALE.
Referenced by stringpool_statistics().
| void ht_forall | ( | hash_table * | , | |
| ht_cb | , | |||
| const void * | ||||
| ) |
| void ht_load | ( | hash_table * | ht, | |
| hashnode * | entries, | |||
| unsigned int | nslots, | |||
| unsigned int | nelements, | |||
| bool | own | |||
| ) |
| hashnode ht_lookup | ( | hash_table * | , | |
| const unsigned char * | , | |||
| size_t | , | |||
| enum | ht_lookup_option | |||
| ) |
| hashnode ht_lookup_with_hash | ( | hash_table * | , | |
| const unsigned char * | , | |||
| size_t | , | |||
| unsigned | int, | |||
| enum | ht_lookup_option | |||
| ) |
Definition at line 102 of file symtab.c.
References HT_ALLOC, HT_ALLOCED, ht_expand(), HT_LEN, HT_NO_INSERT, HT_STR, index(), int, memcmp, node, NULL, obstack_copy0, and obstack_free.
1.5.6