Home
last modified time | relevance | path

Searched refs:TypeParam (Results 1 – 25 of 59) sorted by relevance

123

/external/libchrome/base/strings/
Dstring_piece_unittest.cc45 TypeParam lhs(TestFixture::as_string(x)); \ in TYPED_TEST()
46 TypeParam rhs(TestFixture::as_string(y)); \ in TYPED_TEST()
47 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ in TYPED_TEST()
48 BasicStringPiece<TypeParam>((rhs.c_str())))); \ in TYPED_TEST()
49 ASSERT_TRUE( (BasicStringPiece<TypeParam>((lhs.c_str())).compare( \ in TYPED_TEST()
50 BasicStringPiece<TypeParam>((rhs.c_str()))) op 0)); \ in TYPED_TEST()
55 TypeParam lhs(TestFixture::as_string(x)); \ in TYPED_TEST()
56 TypeParam rhs(TestFixture::as_string(y)); \ in TYPED_TEST()
57 ASSERT_FALSE( (BasicStringPiece<TypeParam>((lhs.c_str())) op \ in TYPED_TEST()
58 BasicStringPiece<TypeParam>((rhs.c_str())))); \ in TYPED_TEST()
[all …]
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DValueMapTest.cpp44 ValueMap<TypeParam*, int> VM1; in TYPED_TEST()
50 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
64 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
65 ValueMap<TypeParam*, int> VM2(16); (void)VM2; in TYPED_TEST()
66 typename ValueMapConfig<TypeParam*>::ExtraData Data; in TYPED_TEST()
67 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3; in TYPED_TEST()
73 typename ValueMap<TypeParam*, int>::iterator I = in TYPED_TEST()
81 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
82 typename ValueMap<TypeParam*, int>::const_iterator CI = in TYPED_TEST()
90 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 = in TYPED_TEST()
[all …]
/external/libchrome/ui/gfx/range/
Drange_unittest.cc53 TypeParam r; in TYPED_TEST()
65 TypeParam r(10, 15); in TYPED_TEST()
77 TypeParam r(10, 5); in TYPED_TEST()
89 TypeParam r(12); in TYPED_TEST()
101 TypeParam r(TypeParam::InvalidRange()); in TYPED_TEST()
108 EXPECT_EQ(r, TypeParam::InvalidRange()); in TYPED_TEST()
109 EXPECT_TRUE(r.EqualsIgnoringDirection(TypeParam::InvalidRange())); in TYPED_TEST()
113 TypeParam r1(10, 4); in TYPED_TEST()
114 TypeParam r2(10, 4); in TYPED_TEST()
115 TypeParam r3(10, 2); in TYPED_TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DBitVectorTest.cpp30 TypeParam Vec; in TYPED_TEST()
54 TypeParam Inv = Vec; in TYPED_TEST()
89 TypeParam Copy = Vec; in TYPED_TEST()
90 TypeParam Alt(3, false); in TYPED_TEST()
168 Inv = TypeParam().flip(); in TYPED_TEST()
187 TypeParam A; in TYPED_TEST()
409 TypeParam A; in TYPED_TEST()
414 TypeParam B; in TYPED_TEST()
448 TypeParam Vec(3); in TYPED_TEST()
457 TypeParam A; in TYPED_TEST()
[all …]
DRangeAdapterTest.cpp136 TypeParam v = {0, 1, 2, 3}; in TYPED_TEST()
139 const TypeParam c = {0, 1, 2, 3}; in TYPED_TEST()
152 TestRev(reverse(TypeParam({0, 1, 2, 3}))); in TYPED_TEST()
156 static_assert(has_rbegin<TypeParam>::value, "rbegin() should be defined"); in TYPED_TEST()
162 decltype(reverse(*static_cast<TypeParam *>(nullptr)).begin()), in TYPED_TEST()
163 decltype(static_cast<TypeParam *>(nullptr)->rbegin())>::value, in TYPED_TEST()
167 decltype(reverse(*static_cast<const TypeParam *>(nullptr)).begin()), in TYPED_TEST()
168 decltype(static_cast<const TypeParam *>(nullptr)->rbegin())>::value, in TYPED_TEST()
DDenseMapTest.cpp124 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST()
131 EXPECT_EQ(TypeParam::mapped_type(), in TYPED_TEST()
138 const TypeParam &ConstMap = this->Map; in TYPED_TEST()
154 typename TypeParam::iterator it = this->Map.begin(); in TYPED_TEST()
207 TypeParam copyMap(this->Map); in TYPED_TEST()
217 TypeParam copyMap(this->Map); in TYPED_TEST()
226 TypeParam copyMap(this->Map); in TYPED_TEST()
236 TypeParam copyMap(this->Map); in TYPED_TEST()
244 TypeParam copyMap = this->Map; in TYPED_TEST()
250 copyMap = static_cast<TypeParam &>(copyMap); in TYPED_TEST()
[all …]
DDenseSetTest.cpp68 TypeParam set({1, 2, 1, 4}); in TYPED_TEST()
77 TypeParam set({1}); in TYPED_TEST()
78 const TypeParam &cset = set; in TYPED_TEST()
86 typename TypeParam::iterator I, J; in TYPED_TEST()
87 typename TypeParam::const_iterator CI, CJ; in TYPED_TEST()
93 TypeParam set({}); in TYPED_TEST()
DIListBaseTest.cpp26 typedef TypeParam list_base_type; in TYPED_TEST()
53 typedef TypeParam list_base_type; in TYPED_TEST()
82 typedef TypeParam list_base_type; in TYPED_TEST()
108 typedef TypeParam list_base_type; in TYPED_TEST()
128 typedef TypeParam list_base_type; in TYPED_TEST()
/external/llvm/unittests/IR/
DValueMapTest.cpp42 ValueMap<TypeParam*, int> VM1; in TYPED_TEST()
48 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
62 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
63 ValueMap<TypeParam*, int> VM2(16); (void)VM2; in TYPED_TEST()
64 typename ValueMapConfig<TypeParam*>::ExtraData Data; in TYPED_TEST()
65 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3; in TYPED_TEST()
71 typename ValueMap<TypeParam*, int>::iterator I = in TYPED_TEST()
79 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
80 typename ValueMap<TypeParam*, int>::const_iterator CI = in TYPED_TEST()
88 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 = in TYPED_TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DValueMapTest.cpp42 ValueMap<TypeParam*, int> VM1; in TYPED_TEST()
48 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
62 ValueMap<TypeParam*, int> VM; in TYPED_TEST()
63 ValueMap<TypeParam*, int> VM2(16); (void)VM2; in TYPED_TEST()
64 typename ValueMapConfig<TypeParam*>::ExtraData Data; in TYPED_TEST()
65 ValueMap<TypeParam*, int> VM3(Data, 16); (void)VM3; in TYPED_TEST()
71 typename ValueMap<TypeParam*, int>::iterator I = in TYPED_TEST()
79 const ValueMap<TypeParam*, int> &CVM = VM; in TYPED_TEST()
80 typename ValueMap<TypeParam*, int>::const_iterator CI = in TYPED_TEST()
88 std::pair<typename ValueMap<TypeParam*, int>::iterator, bool> InsertResult1 = in TYPED_TEST()
[all …]
/external/libchrome/base/memory/
Dshared_memory_region_unittest.cc55 TypeParam region; in TYPED_TEST()
58 typename TypeParam::MappingType mapping = region.Map(); in TYPED_TEST()
63 TypeParam moved_region = std::move(this->region_); in TYPED_TEST()
68 typename TypeParam::MappingType mapping = moved_region.Map(); in TYPED_TEST()
82 this->region_ = TypeParam(); in TYPED_TEST()
91 typename TypeParam::MappingType mapping = this->region_.Map(); in TYPED_TEST()
104 this->region_ = TypeParam(); in TYPED_TEST()
112 typename TypeParam::MappingType mapping = this->region_.Map(); in TYPED_TEST()
119 TypeParam::TakeHandleForSerialization(std::move(this->region_)); in TYPED_TEST()
121 TypeParam region = TypeParam::Deserialize(std::move(platform_region)); in TYPED_TEST()
[all …]
/external/libchrome/base/
Dbind_unittest.cc780 template <typename TypeParam, typename Signature>
781 using CallbackType = typename TypeParam::template CallbackType<Signature>;
794 using ClosureType = typename TypeParam::ClosureType; in TYPED_TEST()
808 ClosureType normal_cb = TypeParam::Bind(&VoidFunc0); in TYPED_TEST()
809 CallbackType<TypeParam, NoRef*()> normal_non_refcounted_cb = in TYPED_TEST()
810 TypeParam::Bind(&PolymorphicIdentity<NoRef*>, &no_ref); in TYPED_TEST()
814 ClosureType method_cb = TypeParam::Bind(&HasRef::VoidMethod0, &has_ref); in TYPED_TEST()
816 TypeParam::Bind(&HasRef::VoidMethod0, WrapRefCounted(&has_ref)); in TYPED_TEST()
818 TypeParam::Bind(&HasRef::VoidConstMethod0, &has_ref); in TYPED_TEST()
820 TypeParam::Bind(&HasRef::VoidConstMethod0, const_has_ref_ptr); in TYPED_TEST()
[all …]
/external/llvm/unittests/ADT/
DBitVectorTest.cpp30 TypeParam Vec; in TYPED_TEST()
54 TypeParam Inv = Vec; in TYPED_TEST()
89 TypeParam Copy = Vec; in TYPED_TEST()
90 TypeParam Alt(3, false); in TYPED_TEST()
168 Inv = TypeParam().flip(); in TYPED_TEST()
186 TypeParam A; in TYPED_TEST()
191 TypeParam B; in TYPED_TEST()
225 TypeParam Vec(3); in TYPED_TEST()
234 TypeParam A; in TYPED_TEST()
281 TypeParam A; in TYPED_TEST()
[all …]
DDenseMapTest.cpp124 EXPECT_EQ(typename TypeParam::mapped_type(), in TYPED_TEST()
131 EXPECT_EQ(TypeParam::mapped_type(), in TYPED_TEST()
138 const TypeParam &ConstMap = this->Map; in TYPED_TEST()
154 typename TypeParam::iterator it = this->Map.begin(); in TYPED_TEST()
207 TypeParam copyMap(this->Map); in TYPED_TEST()
217 TypeParam copyMap(this->Map); in TYPED_TEST()
226 TypeParam copyMap(this->Map); in TYPED_TEST()
236 TypeParam copyMap(this->Map); in TYPED_TEST()
244 TypeParam copyMap = this->Map; in TYPED_TEST()
258 TypeParam copyMap = this->Map; in TYPED_TEST()
[all …]
DRangeAdapterTest.cpp66 TypeParam v = {0, 1, 2, 3}; in TYPED_TEST()
69 const TypeParam c = {0, 1, 2, 3}; in TYPED_TEST()
80 TestRev(reverse(TypeParam({0, 1, 2, 3}))); in TYPED_TEST()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dsync_method_unittest.cc318 template <typename TypeParam>
325 BindingsTestBase::SetupSerializationBehavior(TypeParam::kSerializationMode); in SetUp()
447 template <typename TypeParam>
454 template <typename TypeParam>
458 BindingsTestBase::SetupSerializationBehavior(TypeParam::kSerializationMode); in SetUp()
459 impl_ = std::make_unique<ImplTypeFor<typename TypeParam::Interface>>( in SetUp()
464 InterfacePtr<typename TypeParam::Interface> ptr_;
465 std::unique_ptr<ImplTypeFor<typename TypeParam::Interface>> impl_;
522 using Interface = typename TypeParam::Interface; in TYPED_TEST()
525 auto ptr = TypeParam::Wrap(std::move(interface_ptr)); in TYPED_TEST()
[all …]
/external/googletest/googletest/test/
Dgtest-typed-test_test.cc128 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST()
167 EXPECT_EQ(0, TypeParam()); in TYPED_TEST()
192 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST()
198 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST()
314 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST_P()
320 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST_P()
412 EXPECT_EQ(0, TypeParam()); in TYPED_TEST_P()
416 EXPECT_LT(TypeParam(0), TypeParam(1)); in TYPED_TEST_P()
Dgoogletest-port-test.cc402 const RE empty(TypeParam("")); in TYPED_TEST()
405 const RE simple(TypeParam("hello")); in TYPED_TEST()
408 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
415 const RE invalid(TypeParam("?")); in TYPED_TEST()
421 const RE empty(TypeParam("")); in TYPED_TEST()
422 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
423 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
425 const RE re(TypeParam("a.*z")); in TYPED_TEST()
426 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
427 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-port_test.cc386 const RE empty(TypeParam("")); in TYPED_TEST()
389 const RE simple(TypeParam("hello")); in TYPED_TEST()
392 const RE normal(TypeParam(".*(\\w+)")); in TYPED_TEST()
399 const RE invalid(TypeParam("?")); in TYPED_TEST()
405 const RE empty(TypeParam("")); in TYPED_TEST()
406 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty)); in TYPED_TEST()
407 EXPECT_FALSE(RE::FullMatch(TypeParam("a"), empty)); in TYPED_TEST()
409 const RE re(TypeParam("a.*z")); in TYPED_TEST()
410 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re)); in TYPED_TEST()
411 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re)); in TYPED_TEST()
[all …]
Dgtest-typed-test_test.cc124 EXPECT_EQ(static_cast<TypeParam>(2), this->value_); in TYPED_TEST()
163 EXPECT_EQ(0, TypeParam()); in TYPED_TEST()
334 EXPECT_EQ(0, TypeParam()); in TYPED_TEST_P()
338 EXPECT_LT(TypeParam(0), TypeParam(1)); in TYPED_TEST_P()
/external/google-breakpad/src/common/linux/
Dsynth_elf_unittest.cc199 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST()
200 typedef typename TypeParam::Phdr Phdr; in TYPED_TEST()
201 typedef typename TypeParam::Shdr Shdr; in TYPED_TEST()
210 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST()
221 TypeParam::kClass, ELFDATA2LSB, EV_CURRENT, ELFOSABI_SYSV, in TYPED_TEST()
266 typedef typename TypeParam::Ehdr Ehdr; in TYPED_TEST()
267 typedef typename TypeParam::Phdr Phdr; in TYPED_TEST()
268 typedef typename TypeParam::Shdr Shdr; in TYPED_TEST()
278 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST()
296 TypeParam::kClass, ELFDATA2LSB, EV_CURRENT, ELFOSABI_SYSV, in TYPED_TEST()
/external/llvm/utils/unittest/googletest/include/gtest/
Dgtest-typed-test.h70 TypeParam n = this->value_;
119 TypeParam n = 0;
175 typedef gtest_TypeParam_ TypeParam; \
229 typedef gtest_TypeParam_ TypeParam; \
/external/mesa3d/src/gtest/include/gtest/
Dgtest-typed-test.h70 TypeParam n = this->value_;
119 TypeParam n = 0;
175 typedef gtest_TypeParam_ TypeParam; \
230 typedef gtest_TypeParam_ TypeParam; \
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest-typed-test.h70 TypeParam n = this->value_;
119 TypeParam n = 0;
175 typedef gtest_TypeParam_ TypeParam; \
230 typedef gtest_TypeParam_ TypeParam; \
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest-typed-test.h70 TypeParam n = this->value_;
119 TypeParam n = 0;
175 typedef gtest_TypeParam_ TypeParam; \
229 typedef gtest_TypeParam_ TypeParam; \

123