| /llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
| H A D | insert_range_after.pass.cpp | 50 …auto get_insert_pos = [](auto& c, auto& test_case) { return std::ranges::next(c.before_begin(), te… in test_sequence_insert_range_after() argument 52 auto get_return_pos = [](auto& c, auto& test_case) { in test_sequence_insert_range_after() argument 53 return std::ranges::next(c.before_begin(), test_case.index + test_case.input.size()); in test_sequence_insert_range_after() 58 auto& test_case = EmptyContainer_EmptyRange<T>; in test_sequence_insert_range_after() local 60 Container c(test_case.initial.begin(), test_case.initial.end()); in test_sequence_insert_range_after() 61 auto in = wrap_input<Iter, Sent>(test_case.input); in test_sequence_insert_range_after() 62 auto pos = get_insert_pos(c, test_case); in test_sequence_insert_range_after() 65 assert(std::ranges::equal(c, test_case.expected)); in test_sequence_insert_range_after() 66 assert(result == get_return_pos(c, test_case)); in test_sequence_insert_range_after() 70 auto& test_case = EmptyContainer_OneElementRange<T>; in test_sequence_insert_range_after() local [all …]
|
| /llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/tools/test/ |
| H A D | Tool.py | 191 def _record_test_and_display(self, test_case): argument 195 self.context.o.auto(test_case) 196 self._test_cases.append(test_case) 202 test_case = TestCase(self.context, test_name, None, exception) 203 self._record_test_and_display(test_case) 209 test_case = TestCase(self.context, test_name, heuristic, None) 210 self._record_test_and_display(test_case) 250 for test_case in self._test_cases: 251 score = test_case.score 252 if not test_case [all...] |
| /llvm-project/lldb/packages/Python/lldbsuite/test/ |
| H A D | lldbplatformutil.py | 23 def check_first_register_readable(test_case): 24 arch = test_case.getArchitecture() 27 test_case.expect("register read eax", substrs=["eax = 0x"]) 29 test_case.expect("register read r0", substrs=["r0 = 0x"]) 31 test_case.expect("register read x0", substrs=["x0 = 0x"]) 33 test_case.expect("register read zero", substrs=["zero = 0x"]) 35 test_case.expect("register read r0", substrs=["r0 = 0x"]) 37 test_case.expect("register read r0", substrs=["r0 = 0x"]) 39 test_case.expect("register read zero", substrs=["zero = 0x"]) 42 test_case 22 check_first_register_readable(test_case) global() argument 185 hasChattyStderr(test_case) global() argument [all...] |
| /llvm-project/libcxx/test/libcxx/input.output/filesystems/ |
| H A D | convert_file_time.pass.cpp | 71 struct test_case; 74 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_128Bit> struct 138 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_128Bit> argument 139 : public test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_128Bit> { 144 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_64Bit, TK_64Bit> struct 213 struct test_case<FileTimeT, TimeT, TimeSpecT, Base, TK_32Bit, TK_64Bit> struct 255 struct test_case<FileTimeT, TimeT, TimeSpec, Base, TK_FloatingPoint, argument 282 { assert((test_case<file_time_type, time_t, struct timespec>::test())); } in main() 284 assert((test_case<TestFileTimeT<std::int64_t>, std::int64_t, in main() 288 assert((test_case<TestFileTimeT<long long>, std::int32_t, in main() [all …]
|
| /llvm-project/libcxx/test/libcxx/utilities/utility/ |
| H A D | __murmur2_or_cityhash.abi-v1.pass.cpp | 45 for (const auto& test_case : TestCases) { in main() 46 assert(h64(test_case.first.data(), test_case.first.size()) == test_case.second); in main() 44 for (const auto& test_case : TestCases) { main() local
|
| H A D | __murmur2_or_cityhash.abi-v2.pass.cpp | 43 for (const auto& test_case : TestCases) { in main() local 44 assert(h64(test_case.first.data(), test_case.first.size()) == test_case.second); in main()
|
| /llvm-project/libcxx/test/std/containers/sequences/ |
| H A D | insert_range_sequence_containers.h | 431 …auto get_pos = [](auto& c, auto& test_case) { return std::ranges::next(c.begin(), static_cast<D>(t… in test_sequence_insert_range() 433 auto test = [&](auto& test_case) { in test_sequence_insert_range() 434 Container c(test_case.initial.begin(), test_case.initial.end()); in test_sequence_insert_range() 435 auto in = wrap_input<Iter, Sent>(test_case.input); in test_sequence_insert_range() 436 auto pos = get_pos(c, test_case); in test_sequence_insert_range() 439 assert(result == get_pos(c, test_case)); in test_sequence_insert_range() 441 return std::ranges::equal(c, test_case.expected); in test_sequence_insert_range() 500 auto test = [&](auto& test_case) { in test_sequence_prepend_range() 501 Container c(test_case.initial.begin(), test_case.initial.end()); in test_sequence_prepend_range() 502 auto in = wrap_input<Iter, Sent>(test_case.input); in test_sequence_prepend_range() [all …]
|
| /llvm-project/libcxx/test/libcxx/numerics/complex.number/ |
| H A D | __sqr.pass.cpp | 27 struct test_case in test() struct 33 const test_case cases[] = { in test() 47 const unsigned num_cases = sizeof(cases) / sizeof(test_case); in test() 50 const test_case& test = cases[i]; in test()
|
| /llvm-project/libcxx/test/std/containers/container.adaptors/ |
| H A D | push_range_container_adaptors.h | 114 auto test = [&](auto& test_case) { 115 Adaptor adaptor(test_case.initial.begin(), test_case.initial.end()); 116 auto in = wrap_input<Iter, Sent>(test_case.input); 124 return std::ranges::is_permutation(c, test_case.expected); 126 return std::ranges::equal(c, test_case.expected);
|
| /llvm-project/libcxx/test/support/test.support/ |
| H A D | test_check_assertion.pass.cpp | 32 DeathTest test_case; in TestDeathTest() local 33 …DeathTestResult test_result = test_case.Run(std::array<DeathCause, 1>{expected_cause}, func, get_m… in TestDeathTest() 56 test_case.PrintFailureDetails(maybe_failure_description, stmt, test_result.cause()); in TestDeathTest()
|
| /llvm-project/libcxx/test/std/containers/ |
| H A D | insert_range_maps_sets.h | 220 auto test = [&](const TestCaseMapSet<T>& test_case, bool check_multi = false) { 221 Container c(test_case.initial.begin(), test_case.initial.end()); 222 auto in = wrap_input<Iter, Sent>(test_case.input); 226 return std::ranges::is_permutation(c, test_case.expected_multi); 228 return std::ranges::is_permutation(c, test_case.expected);
|
| /llvm-project/lldb/test/API/commands/statistics/basic/ |
| H A D | TestStats.py | 841 for test_case in test_cases: 842 options = test_case["command_options"] 846 expectation = {**should_always_exist_or_not, **test_case["expect"]} 872 for test_case in test_cases: 874 options = test_case["api_options"] 883 expectation = {**should_always_exist_or_not, **test_case["expect"]}
|
| /llvm-project/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/ |
| H A D | replace_with_range.pass.cpp | 646 auto test = [&](const TestCaseReplacement& test_case) { in test_string_replace_with_range() 650 Container c(test_case.initial.begin(), test_case.initial.end()); in test_string_replace_with_range() 651 auto in = wrap_input<Iter, Sent>(test_case.input); in test_string_replace_with_range() 652 auto from = get_pos(c, test_case.from); in test_string_replace_with_range() 653 auto to = get_pos(c, test_case.to); in test_string_replace_with_range() 658 return std::ranges::equal(c, test_case.expected); in test_string_replace_with_range() 642 __anon2b9486a30102(const TestCaseReplacement& test_case) test_string_replace_with_range() argument
|
| /llvm-project/llvm/test/CodeGen/X86/ |
| H A D | machine-cse.ll | 51 define void @commute(i32 %test_case, i32 %scale) nounwind ssp { 78 switch i32 %test_case, label %sw.bb307 [ 85 %mul = mul nsw i32 %test_case, 3 90 tail call void (...) @printf(i32 %test_case, i32 %mul20) nounwind 91 %tmp = mul i32 %scale, %test_case
|
| H A D | StackColoring-tbaa.mir | 9 source_filename = "test_case.cc"
|
| H A D | lifetime-alias.ll | 4 source_filename = "test_case.cc" 22 @.str.3 = private unnamed_addr constant [13 x i8] c"test_case.cc\00", align 1
|
| /llvm-project/lldb/test/API/functionalities/gdb_remote_client/ |
| H A D | TestGDBRemoteClient.py | 485 def __init__(self, test_case): 487 self.test_case = test_case 491 self.test_case.assertIn("multiprocess+", client_supported) 458 __init__(self, test_case) global() argument
|
| /llvm-project/libcxx/test/support/ |
| H A D | check_assertion.h | 357 DeathTest test_case; in ExpectDeath() local 358 DeathTestResult test_result = test_case.Run(expected_causes, func, matcher); in ExpectDeath() 360 test_case.PrintFailureDetails(test_result.failure_description(), stmt, test_result.cause()); in ExpectDeath()
|
| /llvm-project/libcxx/test/std/algorithms/alg.nonmodifying/alg.fold/ |
| H A D | left_folds.pass.cpp | 254 constexpr bool test_case() { in test_case() function 328 test_case(); in main() 329 static_assert(test_case()); in main()
|
| /llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_allocator_test.cpp | 1287 for (auto test_case : test_cases) { in TEST() 1290 for (int i = 0; test_case[i] != 0; i++) in TEST() 1291 tracker.NextPage(test_case[i] == 'x'); in TEST() 1295 const char* last_x = strrchr(test_case, 'x'); in TEST() 1297 test_case, in TEST() 1298 last_x == nullptr ? 0 : (last_x - test_case + 1)); in TEST() 1286 for (auto test_case : test_cases) { TEST() local
|
| /llvm-project/polly/test/ScopInfo/ |
| H A D | sign_wrapped_set.ll | 14 define void @test_case(ptr noalias nocapture readonly %src, i32 %srcHeight, i32 %srcStride) local_u…
|
| H A D | invariant_load_distinct_parameter_valuations.ll | 23 ; ModuleID = '/home/johannes/Downloads/test_case.ll'
|
| /llvm-project/third-party/unittest/googletest/src/ |
| H A D | gtest.cc | 3365 void OnTestCaseStart(const TestCase& test_case) override; 3376 void OnTestCaseEnd(const TestCase& test_case) override; 3436 void PrettyUnitTestResultPrinter::OnTestCaseStart(const TestCase& test_case) { in OnTestCaseStart() argument 3438 FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); in OnTestCaseStart() 3440 printf("%s from %s", counts.c_str(), test_case.name()); in OnTestCaseStart() 3441 if (test_case.type_param() == nullptr) { in OnTestCaseStart() 3444 printf(", where %s = %s\n", kTypeParamLabel, test_case.type_param()); in OnTestCaseStart() 3515 void PrettyUnitTestResultPrinter::OnTestCaseEnd(const TestCase& test_case) { in OnTestCaseEnd() argument 3519 FormatCountableNoun(test_case.test_to_run_count(), "test", "tests"); in OnTestCaseEnd() 3521 printf("%s from %s (%s ms total)\n\n", counts.c_str(), test_case.name(), in OnTestCaseEnd() [all …]
|