| /freebsd-13-stable/contrib/kyua/engine/ |
| HD | tap_parser_test.cpp | 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() 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 …]
|
| HD | 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 …]
|
| HD | atf_result_test.cpp | 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, " ", 177 engine::atf_result::expected_exit, none, "any exit code", 180 engine::atf_result::expected_exit, optional< int >(712), [all …]
|
| HD | scanner_test.cpp | 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() 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 …]
|
| HD | tap_parser.cpp | 49 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 …]
|
| HD | filters_test.cpp | 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() 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 …]
|
| HD | requirements_test.cpp | 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() 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 …]
|
| HD | filters.cpp | 51 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 …]
|
| HD | atf_list_test.cpp | 54 const model::metadata md = engine::parse_atf_metadata(properties); in ATF_TEST_CASE_BODY() 78 const model::metadata md = engine::parse_atf_metadata(properties); in ATF_TEST_CASE_BODY() 110 ATF_REQUIRE_THROW_RE(engine::format_error, "Unknown.*property.*'foobar'", in ATF_TEST_CASE_BODY() 111 engine::parse_atf_metadata(properties)); in ATF_TEST_CASE_BODY() 120 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting Content-Type", in ATF_TEST_CASE_BODY() 121 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY() 132 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting.*blank line", in ATF_TEST_CASE_BODY() 133 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY() 140 ATF_REQUIRE_THROW_RE(engine::format_error, "expecting.*blank line", in ATF_TEST_CASE_BODY() 141 engine::parse_atf_list(input)); in ATF_TEST_CASE_BODY() [all …]
|
| HD | atf_result.cpp | 107 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 …]
|
| HD | scanner.cpp | 72 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 …]
|
| HD | atf.cpp | 90 engine::atf_interface::exec_list(const model::test_program& test_program, in exec_list() 127 engine::atf_interface::parse_list(const optional< process::status >& status, in parse_list() 136 throw engine::error("Test case list timed out"); in parse_list() 142 throw engine::error("Permission denied to run test program"); in parse_list() 144 throw engine::error("Cannot find test program"); in parse_list() 146 throw engine::error("Invalid test program format"); in parse_list() 148 throw engine::error("Test program did not exit cleanly"); in parse_list() 151 throw engine::error("Test program received signal"); in parse_list() 156 throw engine::load_error(stdout_path, "Cannot open file for read"); in parse_list() 160 throw engine::error("Test case list wrote to stderr"); in parse_list() [all …]
|
| HD | config_test.cpp | 101 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()
|
| HD | exceptions.cpp | 38 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()
|
| HD | kyuafile_test.cpp | 60 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 …]
|
| HD | config.cpp | 64 tree.define< engine::user_node >("unprivileged_user"); in init_tree() 131 engine::user_node::deep_copy(void) const in deep_copy() 143 engine::user_node::push_lua(lutok::state& state) const in push_lua() 157 engine::user_node::set_lua(lutok::state& state, const int value_index) in set_lua() 176 engine::user_node::set_string(const std::string& raw_value) in set_string() 205 engine::user_node::to_string(void) const in to_string() 215 engine::default_config(void) in default_config() 228 engine::empty_config(void) in empty_config() 245 engine::load_config(const utils::fs::path& file) in load_config()
|
| /freebsd-13-stable/contrib/ofed/libibnetdisc/ |
| HD | 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 …]
|
| HD | ibnetdisc.c | 64 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-13-stable/contrib/bearssl/src/ssl/ |
| HD | ssl_io.c | 30 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-13-stable/sys/contrib/octeon-sdk/ |
| HD | cvmx-dma-engine.c | 107 int engine; in cvmx_dma_engine_initialize() local 109 for (engine=0; engine < cvmx_dma_engine_get_num(); engine++) in cvmx_dma_engine_initialize() 112 result = cvmx_cmd_queue_initialize(CVMX_CMD_QUEUE_DMA(engine), in cvmx_dma_engine_initialize() 121 …max_ibuff_saddr.s.saddr = cvmx_ptr_to_phys(cvmx_cmd_queue_buffer(CVMX_CMD_QUEUE_DMA(engine))) >> 7; in cvmx_dma_engine_initialize() 122 cvmx_write_csr(CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(engine), dmax_ibuff_saddr.u64); in cvmx_dma_engine_initialize() 129 …max_ibuff_saddr.s.saddr = cvmx_ptr_to_phys(cvmx_cmd_queue_buffer(CVMX_CMD_QUEUE_DMA(engine))) >> 7; in cvmx_dma_engine_initialize() 130 cvmx_write_csr(CVMX_DPI_DMAX_IBUFF_SADDR(engine), dpi_dmax_ibuff_saddr.u64); in cvmx_dma_engine_initialize() 134 uint64_t address = cvmx_ptr_to_phys(cvmx_cmd_queue_buffer(CVMX_CMD_QUEUE_DMA(engine))); in cvmx_dma_engine_initialize() 135 if (engine) in cvmx_dma_engine_initialize() 236 int engine; in cvmx_dma_engine_shutdown() local [all …]
|
| /freebsd-13-stable/crypto/openssl/doc/man1/ |
| HD | engine.pod | 5 openssl-engine, 6 engine - load and query engines 10 B<openssl engine> 11 [ I<engine...> ] 22 [ I<engine...> ] 26 The B<engine> command is used to query the status and capabilities 27 of the specified B<engine>'s. 37 Provides information about each specified engine. The first flag lists 44 Lists the capabilities of each engine. 48 Tests if each specified engine is available, and displays the answer. [all …]
|
| /freebsd-13-stable/contrib/kyua/drivers/ |
| HD | debug_test.cpp | 48 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()
|
| HD | list_tests.cpp | 41 namespace scheduler = engine::scheduler; 64 const std::set< engine::test_filter >& filters, in drive() 70 const engine::kyuafile kyuafile = engine::kyuafile::load( in drive() 73 engine::scanner scanner(kyuafile.test_programs(), filters); in drive() 76 const optional< engine::scan_result > result = scanner.yield(); in drive()
|
| /freebsd-13-stable/contrib/kyua/examples/ |
| HD | syntax_test.cpp | 52 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()
|
| /freebsd-13-stable/contrib/kyua/cli/ |
| HD | config.cpp | 100 return engine::default_config(); in load_config_file() 102 return engine::load_config(filename); in load_config_file() 109 return engine::load_config(path); in load_config_file() 124 return engine::load_config(path); in load_config_file() 126 return engine::default_config(); in load_config_file() 160 throw engine::error(e.what()); in load_required_config() 214 } catch (const engine::error& e) { in load_config() 220 return engine::default_config(); in load_config()
|