Searched refs:hash_table (Results 1 - 25 of 99) sorted by relevance

1234

/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/datastruct/
H A Dhash.h21 struct hash_table;
26 struct hash_table *hash_create(unsigned size_hint);
27 void hash_destroy(struct hash_table *t);
28 void hash_wipe(struct hash_table *t);
30 void *hash_lookup(struct hash_table *t, const char *key);
31 int hash_insert(struct hash_table *t, const char *key, void *data);
32 void hash_remove(struct hash_table *t, const char *key);
34 void *hash_lookup_binary(struct hash_table *t, const char *key, uint32_t len);
35 int hash_insert_binary(struct hash_table *t, const char *key, uint32_t len,
37 void hash_remove_binary(struct hash_table *
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dhash.h27 typedef struct hash_table struct
35 hash_table; typedef in typeref:struct:hash_table
37 extern int init_hash (hash_table *htab, unsigned long int init_size);
38 extern int delete_hash (hash_table *htab);
39 extern int insert_entry (hash_table *htab,
42 extern int find_entry (hash_table *htab,
46 extern int iterate_table (hash_table *htab, void **ptr,
H A Dhash.c50 static void insert_entry_2 (hash_table *htab,
53 static size_t lookup (hash_table *htab,
61 init_hash (hash_table *htab, unsigned long int init_size)
79 delete_hash (hash_table *htab)
88 insert_entry (hash_table *htab, const void *key, size_t keylen, void *data)
107 insert_entry_2 (hash_table *htab,
156 find_entry (hash_table *htab, const void *key, size_t keylen, void **result)
170 iterate_table (hash_table *htab, void **ptr, const void **key, size_t *keylen,
198 lookup (hash_table *htab,
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Dhash.h63 typedef struct hash_table { struct
66 } hash_table; typedef in typeref:struct:hash_table
76 hash_table *hash_create(int num);
77 void hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht);
87 void *hash_add_uint(hash_table *ht, unsigned int key, void *value);
88 void *hash_replace_uint(hash_table *ht, unsigned int key, void *value);
89 void *hash_lookup_uint(hash_table *ht, unsigned int key);
90 void *hash_remove_uint(hash_table *ht, unsigned int key);
91 hash_item_uint *hash_first_uint(hash_table *ht, hash_pos *pos);
101 void *hash_add_pid(hash_table *h
[all...]
H A Dhash.m4h63 typedef struct hash_table {
66 } hash_table;
76 hash_table *hash_create(int num);
77 void hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht);
85 void *hash_add_$1(hash_table *ht, $2 key, void *value);
86 void *hash_replace_$1(hash_table *ht, $2 key, void *value);
87 void *hash_lookup_$1(hash_table *ht, $2 key);
88 void *hash_remove_$1(hash_table *ht, $2 key);
89 hash_item_$1 *hash_first_$1(hash_table *ht, hash_pos *pos);
H A Dhash.c83 string_hash(hash_table *ht, char *key)
181 * hash_table *hash_create(int num)
186 hash_table *
190 hash_table *result;
196 result = emalloc(sizeof(hash_table));
218 * unsigned int hash_count(hash_table *ht)
225 hash_count(hash_table *ht)
244 * void hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht)
251 hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht)
277 * void hash_add_uint(hash_table *h
[all...]
H A Dhash.m4c126 string_hash(hash_table *ht, char *key)
221 * hash_table *hash_create(int num)
226 hash_table *
230 hash_table *result;
236 result = (hash_table *)MALLOC(sizeof(hash_table));
258 * unsigned int hash_count(hash_table *ht)
264 hash_count(hash_table *ht)
282 * void hash_sizeinfo(unsigned int *sizes, int max, hash_table *ht)
289 hash_sizeinfo(unsigned int *sizes, int max, hash_table *h
[all...]
H A Dusername.c74 hash_table *userhash;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/include/
H A Dsymtab.h40 typedef struct ht hash_table; typedef in typeref:struct:ht
53 hashnode (*alloc_node) (hash_table *);
73 extern hash_table *ht_create (unsigned int order);
76 extern void ht_destroy (hash_table *);
78 extern hashnode ht_lookup (hash_table *, const unsigned char *,
80 extern hashnode ht_lookup_with_hash (hash_table *, const unsigned char *,
90 extern void ht_forall (hash_table *, ht_cb, const void *);
94 extern void ht_purge (hash_table *, ht_cb, const void *);
97 extern void ht_load (hash_table *ht, hashnode *entries,
101 extern void ht_dump_statistics (hash_table *);
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/include/
H A Dsymtab.h37 typedef struct ht hash_table; typedef in typeref:struct:ht
50 hashnode (*alloc_node) (hash_table *);
70 extern hash_table *ht_create (unsigned int order);
73 extern void ht_destroy (hash_table *);
75 extern hashnode ht_lookup (hash_table *, const unsigned char *,
77 extern hashnode ht_lookup_with_hash (hash_table *, const unsigned char *,
87 extern void ht_forall (hash_table *, ht_cb, const void *);
90 extern void ht_load (hash_table *ht, hashnode *entries,
94 extern void ht_dump_statistics (hash_table *);
/netbsd-6-1-5-RELEASE/dist/dhcp/includes/omapip/
H A Dhash.h60 struct hash_table { struct
72 struct hash_table *hash;
93 add_hash ((struct hash_table *)table, \
101 delete_hash_entry ((struct hash_table *)table, \
110 (struct hash_table *)table, \
117 return hash_foreach ((struct hash_table *)table, \
123 return new_hash ((struct hash_table **)tp, \
130 free_hash_table ((struct hash_table **)table, file, line); \
134 int new_hash_table (struct hash_table **, int, const char *, int);
135 void free_hash_table (struct hash_table **, cons
[all...]
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/lz/
H A Dlz_encoder_hash.h21 # define hash_table lzma_lz_hash_table macro
24 # define hash_table lzma_crc32_table[0] macro
50 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
56 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
61 ^ (hash_table[cur[3]] << 5)) & mf->hash_mask
67 const uint32_t temp = hash_table[cur[0]] ^ cur[1]; \
72 ^ hash_table[cur[3]] << 5); \
74 = (hash_4_value ^ (hash_table[cur[4]] << 3)) \
82 ^ hash_table[cur[2]]) & 0xFFFF
88 ^ hash_table[cu
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libcpp/
H A Didentifiers.c31 static cpp_hashnode *alloc_node (hash_table *);
36 alloc_node (hash_table *table)
48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table)
56 table->alloc_node = (hashnode (*) (hash_table *)) alloc_node;
64 pfile->hash_table = table;
84 ht_destroy (pfile->hash_table);
95 return CPP_HASHNODE (ht_lookup (pfile->hash_table, str, len, HT_ALLOC));
104 node = CPP_HASHNODE (ht_lookup (pfile->hash_table, str, len, HT_NO_INSERT));
117 ht_forall (pfile->hash_table, (ht_cb) cb, v);
H A Dsymtab.c34 static void ht_expand (hash_table *);
53 hash_table *
57 hash_table *table;
59 table = XCNEW (hash_table);
77 ht_destroy (hash_table *table)
94 ht_lookup (hash_table *table, const unsigned char *str, size_t len,
102 ht_lookup_with_hash (hash_table *table, const unsigned char *str,
179 ht_expand (hash_table *table)
221 ht_forall (hash_table *table, ht_cb cb, const void *v)
238 ht_load (hash_table *h
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libcpp/
H A Didentifiers.c31 static hashnode alloc_node (hash_table *);
36 alloc_node (hash_table *table)
48 _cpp_init_hashtable (cpp_reader *pfile, hash_table *table)
64 pfile->hash_table = table;
84 ht_destroy (pfile->hash_table);
95 return CPP_HASHNODE (ht_lookup (pfile->hash_table, str, len, HT_ALLOC));
104 node = CPP_HASHNODE (ht_lookup (pfile->hash_table, str, len, HT_NO_INSERT));
120 ht_forall (pfile->hash_table, (ht_cb) cb, v);
H A Dsymtab.c34 static void ht_expand (hash_table *);
56 hash_table *
60 hash_table *table;
62 table = XCNEW (hash_table);
80 ht_destroy (hash_table *table)
94 ht_lookup (hash_table *table, const unsigned char *str, size_t len,
102 ht_lookup_with_hash (hash_table *table, const unsigned char *str,
185 ht_expand (hash_table *table)
227 ht_forall (hash_table *table, ht_cb cb, const void *v)
245 ht_purge (hash_table *tabl
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gmake/
H A Dhash.h43 struct hash_table struct
60 void hash_init __P((struct hash_table *ht, unsigned long size,
62 void hash_load __P((struct hash_table *ht, void *item_table,
64 void **hash_find_slot __P((struct hash_table *ht, void const *key));
65 void *hash_find_item __P((struct hash_table *ht, void const *key));
66 void *hash_insert __P((struct hash_table *ht, void *item));
67 void *hash_insert_at __P((struct hash_table *ht, void *item, void const *slot));
68 void *hash_delete __P((struct hash_table *ht, void const *item));
69 void *hash_delete_at __P((struct hash_table *ht, void const *slot));
70 void hash_delete_items __P((struct hash_table *h
[all...]
H A Dhash.c28 static void hash_rehash __P((struct hash_table* ht));
45 struct hash_table* ht;
75 struct hash_table* ht;
95 struct hash_table* ht;
132 struct hash_table* ht;
141 struct hash_table* ht;
152 struct hash_table* ht;
176 struct hash_table* ht;
185 struct hash_table* ht;
201 struct hash_table* h
[all...]
/netbsd-6-1-5-RELEASE/dist/dhcp/omapip/
H A Dhash.c47 struct hash_table **tp;
52 struct hash_table *rval;
69 rval = dmalloc (sizeof (struct hash_table) -
80 struct hash_table **tp;
84 struct hash_table *ptr = *tp;
105 *tp = (struct hash_table *)0;
192 int new_hash (struct hash_table **rp,
262 struct hash_table *table;
298 struct hash_table *table;
341 struct hash_table *tabl
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/flex/dist/
H A Dsym.c51 typedef struct hash_entry **hash_table; typedef in typeref:struct:hash_entry
64 static int addsym PROTO ((register char[], char *, int, hash_table, int));
66 hash_table table,
81 hash_table table;
153 hash_table table;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/cr16/
H A Dinterp.c91 struct hash_entry hash_table[MAX_HASH+1]; variable in typeref:struct:hash_entry
113 h = &hash_table[hash(ins,1)];
944 h = &hash_table[hash(s->opcode, 0)];
949 h = &hash_table[hash((s->opcode << 1) >> 4, 0)];
951 h = &hash_table[hash((s->opcode << 1), 0)];
956 h = &hash_table[hash(s->opcode >> 4, 0)];
958 h = &hash_table[hash(s->opcode, 0)];
963 h = &hash_table[hash((s->opcode >>1) >> 4, 0)];
965 h = &hash_table[hash((s->opcode >> 1), 0)];
970 h = &hash_table[has
[all...]
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dattr_scan0.c259 HTABLE *hash_table; local
308 hash_table = va_arg(ap, HTABLE *);
400 if (htable_locate(hash_table, STR(name_buf)) != 0) {
406 } else if (hash_table->used >= ATTR_HASH_LIMIT) {
411 htable_enter(hash_table, STR(name_buf),
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/
H A Dstringpool.c50 static hashnode alloc_node (hash_table *);
71 alloc_node (hash_table *table ATTRIBUTE_UNUSED)
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/
H A Dstringpool.c53 static hashnode alloc_node (hash_table *);
75 alloc_node (hash_table *table ATTRIBUTE_UNUSED)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/common/
H A Dcgen-scache.h66 SCACHE_MAP *hash_table; member in struct:cpu_scache
67 #define CPU_SCACHE_HASH_TABLE(cpu) ((cpu) -> cgen_cpu.scache.hash_table)

Completed in 151 milliseconds

1234