Home
last modified time | relevance | path

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

/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/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/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/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.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/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.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/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.py814 def do_throw(g): function
819 self._check_generator_cleanup_exc_state(do_throw)
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc303 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
321 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
328 __ JumpIfRoot(r3, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc269 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
288 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
295 __ JumpIfRoot(rax, Heap::kTheHoleValueRootIndex, &do_throw, Label::kNear); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc303 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
321 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
328 __ JumpIfRoot(r0, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc342 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
360 __ Bind(&do_throw); in Generate_JSConstructStubGeneric()
368 __ B(eq, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc291 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
309 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
316 __ JumpIfRoot(v0, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc272 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
291 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
298 __ JumpIfRoot(eax, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc295 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
313 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
320 __ JumpIfRoot(r2, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc291 Label use_receiver, do_throw, leave_frame; in Generate_JSConstructStubGeneric() local
309 __ bind(&do_throw); in Generate_JSConstructStubGeneric()
316 __ JumpIfRoot(v0, Heap::kTheHoleValueRootIndex, &do_throw); in Generate_JSConstructStubGeneric()