| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/ |
| H A D | exceptions.pass.cpp | 115 int throw_after = 1; in main() local 116 ThrowingT v(throw_after); in main() 187 int throw_after = 0; in main() local 188 vec.emplace_back(throw_after); in main() 196 int throw_after = 1; in main() local 197 vec.emplace_back(throw_after); in main() 205 int throw_after = 1; in main() local 206 vec.emplace_back(throw_after); in main() 214 int throw_after = 1; in main() local 215 std::vector<ThrowingT> vec({ThrowingT(throw_after)}); in main() [all …]
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ |
| H A D | uninitialized_default_construct_n.pass.cpp | 39 static int throw_after; member 40 static void reset() { throw_after = count = constructed = 0; } in reset() 43 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 54 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 64 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| H A D | uninitialized_default_construct.pass.cpp | 38 static int throw_after; member 41 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 52 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 63 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ |
| H A D | uninitialized_value_construct.pass.cpp | 39 static int throw_after; member 40 static void reset() { throw_after = count = constructed = 0; } in reset() 43 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 54 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 64 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| H A D | uninitialized_value_construct_n.pass.cpp | 38 static int throw_after; member 39 static void reset() { throw_after = count = constructed = 0; } in reset() 42 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 53 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 63 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/ |
| H A D | uninitialized_move.pass.cpp | 39 static int throw_after; member 40 static void reset() { throw_after = count = constructed = 0; } in reset() 43 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 55 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 66 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| H A D | uninitialized_move_n.pass.cpp | 39 static int throw_after; member 40 static void reset() { throw_after = count = constructed = 0; } in reset() 43 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted() 55 int ThrowsCounted::throw_after = 0; member in ThrowsCounted 66 ThrowsCounted::throw_after = 4; in test_ctor_throws()
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | count_new.h | 56 unsigned throw_after; variable 81 if (throw_after == 0) { in newCalled() 82 throw_after = never_throw_value; in newCalled() 84 } else if (throw_after != never_throw_value) { in newCalled() 85 --throw_after; in newCalled() 115 if (throw_after == 0) { in newArrayCalled() 116 throw_after = never_throw_value; in newArrayCalled() 158 throw_after = never_throw_value; in reset()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
| H A D | make_shared.array.unbounded.pass.cpp | 320 ThrowOnConstruction::throw_after(i); in main() 333 ThrowOnConstruction::throw_after(i); in main() 346 ThrowOnConstruction::throw_after(i); in main() 364 ThrowOnConstruction::throw_after(i); in main() 379 ThrowOnConstruction::throw_after(i); in main() 394 ThrowOnConstruction::throw_after(i); in main()
|
| H A D | make_shared.array.bounded.pass.cpp | 279 ThrowOnConstruction::throw_after(i); in main() 292 ThrowOnConstruction::throw_after(i); in main() 305 ThrowOnConstruction::throw_after(i); in main() 323 ThrowOnConstruction::throw_after(i); in main() 338 ThrowOnConstruction::throw_after(i); in main() 353 ThrowOnConstruction::throw_after(i); in main()
|
| H A D | allocate_shared.array.bounded.pass.cpp | 280 ThrowOnConstruction::throw_after(i); in main() 293 ThrowOnConstruction::throw_after(i); in main() 306 ThrowOnConstruction::throw_after(i); in main() 324 ThrowOnConstruction::throw_after(i); in main() 339 ThrowOnConstruction::throw_after(i); in main() 354 ThrowOnConstruction::throw_after(i); in main()
|
| H A D | allocate_shared.array.unbounded.pass.cpp | 322 ThrowOnConstruction::throw_after(i); in main() 335 ThrowOnConstruction::throw_after(i); in main() 348 ThrowOnConstruction::throw_after(i); in main() 366 ThrowOnConstruction::throw_after(i); in main() 381 ThrowOnConstruction::throw_after(i); in main() 396 ThrowOnConstruction::throw_after(i); in main()
|
| H A D | types.h | 83 static void throw_after(int n) { throw_after_ = n; } in throw_after() function
|
| /llvm-project-15.0.7/libcxx/test/std/strings/basic.string/string.capacity/ |
| H A D | capacity.pass.cpp | 25 alloc_stats.throw_after = 0; in test() 40 alloc_stats.throw_after = INT_MAX; in test()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
| H A D | nullptr_t_deleter_throw.pass.cpp | 42 globalMemCounter.throw_after = 0; in main()
|
| H A D | pointer_throw.pass.cpp | 43 globalMemCounter.throw_after = 0; in main()
|
| H A D | pointer_deleter_throw.pass.cpp | 42 globalMemCounter.throw_after = 0; in main()
|
| H A D | nullptr_t_deleter_allocator_throw.pass.cpp | 36 alloc_stats.throw_after = 0; in main()
|
| H A D | pointer_deleter_allocator_throw.pass.cpp | 37 alloc_stats.throw_after = 0; in main()
|
| H A D | auto_ptr.pass.cpp | 81 globalMemCounter.throw_after = 0; in main()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.modifiers/ |
| H A D | insert_iter_size_value.pass.cpp | 32 globalMemCounter.throw_after = 4; in test()
|
| H A D | insert_iter_value.pass.cpp | 34 globalMemCounter.throw_after = 0; in test()
|
| H A D | insert_iter_iter_iter.pass.cpp | 56 globalMemCounter.throw_after = 2; in test()
|
| /llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.modifiers/ |
| H A D | push_front_exception_safety.pass.cpp | 94 alloc_stats.throw_after = 1; in main()
|
| H A D | push_back_exception_safety.pass.cpp | 94 alloc_stats.throw_after = 1; in main()
|