Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/freebsd/contrib/kyua/engine/
H A Dtap_parser_test.cpp53 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()
93 ATF_REQUIRE_EQ(engine::tap_plan(1, 0), summary.plan()); in ATF_TEST_CASE_BODY()
101 const engine::tap_summary bailed_out = in ATF_TEST_CASE_BODY()
102 engine::tap_summary::new_bailed_out(); in ATF_TEST_CASE_BODY()
[all …]
H A DMakefile.am.inc34 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 Datf_result_test.cpp65 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, " ",
177 engine::atf_result::expected_exit, none, "any exit code",
180 engine::atf_result::expected_exit, optional< int >(712),
[all …]
H A Dscanner_test.cpp141 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()
184 exp_results.insert(engine::scan_result(test_program, "lone_test")); in ATF_TEST_CASE_BODY()
186 engine::scanner scanner(test_programs, filters); in ATF_TEST_CASE_BODY()
[all …]
H A Dtap_parser.cpp49 const engine::tap_plan engine::all_skipped_plan(1, 0);
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()
110 engine::all_skipped_plan.second); in try_parse_plan()
117 throw engine::format_error(F("Found reversed plan %s..%s") % in try_parse_plan()
127 out_plan.get() == engine::all_skipped_plan); in try_parse_plan()
[all …]
H A Dfilters_test.cpp47 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()
120 const engine::test_filter filter(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY()
129 const engine::test_filter f(fs::path("foo/bar"), "baz"); in ATF_TEST_CASE_BODY()
[all …]
H A Drequirements_test.cpp53 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()
116 engine::check_reqs(md, user_config, "", fs::path("."))); in ATF_TEST_CASE_BODY()
127 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY()
[all …]
H A Dfilters.cpp51 engine::test_filter::test_filter(const fs::path& test_program_, in test_filter()
67 engine::test_filter
68 engine::test_filter::parse(const std::string& str) in parse()
110 engine::test_filter::str(void) const in str()
125 engine::test_filter::contains(const test_filter& other) const in contains()
142 engine::test_filter::matches_test_program(const fs::path& test_program_) const in matches_test_program()
162 engine::test_filter::matches_test_case(const fs::path& test_program_, in matches_test_case()
178 engine::test_filter::operator<(const test_filter& other) const in operator <()
192 engine::test_filter::operator==(const test_filter& other) const in operator ==()
204 engine::test_filter::operator!=(const test_filter& other) const in operator !=()
[all …]
H A Datf_result.cpp107 static engine::atf_result
111 throw engine::format_error(F("%s cannot have a reason") % status); in parse_without_reason()
113 return engine::atf_result(engine::atf_result::passed); in parse_without_reason()
128 static engine::atf_result
131 using engine::atf_result; in parse_with_reason()
134 throw engine::format_error(F("%s must be followed by ': <reason>'") % in parse_with_reason()
181 static engine::atf_result
184 using engine::atf_result; in parse_with_reason_and_arg()
188 throw engine::format_error(F("Invalid format for '%s' test case " in parse_with_reason_and_arg()
197 throw engine::format_error(F("Mismatched '(' in %s") % rest); in parse_with_reason_and_arg()
[all …]
H A Datf_list_test.cpp54 const model::metadata md = engine::parse_atf_metadata(properties); in ATF_TEST_CASE_BODY()
80 const model::metadata md = engine::parse_atf_metadata(properties); in ATF_TEST_CASE_BODY()
114 ATF_REQUIRE_THROW_RE(engine::format_error, "Unknown.*property.*'foobar'", in ATF_TEST_CASE_BODY()
115 engine::parse_atf_metadata(properties)); in ATF_TEST_CASE_BODY()
124 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting Content-Type", in ATF_TEST_CASE_BODY()
125 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY()
136 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting.*blank line", in ATF_TEST_CASE_BODY()
137 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY()
144 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting.*blank line", in ATF_TEST_CASE_BODY()
145 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY()
[all …]
H A Dscanner.cpp72 struct engine::scanner::impl : utils::noncopyable {
80 engine::filters_state filters;
93 const std::set< engine::test_filter >& filters_) : in impl()
156 engine::scan_result
170 engine::scanner::scanner(const model::test_programs_vector& test_programs, in scanner()
171 const std::set< engine::test_filter >& filters) : in scanner()
178 engine::scanner::~scanner(void) in ~scanner()
187 optional< engine::scan_result >
188 engine::scanner::yield(void) in yield()
203 engine::scanner::done(void) in done()
[all …]
H A Datf.cpp58 namespace execenv = engine::execenv;
92 engine::atf_interface::exec_list(const model::test_program& test_program, in exec_list()
129 engine::atf_interface::parse_list(const optional< process::status >& status, in parse_list()
138 throw engine::error("Test case list timed out"); in parse_list()
144 throw engine::error("Permission denied to run test program"); in parse_list()
146 throw engine::error("Cannot find test program"); in parse_list()
148 throw engine::error("Invalid test program format"); in parse_list()
150 throw engine::error("Test program did not exit cleanly"); in parse_list()
153 throw engine::error("Test program received signal"); in parse_list()
158 throw engine::load_error(stdout_path, "Cannot open file for read"); in parse_list()
[all …]
H A Dconfig_test.cpp101 const config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY()
109 config::tree user_config = engine::default_config(); in ATF_TEST_CASE_BODY()
125 const config::tree user_config = engine::load_config(fs::path("config")); in ATF_TEST_CASE_BODY()
144 const config::tree user_config = engine::load_config(fs::path("config")); in ATF_TEST_CASE_BODY()
153 const passwd::user& user = user_config.lookup< engine::user_node >( in ATF_TEST_CASE_BODY()
170 ATF_REQUIRE_THROW(engine::load_error, engine::load_config( in ATF_TEST_CASE_BODY()
180 ATF_REQUIRE_THROW_RE(engine::load_error, in ATF_TEST_CASE_BODY()
182 engine::load_config(fs::path("config"))); in ATF_TEST_CASE_BODY()
189 ATF_REQUIRE_THROW_RE(engine::load_error, "Load of 'missing' failed", in ATF_TEST_CASE_BODY()
190 engine::load_config(fs::path("missing"))); in ATF_TEST_CASE_BODY()
H A Dconfig.cpp47 namespace execenv = engine::execenv;
67 tree.define< engine::user_node >("unprivileged_user"); in init_tree()
142 engine::user_node::deep_copy(void) const in deep_copy()
154 engine::user_node::push_lua(lutok::state& state) const in push_lua()
168 engine::user_node::set_lua(lutok::state& state, const int value_index) in set_lua()
187 engine::user_node::set_string(const std::string& raw_value) in set_string()
216 engine::user_node::to_string(void) const in to_string()
226 engine::default_config(void) in default_config()
239 engine::empty_config(void) in empty_config()
247 supported.insert(engine::execenv::default_execenv_name); in empty_config()
[all …]
H A Dkyuafile_test.cpp60 namespace scheduler = engine::scheduler;
72 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
117 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
159 new engine::plain_interface()); in ATF_TEST_CASE_BODY()
177 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
212 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
262 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
302 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
347 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
383 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
[all …]
H A Dexceptions.cpp38 engine::error::error(const std::string& message) : in error()
45 engine::error::~error(void) throw() in ~error()
53 engine::format_error::format_error(const std::string& reason_) : in format_error()
60 engine::format_error::~format_error(void) throw() in ~format_error()
69 engine::load_error::load_error(const fs::path& file_, in load_error()
79 engine::load_error::~load_error(void) throw() in ~load_error()
/freebsd/contrib/ofed/libibnetdisc/
H A Dquery_smp.c44 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 …]
H A Dibnetdisc.c64 static int query_node_info(smp_engine_t * engine, ib_portid_t * portid,
66 static int query_port_info(smp_engine_t * engine, ib_portid_t * portid,
70 static int recv_switch_info(smp_engine_t * engine, ibnd_smp_t * smp, in recv_switch_info() argument
81 static int query_switch_info(smp_engine_t * engine, ib_portid_t * portid, in query_switch_info() argument
85 return issue_smp(engine, portid, IB_ATTR_SWITCH_INFO, 0, in query_switch_info()
98 static int retract_dpath(smp_engine_t * engine, ib_portid_t * portid) in retract_dpath() argument
100 ibnd_scan_t *scan = engine->user_data; in retract_dpath()
118 static int extend_dpath(smp_engine_t * engine, ib_portid_t * portid, in extend_dpath() argument
121 ibnd_scan_t *scan = engine->user_data; in extend_dpath()
147 static int recv_node_desc(smp_engine_t * engine, ibnd_smp_t * smp, in recv_node_desc() argument
[all …]
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_io.c30 br_ssl_engine_context *engine, in br_sslio_init() argument
38 ctx->engine = engine; in br_sslio_init()
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()
122 buf = br_ssl_engine_recvrec_buf(ctx->engine, &len); in run_until()
125 br_ssl_engine_fail(ctx->engine, BR_ERR_IO); in run_until()
129 br_ssl_engine_recvrec_ack(ctx->engine, rlen); in run_until()
[all …]
/freebsd/crypto/openssl/providers/common/
H A Dprovider_util.c30 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()
76 if (*engine == NULL) in load_common()
79 if (!ENGINE_init(*engine)) { in load_common()
[all …]
/freebsd/crypto/openssl/doc/man1/
H A Dopenssl-engine.pod.in6 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/crypto/dh/
H A Ddh_lib.c29 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
43 ENGINE_finish(dh->engine); in DH_set_method()
44 dh->engine = NULL; in DH_set_method()
63 DH *DH_new_method(ENGINE *engine) in DH_new_method() argument
65 return dh_new_intern(engine, NULL); in DH_new_method()
74 static DH *dh_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in dh_new_intern() argument
95 if (engine) { in dh_new_intern()
96 if (!ENGINE_init(engine)) { in dh_new_intern()
100 ret->engine = engine; in dh_new_intern()
102 ret->engine = ENGINE_get_default_DH(); in dh_new_intern()
[all …]
/freebsd/contrib/kyua/drivers/
H A Ddebug_test.cpp48 namespace scheduler = engine::scheduler;
68 const engine::test_filter& filter, in drive()
75 const engine::kyuafile kyuafile = engine::kyuafile::load( in drive()
77 std::set< engine::test_filter > filters; in drive()
80 engine::scanner scanner(kyuafile.test_programs(), filters); in drive()
81 optional< engine::scan_result > match; in drive()
107 return result(engine::test_filter( in drive()
/freebsd/crypto/openssl/crypto/dsa/
H A Ddsa_lib.c26 static DSA *dsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx);
103 return d->engine; in DSA_get0_engine()
117 ENGINE_finish(dsa->engine); in DSA_set_method()
118 dsa->engine = NULL; in DSA_set_method()
133 static DSA *dsa_new_intern(ENGINE *engine, OSSL_LIB_CTX *libctx) in dsa_new_intern() argument
154 if (engine) { in dsa_new_intern()
155 if (!ENGINE_init(engine)) { in dsa_new_intern()
159 ret->engine = engine; in dsa_new_intern()
161 ret->engine = ENGINE_get_default_DSA(); in dsa_new_intern()
162 if (ret->engine) { in dsa_new_intern()
[all …]
/freebsd/contrib/kyua/examples/
H A Dsyntax_test.cpp52 namespace scheduler = engine::scheduler;
91 const config::tree user_config = engine::load_config( in ATF_TEST_CASE_BODY()
106 user_config.lookup< engine::user_node >("unprivileged_user").name); in ATF_TEST_CASE_BODY()
136 const engine::kyuafile kyuafile = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
137 fs::path("root/Kyuafile"), none, engine::default_config(), handle); in ATF_TEST_CASE_BODY()
175 const engine::kyuafile kyuafile = engine::kyuafile::load( in ATF_TEST_CASE_BODY()
176 fs::path("root/Kyuafile"), none, engine::default_config(), handle); in ATF_TEST_CASE_BODY()
204 new engine::plain_interface())); in ATF_INIT_TEST_CASES()

12345678910>>...20