Home
last modified time | relevance | path

Searched refs:HT_VALUE (Results 1 – 6 of 6) sorted by relevance

/src/crypto/openssl/include/internal/
H A Dhashtable.h37 } HT_VALUE; typedef
44 HT_VALUE **list;
52 void (*ht_free_fn)(HT_VALUE *obj);
203 HT_VALUE inval; \
204 HT_VALUE *oval = NULL; \
215 pfx ossl_unused vtype *ossl_ht_##name##_##vtype##_from_value(HT_VALUE *v) \
227 HT_VALUE **v) \
229 HT_VALUE *vv; \
237 pfx ossl_unused HT_VALUE *ossl_ht_##name##_##vtype##_to_value(vtype *data, \
238 HT_VALUE *v) \
[all …]
/src/crypto/openssl/crypto/hashtable/
H A Dhashtable.c108 HT_VALUE value;
170 static void internal_free_nop(HT_VALUE *v) in internal_free_nop()
272 v->ht->config.ht_free_fn((HT_VALUE *)v); in free_oldmd()
343 void ossl_ht_foreach_until(HT *h, int (*cb)(HT_VALUE *obj, void *arg), in ossl_ht_foreach_until()
354 if (!cb((HT_VALUE *)md->neighborhoods[i].entries[j].value, arg)) in ossl_ht_foreach_until()
364 int (*filter)(HT_VALUE *obj, void *arg), in ossl_ht_filter()
369 + (sizeof(HT_VALUE *) * max_len)); in ossl_ht_filter()
380 list->list = (HT_VALUE **)(list + 1); in ossl_ht_filter()
387 if (v != NULL && filter((HT_VALUE *)v, arg)) { in ossl_ht_filter()
388 list->list[list->list_len++] = (HT_VALUE *)v; in ossl_ht_filter()
[all …]
/src/crypto/openssl/doc/internal/man3/
H A Dossl_ht_new.pod30 int ossl_ht_insert(HT *htable, HT_KEY *key, HT_VALUE *data, HT_VALUE **olddata);
33 void ossl_ht_foreach_until(HT *htable, int (*cb)(HT_VALUE *obj, void *arg), void *arg);
34 HT_VALUE_LIST *ossl_ht_filter(HT *htable, size_t max_len, int (*filter)(HT_VALUE *obj));
36 HT_VALUE *ossl_ht_get(HT *htable, HT_KEY *key);
37 void ossl_ht_put(HT_VALUE *value);
56 type safety is offered via conversion macros to and from the generic B<HT_VALUE>
112 ossl_ht_insert() inserts an B<HT_VALUE> element into the hash table, to be
141 corresponding B<HT_VALUE> is placed on a list, and its reference count incremented.
150 ossl_ht_put() on the B<HT_VALUE> to prevent memory leaks.
233 int ossl_ht_NAME_TYPE_insert(HT* h, HT_KEY *key, <type> *value, HT_VALUE **olddata)
[all …]
/src/crypto/openssl/fuzz/
H A Dhashtable.c68 static int table_iterator(HT_VALUE *v, void *arg) in table_iterator()
81 static int filter_iterator(HT_VALUE *v, void *arg) in filter_iterator()
92 static void fuzz_free_cb(HT_VALUE *v) in fuzz_free_cb()
127 HT_VALUE *v = NULL; in FuzzerTestOneInput()
128 HT_VALUE tv; in FuzzerTestOneInput()
/src/crypto/openssl/test/
H A Dlhash_test.c186 static int int_filter_all(HT_VALUE *v, void *arg) in int_filter_all()
197 static int int_foreach(HT_VALUE *v, void *arg) in HT_DEF_KEY_FIELD()
397 static void hashtable_intfree(HT_VALUE *v) in hashtable_intfree()
417 HT_VALUE *v; in test_hashtable_stress()
541 static void hashtable_mt_free(HT_VALUE *v) in hashtable_mt_free()
574 HT_VALUE *v = NULL; in do_mt_hash_work()
/src/crypto/openssl/crypto/
H A Dcore_namemap.c143 HT_VALUE *val; in ossl_namemap_name2num()
170 HT_VALUE *val; in ossl_namemap_name2num_n()
260 HT_VALUE val = { 0 }; in namemap_add_name()