Home
last modified time | relevance | path

Searched refs:fns (Results 1 – 25 of 252) sorted by relevance

1234567891011

/netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/encode_decode/
H A Dendecoder_common.c17 ossl_prov_get_keymgmt_new(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_new() argument
20 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_new()
21 if (fns->function_id == OSSL_FUNC_KEYMGMT_NEW) in ossl_prov_get_keymgmt_new()
22 return OSSL_FUNC_keymgmt_new(fns); in ossl_prov_get_keymgmt_new()
28 ossl_prov_get_keymgmt_free(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_free() argument
31 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_free()
32 if (fns->function_id == OSSL_FUNC_KEYMGMT_FREE) in ossl_prov_get_keymgmt_free()
33 return OSSL_FUNC_keymgmt_free(fns); in ossl_prov_get_keymgmt_free()
39 ossl_prov_get_keymgmt_import(const OSSL_DISPATCH *fns) in ossl_prov_get_keymgmt_import() argument
42 for (; fns->function_id != 0; fns++) in ossl_prov_get_keymgmt_import()
[all …]
H A Dendecoder_local.h15 OSSL_FUNC_keymgmt_new_fn *ossl_prov_get_keymgmt_new(const OSSL_DISPATCH *fns);
16 OSSL_FUNC_keymgmt_free_fn *ossl_prov_get_keymgmt_free(const OSSL_DISPATCH *fns);
17 OSSL_FUNC_keymgmt_import_fn *ossl_prov_get_keymgmt_import(const OSSL_DISPATCH *fns);
18 OSSL_FUNC_keymgmt_export_fn *ossl_prov_get_keymgmt_export(const OSSL_DISPATCH *fns);
24 void *ossl_prov_import_key(const OSSL_DISPATCH *fns, void *provctx,
26 void ossl_prov_free_key(const OSSL_DISPATCH *fns, void *key);
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Doptimize.cc239 populate_clone_array (tree fn, tree *fns) in populate_clone_array() argument
243 fns[0] = NULL_TREE; in populate_clone_array()
244 fns[1] = NULL_TREE; in populate_clone_array()
245 fns[2] = NULL_TREE; in populate_clone_array()
250 fns[1] = clone; in populate_clone_array()
253 fns[0] = clone; in populate_clone_array()
255 fns[2] = clone; in populate_clone_array()
272 tree fns[3]; in maybe_thunk_body() local
288 populate_clone_array (fn, fns); in maybe_thunk_body()
291 if (!fns[0] || !fns[1]) in maybe_thunk_body()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Doptimize.c239 populate_clone_array (tree fn, tree *fns) in populate_clone_array() argument
243 fns[0] = NULL_TREE; in populate_clone_array()
244 fns[1] = NULL_TREE; in populate_clone_array()
245 fns[2] = NULL_TREE; in populate_clone_array()
250 fns[1] = clone; in populate_clone_array()
253 fns[0] = clone; in populate_clone_array()
255 fns[2] = clone; in populate_clone_array()
272 tree fns[3]; in maybe_thunk_body() local
288 populate_clone_array (fn, fns); in maybe_thunk_body()
291 if (!fns[0] || !fns[1]) in maybe_thunk_body()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/examples/PrintFunctionNames/
H A DREADME.txt9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-fi…
10 …sserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print…
11 … ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns -an-erro…
14 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input…
15 …rts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print…
16 …/../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns -an-erro…
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dkeymgmt_meth.c40 const OSSL_DISPATCH *fns = algodef->implementation; in keymgmt_from_algorithm() local
56 for (; fns->function_id != 0; fns++) { in keymgmt_from_algorithm()
57 switch (fns->function_id) { in keymgmt_from_algorithm()
60 keymgmt->new = OSSL_FUNC_keymgmt_new(fns); in keymgmt_from_algorithm()
64 keymgmt->gen_init = OSSL_FUNC_keymgmt_gen_init(fns); in keymgmt_from_algorithm()
69 OSSL_FUNC_keymgmt_gen_set_template(fns); in keymgmt_from_algorithm()
75 OSSL_FUNC_keymgmt_gen_set_params(fns); in keymgmt_from_algorithm()
82 OSSL_FUNC_keymgmt_gen_settable_params(fns); in keymgmt_from_algorithm()
87 keymgmt->gen = OSSL_FUNC_keymgmt_gen(fns); in keymgmt_from_algorithm()
91 keymgmt->gen_cleanup = OSSL_FUNC_keymgmt_gen_cleanup(fns); in keymgmt_from_algorithm()
[all …]
H A Dmac_meth.c64 const OSSL_DISPATCH *fns = algodef->implementation; in evp_mac_from_algorithm() local
79 for (; fns->function_id != 0; fns++) { in evp_mac_from_algorithm()
80 switch (fns->function_id) { in evp_mac_from_algorithm()
84 mac->newctx = OSSL_FUNC_mac_newctx(fns); in evp_mac_from_algorithm()
90 mac->dupctx = OSSL_FUNC_mac_dupctx(fns); in evp_mac_from_algorithm()
95 mac->freectx = OSSL_FUNC_mac_freectx(fns); in evp_mac_from_algorithm()
101 mac->init = OSSL_FUNC_mac_init(fns); in evp_mac_from_algorithm()
107 mac->update = OSSL_FUNC_mac_update(fns); in evp_mac_from_algorithm()
113 mac->final = OSSL_FUNC_mac_final(fns); in evp_mac_from_algorithm()
120 OSSL_FUNC_mac_gettable_params(fns); in evp_mac_from_algorithm()
[all …]
H A Dkdf_meth.c63 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kdf_from_algorithm() local
78 for (; fns->function_id != 0; fns++) { in evp_kdf_from_algorithm()
79 switch (fns->function_id) { in evp_kdf_from_algorithm()
83 kdf->newctx = OSSL_FUNC_kdf_newctx(fns); in evp_kdf_from_algorithm()
89 kdf->dupctx = OSSL_FUNC_kdf_dupctx(fns); in evp_kdf_from_algorithm()
94 kdf->freectx = OSSL_FUNC_kdf_freectx(fns); in evp_kdf_from_algorithm()
100 kdf->reset = OSSL_FUNC_kdf_reset(fns); in evp_kdf_from_algorithm()
105 kdf->derive = OSSL_FUNC_kdf_derive(fns); in evp_kdf_from_algorithm()
112 OSSL_FUNC_kdf_gettable_params(fns); in evp_kdf_from_algorithm()
118 OSSL_FUNC_kdf_gettable_ctx_params(fns); in evp_kdf_from_algorithm()
[all …]
H A Dsignature.c47 const OSSL_DISPATCH *fns = algodef->implementation; in evp_signature_from_algorithm() local
63 for (; fns->function_id != 0; fns++) { in evp_signature_from_algorithm()
64 switch (fns->function_id) { in evp_signature_from_algorithm()
68 signature->newctx = OSSL_FUNC_signature_newctx(fns); in evp_signature_from_algorithm()
74 signature->sign_init = OSSL_FUNC_signature_sign_init(fns); in evp_signature_from_algorithm()
80 signature->sign = OSSL_FUNC_signature_sign(fns); in evp_signature_from_algorithm()
86 signature->verify_init = OSSL_FUNC_signature_verify_init(fns); in evp_signature_from_algorithm()
92 signature->verify = OSSL_FUNC_signature_verify(fns); in evp_signature_from_algorithm()
99 = OSSL_FUNC_signature_verify_recover_init(fns); in evp_signature_from_algorithm()
106 = OSSL_FUNC_signature_verify_recover(fns); in evp_signature_from_algorithm()
[all …]
H A Devp_rand.c119 const OSSL_DISPATCH *fns = algodef->implementation; in evp_rand_from_algorithm() local
136 rand->dispatch = fns; in evp_rand_from_algorithm()
137 for (; fns->function_id != 0; fns++) { in evp_rand_from_algorithm()
138 switch (fns->function_id) { in evp_rand_from_algorithm()
142 rand->newctx = OSSL_FUNC_rand_newctx(fns); in evp_rand_from_algorithm()
148 rand->freectx = OSSL_FUNC_rand_freectx(fns); in evp_rand_from_algorithm()
154 rand->instantiate = OSSL_FUNC_rand_instantiate(fns); in evp_rand_from_algorithm()
160 rand->uninstantiate = OSSL_FUNC_rand_uninstantiate(fns); in evp_rand_from_algorithm()
166 rand->generate = OSSL_FUNC_rand_generate(fns); in evp_rand_from_algorithm()
172 rand->reseed = OSSL_FUNC_rand_reseed(fns); in evp_rand_from_algorithm()
[all …]
H A Dkem.c262 const OSSL_DISPATCH *fns = algodef->implementation; in evp_kem_from_algorithm() local
277 for (; fns->function_id != 0; fns++) { in evp_kem_from_algorithm()
278 switch (fns->function_id) { in evp_kem_from_algorithm()
282 kem->newctx = OSSL_FUNC_kem_newctx(fns); in evp_kem_from_algorithm()
288 kem->encapsulate_init = OSSL_FUNC_kem_encapsulate_init(fns); in evp_kem_from_algorithm()
294 kem->encapsulate = OSSL_FUNC_kem_encapsulate(fns); in evp_kem_from_algorithm()
300 kem->decapsulate_init = OSSL_FUNC_kem_decapsulate_init(fns); in evp_kem_from_algorithm()
306 kem->decapsulate = OSSL_FUNC_kem_decapsulate(fns); in evp_kem_from_algorithm()
312 kem->freectx = OSSL_FUNC_kem_freectx(fns); in evp_kem_from_algorithm()
318 kem->dupctx = OSSL_FUNC_kem_dupctx(fns); in evp_kem_from_algorithm()
[all …]
H A Dasymcipher.c328 const OSSL_DISPATCH *fns = algodef->implementation; in evp_asym_cipher_from_algorithm() local
343 for (; fns->function_id != 0; fns++) { in evp_asym_cipher_from_algorithm()
344 switch (fns->function_id) { in evp_asym_cipher_from_algorithm()
348 cipher->newctx = OSSL_FUNC_asym_cipher_newctx(fns); in evp_asym_cipher_from_algorithm()
354 cipher->encrypt_init = OSSL_FUNC_asym_cipher_encrypt_init(fns); in evp_asym_cipher_from_algorithm()
360 cipher->encrypt = OSSL_FUNC_asym_cipher_encrypt(fns); in evp_asym_cipher_from_algorithm()
366 cipher->decrypt_init = OSSL_FUNC_asym_cipher_decrypt_init(fns); in evp_asym_cipher_from_algorithm()
372 cipher->decrypt = OSSL_FUNC_asym_cipher_decrypt(fns); in evp_asym_cipher_from_algorithm()
378 cipher->freectx = OSSL_FUNC_asym_cipher_freectx(fns); in evp_asym_cipher_from_algorithm()
384 cipher->dupctx = OSSL_FUNC_asym_cipher_dupctx(fns); in evp_asym_cipher_from_algorithm()
[all …]
H A Dexchange.c47 const OSSL_DISPATCH *fns = algodef->implementation; in evp_keyexch_from_algorithm() local
61 for (; fns->function_id != 0; fns++) { in evp_keyexch_from_algorithm()
62 switch (fns->function_id) { in evp_keyexch_from_algorithm()
66 exchange->newctx = OSSL_FUNC_keyexch_newctx(fns); in evp_keyexch_from_algorithm()
72 exchange->init = OSSL_FUNC_keyexch_init(fns); in evp_keyexch_from_algorithm()
78 exchange->set_peer = OSSL_FUNC_keyexch_set_peer(fns); in evp_keyexch_from_algorithm()
83 exchange->derive = OSSL_FUNC_keyexch_derive(fns); in evp_keyexch_from_algorithm()
89 exchange->freectx = OSSL_FUNC_keyexch_freectx(fns); in evp_keyexch_from_algorithm()
95 exchange->dupctx = OSSL_FUNC_keyexch_dupctx(fns); in evp_keyexch_from_algorithm()
100 exchange->get_ctx_params = OSSL_FUNC_keyexch_get_ctx_params(fns); in evp_keyexch_from_algorithm()
[all …]
/netbsd-src/sys/arch/dreamcast/dev/microcode/
H A Daica_arm.c124 uint32_t base, fns; in rate2reg() local
138 fns = (rate * 1024 + (base / 2)) / base; in rate2reg()
143 for (fns = 0; tmp >= base; tmp -= base, fns++) in rate2reg()
149 if (fns == 1024) { in rate2reg()
151 fns = 0; in rate2reg()
153 if ((rate > base * fns / 1024) && in rate2reg()
154 (fns < 1023) && in rate2reg()
155 (rate == base * (fns + 1) / 1024)) { in rate2reg()
156 fns++; in rate2reg()
157 } else if ((rate < base * fns / 1024) && in rate2reg()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/providers/common/
H A Dbio_prov.c26 int ossl_prov_bio_from_dispatch(const OSSL_DISPATCH *fns) in ossl_prov_bio_from_dispatch() argument
28 for (; fns->function_id != 0; fns++) { in ossl_prov_bio_from_dispatch()
29 switch (fns->function_id) { in ossl_prov_bio_from_dispatch()
32 c_bio_new_file = OSSL_FUNC_BIO_new_file(fns); in ossl_prov_bio_from_dispatch()
36 c_bio_new_membuf = OSSL_FUNC_BIO_new_membuf(fns); in ossl_prov_bio_from_dispatch()
40 c_bio_read_ex = OSSL_FUNC_BIO_read_ex(fns); in ossl_prov_bio_from_dispatch()
44 c_bio_write_ex = OSSL_FUNC_BIO_write_ex(fns); in ossl_prov_bio_from_dispatch()
48 c_bio_gets = OSSL_FUNC_BIO_gets(fns); in ossl_prov_bio_from_dispatch()
52 c_bio_puts = OSSL_FUNC_BIO_puts(fns); in ossl_prov_bio_from_dispatch()
56 c_bio_ctrl = OSSL_FUNC_BIO_ctrl(fns); in ossl_prov_bio_from_dispatch()
[all …]
H A Dprovider_seeding.c18 int ossl_prov_seeding_from_dispatch(const OSSL_DISPATCH *fns) in ossl_prov_seeding_from_dispatch() argument
20 for (; fns->function_id != 0; fns++) { in ossl_prov_seeding_from_dispatch()
28 switch (fns->function_id) { in ossl_prov_seeding_from_dispatch()
30 set_func(c_get_entropy, OSSL_FUNC_get_entropy(fns)); in ossl_prov_seeding_from_dispatch()
33 set_func(c_cleanup_entropy, OSSL_FUNC_cleanup_entropy(fns)); in ossl_prov_seeding_from_dispatch()
36 set_func(c_get_nonce, OSSL_FUNC_get_nonce(fns)); in ossl_prov_seeding_from_dispatch()
39 set_func(c_cleanup_nonce, OSSL_FUNC_cleanup_nonce(fns)); in ossl_prov_seeding_from_dispatch()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Ddebug.c2313 debug_write (void *handle, const struct debug_write_fns *fns, void *fhandle) in debug_write() argument
2341 if (! (*fns->start_compilation_unit) (fhandle, u->files->filename)) in debug_write()
2351 else if (! (*fns->start_source) (fhandle, f->filename)) in debug_write()
2356 if (! debug_write_name (info, fns, fhandle, n)) in debug_write()
2362 if (! debug_write_linenos (info, fns, fhandle, (bfd_vma) -1)) in debug_write()
2373 const struct debug_write_fns *fns, void *fhandle, in debug_write_name() argument
2379 if (! debug_write_type (info, fns, fhandle, n->u.type, n) in debug_write_name()
2380 || ! (*fns->typdef) (fhandle, n->name)) in debug_write_name()
2384 if (! debug_write_type (info, fns, fhandle, n->u.tag, n)) in debug_write_name()
2386 return (*fns->tag) (fhandle, n->name); in debug_write_name()
[all …]
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Ddebug.c2309 debug_write (void *handle, const struct debug_write_fns *fns, void *fhandle) in debug_write() argument
2337 if (! (*fns->start_compilation_unit) (fhandle, u->files->filename)) in debug_write()
2347 else if (! (*fns->start_source) (fhandle, f->filename)) in debug_write()
2352 if (! debug_write_name (info, fns, fhandle, n)) in debug_write()
2358 if (! debug_write_linenos (info, fns, fhandle, (bfd_vma) -1)) in debug_write()
2369 const struct debug_write_fns *fns, void *fhandle, in debug_write_name() argument
2375 if (! debug_write_type (info, fns, fhandle, n->u.type, n) in debug_write_name()
2376 || ! (*fns->typdef) (fhandle, n->name)) in debug_write_name()
2380 if (! debug_write_type (info, fns, fhandle, n->u.tag, n)) in debug_write_name()
2382 return (*fns->tag) (fhandle, n->name); in debug_write_name()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbss_core.c153 int ossl_bio_init_core(OSSL_LIB_CTX *libctx, const OSSL_DISPATCH *fns) in ossl_bio_init_core() argument
160 for (; fns->function_id != 0; fns++) { in ossl_bio_init_core()
161 switch (fns->function_id) { in ossl_bio_init_core()
164 bcgbl->c_bio_read_ex = OSSL_FUNC_BIO_read_ex(fns); in ossl_bio_init_core()
168 bcgbl->c_bio_write_ex = OSSL_FUNC_BIO_write_ex(fns); in ossl_bio_init_core()
172 bcgbl->c_bio_gets = OSSL_FUNC_BIO_gets(fns); in ossl_bio_init_core()
176 bcgbl->c_bio_puts = OSSL_FUNC_BIO_puts(fns); in ossl_bio_init_core()
180 bcgbl->c_bio_ctrl = OSSL_FUNC_BIO_ctrl(fns); in ossl_bio_init_core()
184 bcgbl->c_bio_up_ref = OSSL_FUNC_BIO_up_ref(fns); in ossl_bio_init_core()
188 bcgbl->c_bio_free = OSSL_FUNC_BIO_free(fns); in ossl_bio_init_core()
/netbsd-src/crypto/external/bsd/openssl/dist/doc/internal/man3/
H A Devp_generic_fetch.pod16 const OSSL_DISPATCH *fns,
26 const OSSL_DISPATCH *fns,
35 const OSSL_DISPATCH *fns,
70 dispatch table I<fns>, with name identity I<name_id>.
132 const OSSL_DISPATCH *fns,
143 for (; fns->function_id != 0; fns++) {
144 switch (fns->function_id) {
146 foo->newctx = OSSL_FUNC_foo_newctx(fns);
149 foo->init = OSSL_FUNC_foo_init(fns);
152 foo->operate = OSSL_FUNC_foo_operate(fns);
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/store/
H A Dstore_meth.c199 const OSSL_DISPATCH *fns = algodef->implementation; in loader_from_algorithm() local
207 for (; fns->function_id != 0; fns++) { in loader_from_algorithm()
208 switch (fns->function_id) { in loader_from_algorithm()
211 loader->p_open = OSSL_FUNC_store_open(fns); in loader_from_algorithm()
215 loader->p_attach = OSSL_FUNC_store_attach(fns); in loader_from_algorithm()
220 OSSL_FUNC_store_settable_ctx_params(fns); in loader_from_algorithm()
224 loader->p_set_ctx_params = OSSL_FUNC_store_set_ctx_params(fns); in loader_from_algorithm()
228 loader->p_load = OSSL_FUNC_store_load(fns); in loader_from_algorithm()
232 loader->p_eof = OSSL_FUNC_store_eof(fns); in loader_from_algorithm()
236 loader->p_close = OSSL_FUNC_store_close(fns); in loader_from_algorithm()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/rs6000/
H A Dcxa_atexit.c84 if (l->fns[i - 1].flavor != ef_free) in __new_exitfn()
94 if (l == NULL || i == sizeof (l->fns) / sizeof (l->fns[0])) in __new_exitfn()
112 r = &p->fns[0]; in __new_exitfn()
119 r = &l->fns[i]; in __new_exitfn()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
H A Dcxa_atexit.c84 if (l->fns[i - 1].flavor != ef_free) in __new_exitfn()
94 if (l == NULL || i == sizeof (l->fns) / sizeof (l->fns[0])) in __new_exitfn()
112 r = &p->fns[0]; in __new_exitfn()
119 r = &l->fns[i]; in __new_exitfn()
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/encode_decode/
H A Dencoder_meth.c224 const OSSL_DISPATCH *fns = algodef->implementation; in encoder_from_algorithm() local
241 for (; fns->function_id != 0; fns++) { in encoder_from_algorithm()
242 switch (fns->function_id) { in encoder_from_algorithm()
246 OSSL_FUNC_encoder_newctx(fns); in encoder_from_algorithm()
251 OSSL_FUNC_encoder_freectx(fns); in encoder_from_algorithm()
256 OSSL_FUNC_encoder_get_params(fns); in encoder_from_algorithm()
261 OSSL_FUNC_encoder_gettable_params(fns); in encoder_from_algorithm()
266 OSSL_FUNC_encoder_set_ctx_params(fns); in encoder_from_algorithm()
271 OSSL_FUNC_encoder_settable_ctx_params(fns); in encoder_from_algorithm()
276 OSSL_FUNC_encoder_does_selection(fns); in encoder_from_algorithm()
[all …]
H A Ddecoder_meth.c224 const OSSL_DISPATCH *fns = algodef->implementation; in ossl_decoder_from_algorithm() local
241 for (; fns->function_id != 0; fns++) { in ossl_decoder_from_algorithm()
242 switch (fns->function_id) { in ossl_decoder_from_algorithm()
245 decoder->newctx = OSSL_FUNC_decoder_newctx(fns); in ossl_decoder_from_algorithm()
249 decoder->freectx = OSSL_FUNC_decoder_freectx(fns); in ossl_decoder_from_algorithm()
254 OSSL_FUNC_decoder_get_params(fns); in ossl_decoder_from_algorithm()
259 OSSL_FUNC_decoder_gettable_params(fns); in ossl_decoder_from_algorithm()
264 OSSL_FUNC_decoder_set_ctx_params(fns); in ossl_decoder_from_algorithm()
269 OSSL_FUNC_decoder_settable_ctx_params(fns); in ossl_decoder_from_algorithm()
274 OSSL_FUNC_decoder_does_selection(fns); in ossl_decoder_from_algorithm()
[all …]

1234567891011