Home
last modified time | relevance | path

Searched refs:do_throw (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/libcxx/test/std/containers/associative/map/map.modifiers/
Dmerge.pass.cpp64 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()
/external/llvm-project/libcxx/test/std/containers/associative/set/
Dmerge.pass.cpp64 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()
/external/libcxx/test/std/containers/associative/multiset/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main()
68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Dmerge.pass.cpp64 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()
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
83 assert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, throw_comparator(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/associative/multiset/
Dmerge.pass.cpp64 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()
/external/libcxx/test/std/containers/associative/set/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 set_type src({1, 3, 5}, throw_comparator(do_throw)); in main()
68 set_type dst({2, 4, 5}, throw_comparator(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, throw_comparator(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, throw_comparator(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp64 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()
/external/llvm-project/libcxx/test/std/containers/unord/unord.set/
Dmerge.pass.cpp64 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()
/external/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp64 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()
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 map_type src({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 map_type dst({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 …ssert(map_equal(src, map_type({{1, 0}, {3, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 …ssert(map_equal(dst, map_type({{2, 0}, {4, 0}, {5, 0}}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/external/llvm-project/libcxx/test/std/containers/unord/unord.multiset/
Dmerge.pass.cpp64 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()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dmerge.pass.cpp65 bool do_throw = false; in main() local
67 set_type src({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
68 set_type dst({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)); in main()
72 do_throw = true; in main()
79 do_throw = false; in main()
81 assert(!do_throw); in main()
82 assert(set_equal(src, set_type({1, 3, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
83 assert(set_equal(dst, set_type({2, 4, 5}, 0, throw_hasher<Counter<int>>(do_throw)))); in main()
/external/libcxxabi/test/
Dbacktrace_test.pass.cpp39 void call2(size_t* ntraced, bool do_throw) { in call2() argument
40 if (do_throw) { in call2()
48 void call1(size_t* ntraced, bool do_throw) { in call1() argument
49 call2(ntraced, do_throw); in call1()
/external/llvm-project/libcxxabi/test/
Dbacktrace_test.pass.cpp38 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()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp62 template <bool Throws> void do_throw() {} in do_throw() function
64 template <> void do_throw<true>() { in do_throw() function
86 do_throw<!NT_Move>(); in NothrowTypeImp()
95 do_throw<!NT_MoveAssign>(); in operator =()
122 do_throw<!NT_Swap>(); in swap()
176 do_throw<true>(); in ThrowsOnSecondMove()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp65 template <bool Throws> void do_throw() {} in do_throw() function
67 template <> void do_throw<true>() { in do_throw() function
89 do_throw<!NT_Move>(); in NothrowTypeImp()
98 do_throw<!NT_MoveAssign>(); in operator =()
125 do_throw<!NT_Swap>(); in swap()
179 do_throw<true>(); in ThrowsOnSecondMove()
/external/python/cpython3/Lib/test/
Dtest_exceptions.py874 def do_throw(g): function
879 self._check_generator_cleanup_exc_state(do_throw)
/external/fmtlib/include/fmt/
Dformat.h103 template <typename Exception> inline void do_throw(const Exception& x) { in do_throw() function
111 # define FMT_THROW(x) detail::do_throw(x)