Home
last modified time | relevance | path

Searched refs:TestPtrs (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp37 std::vector<PtrT> TestPtrs; member in __anon9af7cde40111::TinyPtrVectorTest
41 TestPtrs.push_back(&TestValues[i]); in TinyPtrVectorTest()
43 std::shuffle(TestPtrs.begin(), TestPtrs.end(), std::mt19937{}); in TinyPtrVectorTest()
47 return makeArrayRef(&TestPtrs[0], N); in testArray()
83 this->V.push_back(this->TestPtrs[0]); in TYPED_TEST()
85 this->V.push_back(this->TestPtrs[1]); in TYPED_TEST()
87 this->V.push_back(this->TestPtrs[2]); in TYPED_TEST()
89 this->V.push_back(this->TestPtrs[3]); in TYPED_TEST()
91 this->V.push_back(this->TestPtrs[4]); in TYPED_TEST()
99 this->TestPtrs[3] = &this->TestValues[42]; in TYPED_TEST()
[all …]
/external/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp43 std::vector<PtrT> TestPtrs; member in __anon107f298c0111::TinyPtrVectorTest
47 TestPtrs.push_back(&TestValues[i]); in TinyPtrVectorTest()
49 std::random_shuffle(TestPtrs.begin(), TestPtrs.end(), test_shuffle_rng_p); in TinyPtrVectorTest()
53 return makeArrayRef(&TestPtrs[0], N); in testArray()
89 this->V.push_back(this->TestPtrs[0]); in TYPED_TEST()
91 this->V.push_back(this->TestPtrs[1]); in TYPED_TEST()
93 this->V.push_back(this->TestPtrs[2]); in TYPED_TEST()
95 this->V.push_back(this->TestPtrs[3]); in TYPED_TEST()
97 this->V.push_back(this->TestPtrs[4]); in TYPED_TEST()
105 this->TestPtrs[3] = &this->TestValues[42]; in TYPED_TEST()
[all …]