Lines Matching refs:elements
46 std::vector<uint8_t> elements(kNumElts); in TEST() local
53 elements[i] = in TEST()
79 ring_buffer_write(&r, elements.data() + written, 1, toWrite); in TEST()
96 EXPECT_EQ(elements, result); in TEST()
162 std::vector<uint8_t> elements(kNumElts); in TEST() local
169 elements[i] = in TEST()
179 FunctorThread producer([&r, &elements]() { in TEST()
180 writeTest(&r, (uint8_t*)elements.data(), 1, kNumElts); in TEST()
192 EXPECT_EQ(elements, result); in TEST()
200 std::vector<uint8_t> elements(kNumElts); in TEST() local
207 elements[i] = in TEST()
224 FunctorThread producer([&r, &elements, stepSize, numSteps]() { in TEST()
225 writeTest(&r, (uint8_t*)elements.data(), stepSize, numSteps); in TEST()
237 EXPECT_EQ(elements, result); in TEST()
312 std::vector<uint8_t> elements(kNumElts); in TEST() local
319 elements[i] = in TEST()
341 FunctorThread producer([&r, &v, &elements, stepSize, numSteps]() { in TEST()
342 viewWriteTest(&r, &v, (uint8_t*)elements.data(), stepSize, numSteps); in TEST()
354 EXPECT_EQ(elements, result); in TEST()
397 std::vector<uint8_t> elements(testSize); in TEST() local
405 FunctorThread producer([&r, &v, &elements]() { in TEST()
406 ring_buffer_write_fully(&r, &v, elements.data(), elements.size()); in TEST()
418 EXPECT_EQ(elements, result); in TEST()
431 std::vector<uint8_t> elements(kNumElts); in TEST() local
438 elements[i] = in TEST()
474 FunctorThread producer([&r, &elements]() { in TEST()
487 elements.data() + (written % elements.size()), 1); in TEST()
496 EXPECT_EQ(elements, result); in TEST()
511 std::vector<uint8_t> elements(testSize); in TEST() local
514 elements[i] = static_cast<uint8_t>(eltDistribution(generator)); in TEST()
535 FunctorThread producer([&r, &v, &elements]() { in TEST()
536 ring_buffer_write_fully(&r, &v, elements.data(), elements.size()); in TEST()
566 std::vector<uint8_t> elements = { in TEST() local
573 std::vector<uint8_t> recv(elements.size(), 0); in TEST()
582 uint8_t* elementsPtr = elements.data(); in TEST()