| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/multimap.modifiers/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main() 82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/set/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 67 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main() 67 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main() 82 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.modifiers/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main() 82 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 82 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 67 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 82 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 67 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/ |
| H A D | merge.pass.cpp | 64 bool do_throw = false; in main() local 66 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 67 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main() 71 do_throw = true; in main() 78 do_throw = false; in main() 80 assert(!do_throw); in main() 81 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main() 82 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | backtrace_test.pass.cpp | 38 void call2(size_t* ntraced, bool do_throw) { in call2() argument 39 if (do_throw) { in call2() 47 void call1(size_t* ntraced, bool do_throw) { in call1() argument 48 call2(ntraced, do_throw); in call1()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.variant/variant.swap/ |
| H A D | swap.pass.cpp | 58 template <bool Throws> void do_throw() {} in do_throw() function 60 template <> void do_throw<true>() { in do_throw() function 82 do_throw<!NT_Move>(); in NothrowTypeImp() 91 do_throw<!NT_MoveAssign>(); in operator =() 118 do_throw<!NT_Swap>(); in swap() 172 do_throw<true>(); in ThrowsOnSecondMove()
|