/freebsd/contrib/kyua/engine/ |
H A D | Makefile.am.inc | 34 libengine_a_SOURCES = engine/atf.cpp 35 libengine_a_SOURCES += engine/atf.hpp 36 libengine_a_SOURCES += engine/atf_list.cpp 37 libengine_a_SOURCES += engine/atf_list.hpp 38 libengine_a_SOURCES += engine/atf_result.cpp 39 libengine_a_SOURCES += engine/atf_result.hpp 40 libengine_a_SOURCES += engine/atf_result_fwd.hpp 41 libengine_a_SOURCES += engine/config.cpp 42 libengine_a_SOURCES += engine/config.hpp 43 libengine_a_SOURCES += engine/config_fwd.hpp [all …]
|
H A D | tap_parser_test.cpp | 29 #include "engine/tap_parser.hpp" 35 #include "engine/exceptions.hpp" 52 /// \throw engine::load_error If parse_tap_output() fails. 53 static engine::tap_summary 60 return engine::parse_tap_output(fs::path("tap.txt")); in do_parse() 70 const engine::tap_summary summary = engine::tap_summary::new_bailed_out(); in ATF_TEST_CASE_BODY() 78 const engine::tap_summary summary = engine::tap_summary::new_results( in ATF_TEST_CASE_BODY() 79 engine::tap_plan(1, 5), 3, 2); in ATF_TEST_CASE_BODY() 81 ATF_REQUIRE_EQ(engine::tap_plan(1, 5), summary.plan()); in ATF_TEST_CASE_BODY() 90 const engine::tap_summary summary = engine::tap_summary::new_all_skipped( in ATF_TEST_CASE_BODY() [all …]
|
H A D | atf_result_test.cpp | 29 #include "engine/atf_result.hpp" 42 #include "engine/exceptions.hpp" 65 parse_ok_test(const engine::atf_result::types& exp_type, in parse_ok_test() 70 const engine::atf_result actual = engine::atf_result::parse(input); in parse_ok_test() 106 ATF_REQUIRE_THROW_RE(engine::format_error, reason_regexp, in parse_broken_test() 107 engine::atf_result::parse(input)); in parse_broken_test() 161 engine::atf_result::broken, none, "a b c", 164 engine::atf_result::broken, none, " ", 169 engine::atf_result::expected_death, none, "a b c", 172 engine::atf_result::expected_death, none, " ", [all …]
|
H A D | scanner_test.cpp | 29 #include "engine/scanner.hpp" 37 #include "engine/filters.hpp" 141 static std::set< engine::scan_result > 142 yield_all(engine::scanner& scanner) in yield_all() 144 std::set< engine::scan_result > results; in yield_all() 146 const optional< engine::scan_result > result = scanner.yield(); in yield_all() 163 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() 165 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY() 181 const std::set< engine::test_filter > filters; in ATF_TEST_CASE_BODY() 183 std::set< engine::scan_result > exp_results; in ATF_TEST_CASE_BODY() [all …]
|
H A D | filters_test.cpp | 29 #include "engine/filters.hpp" 41 /// Syntactic sugar to instantiate engine::test_filter objects. 47 inline engine::test_filter 50 return engine::test_filter(fs::path(test_program), test_case); in mkfilter() 60 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY() 69 const engine::test_filter filter(engine::test_filter::parse("foo")); in ATF_TEST_CASE_BODY() 79 engine::test_filter::parse("")); in ATF_TEST_CASE_BODY() 87 engine::test_filter::parse("/foo//bar")); in ATF_TEST_CASE_BODY() 95 engine::test_filter::parse(":foo")); in ATF_TEST_CASE_BODY() 103 engine::test_filter::parse("bar/baz:")); in ATF_TEST_CASE_BODY() [all …]
|
H A D | requirements_test.cpp | 33 #include "engine/config.hpp" 34 #include "engine/requirements.hpp" 53 ATF_REQUIRE(engine::check_reqs(md, engine::empty_config(), "", in ATF_TEST_CASE_BODY() 65 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY() 68 ATF_REQUIRE(engine::check_reqs(md, user_config, "", fs::path(".")).empty()); in ATF_TEST_CASE_BODY() 79 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY() 83 engine::check_reqs(md, user_config, "", fs::path("."))); in ATF_TEST_CASE_BODY() 96 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY() 99 ATF_REQUIRE(engine::check_reqs(md, user_config, "", fs::path(".")).empty()); in ATF_TEST_CASE_BODY() 112 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY() [all …]
|
H A D | tap_parser.cpp | 29 #include "engine/tap_parser.hpp" 33 #include "engine/exceptions.hpp" 49 const engine::tap_plan engine::all_skipped_plan(1, 0); 84 /// \throw engine::format_error If the input is invalid. 88 optional< engine::tap_plan >& out_plan, in try_parse_plan() 94 const engine::tap_plan plan( in try_parse_plan() 99 throw engine::format_error( in try_parse_plan() 107 if (plan != engine::all_skipped_plan) { in try_parse_plan() 108 throw engine::format_error(F("Skipped plan must be %s..%s") % in try_parse_plan() 109 engine::all_skipped_plan.first % in try_parse_plan() [all …]
|
/freebsd/secure/lib/libcrypto/man/man3/ |
H A D | ENGINE_add.3 | 178 \&\- ENGINE cryptographic module support 182 \& #include <openssl/engine.h> 190 \& ENGINE *ENGINE_get_first(void); 191 \& ENGINE *ENGINE_get_last(void); 192 \& ENGINE *ENGINE_get_next(ENGINE *e); 193 \& ENGINE *ENGINE_get_prev(ENGINE *e); 195 \& int ENGINE_add(ENGINE *e); 196 \& int ENGINE_remove(ENGINE *e); 198 \& ENGINE *ENGINE_by_id(const char *id); 200 \& int ENGINE_init(ENGINE *e); [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ENGINE_add.pod | 43 - ENGINE cryptographic module support 47 #include <openssl/engine.h> 53 ENGINE *ENGINE_get_first(void); 54 ENGINE *ENGINE_get_last(void); 55 ENGINE *ENGINE_get_next(ENGINE *e); 56 ENGINE *ENGINE_get_prev(ENGINE *e); 58 int ENGINE_add(ENGINE *e); 59 int ENGINE_remove(ENGINE *e); 61 ENGINE *ENGINE_by_id(const char *id); 63 int ENGINE_init(ENGINE *e); [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | engine.h | 60 * internally to control registration of ENGINE implementations, and can be 66 /* ENGINE flags that can be set by ENGINE_set_flags(). */ 73 * these control commands on behalf of the ENGINE using their "cmd_defns" 80 * via "ENGINE_by_id()". When an ENGINE must store state (eg. if 83 * then each attempt to obtain the ENGINE will result in it being copied into 85 * ENGINE_by_id() just increments the existing ENGINE's structural reference 91 * This flag if for an ENGINE that does not want its methods registered as 133 * the same functionality to their own ENGINE-specific control functions that 137 * without requiring per-ENGINE hacking. 166 * engine in a dynamic way. Warn: Negative return values indicate errors FOR [all …]
|
/freebsd/crypto/openssl/ |
H A D | README-ENGINES.md | 7 The ENGINE API was introduced in OpenSSL version 0.9.6 as a low level 11 The ENGINE interface has its limitations and it has been superseeded 14 users who need to maintain or support existing ENGINE implementations. 19 Built-in ENGINE implementations 22 There are currently built-in ENGINE implementations for the following 29 In addition, dynamic binding to external ENGINE implementations is now 30 provided by a special ENGINE called "dynamic". See the "DYNAMIC ENGINE" 43 the ENGINE model so that alternative implementations of existing 45 ENGINE implementations. 50 Configuration support currently exists in the ENGINE API itself, in the [all …]
|
/freebsd/contrib/ofed/libibnetdisc/ |
H A D | query_smp.c | 44 extern int mlnx_ext_port_info_err(smp_engine_t * engine, ibnd_smp_t * smp, 47 static void queue_smp(smp_engine_t * engine, ibnd_smp_t * smp) in queue_smp() argument 50 if (!engine->smp_queue_head) { in queue_smp() 51 engine->smp_queue_head = smp; in queue_smp() 52 engine->smp_queue_tail = smp; in queue_smp() 54 engine->smp_queue_tail->qnext = smp; in queue_smp() 55 engine->smp_queue_tail = smp; in queue_smp() 59 static ibnd_smp_t *get_smp(smp_engine_t * engine) in get_smp() argument 61 ibnd_smp_t *head = engine->smp_queue_head; in get_smp() 62 ibnd_smp_t *tail = engine->smp_queue_tail; in get_smp() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/ |
H A D | allwinner,sun4i-a10-display-engine.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-display-engine.yaml# 7 title: Allwinner A10 Display Engine Pipeline 14 The display engine pipeline (and its entry point, since it can be 52 - allwinner,sun4i-a10-display-engine 53 - allwinner,sun5i-a10s-display-engine 54 - allwinner,sun5i-a13-display-engine 55 - allwinner,sun6i-a31-display-engine 56 - allwinner,sun6i-a31s-display-engine 57 - allwinner,sun7i-a20-display-engine 58 - allwinner,sun8i-a23-display-engine [all …]
|
/freebsd/crypto/openssl/crypto/engine/ |
H A D | README.md | 7 the "ENGINE" code. So it serves a double purpose of being a "ENGINE internals 49 into ENGINE is storage - the OBJ_NAME-based storage used by EVP to register 53 solution is necessarily that ENGINE-provided ciphers simply are not registered, 55 especially necessary considering the fact ENGINE uses reference counts to allow 59 Another sticking point for integrating cipher support into ENGINE is linkage. 60 Already there is a problem with the way ENGINE supports RSA, DSA, etc whereby 61 they are available *because* they're part of a giant ENGINE called "openssl". 62 Ie. all implementations *have* to come from an ENGINE, but we get round that by 63 having a giant ENGINE with all the software support encapsulated. This creates 66 ENGINE code being linked in *and* because of that DSA, DH, and RAND also. If we [all …]
|
H A D | eng_list.c | 11 /* We need to use some engine deprecated APIs */ 17 * The linked-list of pointers to engine types. engine_list_head incorporates 21 * itself). In the same way, the use of the "prev" pointer in each ENGINE is 27 static ENGINE *engine_list_head = NULL; 28 static ENGINE *engine_list_tail = NULL; 33 static ENGINE *engine_dyn_list_head = NULL; 34 static ENGINE *engine_dyn_list_tail = NULL; 44 ENGINE *iterator = engine_list_head; in engine_list_cleanup() 57 static int engine_list_add(ENGINE *e) in engine_list_add() 60 ENGINE *iterator = NULL; in engine_list_add() [all …]
|
H A D | eng_local.h | 16 # include "crypto/engine.h" 23 * This prints the engine's pointer address, "struct" or "funct" to 30 "engine: %p %s from %d to %d (%s:%d)\n", \ 41 * callbacks in order. NB: both the "add" functions assume the engine lock to 53 DEFINE_STACK_OF(ENGINE) 61 ENGINE *e, const int *nids, int num_nids, 63 void engine_table_unregister(ENGINE_TABLE **table, ENGINE *e); 65 ENGINE *ossl_engine_table_select(ENGINE_TABLE **table, int nid, 67 typedef void (engine_table_doall_cb) (int nid, STACK_OF(ENGINE) *sk, 68 ENGINE *def, void *arg); [all …]
|
H A D | eng_dyn.c | 10 /* We need to use some engine deprecated APIs */ 18 * Shared libraries implementing ENGINEs for use by the "dynamic" ENGINE 23 /* Our ENGINE handlers */ 24 static int dynamic_init(ENGINE *e); 25 static int dynamic_finish(ENGINE *e); 26 static int dynamic_ctrl(ENGINE *e, int cmd, long i, void *p, 31 static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx); 41 /* The constants used when creating the ENGINE */ 43 static const char *engine_dynamic_name = "Dynamic engine loading support"; 47 "Specifies the path to the new ENGINE shared library", [all …]
|
H A D | eng_lib.c | 27 ENGINE *ENGINE_new(void) in ENGINE_new() 29 ENGINE *ret; in ENGINE_new() 47 * elements of the ENGINE structure are more likely to be caught and changed 50 void engine_set_all_null(ENGINE *e) in engine_set_all_null() 71 int engine_free_util(ENGINE *e, int not_locked) in engine_free_util() 89 * Give the ENGINE a chance to do any structural cleanup corresponding to in engine_free_util() 100 int ENGINE_free(ENGINE *e) in ENGINE_free() 186 int ENGINE_set_ex_data(ENGINE *e, int idx, void *arg) in ENGINE_set_ex_data() 191 void *ENGINE_get_ex_data(const ENGINE *e, int idx) in ENGINE_get_ex_data() 197 * Functions to get/set an ENGINE's elements - mainly to avoid exposing the [all …]
|
H A D | tb_asnmth.c | 10 /* We need to use some engine deprecated APIs */ 28 void ENGINE_unregister_pkey_asn1_meths(ENGINE *e) in ENGINE_unregister_pkey_asn1_meths() 38 int ENGINE_register_pkey_asn1_meths(ENGINE *e) in ENGINE_register_pkey_asn1_meths() 53 ENGINE *e; in ENGINE_register_all_pkey_asn1_meths() 59 int ENGINE_set_default_pkey_asn1_meths(ENGINE *e) in ENGINE_set_default_pkey_asn1_meths() 77 ENGINE *ENGINE_get_pkey_asn1_meth_engine(int nid) in ENGINE_get_pkey_asn1_meth_engine() 84 * Obtains a pkey_asn1_meth implementation from an ENGINE functional 87 const EVP_PKEY_ASN1_METHOD *ENGINE_get_pkey_asn1_meth(ENGINE *e, int nid) in ENGINE_get_pkey_asn1_meth() 98 /* Gets the pkey_asn1_meth callback from an ENGINE structure */ 99 ENGINE_PKEY_ASN1_METHS_PTR ENGINE_get_pkey_asn1_meths(const ENGINE *e) in ENGINE_get_pkey_asn1_meths() [all …]
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | engine.c | 11 * Here is a set of wrappers for the ENGINE API, which are no-ops when the 12 * ENGINE API is disabled / removed. 19 #include <openssl/types.h> /* Ensure we have the ENGINE type, regardless */ 22 # include <openssl/engine.h> 27 /* Try to load an engine in a shareable library */ 28 static ENGINE *try_load_engine(const char *engine) in try_load_engine() argument 30 ENGINE *e = NULL; in try_load_engine() 33 if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0) in try_load_engine() 43 ENGINE *setup_engine_methods(const char *id, unsigned int methods, int debug) in setup_engine_methods() 45 ENGINE *e = NULL; in setup_engine_methods() [all …]
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-engine.pod.in | 6 openssl-engine - load and query engines 10 B<openssl engine> 21 [I<engine> ...] 28 of the specified I<engine>s. 42 Provides information about each specified engine. The first flag lists 49 Lists the capabilities of each engine. 53 Tests if each specified engine is available, and displays the answer. 57 Displays an error trace for any unavailable engine. 64 The B<-pre> command is given to the engine before it is loaded and 65 the B<-post> command is given after the engine is loaded. [all …]
|
/freebsd/crypto/openssl/providers/common/ |
H A D | provider_util.c | 10 /* We need to use some engine deprecated APIs */ 18 # include <openssl/engine.h> 30 ENGINE_finish(pc->engine); in ossl_prov_cipher_reset() 32 pc->engine = NULL; in ossl_prov_cipher_reset() 40 if (src->engine != NULL && !ENGINE_init(src->engine)) { in ossl_prov_cipher_copy() 45 dst->engine = src->engine; in ossl_prov_cipher_copy() 52 ENGINE **engine) in load_common() argument 65 ENGINE_finish(*engine); in load_common() 67 *engine = NULL; in load_common() 75 *engine = ENGINE_by_id(p->data); in load_common() [all …]
|
/freebsd/secure/usr.bin/openssl/man/ |
H A D | openssl-engine.1 | 133 .IX Title "OPENSSL-ENGINE 1ossl" 134 .TH OPENSSL-ENGINE 1ossl "2023-09-22" "3.0.11" "OpenSSL" 140 openssl\-engine \- load and query engines 143 \&\fBopenssl engine\fR 154 [\fIengine\fR ...] 160 of the specified \fIengine\fRs. 170 Provides information about each specified engine. The first flag lists 176 Lists the capabilities of each engine. 179 Tests if each specified engine is available, and displays the answer. 182 Displays an error trace for any unavailable engine. [all …]
|
/freebsd/contrib/bearssl/src/ssl/ |
H A D | ssl_io.c | 30 br_ssl_engine_context *engine, in br_sslio_init() argument 38 ctx->engine = engine; in br_sslio_init() 46 * Run the engine, until the specified target state is achieved, or 57 state = br_ssl_engine_current_state(ctx->engine); in run_until() 71 buf = br_ssl_engine_sendrec_buf(ctx->engine, &len); in run_until() 81 if (!ctx->engine->shutdown_recv) { in run_until() 83 ctx->engine, BR_ERR_IO); in run_until() 88 br_ssl_engine_sendrec_ack(ctx->engine, wlen); in run_until() 114 * to read data and there is some, or the engine is stuck in run_until() 122 buf = br_ssl_engine_recvrec_buf(ctx->engine, &len); in run_until() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/media/ |
H A D | allwinner,sun4i-a10-video-engine.yaml | 4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-video-engine.yaml# 7 title: Allwinner A10 Video Engine 16 - allwinner,sun4i-a10-video-engine 17 - allwinner,sun5i-a13-video-engine 18 - allwinner,sun7i-a20-video-engine 19 - allwinner,sun8i-a33-video-engine 20 - allwinner,sun8i-h3-video-engine 21 - allwinner,sun8i-v3s-video-engine 22 - allwinner,sun8i-r40-video-engine 23 - allwinner,sun20i-d1-video-engine [all …]
|