Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14.2/sys/contrib/libsodium/test/default/
H A Dsign.c17 static TestData test_data[] = { variable
1088 for (i = 0U; i < (sizeof test_data) / (sizeof test_data[0]); i++) { in main()
1094 memcpy(skpk, test_data[i].sk, crypto_sign_SEEDBYTES); in main()
1095 memcpy(skpk + crypto_sign_SEEDBYTES, test_data[i].pk, in main()
1102 if (memcmp(test_data[i].sig, sm, crypto_sign_BYTES) != 0) { in main()
1122 if (memcmp(test_data[i].m, m, (size_t)mlen) != 0) { in main()
1132 test_data[i].pk) == 0) { in main()
1147 if (memcmp(test_data[i].sig, sig, crypto_sign_BYTES) != 0) { in main()
1153 i, test_data[i].pk) != 0) { in main()
1162 memcpy(sm, test_data[i].m, i); in main()
[all …]
/freebsd-14.2/contrib/kyua/engine/
H A Dscheduler.cpp918 sync_cleanup(test_data); in ~impl()
960 if (test_data->needs_cleanup) { in tests_needing_cleanup()
964 test_data->exit_handle = generic.reap(test_data->pid); in tests_needing_cleanup()
995 test_data->exit_handle = generic.reap(test_data->pid); in tests_needing_execenv_cleanup()
1019 test_data->test_program, test_data->test_case_name, in sync_cleanup()
1020 test_data->user_config, test_data->exit_handle.get(), in sync_cleanup()
1081 test_data->test_program, test_data->test_case_name, in sync_execenv_cleanup()
1352 test_data->exit_handle = handle; in wait_any()
1355 test_data->test_case_name); in wait_any()
1399 if (test_data->needs_cleanup) { in wait_any()
[all …]
/freebsd-14.2/contrib/libarchive/libarchive/test/
H A Dtest_short_writes.c182 uint16_t test_data[16384]; in DEFINE_TEST() local
186 test_data[i] = i; in DEFINE_TEST()
193 checker_add_file(checker, "a", (char *)test_data, 1024); in DEFINE_TEST()
204 checker_add_file(checker, "a", (char *)test_data, 21 * 1024); in DEFINE_TEST()
213 checker_add_file(checker, "a", (char *)test_data, 1024); in DEFINE_TEST()
/freebsd-14.2/contrib/expat/tests/
H A Dbasic_tests.c983 ExtTest test_data in START_TEST() local
2361 ExtFaults test_data in START_TEST() local
4131 ExtTest test_data in START_TEST() local
4578 ExtTest2 test_data in START_TEST() local
4609 ExtTest2 test_data in START_TEST() local
4644 ExtTest2 test_data in START_TEST() local
4675 ExtTest2 test_data in START_TEST() local
4771 ExtFaults2 test_data in START_TEST() local
4788 ExtTest2 test_data in START_TEST() local
5220 ExtTest2 test_data in START_TEST() local
[all …]
H A Dcommon.h132 extern void _run_ext_character_check(const char *text, ExtTest *test_data,
136 # define run_ext_character_check(text, test_data, expected) \ argument
137 _run_ext_character_check(text, test_data, expected, __FILE__, __LINE__)
H A Dhandlers.c442 ExtTest *test_data = (ExtTest *)XML_GetUserData(parser); in external_entity_loader() local
451 if (test_data->encoding != NULL) { in external_entity_loader()
452 if (! XML_SetEncoding(extparser, test_data->encoding)) in external_entity_loader()
1166 if (test_data->encoding != NULL) { in external_entity_loader2()
1193 if (test_data->encoding != NULL) { in external_entity_faulter2()
1200 fail(test_data->fail_text); in external_entity_faulter2()
1201 if (XML_GetErrorCode(extparser) != test_data->error) in external_entity_faulter2()
1661 ExtTest2 *test_data = (ExtTest2 *)userData; in ext2_accumulate_characters() local
1662 accumulate_characters(test_data->storage, s, len); in ext2_accumulate_characters()
1956 ExtTest *const test_data = (ExtTest *)userData; in ext_accumulate_characters() local
[all …]
H A Dcommon.c262 _run_ext_character_check(const char *text, ExtTest *test_data, in _run_ext_character_check() argument
267 test_data->storage = storage; in _run_ext_character_check()
268 XML_SetUserData(g_parser, test_data); in _run_ext_character_check()
H A Dmisc_tests.c586 ExtHdlrData *const test_data = (ExtHdlrData *)userData; in accumulate_characters_ext_handler() local
587 CharData_AppendXMLChars(test_data->storage, s, len); in accumulate_characters_ext_handler()
604 ExtHdlrData test_data = {"&e4;\n", external_entity_null_loader, &storage}; in START_TEST() local
609 XML_SetUserData(parser, &test_data); in START_TEST()
H A Dalloc_tests.c1654 ExtFaults test_data in START_TEST() local
1680 XML_SetUserData(g_parser, &test_data); in START_TEST()
/freebsd-14.2/tests/atf_python/
H A Dktest.py153 def _runtest_name(self, test_name: str, test_data): argument
163 if test_data is not None:
164 msg.add_nla(NlAttrNested(KtestAttrType.KTEST_ATTR_TEST_META, test_data))
172 def runtest(self, test_data=None): argument
173 self._runtest_name(nodeid_to_method_name(self.test_id), test_data)
/freebsd-14.2/contrib/atf/atf-c/detail/
H A Dsanity_test.c53 struct test_data { struct
64 struct test_data *td = v; in do_test_child() argument
99 struct test_data td = { t, cond }; in do_test()
/freebsd-14.2/contrib/netbsd-tests/dev/fss/
H A Dt_fss.sh63 read test_data < ./m2/text
64 atf_check_equal "${orig_data}" "${test_data}"
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulationStateARM.cpp277 OptionValueDictionary *test_data) { in LoadStateFromDictionary() argument
281 if (!test_data) in LoadStateFromDictionary()
284 OptionValueSP value_sp = test_data->GetValueForKey(memory_key); in LoadStateFromDictionary()
318 value_sp = test_data->GetValueForKey(registers_key); in LoadStateFromDictionary()
H A DEmulationStateARM.h35 bool LoadStateFromDictionary(lldb_private::OptionValueDictionary *test_data);
/freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_009_pos.ksh62 test_data=$STF_SUITE/tests/functional/cli_root/zpool_upgrade/blockfiles/*.bz2
67 log_must cp -r $test_data /$ds
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.h61 OptionValueDictionary *test_data) override { in TestEmulation() argument
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h65 OptionValueDictionary *test_data) override;
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/LoongArch/
H A DEmulateInstructionLoongArch.h56 OptionValueDictionary *test_data) override;
H A DEmulateInstructionLoongArch.cpp190 Stream &out_stream, ArchSpec &arch, OptionValueDictionary *test_data) { in TestEmulation() argument
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/
H A DEmulateInstructionARM64.h65 lldb_private::OptionValueDictionary *test_data) override { in TestEmulation() argument
/freebsd-14.2/crypto/heimdal/lib/asn1/
H A Dcheck-gen.c708 struct test_data { struct
718 struct test_data td[] = { in check_tag_length() argument
770 struct test_data td[] = { in check_tag_length64()
829 struct test_data td[] = { in check_tag_length64s()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS64/
H A DEmulateInstructionMIPS64.h72 lldb_private::OptionValueDictionary *test_data) override { in TestEmulation() argument
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/MIPS/
H A DEmulateInstructionMIPS.h80 lldb_private::OptionValueDictionary *test_data) override { in TestEmulation() argument
/freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/
H A Dtsd.h55 O(test_data, int, int) \
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h379 OptionValueDictionary *test_data) = 0;

12