/external/skia/src/images/ |
D | transform_scanline.h | 42 const uint16_t* SK_RESTRICT srcP = (const uint16_t*)src; in transform_scanline_565() local 44 unsigned c = *srcP++; in transform_scanline_565() 57 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_888() local 59 SkPMColor c = *srcP++; in transform_scanline_888() 72 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_444() local 74 SkPMColor16 c = *srcP++; in transform_scanline_444() 88 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_8888() local 93 SkPMColor c = *srcP++; in transform_scanline_8888() 118 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_4444() local 123 SkPMColor16 c = *srcP++; in transform_scanline_4444()
|
D | SkFlipPixelRef.cpp | 69 const char* srcP = static_cast<const char*>(srcAddr) + offset; in copyRect() local 75 memcpy(dstP, srcP, bytes); in copyRect() 77 srcP += rb; in copyRect()
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 114 SkPoint srcP[4], dstP[3]; in morphpath() local 117 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath() 120 if (morphpoints(dstP, srcP, 1, meas, dist)) { in morphpath() 125 srcP[2] = srcP[1]; in morphpath() 126 srcP[1].set(SkScalarAve(srcP[0].fX, srcP[2].fX), in morphpath() 127 SkScalarAve(srcP[0].fY, srcP[2].fY)); in morphpath() 130 if (morphpoints(dstP, &srcP[1], 2, meas, dist)) { in morphpath() 135 if (morphpoints(dstP, &srcP[1], 3, meas, dist)) { in morphpath()
|
D | SkTableMaskFilter.cpp | 39 const uint8_t* srcP = src.fImage; in filterMask() local 47 dstP[x] = table[srcP[x]]; in filterMask() 49 srcP += src.fRowBytes; in filterMask()
|
/external/skia/legacy/src/effects/ |
D | Sk1DPathEffect.cpp | 107 SkPoint srcP[4], dstP[3]; in morphpath() local 110 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath() 113 morphpoints(dstP, srcP, 1, meas, dist); in morphpath() 117 srcP[2] = srcP[1]; in morphpath() 118 srcP[1].set(SkScalarAve(srcP[0].fX, srcP[2].fX), in morphpath() 119 SkScalarAve(srcP[0].fY, srcP[2].fY)); in morphpath() 122 morphpoints(dstP, &srcP[1], 2, meas, dist); in morphpath() 126 morphpoints(dstP, &srcP[1], 3, meas, dist); in morphpath()
|
D | SkTableMaskFilter.cpp | 42 const uint8_t* srcP = src.fImage; in filterMask() local 50 dstP[x] = table[srcP[x]]; in filterMask() 52 srcP += src.fRowBytes; in filterMask()
|
/external/skia/legacy/src/core/ |
D | SkScalerContext.cpp | 376 const uint8_t* srcP = src.getAddr8(0, 0); in copyToLCD16() local 382 dstP[x] = a8_to_rgb565(srcP[x]); in copyToLCD16() 384 srcP += srcRB; in copyToLCD16() 416 const uint8_t* srcP = src.getAddr8(0, y); in pack3xHToLCD16() local 418 unsigned r = *srcP++; in pack3xHToLCD16() 419 unsigned g = *srcP++; in pack3xHToLCD16() 420 unsigned b = *srcP++; in pack3xHToLCD16() 436 const uint8_t* srcP = src.getAddr8(0, y); in pack3xHToLCD32() local 438 unsigned r = *srcP++; in pack3xHToLCD32() 439 unsigned g = *srcP++; in pack3xHToLCD32() [all …]
|
D | SkDraw.cpp | 1914 SkPoint srcP[4], dstP[3]; in morphpath() local 1917 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath() 1920 morphpoints(dstP, srcP, 1, meas, matrix); in morphpath() 1925 srcP[0].fX = SkScalarAve(srcP[0].fX, srcP[1].fX); in morphpath() 1926 srcP[0].fY = SkScalarAve(srcP[0].fY, srcP[1].fY); in morphpath() 1927 morphpoints(dstP, srcP, 2, meas, matrix); in morphpath() 1931 morphpoints(dstP, &srcP[1], 2, meas, matrix); in morphpath() 1935 morphpoints(dstP, &srcP[1], 3, meas, matrix); in morphpath()
|
D | SkBitmap.cpp | 494 const uint8_t* srcP = reinterpret_cast<const uint8_t*>(getPixels()); in copyPixelsTo() local 497 row++, srcP += fRowBytes, dstP += dstRowBytes) { in copyPixelsTo() 498 memcpy(dstP, srcP, rowBytes); in copyPixelsTo() 927 const char* srcP = reinterpret_cast<const char*>(src->getPixels()); in copyTo() local 932 memcpy(dstP, srcP, bytesToCopy); in copyTo() 933 srcP += src->rowBytes(); in copyTo()
|
/external/skia/legacy/src/images/ |
D | SkFlipPixelRef.cpp | 92 const char* srcP = static_cast<const char*>(srcAddr) + offset; in SK_DEFINE_PIXEL_REF_REGISTRAR() local 98 memcpy(dstP, srcP, bytes); in SK_DEFINE_PIXEL_REF_REGISTRAR() 100 srcP += rb; in SK_DEFINE_PIXEL_REF_REGISTRAR()
|
D | SkImageDecoder_libpng.cpp | 827 const uint16_t* SK_RESTRICT srcP = (const uint16_t*)src; in transform_scanline_565() local 829 unsigned c = *srcP++; in transform_scanline_565() 838 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_888() local 840 SkPMColor c = *srcP++; in transform_scanline_888() 849 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_444() local 851 SkPMColor16 c = *srcP++; in transform_scanline_444() 860 const SkPMColor* SK_RESTRICT srcP = (const SkPMColor*)src; in transform_scanline_8888() local 865 SkPMColor c = *srcP++; in transform_scanline_8888() 886 const SkPMColor16* SK_RESTRICT srcP = (const SkPMColor16*)src; in transform_scanline_4444() local 891 SkPMColor16 c = *srcP++; in transform_scanline_4444()
|
/external/skia/src/utils/ |
D | SkBitmapTransformer.cpp | 49 const SkPMColor* SK_RESTRICT srcP = reinterpret_cast<const SkPMColor*>(src); in transform_scanline() local 51 SkPMColor c = *srcP++; in transform_scanline()
|
/external/skia/src/core/ |
D | SkScalerContext.cpp | 392 const uint8_t* srcP = src.getAddr8(0, y); in pack3xHToLCD16() local 394 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fR); in pack3xHToLCD16() 395 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fG); in pack3xHToLCD16() 396 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fB); in pack3xHToLCD16() 415 const uint8_t* srcP = src.getAddr8(0, y); in pack3xHToLCD32() local 417 U8CPU r = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fR); in pack3xHToLCD32() 418 U8CPU g = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fG); in pack3xHToLCD32() 419 U8CPU b = sk_apply_lut_if<APPLY_PREBLEND>(*srcP++, maskPreBlend.fB); in pack3xHToLCD32()
|
D | SkBitmap.cpp | 501 const uint8_t* srcP = reinterpret_cast<const uint8_t*>(getPixels()); in copyPixelsTo() local 504 row++, srcP += fRowBytes, dstP += dstRowBytes) { in copyPixelsTo() 505 memcpy(dstP, srcP, rowBytes); in copyPixelsTo() 1091 const char* srcP = reinterpret_cast<const char*>(src->getPixels()); in copyTo() local 1096 memcpy(dstP, srcP, bytesToCopy); in copyTo() 1097 srcP += src->rowBytes(); in copyTo()
|
D | SkDraw.cpp | 2057 SkPoint srcP[4], dstP[3]; in morphpath() local 2060 while ((verb = iter.next(srcP)) != SkPath::kDone_Verb) { in morphpath() 2063 morphpoints(dstP, srcP, 1, meas, matrix); in morphpath() 2068 srcP[0].fX = SkScalarAve(srcP[0].fX, srcP[1].fX); in morphpath() 2069 srcP[0].fY = SkScalarAve(srcP[0].fY, srcP[1].fY); in morphpath() 2070 morphpoints(dstP, srcP, 2, meas, matrix); in morphpath() 2074 morphpoints(dstP, &srcP[1], 2, meas, matrix); in morphpath() 2078 morphpoints(dstP, &srcP[1], 3, meas, matrix); in morphpath()
|
/external/skia/tests/ |
D | GpuBitmapCopyTest.cpp | 96 const char* srcP = static_cast<const char*>(srcReadBack.getAddr(0, 0)); in TestIndividualCopy() local 98 REPORTER_ASSERT(reporter, srcP != dstP); in TestIndividualCopy() 100 REPORTER_ASSERT(reporter, !memcmp(srcP, dstP, srcReadBack.getSize())); in TestIndividualCopy()
|
D | BitmapCopyTest.cpp | 304 const char* srcP = (const char*)src.getAddr(0, 0); in TestBitmapCopy() local 306 REPORTER_ASSERT(reporter, srcP != dstP); in TestBitmapCopy() 307 REPORTER_ASSERT(reporter, !memcmp(srcP, dstP, in TestBitmapCopy()
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 78 const SkPMColor* srcP = src.getAddr32(0, y); in convertToIndex666() local 81 *dstP++ = compute666Index(*srcP++); in convertToIndex666()
|
D | BitmapBench.cpp | 82 const SkPMColor* srcP = src.getAddr32(0, y); in convertToIndex666() local 85 *dstP++ = compute666Index(*srcP++); in convertToIndex666()
|
/external/valgrind/main/coregrind/ |
D | m_transtab.c | 1454 UChar* srcP; in VG_() local 1528 srcP = (UChar*)code; in VG_() 1529 VG_(memcpy)(dstP, srcP, code_len); in VG_() 2022 HChar *srcP, *dstP; in VG_() local 2054 srcP = (HChar*)code; in VG_() 2056 dstP[j] = srcP[j]; in VG_()
|
/external/icu4c/i18n/ |
D | ucol.cpp | 1375 const UChar *srcP = collationSource->pos - 1; /* Start of chars to normalize */ in collIterNormalize() local 1378 collationSource->nfd->normalize(UnicodeString(FALSE, srcP, (int32_t)(endP - srcP)), in collIterNormalize() 1448 const UChar *srcP, *endP; in collIterFCD() local 1454 srcP = collationSource->pos-1; in collIterFCD() 1463 fcd = g_nfcImpl->nextFCD16(srcP, endP); in collIterFCD() 1470 while (endP == NULL || srcP != endP) in collIterFCD() 1472 const UChar *savedSrcP = srcP; in collIterFCD() 1474 fcd = g_nfcImpl->nextFCD16(srcP, endP); in collIterFCD() 1477 srcP = savedSrcP; // Hit char that is not part of combining sequence. in collIterFCD() 1491 collationSource->fcdPosition = (UChar *)srcP; in collIterFCD()
|