Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp173 uint16_t *bPtr = (uint16_t*)buf.data; in checkPixel() local
174 bPtr += y * buf.stride + x; in checkPixel()
179 EXPECT_EQ(g, *bPtr); in checkPixel()
182 EXPECT_EQ(r, *bPtr); in checkPixel()
185 EXPECT_EQ(b, *bPtr); in checkPixel()
192 uint8_t *bPtr = (uint8_t*)buf.data; in checkPixel() local
193 bPtr += y * buf.stride + x; in checkPixel()
194 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
200 uint16_t *bPtr = ((uint16_t*)buf.data) + y * buf.stride + x; in checkPixel() local
202 EXPECT_EQ(r, *bPtr) << "at x = " << x << " y = " << y; in checkPixel()
[all …]
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rs85 const Ball_t * bPtr = &balls[idx];
86 gGridCache[gridIdx++] = bPtr->position;
87 idx = bPtr->next;