Home
last modified time | relevance | path

Searched refs:TestData (Results 1 – 4 of 4) sorted by relevance

/openbsd-src/gnu/llvm/compiler-rt/lib/xray/tests/unit/
H A Dsegmented_array_test.cpp14 struct TestData { struct
19 TestData(s64 F, s64 S) : First(F), Second(S) {} in TestData() argument
22 void PrintTo(const TestData &D, std::ostream *OS) { in PrintTo()
27 using AllocatorType = typename Array<TestData>::AllocatorType; in TEST()
29 Array<TestData> Data(A); in TEST()
34 using AllocatorType = typename Array<TestData>::AllocatorType; in TEST()
36 Array<TestData> data(A); in TEST()
37 ASSERT_NE(data.Append(TestData{0, 0}), nullptr); in TEST()
38 ASSERT_NE(data.Append(TestData{1, 1}), nullptr); in TEST()
43 using AllocatorType = typename Array<TestData>::AllocatorType; in TEST()
[all …]
H A Dallocator_test.cpp20 struct TestData { struct
25 TEST(AllocatorTest, Construction) { Allocator<sizeof(TestData)> A(2 << 11); } in TEST()
28 Allocator<sizeof(TestData)> A(2 << 11); in TEST()
34 Allocator<sizeof(TestData)> A(sizeof(TestData)); in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_mutex_test.cpp24 class TestData { class
26 explicit TestData(MutexType *mtx) in TestData() function in __sanitizer::TestData
90 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread()
100 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread()
110 TestData<MutexType> *data = (TestData<MutexType> *)param; in read_write_thread()
130 TestData<SpinMutex> data(&mtx); in TEST()
141 TestData<SpinMutex> data(&mtx); in TEST()
151 TestData<Mutex> data(&mtx); in TEST()
160 TestData<Mutex> data(&mtx); in TEST()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/tests/
H A Dmutex_test.cpp16 class TestData { class
18 explicit TestData(scudo::HybridMutex &M) : Mutex(M) { in TestData() function in TestData
66 TestData *Data = reinterpret_cast<TestData *>(Param); in lockThread()
75 TestData *Data = reinterpret_cast<TestData *>(Param); in tryThread()
85 TestData Data(M); in TEST()
95 TestData Data(M); in TEST()