Home
last modified time | relevance | path

Searched refs:hash_t (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/dports/net/netatalk3/netatalk-3.1.12/etc/afpd/
H A Dhash.h28 extern void hash_destroy(hash_t *);
29 extern void hash_free_nodes(hash_t *);
30 extern void hash_free(hash_t *);
31 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
35 extern hnode_t *hash_delete(hash_t *, hnode_t *);
42 extern hashcount_t hash_count(hash_t *);
43 extern hashcount_t hash_size(hash_t *);
45 extern int hash_isfull(hash_t *);
46 extern int hash_isempty(hash_t *);
48 extern void hash_scan_begin(hscan_t *, hash_t *);
[all …]
/dports/security/rats/rats-2.4/
H A Dkazhash.h149 typedef struct hash_t { struct
167 } hash_t; argument
181 hash_t *hash_table; /* 1 */
191 extern void hash_destroy(hash_t *);
192 extern void hash_free_nodes(hash_t *);
193 extern void hash_free(hash_t *);
194 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
206 extern hashcount_t hash_size(hash_t *);
208 extern int hash_isfull(hash_t *);
209 extern int hash_isempty(hash_t *);
[all …]
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/khash/c_src/
H A Dhash.h149 typedef struct hash_t { struct
167 } hash_t; argument
181 hash_t *hash_table; /* 1 */
191 extern void kl_hash_destroy(hash_t *);
192 extern void kl_hash_free_nodes(hash_t *);
193 extern void kl_hash_free(hash_t *);
194 extern hash_t *kl_hash_init(hash_t *, hashcount_t, hash_comp_t,
206 extern hashcount_t kl_hash_size(hash_t *);
208 extern int kl_hash_isfull(hash_t *);
209 extern int kl_hash_isempty(hash_t *);
[all …]
/dports/security/openvpn-auth-ldap/openvpn-auth-ldap-auth-ldap-2.0.4/src/
H A Dhash.h143 typedef struct hash_t { struct
161 } hash_t; argument
175 hash_t *hash_table; /* 1 */
185 extern void hash_destroy(hash_t *);
186 extern void hash_free_nodes(hash_t *);
187 extern void hash_free(hash_t *);
188 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
201 extern hashcount_t hash_size(hash_t *);
203 extern int hash_isfull(hash_t *);
204 extern int hash_isempty(hash_t *);
[all …]
/dports/textproc/augeas/augeas-1.12.0/src/
H A Dhash.h149 typedef struct hash_t { struct
167 } hash_t; argument
181 hash_t *hash_table; /* 1 */
191 extern void hash_destroy(hash_t *);
192 extern void hash_free_nodes(hash_t *);
193 extern void hash_free(hash_t *);
194 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
206 extern hashcount_t hash_size(hash_t *);
208 extern int hash_isfull(hash_t *);
209 extern int hash_isempty(hash_t *);
[all …]
/dports/textproc/ekhtml/ekhtml-0.3.2/include/
H A Dhash.h149 typedef struct hash_t { struct
167 } hash_t; argument
181 hash_t *hash_table; /* 1 */
191 extern void hash_destroy(hash_t *);
192 extern void hash_free_nodes(hash_t *);
193 extern void hash_free(hash_t *);
194 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
206 extern hashcount_t hash_size(hash_t *);
208 extern int hash_isfull(hash_t *);
209 extern int hash_isempty(hash_t *);
[all …]
/dports/devel/re2c/re2c-2.2/src/util/
H A Dlookup.h35 std::map<hash_t, uint32_t> lookup;
47 uint32_t head(hash_t) const;
51 template<typename data_t, typename hash_t>
54 template<typename data_t, typename hash_t>
55 lookup_t<data_t, hash_t>::lookup_t() in lookup_t()
60 template<typename data_t, typename hash_t>
66 template<typename data_t, typename hash_t>
73 template<typename data_t, typename hash_t>
81 uint32_t lookup_t<data_t, hash_t>::head(hash_t h) const in head()
88 uint32_t lookup_t<data_t, hash_t>::push(hash_t hash, const data_t &data) in push()
[all …]
/dports/multimedia/camserv/camserv-0.5.1/include/
H A Dhash.h154 typedef struct hash_t { struct
172 } hash_t; argument
186 hash_t *hash; /* 1 */
196 extern void hash_destroy(hash_t *);
197 extern void hash_free(hash_t *);
198 extern hash_t *hash_init(hash_t *, hashcount_t, hash_comp_t,
209 extern hashcount_t hash_count(hash_t *);
210 extern hashcount_t hash_size(hash_t *);
212 extern int hash_isfull(hash_t *);
213 extern int hash_isempty(hash_t *);
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dhash.h40 typedef struct hash hash_t; typedef
42 hash_t *hash_new(int, int (*)(int, void *), int (*)(void *, void *));
43 void hash_add(hash_t *, void *);
44 void hash_merge(hash_t *, hash_t *);
45 void hash_remove(hash_t *, void *);
46 int hash_find(hash_t *, void *, void **);
48 int hash_iter(hash_t *, int (*)(void *, void *), void *);
49 int hash_match(hash_t *, void *, int (*)(void *, void *), void *);
50 int hash_count(hash_t *);
52 void hash_stats(hash_t *, int);
[all …]
H A Dhash.c52 hash_t *hd_hash;
92 hash_t *
95 hash_t *hash; in hash_new()
97 hash = xmalloc(sizeof (hash_t)); in hash_new()
107 hash_add(hash_t *hash, void *key) in hash_add()
117 hash_add((hash_t *)private, node); in hash_add_cb()
122 hash_merge(hash_t *to, hash_t *from) in hash_merge()
130 hash_t *hash = arg; in hash_remove_cb()
135 hash_remove(hash_t *hash, void *key) in hash_remove()
234 hash_count(hash_t *hash) in hash_count()
[all …]
/dports/security/munge/munge-munge-0.5.14/src/munged/
H A Dhash.h48 typedef struct hash * hash_t; typedef
86 hash_t hash_create (int size,
102 void hash_destroy (hash_t h);
109 void hash_reset (hash_t h);
116 int hash_is_empty (hash_t h);
122 int hash_count (hash_t h);
128 void * hash_find (hash_t h, const void *key);
136 void * hash_insert (hash_t h, const void *key, void *data);
146 void * hash_remove (hash_t h, const void *key);
154 int hash_delete_if (hash_t h, hash_arg_f argf, void *arg);
[all …]
/dports/security/tinc-devel/tinc-1.1pre18/src/
H A Dhash.h23 typedef struct hash_t { struct
28 } hash_t; argument
30 extern hash_t *hash_alloc(size_t n, size_t size) __attribute__((__malloc__));
31 extern void hash_free(hash_t *);
33 extern void hash_insert(hash_t *, const void *key, const void *value);
34 extern void hash_delete(hash_t *, const void *key);
36 extern void *hash_search(const hash_t *, const void *key);
37 extern void *hash_search_or_insert(hash_t *, const void *key, const void *value);
39 extern void hash_clear(hash_t *);
40 extern void hash_resize(hash_t *, size_t n);
/dports/japanese/ne/ne/lib/
H A Dhash.h56 } hash_t; typedef
58 extern hash_t *hash_init(hash_t *gvp,int m);
59 extern void hash_fin(hash_t *gvp);
60 extern char *hash_get(hash_t *gvp, const char *ks);
61 extern void hash_set(hash_t *gvp, const char *ks,const char *vs);
62 extern void hash_defset(hash_t *gvp, const char *ks, const char *vs);
63 extern bool hash_istrue(hash_t *gvp, const char *ks);
64 extern void hash_report(hash_t *gvp);
65 extern void hash_sort(hash_t *gvp);
/dports/net-im/libmesode/libmesode-0.10.1/src/
H A Dhash.h19 typedef struct _hash_t hash_t; typedef
24 hash_t *hash_new(xmpp_ctx_t * const ctx, const int size,
28 hash_t *hash_clone(hash_t * const table);
31 void hash_release(hash_t * const table);
37 int hash_add(hash_t *table, const char * const key, void *data);
40 void *hash_get(hash_t *table, const char *key);
43 int hash_drop(hash_t *table, const char *key);
46 int hash_num_keys(hash_t *table);
52 hash_iterator_t *hash_iter_new(hash_t *table);
/dports/net-im/libstrophe/libstrophe-0.11.0/src/
H A Dhash.h19 typedef struct _hash_t hash_t; typedef
24 hash_t *hash_new(xmpp_ctx_t *ctx, int size, hash_free_func free_func);
27 hash_t *hash_clone(hash_t *table);
30 void hash_release(hash_t *table);
36 int hash_add(hash_t *table, const char *key, void *data);
39 void *hash_get(hash_t *table, const char *key);
42 int hash_drop(hash_t *table, const char *key);
45 int hash_num_keys(hash_t *table);
51 hash_iterator_t *hash_iter_new(hash_t *table);
/dports/sysutils/powerman/powerman-2.3.20/liblsd/
H A Dhash.h56 typedef struct hash * hash_t; typedef
92 hash_t hash_create (int size,
108 void hash_destroy (hash_t h);
115 int hash_is_empty (hash_t h);
120 int hash_count (hash_t h);
125 void * hash_find (hash_t h, const void *key);
133 void * hash_insert (hash_t h, const void *key, void *data);
143 void * hash_remove (hash_t h, const void *key);
151 int hash_delete_if (hash_t h, hash_arg_f argf, void *arg);
161 int hash_for_each (hash_t h, hash_arg_f argf, void *arg);
/dports/sysutils/ganglia-monitor-core/ganglia-3.7.2/lib/
H A Dhash.h33 hash_t; typedef
35 hash_t *hash_create (size_t size);
36 void hash_destroy(hash_t *hash);
38 int hash_get_flags(hash_t *hash);
39 void hash_set_flags(hash_t *hash, int flags);
41 datum_t *hash_insert (datum_t *key, datum_t *val, hash_t *hash);
42 datum_t *hash_delete (datum_t *key, hash_t *hash);
44 datum_t *hash_lookup (datum_t *key, hash_t *hash);
45 int hash_foreach (hash_t *hash, int (*func)(datum_t *key, datum_t *val, void *), void *arg);
46 int hash_walkfrom (hash_t *hash, size_t from, int (*func)(datum_t *key, datum_t *val, void *), void…
[all …]
/dports/devel/elfsh/elfsh-0.51b3/libhash/include/
H A Dlibhash.h47 } hash_t; typedef
50 int hash_init(hash_t *h, int size); /* Allocate the table */
51 void hash_destroy(hash_t *h); /* Free the table */
52 int hash_add(hash_t *h, char *k, void *d); /* Add an entry */
53 int hash_del(hash_t *h, char *key); /* Delete an entry */
54 void *hash_get(hash_t *h, char *key); /* Get an entry pointer */
55 hashent_t *hash_get_head(hash_t *h, char *b); /* Get a list head */
56 hashent_t *hash_get_ent(hash_t *h, char *key); /* Get an entry metadata */
57 void hash_print(hash_t *h); /* Print the hash table */
58 char** hash_get_keys(hash_t *h, int* n); /* XXX: need comment */
/dports/sysutils/freeipmi/freeipmi-1.6.8/common/miscutil/
H A Dhash.h58 typedef struct hash * hash_t; typedef
94 hash_t hash_create (int size,
110 void hash_destroy (hash_t h);
117 int hash_is_empty (hash_t h);
122 int hash_count (hash_t h);
127 void * hash_find (hash_t h, const void *key);
135 void * hash_insert (hash_t h, const void *key, void *data);
145 void * hash_remove (hash_t h, const void *key);
153 int hash_delete_if (hash_t h, hash_arg_f argf, void *arg);
163 int hash_for_each (hash_t h, hash_arg_f argf, void *arg);
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/uiuc/plugins/molfile_plugin/src/
H A Dhash.h25 typedef struct hash_t { struct
31 } hash_t; argument
47 void hash_init(hash_t *, int);
50 int hash_lookup (const hash_t *, const char *);
53 int hash_insert (hash_t *, const char *, int);
56 int hash_delete (hash_t *, const char *);
59 int hash_entries(hash_t *);
62 void hash_destroy(hash_t *);
65 char *hash_stats (hash_t *);
/dports/devel/blame/blame-1.3.1/src/
H A Dhash.h54 } hash_t; typedef
56 hash_t * hash_new PARAMS((dup_fn_t, free_fn_t));
57 hash_t * hash_dup PARAMS((const hash_t *));
58 void hash_expand PARAMS((hash_t *, unsigned int));
60 void hash_insert_nocopy PARAMS((hash_t *, const char *, void *));
67 hash_insert(hash_t *hash, const char *key, const void *value) { in hash_insert()
76 void ** hash_get(hash_t *, const char *);
77 void hash_free(hash_t *);
83 hash_count(const hash_t *hash) { assert(hash); return hash->count; } in hash_count()
98 hash_iter_t hash_iter PARAMS((hash_t *));
/dports/cad/nvc/nvc-r1.5.3/src/
H A Dhash.h25 typedef struct hash hash_t; typedef
32 hash_t *hash_new(int size, bool replace);
33 void hash_free(hash_t *h);
34 bool hash_put(hash_t *h, const void *key, void *value);
35 void *hash_get(hash_t *h, const void *key);
36 void *hash_get_nth(hash_t *h, const void *key, int *n);
37 void hash_replace(hash_t *h, void *value, void *with);
38 bool hash_iter(hash_t *h, hash_iter_t *now, const void **key, void **value);
39 unsigned hash_members(hash_t *h);
/dports/games/taisei/taisei-1.3.2/src/
H A Dhashtable.h19 typedef uint32_t hash_t; typedef
21 #define HT_HASH_LIVE_BIT ((hash_t)(1) << (sizeof(hash_t) * CHAR_BIT - 1))
23 typedef hash_t ht_size_t;
31 INLINE hash_t htutil_hashfunc_uint32(uint32_t x) { in htutil_hashfunc_uint32()
35 return (hash_t)x; in htutil_hashfunc_uint32()
43 INLINE hash_t htutil_hashfunc_uint64(uint64_t x) { in htutil_hashfunc_uint64()
47 return (hash_t)x; in htutil_hashfunc_uint64()
/dports/databases/postgis31/postgis-3.1.4/extensions/address_standardizer/
H A Dhash.c26 hash_get(hash_t *self, char *key) { in hash_get()
36 hash_has(hash_t *self, char *key) { in hash_has()
61 hash_t *hash = hash_new(); in test_hash_set()
74 hash_t *hash = hash_new(); in test_hash_get()
82 hash_t *hash = hash_new(); in test_hash_has()
90 hash_t *hash = hash_new(); in test_hash_size()
100 hash_t *hash = hash_new(); in test_hash_del()
111 hash_t *hash = hash_new(); in test_hash_clear()
122 hash_t *hash = hash_new(); in test_hash_each()
144 hash_t *hash = hash_new(); in test_hash_each_key()
[all …]
/dports/databases/postgis25/postgis-2.5.5/extensions/address_standardizer/
H A Dhash.c26 hash_get(hash_t *self, char *key) { in hash_get()
36 hash_has(hash_t *self, char *key) { in hash_has()
61 hash_t *hash = hash_new(); in test_hash_set()
74 hash_t *hash = hash_new(); in test_hash_get()
82 hash_t *hash = hash_new(); in test_hash_has()
90 hash_t *hash = hash_new(); in test_hash_size()
100 hash_t *hash = hash_new(); in test_hash_del()
111 hash_t *hash = hash_new(); in test_hash_clear()
122 hash_t *hash = hash_new(); in test_hash_each()
144 hash_t *hash = hash_new(); in test_hash_each_key()
[all …]

12345678910>>...32