Home
last modified time | relevance | path

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

/external/skia/tests/
DBitmapCopyTest.cpp91 const void* rawAddr = bm.getAddr(x,y); in getPixel() local
95 memcpy(&val, rawAddr, sizeof(uint32_t)); in getPixel()
98 memcpy(&val16, rawAddr, sizeof(uint16_t)); in getPixel()
102 memcpy(&val8, rawAddr, sizeof(uint8_t)); in getPixel()
118 void* rawAddr = bm.getAddr(x,y); in setPixel() local
122 memcpy(rawAddr, &val, sizeof(uint32_t)); in setPixel()
126 memcpy(rawAddr, &val16, sizeof(uint16_t)); in setPixel()
130 memcpy(rawAddr, &val8, sizeof(uint8_t)); in setPixel()
/external/chromium_org/third_party/skia/tests/
DBitmapCopyTest.cpp91 const void* rawAddr = bm.getAddr(x,y); in getPixel() local
95 memcpy(&val, rawAddr, sizeof(uint32_t)); in getPixel()
98 memcpy(&val16, rawAddr, sizeof(uint16_t)); in getPixel()
102 memcpy(&val8, rawAddr, sizeof(uint8_t)); in getPixel()
118 void* rawAddr = bm.getAddr(x,y); in setPixel() local
122 memcpy(rawAddr, &val, sizeof(uint32_t)); in setPixel()
126 memcpy(rawAddr, &val16, sizeof(uint16_t)); in setPixel()
130 memcpy(rawAddr, &val8, sizeof(uint8_t)); in setPixel()