Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/
Duninitialized_default_construct.pass.cpp40 static int throw_after; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
44 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()
Duninitialized_default_construct_n.pass.cpp40 static int throw_after; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
44 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted()
55 int ThrowsCounted::throw_after = 0; member in ThrowsCounted
65 ThrowsCounted::throw_after = 4; in test_ctor_throws()
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/
Duninitialized_value_construct.pass.cpp40 static int throw_after; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
44 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted()
55 int ThrowsCounted::throw_after = 0; member in ThrowsCounted
65 ThrowsCounted::throw_after = 4; in test_ctor_throws()
Duninitialized_value_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()
/external/libcxx/test/support/
Dcount_new.hpp57 unsigned throw_after; member in MemCounter
74 if (throw_after == 0) { in newCalled()
75 throw_after = never_throw_value; in newCalled()
77 } else if (throw_after != never_throw_value) { in newCalled()
78 --throw_after; in newCalled()
96 if (throw_after == 0) { in newArrayCalled()
97 throw_after = never_throw_value; in newArrayCalled()
128 throw_after = never_throw_value; in reset()
Dtest_allocator.h36 static int throw_after;
44 int test_alloc_base::throw_after = INT_MAX;
81 if (time_to_throw >= throw_after) {
145 if (time_to_throw >= throw_after) {
/external/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.move/
Duninitialized_move.pass.cpp40 static int throw_after; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
44 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted()
56 int ThrowsCounted::throw_after = 0; member in ThrowsCounted
67 ThrowsCounted::throw_after = 4; in test_ctor_throws()
Duninitialized_move_n.pass.cpp40 static int throw_after; member
41 static void reset() { throw_after = count = constructed = 0; } in reset()
44 if (throw_after > 0 && --throw_after == 0) { in ThrowsCounted()
56 int ThrowsCounted::throw_after = 0; member in ThrowsCounted
67 ThrowsCounted::throw_after = 4; in test_ctor_throws()
/external/libcxx/test/std/strings/basic.string/string.capacity/
Dcapacity.pass.cpp26 S::allocator_type::throw_after = 0; in test()
41 S::allocator_type::throw_after = INT_MAX; in test()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dpointer_throw.pass.cpp41 globalMemCounter.throw_after = 0; in main()
Dnullptr_t_deleter_throw.pass.cpp43 globalMemCounter.throw_after = 0; in main()
Dpointer_deleter_throw.pass.cpp41 globalMemCounter.throw_after = 0; in main()
Dnullptr_t_deleter_allocator_throw.pass.cpp35 test_allocator<A>::throw_after = 0; in main()
Dpointer_deleter_allocator_throw.pass.cpp36 test_allocator<A>::throw_after = 0; in main()
Dauto_ptr.pass.cpp69 globalMemCounter.throw_after = 0; in main()
Dunique_ptr.pass.cpp70 globalMemCounter.throw_after = 0; in main()
/external/libcxx/test/std/containers/sequences/list/list.modifiers/
Dinsert_iter_size_value.pass.cpp33 globalMemCounter.throw_after = 4; in test()
Dinsert_iter_value.pass.cpp35 globalMemCounter.throw_after = 0; in test()
Dinsert_iter_iter_iter.pass.cpp57 globalMemCounter.throw_after = 2; in test()
/external/libcxx/test/std/containers/sequences/deque/deque.modifiers/
Dpush_front_exception_safety.pass.cpp93 C::allocator_type::throw_after = 1; in main()
Dpush_back_exception_safety.pass.cpp93 C::allocator_type::throw_after = 1; in main()