osprey/kg++fe/gnu/hashtable.h File Reference

#include "obstack.h"

Include dependency graph for hashtable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  ht

Defines

#define HT_LEN(NODE)   ((NODE)->len)
#define HT_STR(NODE)   ((NODE)->str)

Typedefs

typedef struct ht_identifier ht_identifier
typedef struct ht hash_table
typedef struct ht_identifierhashnode
typedef int ht_cb PARAMS ((struct cpp_reader *, hashnode, const void *))

Enumerations

enum  ht_lookup_option {
  HT_NO_INSERT = 0, HT_ALLOC, HT_ALLOCED, HT_NO_INSERT = 0,
  HT_ALLOC, HT_ALLOCED, HT_NO_INSERT = 0, HT_ALLOC,
  HT_ALLOCED, HT_NO_INSERT = 0, HT_ALLOC, HT_ALLOCED
}

Functions/Subroutines

struct ht_identifier GTY (())
void gcc_obstack_init PARAMS ((struct obstack *))
hash_table *ht_create PARAMS ((unsigned int order))
void ht_destroy PARAMS ((hash_table *))
hashnode ht_lookup PARAMS ((hash_table *, const unsigned char *, unsigned int, enum ht_lookup_option))
void ht_forall PARAMS ((hash_table *, ht_cb, const void *))
double approx_sqrt PARAMS ((double))


Define Documentation

#define HT_LEN ( NODE   )     ((NODE)->len)

#define HT_STR ( NODE   )     ((NODE)->str)

Definition at line 34 of file hashtable.h.

Referenced by ht_lookup(), ht_lookup_with_hash(), and save_registered_pragmas().


Typedef Documentation

typedef struct ht hash_table

Definition at line 41 of file hashtable.h.

Definition at line 42 of file hashtable.h.

Definition at line 25 of file hashtable.h.

typedef int ht_cb PARAMS((struct cpp_reader *, hashnode, const void *))

Definition at line 81 of file hashtable.h.


Enumeration Type Documentation

Enumerator:
HT_NO_INSERT 
HT_ALLOC 
HT_ALLOCED 
HT_NO_INSERT 
HT_ALLOC 
HT_ALLOCED 
HT_NO_INSERT 
HT_ALLOC 
HT_ALLOCED 
HT_NO_INSERT 
HT_ALLOC 
HT_ALLOCED 

Definition at line 44 of file hashtable.h.


Function Documentation

struct ht_identifier GTY ( ()   )  [read, write]

Definition at line 26 of file hashtable.h.

References len, and str.

double approx_sqrt PARAMS ( (double)   ) 

void ht_forall PARAMS ( (hash_table *, ht_cb, const void *)   ) 

hashnode ht_lookup PARAMS ( (hash_table *, const unsigned char *, unsigned int, enum ht_lookup_option  ) 

void ht_destroy PARAMS ( (hash_table *)   ) 

hash_table* ht_create PARAMS ( (unsigned int order  ) 

void gcc_obstack_init PARAMS ( (struct obstack *)   ) 


Generated on Wed Apr 8 15:35:15 2009 for Open64 by  doxygen 1.5.6