/external/libcxx/test/std/containers/associative/set/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | merge.pass.cpp | 65 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/ |
D | backtrace_test.pass.cpp | 39 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/ |
D | swap.pass.cpp | 65 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/ |
D | test_exceptions.py | 814 def do_throw(g): function 819 self._check_generator_cleanup_exc_state(do_throw)
|
/external/v8/src/builtins/ppc/ |
D | builtins-ppc.cc | 303 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/ |
D | builtins-x64.cc | 269 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/ |
D | builtins-arm.cc | 303 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/ |
D | builtins-arm64.cc | 342 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/ |
D | builtins-mips.cc | 291 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/ |
D | builtins-ia32.cc | 272 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/ |
D | builtins-s390.cc | 295 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/ |
D | builtins-mips64.cc | 291 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()
|