Home
last modified time | relevance | path

Searched refs:Thrower (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dfixed_array_exception_safety_test.cc39 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
41 testing::ThrowingAllocator<Thrower, testing::AllocSpec::kEverythingThrows>;
47 using FixedArr = absl::FixedArray<Thrower, kInlined>;
48 using FixedArrWithAlloc = absl::FixedArray<Thrower, kInlined, ThrowAlloc>;
99 TestThrowingCtor<FixedArr>(kSmallSize, Thrower()); in TEST()
100 TestThrowingCtor<FixedArr>(kLargeSize, Thrower()); in TEST()
104 TestThrowingCtor<FixedArrWithAlloc>(kSmallSize, Thrower()); in TEST()
105 TestThrowingCtor<FixedArrWithAlloc>(kLargeSize, Thrower()); in TEST()
126 using SmallFixedArr = absl::FixedArray<Thrower, small_inlined>; in TEST()
128 TestThrowingCtor<SmallFixedArr>(std::initializer_list<Thrower>{}); in TEST()
[all …]
Dinlined_vector_exception_safety_test.cc36 using Thrower = testing::ThrowingValue<>; typedef
38 using ThrowAlloc = testing::ThrowingAllocator<Thrower>;
40 using ThrowerVec = absl::InlinedVector<Thrower, kInlinedCapacity>;
44 absl::InlinedVector<Thrower, kInlinedCapacity, ThrowAlloc>;
/third_party/abseil-cpp/absl/container/
Dfixed_array_exception_safety_test.cc39 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
41 testing::ThrowingAllocator<Thrower, testing::AllocSpec::kEverythingThrows>;
47 using FixedArr = absl::FixedArray<Thrower, kInlined>;
48 using FixedArrWithAlloc = absl::FixedArray<Thrower, kInlined, ThrowAlloc>;
99 TestThrowingCtor<FixedArr>(kSmallSize, Thrower()); in TEST()
100 TestThrowingCtor<FixedArr>(kLargeSize, Thrower()); in TEST()
104 TestThrowingCtor<FixedArrWithAlloc>(kSmallSize, Thrower()); in TEST()
105 TestThrowingCtor<FixedArrWithAlloc>(kLargeSize, Thrower()); in TEST()
126 using SmallFixedArr = absl::FixedArray<Thrower, small_inlined>; in TEST()
128 TestThrowingCtor<SmallFixedArr>(std::initializer_list<Thrower>{}); in TEST()
[all …]
Dinlined_vector_exception_safety_test.cc36 using Thrower = testing::ThrowingValue<>; typedef
38 using ThrowAlloc = testing::ThrowingAllocator<Thrower>;
40 using ThrowerVec = absl::InlinedVector<Thrower, kInlinedCapacity>;
44 absl::InlinedVector<Thrower, kInlinedCapacity, ThrowAlloc>;
/third_party/abseil-cpp/absl/types/
Dany_exception_safety_test.cc29 using Thrower = testing::ThrowingValue<>; typedef
32 using ThrowerList = std::initializer_list<Thrower>;
33 using ThrowerVec = std::vector<Thrower>;
34 using ThrowingAlloc = testing::ThrowingAllocator<Thrower>;
35 using ThrowingThrowerVec = std::vector<Thrower, ThrowingAlloc>;
67 auto unused = absl::any_cast<Thrower>(*a); in AnyInvariants()
85 << absl::any_cast<Thrower>(*a).Get(); in AnyIsEmpty()
89 Thrower val(1); in TEST()
92 Thrower copy(val); in TEST()
95 testing::TestThrowingCtor<absl::any>(absl::in_place_type_t<Thrower>(), 1); in TEST()
[all …]
Dvariant_exception_safety_test.cc45 using Thrower = testing::ThrowingValue<>; typedef
48 using ThrowingAlloc = testing::ThrowingAllocator<Thrower>;
49 using ThrowerVec = std::vector<Thrower, ThrowingAlloc>;
51 absl::variant<Thrower, CopyNothrow, MoveNothrow, ThrowerVec>;
65 v.emplace<Thrower>(); in ToValuelessByException()
66 v.emplace<Thrower>(ExceptionOnConversion<Thrower>()); in ToValuelessByException()
78 if (absl::holds_alternative<Thrower>(*v)) { in VariantInvariants()
79 auto& t = absl::get<Thrower>(*v); in VariantInvariants()
80 t = Thrower{-100}; in VariantInvariants()
111 auto unused = absl::get<Thrower>(*v); in VariantInvariants()
[all …]
Doptional_exception_safety_test.cc36 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
37 using Optional = absl::optional<Thrower>;
109 auto thrower_nonempty = Optional(Thrower(kInitialInteger)); in TEST()
117 using ThrowerVec = std::vector<Thrower, testing::ThrowingAllocator<Thrower>>; in TEST()
120 std::initializer_list<Thrower>{Thrower(), Thrower(), Thrower()}, in TEST()
121 testing::ThrowingAllocator<Thrower>()); in TEST()
146 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
217 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
249 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dany_exception_safety_test.cc29 using Thrower = testing::ThrowingValue<>; typedef
32 using ThrowerList = std::initializer_list<Thrower>;
33 using ThrowerVec = std::vector<Thrower>;
34 using ThrowingAlloc = testing::ThrowingAllocator<Thrower>;
35 using ThrowingThrowerVec = std::vector<Thrower, ThrowingAlloc>;
67 auto unused = absl::any_cast<Thrower>(*a); in AnyInvariants()
85 << absl::any_cast<Thrower>(*a).Get(); in AnyIsEmpty()
89 Thrower val(1); in TEST()
92 Thrower copy(val); in TEST()
95 testing::TestThrowingCtor<absl::any>(absl::in_place_type_t<Thrower>(), 1); in TEST()
[all …]
Dvariant_exception_safety_test.cc45 using Thrower = testing::ThrowingValue<>; typedef
48 using ThrowingAlloc = testing::ThrowingAllocator<Thrower>;
49 using ThrowerVec = std::vector<Thrower, ThrowingAlloc>;
51 absl::variant<Thrower, CopyNothrow, MoveNothrow, ThrowerVec>;
65 v.emplace<Thrower>(); in ToValuelessByException()
66 v.emplace<Thrower>(ExceptionOnConversion<Thrower>()); in ToValuelessByException()
78 if (absl::holds_alternative<Thrower>(*v)) { in VariantInvariants()
79 auto& t = absl::get<Thrower>(*v); in VariantInvariants()
80 t = Thrower{-100}; in VariantInvariants()
111 auto unused = absl::get<Thrower>(*v); in VariantInvariants()
[all …]
Doptional_exception_safety_test.cc36 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
37 using Optional = absl::optional<Thrower>;
109 auto thrower_nonempty = Optional(Thrower(kInitialInteger)); in TEST()
117 using ThrowerVec = std::vector<Thrower, testing::ThrowingAllocator<Thrower>>; in TEST()
120 std::initializer_list<Thrower>{Thrower(), Thrower(), Thrower()}, in TEST()
121 testing::ThrowingAllocator<Thrower>()); in TEST()
146 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
217 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
249 auto thrower = Thrower(kUpdatedInteger, testing::nothrow_ctor); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory_exception_safety_test.cc29 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
34 .WithInitialValue(Thrower(kValue)) in TEST()
39 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST()
40 static_cast<void>(absl::make_unique<Thrower>(*thrower)); in TEST()
43 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST()
44 static_cast<void>(absl::make_unique<Thrower>(std::move(*thrower))); in TEST()
48 EXPECT_TRUE(tester.Test([&](Thrower*) { in TEST() argument
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/third_party/abseil-cpp/absl/memory/
Dmemory_exception_safety_test.cc29 using Thrower = testing::ThrowingValue<testing::TypeSpec::kEverythingThrows>; typedef
34 .WithInitialValue(Thrower(kValue)) in TEST()
39 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST()
40 static_cast<void>(absl::make_unique<Thrower>(*thrower)); in TEST()
43 EXPECT_TRUE(tester.Test([](Thrower* thrower) { in TEST()
44 static_cast<void>(absl::make_unique<Thrower>(std::move(*thrower))); in TEST()
48 EXPECT_TRUE(tester.Test([&](Thrower*) { in TEST() argument
49 static_cast<void>(absl::make_unique<Thrower[]>(kLength)); in TEST()
/third_party/boost/libs/optional/test/
Doptional_test_emplace.cpp240 struct Thrower struct
242 Thrower(bool throw_) { if (throw_) throw int(); } in Thrower() argument
245 Thrower(Thrower const&);
247 Thrower(Thrower&&);
253 optional<Thrower> ot; in test_clear_on_throw()
/third_party/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc192 using Thrower = ThrowingValue<TypeSpec{}>; in TEST()
193 auto thrower = Thrower(123); in TEST()
194 thrower.~Thrower(); in TEST()
201 using Thrower = ThrowingValue<TypeSpec::kNoThrowCopy>; in TEST()
202 auto thrower = Thrower(234); in TEST()
203 thrower.~Thrower(); in TEST()
210 using Thrower = in TEST()
212 auto thrower = Thrower(345); in TEST()
213 thrower.~Thrower(); in TEST()
220 using Thrower = ThrowingValue<static_cast<TypeSpec>(-1)>; in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
Dexception_safety_testing_test.cc192 using Thrower = ThrowingValue<TypeSpec{}>; in TEST()
193 auto thrower = Thrower(123); in TEST()
194 thrower.~Thrower(); in TEST()
201 using Thrower = ThrowingValue<TypeSpec::kNoThrowCopy>; in TEST()
202 auto thrower = Thrower(234); in TEST()
203 thrower.~Thrower(); in TEST()
210 using Thrower = in TEST()
212 auto thrower = Thrower(345); in TEST()
213 thrower.~Thrower(); in TEST()
220 using Thrower = ThrowingValue<static_cast<TypeSpec>(-1)>; in TEST()
[all …]
/third_party/boost/libs/hof/doc/html/_static/
Djquery-3.1.0.js3398 function Thrower( ex ) { class
3537 resolve( maxDepth, deferred, Thrower, special )
3549 resolve( maxDepth, deferred, Thrower, special ),
3591 if ( handler !== Thrower ) {
3651 Thrower
/third_party/boost/libs/gil/doc/html/_static/
Djquery-3.1.0.js3398 function Thrower( ex ) { class
3537 resolve( maxDepth, deferred, Thrower, special )
3549 resolve( maxDepth, deferred, Thrower, special ),
3591 if ( handler !== Thrower ) {
3651 Thrower
/third_party/boost/libs/python/doc/html/numpy/_static/
Djquery-3.1.0.js3398 function Thrower( ex ) { class
3537 resolve( maxDepth, deferred, Thrower, special )
3549 resolve( maxDepth, deferred, Thrower, special ),
3591 if ( handler !== Thrower ) {
3651 Thrower