/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | unordered_set_constructor_test.h | 38 TypeParam m; in TYPED_TEST_P() 44 TypeParam m(123); in TYPED_TEST_P() 51 using H = typename TypeParam::hasher; in TYPED_TEST_P() 53 TypeParam m(123, hasher); in TYPED_TEST_P() 61 using H = typename TypeParam::hasher; in TYPED_TEST_P() 62 using E = typename TypeParam::key_equal; in TYPED_TEST_P() 65 TypeParam m(123, hasher, equal); in TYPED_TEST_P() 74 using H = typename TypeParam::hasher; in TYPED_TEST_P() 75 using E = typename TypeParam::key_equal; in TYPED_TEST_P() 76 using A = typename TypeParam::allocator_type; in TYPED_TEST_P() [all …]
|
D | unordered_map_constructor_test.h | 37 TypeParam m; in TYPED_TEST_P() 43 TypeParam m(123); in TYPED_TEST_P() 50 using H = typename TypeParam::hasher; in TYPED_TEST_P() 52 TypeParam m(123, hasher); in TYPED_TEST_P() 60 using H = typename TypeParam::hasher; in TYPED_TEST_P() 61 using E = typename TypeParam::key_equal; in TYPED_TEST_P() 64 TypeParam m(123, hasher, equal); in TYPED_TEST_P() 73 using H = typename TypeParam::hasher; in TYPED_TEST_P() 74 using E = typename TypeParam::key_equal; in TYPED_TEST_P() 75 using A = typename TypeParam::allocator_type; in TYPED_TEST_P() [all …]
|
D | unordered_map_members_test.h | 36 EXPECT_TRUE((std::is_same<std::pair<const typename TypeParam::key_type, in TYPED_TEST_P() 37 typename TypeParam::mapped_type>, in TYPED_TEST_P() 38 typename TypeParam::value_type>())); in TYPED_TEST_P() 40 absl::negation<std::is_signed<typename TypeParam::size_type>>, in TYPED_TEST_P() 41 std::is_integral<typename TypeParam::size_type>>())); in TYPED_TEST_P() 43 std::is_signed<typename TypeParam::difference_type>, in TYPED_TEST_P() 44 std::is_integral<typename TypeParam::difference_type>>())); in TYPED_TEST_P() 46 decltype(std::declval<const typename TypeParam::hasher&>()( in TYPED_TEST_P() 47 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P() 50 decltype(std::declval<const typename TypeParam::key_equal&>()( in TYPED_TEST_P() [all …]
|
D | unordered_set_members_test.h | 36 EXPECT_TRUE((std::is_same<typename TypeParam::key_type, in TYPED_TEST_P() 37 typename TypeParam::value_type>())); in TYPED_TEST_P() 39 absl::negation<std::is_signed<typename TypeParam::size_type>>, in TYPED_TEST_P() 40 std::is_integral<typename TypeParam::size_type>>())); in TYPED_TEST_P() 42 std::is_signed<typename TypeParam::difference_type>, in TYPED_TEST_P() 43 std::is_integral<typename TypeParam::difference_type>>())); in TYPED_TEST_P() 45 decltype(std::declval<const typename TypeParam::hasher&>()( in TYPED_TEST_P() 46 std::declval<const typename TypeParam::key_type&>())), in TYPED_TEST_P() 49 decltype(std::declval<const typename TypeParam::key_equal&>()( in TYPED_TEST_P() 50 std::declval<const typename TypeParam::key_type&>(), in TYPED_TEST_P() [all …]
|
D | unordered_map_modifiers_test.h | 35 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 39 TypeParam m(values.begin(), values.end()); in TYPED_TEST_P() 47 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 48 using V = typename TypeParam::mapped_type; in TYPED_TEST_P() 50 TypeParam m; in TYPED_TEST_P() 61 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 62 using V = typename TypeParam::mapped_type; in TYPED_TEST_P() 64 TypeParam m; in TYPED_TEST_P() 75 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 79 TypeParam m; in TYPED_TEST_P() [all …]
|
D | unordered_set_modifiers_test.h | 33 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 37 TypeParam m(values.begin(), values.end()); in TYPED_TEST_P() 45 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 47 TypeParam m; in TYPED_TEST_P() 56 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 58 TypeParam m; in TYPED_TEST_P() 68 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 72 TypeParam m; in TYPED_TEST_P() 78 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 80 TypeParam m; in TYPED_TEST_P() [all …]
|
D | unordered_map_lookup_test.h | 33 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 37 TypeParam m(values.begin(), values.end()); in TYPED_TEST_P() 45 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 46 using V = typename TypeParam::mapped_type; in TYPED_TEST_P() 50 TypeParam m; in TYPED_TEST_P() 61 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 65 TypeParam m; in TYPED_TEST_P() 75 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 79 TypeParam m; in TYPED_TEST_P() 93 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() [all …]
|
D | unordered_set_lookup_test.h | 33 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 37 TypeParam m; in TYPED_TEST_P() 46 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 50 TypeParam m; in TYPED_TEST_P() 55 typename TypeParam::iterator it = m.find(v); in TYPED_TEST_P() 56 static_assert(std::is_same<const typename TypeParam::value_type&, in TYPED_TEST_P() 59 static_assert(std::is_same<const typename TypeParam::value_type*, in TYPED_TEST_P() 68 using T = hash_internal::GeneratedType<TypeParam>; in TYPED_TEST_P() 72 TypeParam m; in TYPED_TEST_P()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | beta_distribution_test.cc | 61 const TypeParam kSmallA = in TYPED_TEST() 62 1.0f / std::log((std::numeric_limits<TypeParam>::max)()); in TYPED_TEST() 64 const TypeParam kLargeA = in TYPED_TEST() 65 std::exp(std::log((std::numeric_limits<TypeParam>::max)()) - in TYPED_TEST() 66 std::log(std::log((std::numeric_limits<TypeParam>::max)()))); in TYPED_TEST() 67 using param_type = typename absl::beta_distribution<TypeParam>::param_type; in TYPED_TEST() 71 const TypeParam kValues[] = { in TYPED_TEST() 72 TypeParam(1e-20), TypeParam(1e-12), TypeParam(1e-8), TypeParam(1e-4), in TYPED_TEST() 73 TypeParam(1e-3), TypeParam(0.1), TypeParam(0.25), in TYPED_TEST() 74 std::nextafter(TypeParam(0.5), TypeParam(0)), // 0.5 - epsilon in TYPED_TEST() [all …]
|
D | uniform_real_distribution_test.cc | 83 typename absl::uniform_real_distribution<TypeParam>::param_type; in TYPED_TEST() 85 constexpr const TypeParam a{1152921504606846976}; in TYPED_TEST() 91 param_type(TypeParam(2.0), TypeParam(2.0)), // Same in TYPED_TEST() 92 param_type(TypeParam(-0.1), TypeParam(0.1)), in TYPED_TEST() 93 param_type(TypeParam(0.05), TypeParam(0.12)), in TYPED_TEST() 94 param_type(TypeParam(-0.05), TypeParam(0.13)), in TYPED_TEST() 95 param_type(TypeParam(-0.05), TypeParam(-0.02)), in TYPED_TEST() 98 param_type(a, TypeParam(1152921504606847040)), in TYPED_TEST() 100 param_type(a, TypeParam(1152921504606847104)), in TYPED_TEST() 103 param_type(a, TypeParam(1152921504606847232)), in TYPED_TEST() [all …]
|
D | exponential_distribution_test.cc | 65 typename absl::exponential_distribution<TypeParam>::param_type; in TYPED_TEST() 67 const TypeParam kParams[] = { in TYPED_TEST() 70 std::nextafter(TypeParam(1), TypeParam(0)), // 1 - epsilon in TYPED_TEST() 71 std::nextafter(TypeParam(1), TypeParam(2)), // 1 + epsilon in TYPED_TEST() 73 TypeParam(1e-8), TypeParam(1e-4), TypeParam(1), TypeParam(2), in TYPED_TEST() 74 TypeParam(1e4), TypeParam(1e8), TypeParam(1e20), TypeParam(2.5), in TYPED_TEST() 76 std::numeric_limits<TypeParam>::max(), in TYPED_TEST() 77 std::numeric_limits<TypeParam>::epsilon(), in TYPED_TEST() 78 std::nextafter(std::numeric_limits<TypeParam>::min(), in TYPED_TEST() 79 TypeParam(1)), // min + epsilon in TYPED_TEST() [all …]
|
D | gaussian_distribution_test.cc | 61 typename absl::gaussian_distribution<TypeParam>::param_type; in TYPED_TEST() 63 const TypeParam kParams[] = { in TYPED_TEST() 66 std::nextafter(TypeParam(1), TypeParam(0)), // 1 - epsilon in TYPED_TEST() 67 std::nextafter(TypeParam(1), TypeParam(2)), // 1 + epsilon in TYPED_TEST() 69 TypeParam(1e-8), TypeParam(1e-4), TypeParam(2), TypeParam(1e4), in TYPED_TEST() 70 TypeParam(1e8), TypeParam(1e20), TypeParam(2.5), in TYPED_TEST() 72 std::numeric_limits<TypeParam>::infinity(), in TYPED_TEST() 73 std::numeric_limits<TypeParam>::max(), in TYPED_TEST() 74 std::numeric_limits<TypeParam>::epsilon(), in TYPED_TEST() 75 std::nextafter(std::numeric_limits<TypeParam>::min(), in TYPED_TEST() [all …]
|
D | uniform_int_distribution_test.cc | 46 using Limits = std::numeric_limits<TypeParam>; in TYPED_TEST() 48 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST() 49 const TypeParam kMin = std::is_unsigned<TypeParam>::value ? 37 : -105; in TYPED_TEST() 50 const TypeParam kNegOneOrZero = std::is_unsigned<TypeParam>::value ? 0 : -1; in TYPED_TEST() 66 absl::uniform_int_distribution<TypeParam> before(a, b); in TYPED_TEST() 72 absl::uniform_int_distribution<TypeParam> via_param(param); in TYPED_TEST() 80 absl::uniform_int_distribution<TypeParam> after(Limits::min() + 3, in TYPED_TEST() 117 EXPECT_DEBUG_DEATH({ absl::uniform_int_distribution<TypeParam> dist(10, 1); }, in TYPED_TEST() 124 absl::uniform_int_distribution<TypeParam> dist(10, 1); in TYPED_TEST() 134 using Limits = std::numeric_limits<TypeParam>; in TYPED_TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
D | inlined_vector_exception_safety_test.cc | 149 using VecT = typename TypeParam::VecT; in TYPED_TEST() 158 using VecT = typename TypeParam::VecT; in TYPED_TEST() 160 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() 168 using VecT = typename TypeParam::VecT; in TYPED_TEST() 171 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() 179 using VecT = typename TypeParam::VecT; in TYPED_TEST() 182 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() 192 using VecT = typename TypeParam::VecT; in TYPED_TEST() 195 constexpr static auto size = TypeParam::GetSizeAt(0); in TYPED_TEST() 205 using VecT = typename TypeParam::VecT; in TYPED_TEST() [all …]
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
D | span_test.cc | 22 span<TypeParam> empty; in TYPED_TEST() 30 TypeParam single_item = 42; in TYPED_TEST() 31 span<TypeParam> singular(&single_item, 1); in TYPED_TEST() 34 EXPECT_EQ(sizeof(TypeParam), singular.size_bytes()); in TYPED_TEST() 40 std::vector<TypeParam> test_input = {31, 32, 33, 34, 35}; in TYPED_TEST() 41 span<TypeParam> five_items(test_input.data(), 5); in TYPED_TEST() 44 EXPECT_EQ(sizeof(TypeParam) * 5, five_items.size_bytes()); in TYPED_TEST() 51 span<TypeParam> three_items = five_items.subspan(2); in TYPED_TEST() 56 span<TypeParam> two_items = five_items.subspan(2, 2); in TYPED_TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/ |
D | int128_test.cc | 57 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST() 59 static_assert(std::is_assignable<absl::uint128&, TypeParam>::value, in TYPED_TEST() 61 static_assert(!std::is_assignable<TypeParam&, absl::uint128>::value, in TYPED_TEST() 68 static_assert(std::is_constructible<absl::uint128, TypeParam>::value, in TYPED_TEST() 70 static_assert(!std::is_assignable<absl::uint128&, TypeParam>::value, in TYPED_TEST() 72 static_assert(!std::is_assignable<TypeParam&, absl::uint128>::value, in TYPED_TEST() 523 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST() 525 static_assert(std::is_assignable<absl::int128&, TypeParam>::value, in TYPED_TEST() 527 static_assert(!std::is_assignable<TypeParam&, absl::int128>::value, in TYPED_TEST() 537 static_assert(std::is_constructible<absl::int128, TypeParam>::value, in TYPED_TEST() [all …]
|
/third_party/mesa3d/src/util/tests/ |
D | u_atomic_test.cpp | 50 TypeParam v, r; in TYPED_TEST() 51 const TypeParam ones = TypeParam(-1); in TYPED_TEST() 81 TypeParam v, r; in TYPED_TEST() 84 const TypeParam ones = TypeParam(-1); in TYPED_TEST() 130 TypeParam v, r; in TYPED_TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/cleanup/ |
D | cleanup_test.cc | 96 auto callback = TypeParam::AsCallback([] {}); in TYPED_TEST() 122 auto callback = TypeParam::AsCallback([] {}); in TYPED_TEST() 196 absl::MakeCleanup(TypeParam::AsCallback([&called] { called = true; })); in TYPED_TEST() 207 auto cleanup = absl::MakeCleanup(TypeParam::AsCallback(&FnPtrFunction)); in TYPED_TEST() 219 absl::MakeCleanup(TypeParam::AsCallback([&called] { called = true; })); in TYPED_TEST() 234 absl::MakeCleanup(TypeParam::AsCallback([&called] { called = true; })); in TYPED_TEST() 251 absl::MakeCleanup(TypeParam::AsCallback([&called] { called = true; })); in TYPED_TEST() 278 absl::MakeCleanup(TypeParam::AsCallback(DestructionCounter())); in TYPED_TEST() 288 absl::MakeCleanup(TypeParam::AsCallback(DestructionCounter())); in TYPED_TEST() 301 absl::MakeCleanup(TypeParam::AsCallback(DestructionCounter())); in TYPED_TEST()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | bitset_utils_unittest.cpp | 33 EXPECT_EQ(TypeParam::Zero().bits(), 0u); in TYPED_TEST() 35 TypeParam mBits = this->mBits; in TYPED_TEST() 113 TypeParam mBits = this->mBits; in TYPED_TEST() 187 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 213 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 235 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 250 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 280 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 301 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() 332 TypeParam mStateBits = this->mStateBits; in TYPED_TEST() [all …]
|
/third_party/googletest/googletest/test/ |
D | gtest-typed-test_test.cc | 124 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST() 159 TYPED_TEST(NumericTest, DefaultIsZero) { EXPECT_EQ(0, TypeParam()); } in TYPED_TEST() 183 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST() 189 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST() 299 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST_P() 305 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST_P() 393 TYPED_TEST_P(NumericTest, DefaultIsZero) { EXPECT_EQ(0, TypeParam()); } in TYPED_TEST_P() 396 EXPECT_LT(TypeParam(0), TypeParam(1)); in TYPED_TEST_P()
|
D | googletest-port-test.cc | 413 const RE empty(TypeParam("")); in TYPED_TEST() 416 const RE simple(TypeParam("hello")); in TYPED_TEST() 419 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST() 426 { const RE invalid(TypeParam("?")); }, in TYPED_TEST() 432 const RE empty(TypeParam("")); in TYPED_TEST() 433 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST() 434 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST() 436 const RE re(TypeParam("a.*z")); in TYPED_TEST() 437 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST() 438 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | variant_test.cc | 327 typedef typename VariantFactory<typename TypeParam::value_type>::Type Variant; in TYPED_TEST() 332 const TypeParam value(TypeParam::kIndex); in TYPED_TEST() 336 TypeParam::kIndex != 1); in TYPED_TEST() 338 TypeParam::kIndex != 2); in TYPED_TEST() 340 TypeParam::kIndex != 3); in TYPED_TEST() 342 TypeParam::kIndex != 4); in TYPED_TEST() 345 TypeParam::kIndex == 1); in TYPED_TEST() 348 TypeParam::kIndex == 2); in TYPED_TEST() 351 TypeParam::kIndex == 3); in TYPED_TEST() 354 TypeParam::kIndex == 4); in TYPED_TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/hash/ |
D | hash_test.cc | 68 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P() 70 TypeParam n = 42; in TYPED_TEST_P() 71 EXPECT_EQ(SpyHash(n), SpyHash(TypeParam{42})); in TYPED_TEST_P() 72 EXPECT_NE(SpyHash(n), SpyHash(TypeParam{0})); in TYPED_TEST_P() 73 EXPECT_NE(SpyHash(std::numeric_limits<TypeParam>::max()), in TYPED_TEST_P() 74 SpyHash(std::numeric_limits<TypeParam>::min())); in TYPED_TEST_P() 79 TypeParam n = 42; in TYPED_TEST_P() 80 EXPECT_EQ(absl::Hash<TypeParam>{}(n), in TYPED_TEST_P() 81 absl::Hash<std::tuple<TypeParam>>{}(std::tuple<TypeParam>(n))); in TYPED_TEST_P() 390 EXPECT_TRUE((is_hashable<TypeParam>::value)); in TYPED_TEST_P() [all …]
|
/third_party/googletest/googlemock/test/ |
D | gmock-function-mocker_test.cc | 526 { TypeParam b; } in TYPED_TEST() 529 TypeParam b; in TYPED_TEST() 534 TypeParam b; in TYPED_TEST() 601 TypeParam mock; in TYPED_TEST() 621 TypeParam mock; in TYPED_TEST() 690 TypeParam mock; in TYPED_TEST() 753 TypeParam mock; in TYPED_TEST() 876 using Argument = TypeParam; in TYPED_TEST() 878 EXPECT_TRUE(IsMockFunctionTemplateArgumentDeducedTo<TypeParam>(foo)); in TYPED_TEST() 883 using Argument = std::function<TypeParam>; in TYPED_TEST() [all …]
|
/third_party/rust/crates/bindgen/bindgen/ir/ |
D | ty.rs | 118 matches!(self.kind, TypeKind::TypeParam) in is_type_param() 153 TypeKind::TypeParam in is_builtin_or_type_param() 160 Self::new(name, None, TypeKind::TypeParam, false) in named() 250 TypeKind::TypeParam => { in is_invalid_type_param() 310 TypeKind::TypeParam | in safe_canonical_type() 395 TypeKind::TypeParam => Some(item.id().expect_type_id(ctx)), in as_template_param() 476 TypeKind::TypeParam => "TypeParam", in kind_name() 486 let ty = Type::new(Some("foo".into()), None, TypeKind::TypeParam, false); in is_invalid_type_param_valid() 495 TypeKind::TypeParam, in is_invalid_type_param_valid_underscore_and_numbers() 509 let ty = Type::new(Some("1foo".into()), None, TypeKind::TypeParam, false); in is_invalid_type_param_invalid_start() [all …]
|