Home
last modified time | relevance | path

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

/bionic/tests/
Dthread_local_test.cpp111 Triangle shared_triangle = {{1,1}, {2,2}, {3,3}}; variable
117 memcpy(shared_triangle, t2, sizeof(shared_triangle)); in reset_triangle()
122 shared_triangle[1].y++; in move_shared_triangle()
123 *data = shared_triangle[1].y; in move_shared_triangle()
134 TEST(thread_local_storage, shared_triangle) { in TEST() argument
137 ASSERT_EQ(shared_triangle[1].y, 3); in TEST()
142 ASSERT_EQ(shared_triangle[1].y, 4); in TEST()
146 ASSERT_EQ(shared_triangle[1].y, 5); in TEST()
150 ASSERT_EQ(shared_triangle[1].y, 6); in TEST()
156 ASSERT_EQ(shared_triangle[1].y, 3); in TEST()
[all …]