| /freebsd/contrib/processor-trace/libipt/test/src/ |
| H A D | ptunit-query.c | 2431 struct ptunit_suite suite; in main() local 2435 suite = ptunit_mk_suite(argc, argv); in main() 2437 ptu_run_f(suite, indir_not_synced, dfix_raw); in main() 2438 ptu_run_f(suite, cond_not_synced, dfix_raw); in main() 2439 ptu_run_f(suite, event_not_synced, dfix_raw); in main() 2441 ptu_run_f(suite, sync_backward, dfix_raw); in main() 2442 ptu_run_f(suite, sync_backward_empty_end, dfix_raw); in main() 2443 ptu_run_f(suite, sync_backward_empty_mid, dfix_raw); in main() 2444 ptu_run_f(suite, sync_backward_empty_begin, dfix_raw); in main() 2445 ptu_run_f(suite, decode_sync_backward, dfix_raw); in main() [all …]
|
| H A D | ptunit-event_queue.c | 390 struct ptunit_suite suite; in main() local 398 suite = ptunit_mk_suite(argc, argv); in main() 400 ptu_run(suite, standalone_null); in main() 401 ptu_run_f(suite, standalone, efix); in main() 403 ptu_run_p(suite, enqueue_null, evb_psbend); in main() 404 ptu_run_p(suite, enqueue_null, evb_tip); in main() 405 ptu_run_p(suite, enqueue_null, evb_fup); in main() 407 ptu_run_p(suite, dequeue_null, evb_psbend); in main() 408 ptu_run_p(suite, dequeue_null, evb_tip); in main() 409 ptu_run_p(suite, dequeue_null, evb_fup); in main() [all …]
|
| H A D | ptunit-packet.c | 548 struct ptunit_suite suite; in main() local 553 suite = ptunit_mk_suite(argc, argv); in main() 555 ptu_run_fp(suite, no_payload, pfix, ppt_pad); in main() 556 ptu_run_fp(suite, no_payload, pfix, ppt_psb); in main() 557 ptu_run_fp(suite, no_payload, pfix, ppt_ovf); in main() 558 ptu_run_fp(suite, no_payload, pfix, ppt_psbend); in main() 559 ptu_run_fp(suite, no_payload, pfix, ppt_stop); in main() 561 ptu_run_fp(suite, unknown, pfix, 4); in main() 562 ptu_run_fp(suite, unknown, pfix, -pte_nomem); in main() 563 ptu_run_fp(suite, unknown_ext, pfix, 4); in main() [all …]
|
| H A D | ptunit-ild.c | 691 struct ptunit_suite suite; in main() local 693 suite = ptunit_mk_suite(argc, argv); in main() 695 ptu_run(suite, push); in main() 696 ptu_run(suite, jmp_rel); in main() 697 ptu_run(suite, long_nop); in main() 698 ptu_run(suite, mov_al_64); in main() 699 ptu_run(suite, mov_al_32); in main() 700 ptu_run(suite, mov_al_32_em64); in main() 701 ptu_run(suite, mov_al_32_em16); in main() 702 ptu_run(suite, mov_al_16_em32); in main() [all …]
|
| H A D | ptunit-last_ip.c | 343 struct ptunit_suite suite; in main() local 345 suite = ptunit_mk_suite(argc, argv); in main() 347 ptu_run(suite, init); in main() 348 ptu_run(suite, init_null); in main() 349 ptu_run(suite, status_initial); in main() 350 ptu_run(suite, status); in main() 351 ptu_run(suite, status_null); in main() 352 ptu_run(suite, status_noip); in main() 353 ptu_run(suite, status_suppressed); in main() 354 ptu_run(suite, query_initial); in main() [all …]
|
| H A D | ptunit-block_decoder.c | 316 struct ptunit_suite suite; in main() local 321 suite = ptunit_mk_suite(argc, argv); in main() 323 ptu_run(suite, decoder_init_null); in main() 324 ptu_run(suite, decoder_fini_null); in main() 325 ptu_run(suite, alloc_decoder_null); in main() 326 ptu_run(suite, free_decoder_null); in main() 328 ptu_run(suite, sync_forward_null); in main() 329 ptu_run(suite, sync_backward_null); in main() 330 ptu_run(suite, sync_set_null); in main() 331 ptu_run_f(suite, sync_set_eos, tfix); in main() [all …]
|
| H A D | ptunit-insn_decoder.c | 316 struct ptunit_suite suite; in main() local 321 suite = ptunit_mk_suite(argc, argv); in main() 323 ptu_run(suite, decoder_init_null); in main() 324 ptu_run(suite, decoder_fini_null); in main() 325 ptu_run(suite, alloc_decoder_null); in main() 326 ptu_run(suite, free_decoder_null); in main() 328 ptu_run(suite, sync_forward_null); in main() 329 ptu_run(suite, sync_backward_null); in main() 330 ptu_run(suite, sync_set_null); in main() 331 ptu_run_f(suite, sync_set_eos, tfix); in main() [all …]
|
| H A D | ptunit-fetch.c | 237 struct ptunit_suite suite; in main() local 242 suite = ptunit_mk_suite(argc, argv); in main() 244 ptu_run_f(suite, fetch_null, ffix); in main() 245 ptu_run_f(suite, fetch_empty, ffix); in main() 247 ptu_run_f(suite, fetch_unknown, ffix); in main() 248 ptu_run_f(suite, fetch_unknown_ext, ffix); in main() 249 ptu_run_f(suite, fetch_unknown_ext2, ffix); in main() 251 ptu_run_fp(suite, fetch_type, ffix, ppt_pad, &pt_decode_pad); in main() 252 ptu_run_fp(suite, fetch_type, ffix, ppt_psb, &pt_decode_psb); in main() 253 ptu_run_fp(suite, fetch_type, ffix, ppt_tip, &pt_decode_tip); in main() [all …]
|
| H A D | ptunit-tnt_cache.c | 226 struct ptunit_suite suite; in main() local 228 suite = ptunit_mk_suite(argc, argv); in main() 230 ptu_run(suite, init); in main() 231 ptu_run(suite, init_null); in main() 232 ptu_run(suite, is_empty_initial); in main() 233 ptu_run(suite, is_empty_no); in main() 234 ptu_run(suite, is_empty_yes); in main() 235 ptu_run(suite, is_empty_null); in main() 236 ptu_run(suite, query_taken); in main() 237 ptu_run(suite, query_not_taken); in main() [all …]
|
| H A D | ptunit-packet_decoder.c | 246 struct ptunit_suite suite; in main() local 251 suite = ptunit_mk_suite(argc, argv); in main() 253 ptu_run(suite, decoder_init_null); in main() 254 ptu_run(suite, decoder_fini_null); in main() 255 ptu_run(suite, alloc_decoder_null); in main() 256 ptu_run(suite, free_decoder_null); in main() 258 ptu_run(suite, sync_forward_null); in main() 259 ptu_run(suite, sync_backward_null); in main() 260 ptu_run(suite, sync_set_null); in main() 261 ptu_run_f(suite, sync_set_eos, tfix); in main() [all …]
|
| H A D | ptunit-asid.c | 397 struct ptunit_suite suite; in main() local 399 suite = ptunit_mk_suite(argc, argv); in main() 401 ptu_run(suite, from_user_null); in main() 402 ptu_run(suite, from_user_default); in main() 403 ptu_run(suite, from_user_small); in main() 404 ptu_run(suite, from_user_big); in main() 405 ptu_run(suite, from_user); in main() 406 ptu_run(suite, from_user_cr3); in main() 408 ptu_run(suite, to_user_null); in main() 409 ptu_run(suite, to_user_too_small); in main() [all …]
|
| H A D | ptunit-time.c | 365 struct ptunit_suite suite; in main() local 368 suite = ptunit_mk_suite(argc, argv); in main() 373 ptu_run_f(suite, tsc_null, tfix); in main() 374 ptu_run_f(suite, cbr_null, tfix); in main() 375 ptu_run_f(suite, tma_null, tfix); in main() 376 ptu_run_f(suite, mtc_null, tfix); in main() 377 ptu_run_f(suite, cyc_null, tfix); in main() 379 ptu_run_f(suite, query_tsc_null, tfix); in main() 380 ptu_run_f(suite, query_tsc_none, tfix); in main() 381 ptu_run_f(suite, query_cbr_null, tfix); in main() [all …]
|
| H A D | ptunit-encoder.c | 212 struct ptunit_suite suite; in main() local 217 suite = ptunit_mk_suite(argc, argv); in main() 219 ptu_run(suite, encoder_init_null); in main() 220 ptu_run(suite, encoder_fini_null); in main() 221 ptu_run(suite, alloc_encoder_null); in main() 222 ptu_run(suite, free_encoder_null); in main() 224 ptu_run(suite, sync_set_null); in main() 225 ptu_run_f(suite, sync_set_eos, tfix); in main() 227 ptu_run(suite, get_offset_null); in main() 228 ptu_run_f(suite, get_offset_init, tfix); in main() [all …]
|
| H A D | ptunit-config.c | 530 struct ptunit_suite suite; in main() local 532 suite = ptunit_mk_suite(argc, argv); in main() 534 ptu_run(suite, from_user_null); in main() 535 ptu_run(suite, from_user_too_small); in main() 536 ptu_run(suite, from_user_bad_buffer); in main() 537 ptu_run(suite, from_user); in main() 538 ptu_run(suite, from_user_small); in main() 539 ptu_run(suite, from_user_big); in main() 540 ptu_run(suite, size); in main() 542 ptu_run(suite, addr_filter_size); in main() [all …]
|
| H A D | ptunit-block_cache.c | 338 struct ptunit_suite suite; in main() local 346 suite = ptunit_mk_suite(argc, argv); in main() 348 ptu_run(suite, bcache_entry_size); in main() 349 ptu_run(suite, bcache_size); in main() 351 ptu_run(suite, free_null); in main() 352 ptu_run(suite, add_null); in main() 353 ptu_run(suite, lookup_null); in main() 355 ptu_run_f(suite, alloc, cfix); in main() 356 ptu_run_f(suite, alloc_min, cfix); in main() 357 ptu_run_f(suite, alloc_too_big, cfix); in main() [all …]
|
| H A D | ptunit-sync.c | 277 struct ptunit_suite suite; in main() local 282 suite = ptunit_mk_suite(argc, argv); in main() 284 ptu_run_f(suite, sync_fwd_null, sfix); in main() 285 ptu_run_f(suite, sync_bwd_null, sfix); in main() 287 ptu_run_f(suite, sync_fwd_empty, sfix); in main() 288 ptu_run_f(suite, sync_bwd_empty, sfix); in main() 290 ptu_run_f(suite, sync_fwd_none, sfix); in main() 291 ptu_run_f(suite, sync_bwd_none, sfix); in main() 293 ptu_run_f(suite, sync_fwd_here, sfix); in main() 294 ptu_run_f(suite, sync_bwd_here, sfix); in main() [all …]
|
| H A D | ptunit-mapped_section.c | 182 struct ptunit_suite suite; in main() local 184 suite = ptunit_mk_suite(argc, argv); in main() 186 ptu_run(suite, begin); in main() 187 ptu_run(suite, end); in main() 188 ptu_run(suite, offset); in main() 189 ptu_run(suite, size); in main() 190 ptu_run(suite, asid); in main() 191 ptu_run(suite, asid_null); in main() 192 ptu_run(suite, map); in main() 193 ptu_run(suite, unmap); in main() [all …]
|
| /freebsd/contrib/kyua/engine/ |
| H A D | kyuafile_test.cpp | 72 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY() local 74 ATF_REQUIRE_EQ(fs::path("."), suite.source_root()); in ATF_TEST_CASE_BODY() 75 ATF_REQUIRE_EQ(fs::path("."), suite.build_root()); in ATF_TEST_CASE_BODY() 76 ATF_REQUIRE_EQ(0, suite.test_programs().size()); in ATF_TEST_CASE_BODY() 90 "test_suite('one-suite')\n" in ATF_TEST_CASE_BODY() 101 "atf_test_program{name='1st', test_suite='other-suite'}\n" in ATF_TEST_CASE_BODY() 108 "atf_test_program{name='5th', test_suite='last-suite'}\n"); in ATF_TEST_CASE_BODY() 117 const engine::kyuafile suite = engine::kyuafile::load( in ATF_TEST_CASE_BODY() local 119 ATF_REQUIRE_EQ(fs::path("."), suite.source_root()); in ATF_TEST_CASE_BODY() 120 ATF_REQUIRE_EQ(fs::path("."), suite.build_root()); in ATF_TEST_CASE_BODY() [all …]
|
| /freebsd/contrib/expat/tests/ |
| H A D | minicheck.c | 42 # undef NDEBUG /* because test suite relies on assert(...) at the moment */ 55 Suite * 57 Suite *suite = (Suite *)calloc(1, sizeof(Suite)); in suite_create() local 58 if (suite != NULL) { in suite_create() 59 suite->name = name; in suite_create() 61 return suite; in suite_create() 74 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase() argument 75 assert(suite != NULL); in suite_add_tcase() 79 tc->next_tcase = suite->tests; in suite_add_tcase() 80 suite->tests = tc; in suite_add_tcase() [all …]
|
| /freebsd/contrib/wpa/src/rsn_supp/ |
| H A D | wpa_ie.c | 47 u32 suite; in wpa_gen_wpa_ie_wpa() local 59 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, group_cipher); in wpa_gen_wpa_ie_wpa() 60 if (suite == 0) { in wpa_gen_wpa_ie_wpa() 65 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa() 70 suite = wpa_cipher_to_suite(WPA_PROTO_WPA, pairwise_cipher); in wpa_gen_wpa_ie_wpa() 71 if (suite == 0 || in wpa_gen_wpa_ie_wpa() 78 RSN_SELECTOR_PUT(pos, suite); in wpa_gen_wpa_ie_wpa() 136 u32 suite; in wpa_gen_wpa_ie_rsn() local 151 suite = wpa_cipher_to_suite(WPA_PROTO_RSN, group_cipher); in wpa_gen_wpa_ie_rsn() 152 if (suite == 0) { in wpa_gen_wpa_ie_rsn() [all …]
|
| /freebsd/crypto/openssl/crypto/hpke/ |
| H A D | hpke.c | 52 OSSL_HPKE_SUITE suite; /* suite */ member 309 * @brief check if a suite is supported locally 310 * @param suite is the suite to check 313 static int hpke_suite_check(OSSL_HPKE_SUITE suite, in hpke_suite_check() argument 323 if ((kem_info_ = ossl_HPKE_KEM_INFO_find_id(suite.kem_id)) == NULL) in hpke_suite_check() 325 if ((kdf_info_ = ossl_HPKE_KDF_INFO_find_id(suite.kdf_id)) == NULL) in hpke_suite_check() 327 if ((aead_info_ = ossl_HPKE_AEAD_INFO_find_id(suite.aead_id)) == NULL) in hpke_suite_check() 341 * @brief randomly pick a suite 344 * @param suite is the result 349 OSSL_HPKE_SUITE *suite) in hpke_random_suite() argument [all …]
|
| /freebsd/contrib/libyaml/tests/ |
| H A D | ReadMe.md | 7 echo 'foo: bar' | ./tests/run-parser-test-suite 9 This will output the parsing events in yaml-test-suite format: 22 echo '{ foo: bar }' | ./tests/run-parser-test-suite --flow keep 35 run-emitter-test-suite takes yaml-test-suite event format and emits YAML. 37 ./tests/run-parser-test-suite ... | ./tests/run-emitter-test-suite 60 ./tests/run-parser-test-suite --flow keep | 61 ./tests/run-emitter-test-suite --flow keep
|
| /freebsd/share/man/man7/ |
| H A D | tests.7 | 35 Test Suite 39 Test Suite provides a collection of automated tests for two major purposes. 40 On one hand, the test suite aids 54 Test Suite can be found in the 58 This manual page describes how to run the test suite and how to configure 62 .Ss Installing the test suite 66 suite, rebuild your system and install the results. 77 Before diving into the details of how to run the test suite, here are some 100 Use the following command to run the whole test suite: 145 Test Suite require manual configuration by the administrator before they can be [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | README-external.md | 8 Python PYCA/Cryptography test suite 11 This python test suite runs cryptographic tests with a local OpenSSL build as 34 krb5 test suite 37 Much like the PYCA/Cryptography test suite, this builds and runs the krb5 56 krb5's tests will then be run as part of the rest of the suite, or can be 64 krb5 will automatically adapt its test suite to account for the configuration 68 GOST engine test suite 71 Much like the PYCA/Cryptography test suite, this builds and runs the GOST engine 85 GOST engine tests will then be run as part of the rest of the suite, or can be 90 OQSprovider test suite [all …]
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_record_util.h | 78 /* Returns cipher name in bytes or NULL if suite ID is invalid. */ 81 /* Returns hash function name in bytes or NULL if suite ID is invalid. */ 84 /* Returns secret length in bytes or 0 if suite ID is invalid. */ 87 /* Returns key length in bytes or 0 if suite ID is invalid. */ 90 /* Returns IV length in bytes or 0 if suite ID is invalid. */ 93 /* Returns AEAD auth tag length in bytes or 0 if suite ID is invalid. */ 96 /* Returns a QUIC_HDR_PROT_CIPHER_* value or 0 if suite ID is invalid. */ 99 /* Returns header protection key length in bytes or 0 if suite ID is invalid. */ 103 * Returns maximum number of packets which may be safely encrypted with a suite 104 * or 0 if suite ID is invalid. [all …]
|