Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp171 uint16_t *bPtr = (uint16_t*)buf.data; in checkPixel() local
172 bPtr += y * buf.stride + x; in checkPixel()
177 EXPECT_EQ(g, *bPtr); in checkPixel()
180 EXPECT_EQ(r, *bPtr); in checkPixel()
183 EXPECT_EQ(b, *bPtr); in checkPixel()
190 uint8_t *bPtr = (uint8_t*)buf.data; in checkPixel() local
191 bPtr += y * buf.stride + x; in checkPixel()
192 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
198 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x; in checkPixel() local
200 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
[all …]
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
Dballs.rs85 const Ball_t * bPtr = &balls[idx];
86 gGridCache[gridIdx++] = bPtr->position;
87 idx = bPtr->next;