Home
last modified time | relevance | path

Searched refs:LHASH (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-9-stable/crypto/openssl/crypto/lhash/
Dlhash.h164 } LHASH; typedef
174 LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c);
175 void lh_free(LHASH *lh);
176 void *lh_insert(LHASH *lh, void *data);
177 void *lh_delete(LHASH *lh, const void *data);
178 void *lh_retrieve(LHASH *lh, const void *data);
179 void lh_doall(LHASH *lh, LHASH_DOALL_FN_TYPE func);
180 void lh_doall_arg(LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
182 unsigned long lh_num_items(const LHASH *lh);
185 void lh_stats(const LHASH *lh, FILE *out);
[all …]
Dlhash.c111 static void expand(LHASH *lh);
112 static void contract(LHASH *lh);
113 static LHASH_NODE **getrn(LHASH *lh, const void *data, unsigned long *rhash);
115 LHASH *lh_new(LHASH_HASH_FN_TYPE h, LHASH_COMP_FN_TYPE c) in lh_new()
117 LHASH *ret; in lh_new()
120 if ((ret = (LHASH *)OPENSSL_malloc(sizeof(LHASH))) == NULL) in lh_new()
160 void lh_free(LHASH *lh) in lh_free()
180 void *lh_insert(LHASH *lh, void *data) in lh_insert()
215 void *lh_delete(LHASH *lh, const void *data) in lh_delete()
243 void *lh_retrieve(LHASH *lh, const void *data) in lh_retrieve()
[all …]
Dlh_stats.c75 void lh_stats(LHASH *lh, FILE *out) in lh_stats()
101 void lh_node_stats(LHASH *lh, FILE *out) in lh_node_stats()
113 void lh_node_usage_stats(LHASH *lh, FILE *out) in lh_node_usage_stats()
141 void lh_stats(const LHASH *lh, FILE *fp) in lh_stats()
154 void lh_node_stats(const LHASH *lh, FILE *fp) in lh_node_stats()
167 void lh_node_usage_stats(const LHASH *lh, FILE *fp) in lh_node_usage_stats()
182 void lh_stats_bio(const LHASH *lh, BIO *out) in lh_stats_bio()
209 void lh_node_stats_bio(const LHASH *lh, BIO *out) in lh_node_stats_bio()
221 void lh_node_usage_stats_bio(const LHASH *lh, BIO *out) in lh_node_usage_stats_bio()
Dlh_test.c66 LHASH *conf; in main()
/freebsd-9-stable/crypto/openssl/crypto/conf/
Dconf.h118 void CONF_set_nconf(CONF *conf, LHASH *hash);
119 LHASH *CONF_load(LHASH *conf, const char *file, long *eline);
121 LHASH *CONF_load_fp(LHASH *conf, FILE *fp, long *eline);
123 LHASH *CONF_load_bio(LHASH *conf, BIO *bp, long *eline);
124 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH *conf, const char *section);
125 char *CONF_get_string(LHASH *conf, const char *group, const char *name);
126 long CONF_get_number(LHASH *conf, const char *group, const char *name);
127 void CONF_free(LHASH *conf);
128 int CONF_dump_fp(LHASH *conf, FILE *out);
129 int CONF_dump_bio(LHASH *conf, BIO *out);
[all …]
Dconf_lib.c73 void CONF_set_nconf(CONF *conf, LHASH *hash) in CONF_set_nconf()
93 LHASH *CONF_load(LHASH *conf, const char *file, long *eline) in CONF_load()
95 LHASH *ltmp; in CONF_load()
115 LHASH *CONF_load_fp(LHASH *conf, FILE *fp, long *eline) in CONF_load_fp()
118 LHASH *ltmp; in CONF_load_fp()
129 LHASH *CONF_load_bio(LHASH *conf, BIO *bp, long *eline) in CONF_load_bio()
142 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH *conf, const char *section) in STACK_OF()
153 char *CONF_get_string(LHASH *conf, const char *group, const char *name) in CONF_get_string()
164 long CONF_get_number(LHASH *conf, const char *group, const char *name) in CONF_get_number()
184 void CONF_free(LHASH *conf) in CONF_free()
[all …]
Dconf_api.c73 static void value_free_hash(CONF_VALUE *a, LHASH *conf);
74 static void value_free_stack(CONF_VALUE *a, LHASH *conf);
75 static IMPLEMENT_LHASH_DOALL_ARG_FN(value_free_hash, CONF_VALUE *, LHASH *)
76 static IMPLEMENT_LHASH_DOALL_ARG_FN(value_free_stack, CONF_VALUE *, LHASH *)
219 static void value_free_hash(CONF_VALUE *a, LHASH *conf) in value_free_hash()
226 static void value_free_stack(CONF_VALUE *a, LHASH *conf) in value_free_stack()
Dtest.c66 LHASH *conf; in main()
Dcnf_save.c67 LHASH *conf; in main()
/freebsd-9-stable/crypto/openssl/crypto/err/
Derr_def.c149 LHASH *(*cb_err_get) (int create);
155 LHASH *(*cb_thread_get) (int create);
156 void (*cb_thread_release) (LHASH **hash);
165 static LHASH *int_err_get(int create);
170 static LHASH *int_thread_get(int create);
171 static void int_thread_release(LHASH **hash);
204 static LHASH *int_error_hash = NULL;
205 static LHASH *int_thread_hash = NULL;
265 static LHASH *int_err_get(int create) in int_err_get()
267 LHASH *ret = NULL; in int_err_get()
[all …]
Derr.h300 LHASH *ERR_get_string_table(void);
301 LHASH *ERR_get_err_state_table(void);
302 void ERR_release_err_state_table(LHASH **hash);
/freebsd-9-stable/crypto/openssl/doc/crypto/
Dlh_stats.pod6 lh_node_stats_bio, lh_node_usage_stats_bio - LHASH statistics
12 void lh_stats(LHASH *table, FILE *out);
13 void lh_node_stats(LHASH *table, FILE *out);
14 void lh_node_usage_stats(LHASH *table, FILE *out);
16 void lh_stats_bio(LHASH *table, BIO *out);
17 void lh_node_stats_bio(LHASH *table, BIO *out);
18 void lh_node_usage_stats_bio(LHASH *table, BIO *out);
22 The B<LHASH> structure records statistics about most aspects of
Dlhash.pod11 LHASH *lh_new(LHASH_HASH_FN_TYPE hash, LHASH_COMP_FN_TYPE compare);
12 void lh_free(LHASH *table);
14 void *lh_insert(LHASH *table, void *data);
15 void *lh_delete(LHASH *table, void *data);
16 void *lh_retrieve(LHASH *table, void *data);
18 void lh_doall(LHASH *table, LHASH_DOALL_FN_TYPE func);
19 void lh_doall_arg(LHASH *table, LHASH_DOALL_ARG_FN_TYPE func,
22 int lh_error(LHASH *table);
35 lh_new() creates a new B<LHASH> structure to store arbitrary data
93 /* Create the type-safe wrapper functions for use in the LHASH internals */
[all …]
/freebsd-9-stable/crypto/openssl/apps/
Derrstr.c98 lh_node_stats_bio((LHASH *)ERR_get_string_table(), out); in MAIN()
99 lh_stats_bio((LHASH *)ERR_get_string_table(), out); in MAIN()
100 lh_node_usage_stats_bio((LHASH *) in MAIN()
Dopenssl.c145 static LHASH *prog_init(void);
146 static int do_cmd(LHASH *prog, int argc, char *argv[]);
222 LHASH *prog = NULL; in main()
381 static int do_cmd(LHASH *prog, int argc, char *argv[]) in do_cmd()
496 static LHASH *prog_init(void) in prog_init()
498 LHASH *ret; in prog_init()
/freebsd-9-stable/crypto/openssl/crypto/x509v3/
Dv3_conf.c465 X509_EXTENSION *X509V3_EXT_conf(LHASH *conf, X509V3_CTX *ctx, char *name, in X509V3_EXT_conf()
475 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH *conf, X509V3_CTX *ctx, int ext_nid, in X509V3_EXT_conf_nid()
500 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH *lhash) in X509V3_set_conf_lhash()
506 int X509V3_EXT_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section, in X509V3_EXT_add_conf()
516 int X509V3_EXT_CRL_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section, in X509V3_EXT_CRL_add_conf()
526 int X509V3_EXT_REQ_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section, in X509V3_EXT_REQ_add_conf()
Dx509v3.h552 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH *conf, X509V3_CTX *ctx, int ext_nid,
554 X509_EXTENSION *X509V3_EXT_conf(LHASH *conf, X509V3_CTX *ctx, char *name,
556 int X509V3_EXT_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section,
558 int X509V3_EXT_REQ_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section,
560 int X509V3_EXT_CRL_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section,
568 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH *lhash);
Dv3conf.c71 LHASH *conf; in main()
/freebsd-9-stable/crypto/openssl/crypto/txt_db/
Dtxt_db.c96 (LHASH **)OPENSSL_malloc(sizeof(LHASH *) * num)) == NULL) in TXT_DB_read()
206 LHASH *lh; in TXT_DB_get_by_index()
225 LHASH *idx; in TXT_DB_create_index()
Dtxt_db.h83 LHASH **index;
/freebsd-9-stable/crypto/openssl/crypto/engine/
Deng_table.c76 LHASH piles;
108 LHASH *lh; in IMPLEMENT_LHASH_HASH_FN()
/freebsd-9-stable/crypto/openssl/crypto/
Dmem_dbg.c82 static LHASH *mh = NULL; /* hash-table of memory requests (address as
105 static LHASH *amih = NULL; /* hash-table with those app_mem_info_st's
Dex_data.c253 static LHASH *ex_data = NULL;
/freebsd-9-stable/crypto/openssl/crypto/objects/
Do_names.c27 static LHASH *names_lh = NULL;
/freebsd-9-stable/crypto/openssl/doc/
Dopenssl.txt575 int X509V3_EXT_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section,
577 int X509V3_EXT_CRL_add_conf(LHASH *conf, X509V3_CTX *ctx, char *section,
584 In each case 'conf' is the LHASH pointer of the configuration file to use
590 X509_EXTENSION *X509V3_EXT_conf(LHASH *conf, X509V3_CTX *ctx, char *name,
639 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH *lhash);
641 This function is used to set the configuration database when it is an LHASH

12