Home
last modified time | relevance | path

Searched refs:throw_after (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dexceptions.pass.cpp115 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 Duninitialized_default_construct_n.pass.cpp39 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 Duninitialized_default_construct.pass.cpp38 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 Duninitialized_value_construct.pass.cpp39 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 Duninitialized_value_construct_n.pass.cpp38 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 Duninitialized_move.pass.cpp39 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 Duninitialized_move_n.pass.cpp39 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 Dcount_new.h56 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 Dmake_shared.array.unbounded.pass.cpp320 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 Dmake_shared.array.bounded.pass.cpp279 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 Dallocate_shared.array.bounded.pass.cpp280 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 Dallocate_shared.array.unbounded.pass.cpp322 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 Dtypes.h83 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 Dcapacity.pass.cpp25 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 Dnullptr_t_deleter_throw.pass.cpp42 globalMemCounter.throw_after = 0; in main()
H A Dpointer_throw.pass.cpp43 globalMemCounter.throw_after = 0; in main()
H A Dpointer_deleter_throw.pass.cpp42 globalMemCounter.throw_after = 0; in main()
H A Dnullptr_t_deleter_allocator_throw.pass.cpp36 alloc_stats.throw_after = 0; in main()
H A Dpointer_deleter_allocator_throw.pass.cpp37 alloc_stats.throw_after = 0; in main()
H A Dauto_ptr.pass.cpp81 globalMemCounter.throw_after = 0; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.modifiers/
H A Dinsert_iter_size_value.pass.cpp32 globalMemCounter.throw_after = 4; in test()
H A Dinsert_iter_value.pass.cpp34 globalMemCounter.throw_after = 0; in test()
H A Dinsert_iter_iter_iter.pass.cpp56 globalMemCounter.throw_after = 2; in test()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.modifiers/
H A Dpush_front_exception_safety.pass.cpp94 alloc_stats.throw_after = 1; in main()
H A Dpush_back_exception_safety.pass.cpp94 alloc_stats.throw_after = 1; in main()

12