/external/skia/src/codec/ |
D | SkMaskSwizzler.cpp | 17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque() local 20 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_opaque() 25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque() 34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque() local 37 uint16_t p = srcPtr[0]; in swizzle_mask16_to_bgra_opaque() 42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque() 51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul() local 54 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_unpremul() 60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul() 69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul() local [all …]
|
/external/skqp/src/codec/ |
D | SkMaskSwizzler.cpp | 17 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_opaque() local 20 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_opaque() 25 srcPtr += sampleX; in swizzle_mask16_to_rgba_opaque() 34 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_opaque() local 37 uint16_t p = srcPtr[0]; in swizzle_mask16_to_bgra_opaque() 42 srcPtr += sampleX; in swizzle_mask16_to_bgra_opaque() 51 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_rgba_unpremul() local 54 uint16_t p = srcPtr[0]; in swizzle_mask16_to_rgba_unpremul() 60 srcPtr += sampleX; in swizzle_mask16_to_rgba_unpremul() 69 uint16_t* srcPtr = ((uint16_t*) srcRow) + startX; in swizzle_mask16_to_bgra_unpremul() local [all …]
|
/external/lz4/lib/ |
D | lz4frame.c | 149 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE32() local 150 U32 value32 = srcPtr[0]; in LZ4F_readLE32() 151 value32 += ((U32)srcPtr[1])<< 8; in LZ4F_readLE32() 152 value32 += ((U32)srcPtr[2])<<16; in LZ4F_readLE32() 153 value32 += ((U32)srcPtr[3])<<24; in LZ4F_readLE32() 168 const BYTE* const srcPtr = (const BYTE*)src; in LZ4F_readLE64() local 169 U64 value64 = srcPtr[0]; in LZ4F_readLE64() 170 value64 += ((U64)srcPtr[1]<<8); in LZ4F_readLE64() 171 value64 += ((U64)srcPtr[2]<<16); in LZ4F_readLE64() 172 value64 += ((U64)srcPtr[3]<<24); in LZ4F_readLE64() [all …]
|
D | lz4.c | 359 void LZ4_wildCopy8(void* dstPtr, const void* srcPtr, void* dstEnd) in LZ4_wildCopy8() argument 362 const BYTE* s = (const BYTE*)srcPtr; in LZ4_wildCopy8() 388 LZ4_memcpy_using_offset_base(BYTE* dstPtr, const BYTE* srcPtr, BYTE* dstEnd, const size_t offset) in LZ4_memcpy_using_offset_base() argument 391 dstPtr[0] = srcPtr[0]; in LZ4_memcpy_using_offset_base() 392 dstPtr[1] = srcPtr[1]; in LZ4_memcpy_using_offset_base() 393 dstPtr[2] = srcPtr[2]; in LZ4_memcpy_using_offset_base() 394 dstPtr[3] = srcPtr[3]; in LZ4_memcpy_using_offset_base() 395 srcPtr += inc32table[offset]; in LZ4_memcpy_using_offset_base() 396 memcpy(dstPtr+4, srcPtr, 4); in LZ4_memcpy_using_offset_base() 397 srcPtr -= dec64table[offset]; in LZ4_memcpy_using_offset_base() [all …]
|
/external/dng_sdk/source/ |
D | dng_linearization_info.cpp | 490 const real32 *srcPtr = (const real32 *) sPtr; in Process() local 503 *dstPtr = (*srcPtr) * scale; in Process() 505 srcPtr += sStep; in Process() 540 real32 x = (*srcPtr) * scale - b1; in Process() 556 srcPtr += sStep; in Process() 581 const uint8 *srcPtr = (const uint8 *) sPtr; in Process() local 586 *dstPtr = lut [*srcPtr]; in Process() 588 srcPtr += sStep; in Process() 598 const uint16 *srcPtr = (const uint16 *) sPtr; in Process() local 603 *dstPtr = lut [*srcPtr]; in Process() [all …]
|
/external/llvm-project/flang/lib/Optimizer/Support/ |
D | KindMapping.cpp | 194 const char *srcPtr = kindMap.begin(); in parse() local 198 if (parseCode(code, srcPtr) || parseInt(kind, srcPtr)) in parse() 199 return badMapString(srcPtr); in parse() 202 if (parseColon(srcPtr) || parseInt(bits, srcPtr)) in parse() 203 return badMapString(srcPtr); in parse() 207 if (parseColon(srcPtr) || parseTypeID(id, srcPtr)) in parse() 208 return badMapString(srcPtr); in parse() 211 return badMapString(srcPtr); in parse() 213 if (parseComma(srcPtr)) in parse() 216 if (*srcPtr) in parse() [all …]
|
/external/skia/src/core/ |
D | SkUtils.cpp | 11 static SkUnichar next(const T** srcPtr, unsigned N, SkUnichar (*fn)(const T**, const T*)) { in next() argument 12 SkASSERT(srcPtr); in next() 13 const T* ptr = *srcPtr; in next() 17 ++(*srcPtr); in next() 20 *srcPtr = ptr; in next()
|
D | SkPixmap.cpp | 99 const void* srcPtr = fast_getaddr(*this, x, y); in getAlphaf() local 114 value = static_cast<const uint8_t*>(srcPtr)[0] * (1.0f/255); in getAlphaf() 117 value = static_cast<const uint16_t*>(srcPtr)[0] * (1.0f/65535); in getAlphaf() 120 SkHalf half = static_cast<const SkHalf*>(srcPtr)[0]; in getAlphaf() 125 uint16_t u16 = static_cast<const uint16_t*>(srcPtr)[0]; in getAlphaf() 131 value = static_cast<const uint8_t*>(srcPtr)[3] * (1.0f/255); in getAlphaf() 135 uint32_t u32 = static_cast<const uint32_t*>(srcPtr)[0]; in getAlphaf() 140 uint64_t u64 = static_cast<const uint64_t*>(srcPtr)[0]; in getAlphaf() 147 memcpy(&px, srcPtr, sizeof(px)); in getAlphaf() 152 value = static_cast<const float*>(srcPtr)[3]; in getAlphaf()
|
D | SkPaint.cpp | 344 const SkPath* srcPtr = &src; in getFillPath() local 348 srcPtr = &tmpPath; in getFillPath() 351 if (!rec.applyToPath(dst, *srcPtr)) { in getFillPath() 352 if (srcPtr == &tmpPath) { in getFillPath() 359 *dst = *srcPtr; in getFillPath()
|
/external/skqp/src/core/ |
D | SkUtils.cpp | 11 static SkUnichar next(const T** srcPtr, unsigned N, SkUnichar (*fn)(const T**, const T*)) { in next() argument 12 SkASSERT(srcPtr); in next() 13 const T* ptr = *srcPtr; in next() 17 ++(*srcPtr); in next() 20 *srcPtr = ptr; in next()
|
D | SkPixmap.cpp | 97 const void* srcPtr = fast_getaddr(*this, x, y); in getAlphaf() local 108 value = static_cast<const uint8_t*>(srcPtr)[0] * (1.0f/255); in getAlphaf() 111 uint16_t u16 = static_cast<const uint16_t*>(srcPtr)[0]; in getAlphaf() 116 value = static_cast<const uint8_t*>(srcPtr)[3] * (1.0f/255); in getAlphaf() 119 uint32_t u32 = static_cast<const uint32_t*>(srcPtr)[0]; in getAlphaf() 124 memcpy(&px, srcPtr, sizeof(px)); in getAlphaf() 128 value = static_cast<const float*>(srcPtr)[3]; in getAlphaf()
|
/external/llvm-project/polly/test/ScopInfo/ |
D | sign_wrapped_set.ll | 22 %srcPtr.075.us.pn = phi i8* [ %srcPtr.075.us, %for.cond6.preheader.us ], [ %src, %entry ] 24 %srcPtr.075.us = getelementptr inbounds i8, i8* %srcPtr.075.us.pn, i64 %extended 26 %0 = load i8, i8* %srcPtr.075.us, align 1, !tbaa !0 28 store i8 %1, i8* %srcPtr.075.us, align 1, !tbaa !0
|
/external/lz4/examples/ |
D | frameCompress.c | 188 const void* srcPtr = (const char*)src + alreadyConsumed; alreadyConsumed=0; in decompress_file_internal() local 189 const void* const srcEnd = (const char*)srcPtr + readSize; in decompress_file_internal() 199 while (srcPtr < srcEnd && ret != 0) { in decompress_file_internal() 202 size_t srcSize = (const char*)srcEnd - (const char*)srcPtr; in decompress_file_internal() 203 … ret = LZ4F_decompress(dctx, dst, &dstSize, srcPtr, &srcSize, /* LZ4F_decompressOptions_t */ NULL); in decompress_file_internal() 211 srcPtr = (const char*)srcPtr + srcSize; in decompress_file_internal() 214 assert(srcPtr <= srcEnd); in decompress_file_internal() 220 if (srcPtr < srcEnd) { in decompress_file_internal()
|
/external/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 16 static SkUnichar next_unichar_UTF16BE(const uint8_t** srcPtr, size_t* length) { in next_unichar_UTF16BE() argument 17 SkASSERT(srcPtr && *srcPtr && length); in next_unichar_UTF16BE() 25 memcpy(&leading, *srcPtr, sizeof(leading)); in next_unichar_UTF16BE() 26 *srcPtr += sizeof(leading); in next_unichar_UTF16BE() 39 memcpy(&trailing, *srcPtr, sizeof(trailing)); in next_unichar_UTF16BE() 44 *srcPtr += sizeof(trailing); in next_unichar_UTF16BE()
|
/external/skqp/src/sfnt/ |
D | SkOTTable_name.cpp | 16 static SkUnichar next_unichar_UTF16BE(const uint8_t** srcPtr, size_t* length) { in next_unichar_UTF16BE() argument 17 SkASSERT(srcPtr && *srcPtr && length); in next_unichar_UTF16BE() 25 memcpy(&leading, *srcPtr, sizeof(leading)); in next_unichar_UTF16BE() 26 *srcPtr += sizeof(leading); in next_unichar_UTF16BE() 39 memcpy(&trailing, *srcPtr, sizeof(trailing)); in next_unichar_UTF16BE() 44 *srcPtr += sizeof(trailing); in next_unichar_UTF16BE()
|
/external/skqp/src/pdf/ |
D | SkPDFConvertType1FontStream.cpp | 43 const uint8_t* srcPtr = src; in parsePFB() local 46 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB() 47 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB() 48 parsePFBSection(&srcPtr, &remaining, 1, trailerLen) && in parsePFB() 49 parsePFBSection(&srcPtr, &remaining, 3, nullptr); in parsePFB()
|
/external/skqp/src/utils/ |
D | SkBase64.cpp | 36 SkBase64::Error SkBase64::decode(const void* srcPtr, size_t size, bool writeDestination) { in decode() argument 39 const unsigned char* src = (const unsigned char*) srcPtr; in decode() 111 size_t SkBase64::Encode(const void* srcPtr, size_t length, void* dstPtr, const char* encodeMap) { in Encode() argument 118 const unsigned char* src = (const unsigned char*) srcPtr; in Encode()
|
/external/angle/src/libANGLE/renderer/ |
D | renderer_utils.h | 286 uint32_t LineLoopRestartIndexCountHelper(GLsizei indexCount, const uint8_t *srcPtr) in LineLoopRestartIndexCountHelper() argument 289 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in LineLoopRestartIndexCountHelper() 319 const uint8_t *srcPtr) in GetLineLoopWithRestartIndexCount() argument 324 return LineLoopRestartIndexCountHelper<uint8_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 326 return LineLoopRestartIndexCountHelper<uint16_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 328 return LineLoopRestartIndexCountHelper<uint32_t>(indexCount, srcPtr); in GetLineLoopWithRestartIndexCount() 338 void CopyLineLoopIndicesWithRestart(GLsizei indexCount, const uint8_t *srcPtr, uint8_t *outPtr) in CopyLineLoopIndicesWithRestart() argument 342 const In *inIndices = reinterpret_cast<const In *>(srcPtr); in CopyLineLoopIndicesWithRestart()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.cpp | 301 …Layout (void* dstBasePtr, const VertexAttributeDescriptor& dstVA, const VertexArrayPointer& srcPtr) in copyToLayout() argument 303 DE_ASSERT(dstVA.componentType == srcPtr.componentType && in copyToLayout() 304 dstVA.numComponents == srcPtr.numComponents && in copyToLayout() 305 dstVA.numElements == srcPtr.numElements); in copyToLayout() 308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize; in copyToLayout() 314 const int srcStride = srcPtr.stride != 0 ? srcPtr.stride : elementSize; in copyToLayout() 317 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.d… in copyToLayout() 320 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElemen… in copyToLayout()
|
/external/mesa3d/src/mesa/main/ |
D | mipmap.c | 1442 GLint srcWidth, const GLubyte *srcPtr, in make_1d_mipmap() argument 1450 src = srcPtr + border * bpt; in make_1d_mipmap() 1460 assert(srcPtr); in make_1d_mipmap() 1461 memcpy(dstPtr, srcPtr, bpt); in make_1d_mipmap() 1464 srcPtr + (srcWidth - 1) * bpt, in make_1d_mipmap() 1473 const GLubyte *srcPtr, GLint srcRowStride, in make_2d_mipmap() argument 1486 srcA = srcPtr + border * ((srcWidth + 1) * bpt); in make_2d_mipmap() 1513 assert(srcPtr); in make_2d_mipmap() 1514 memcpy(dstPtr, srcPtr, bpt); in make_2d_mipmap() 1517 srcPtr + (srcWidth - 1) * bpt, bpt); in make_2d_mipmap() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFType1Font.cpp | 50 const uint8_t* srcPtr = src; in parsePFB() local 53 return parsePFBSection(&srcPtr, &remaining, 1, headerLen) && in parsePFB() 54 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB() 55 parsePFBSection(&srcPtr, &remaining, 1, trailerLen) && in parsePFB() 56 parsePFBSection(&srcPtr, &remaining, 3, nullptr); in parsePFB()
|
/external/zstd/tests/ |
D | decodecorpus.c | 648 BYTE* srcPtr = frame->src; in generateSequences() local 680 if (i == 0 && srcPtr == frame->srcStart && literalLen == 0) literalLen = 1; in generateSequences() 683 memcpy(srcPtr, literals, literalLen); in generateSequences() 684 srcPtr += literalLen; in generateSequences() 688 U32 const dataDecompressed = (U32)((BYTE*)srcPtr-(BYTE*)frame->srcStart); in generateSequences() 691 (size_t)((BYTE*)srcPtr - (BYTE*)frame->srcStart))) + in generateSequences() 697 offset = (U32)((BYTE*)srcPtr - (BYTE*)frame->srcStart)+lenPastStart; in generateSequences() 704 offset = (U32)((BYTE*)srcPtr - (BYTE*)frame->srcStart) + lenPastStart; in generateSequences() 727 …} while (((!info.useDict) && (offset > (size_t)((BYTE*)srcPtr - (BYTE*)frame->srcStart))) || offse… in generateSequences() 733 if ((U32)((BYTE*)srcPtr - (BYTE*)frame->srcStart) < offset) { in generateSequences() [all …]
|
/external/skqp/tests/ |
D | TransferPixelsTest.cpp | 44 GrColor* srcPtr = srcBuffer; in does_full_buffer_contain_correct_values() local 49 if (srcPtr[i] != dstPtr[i]) { in does_full_buffer_contain_correct_values() 53 srcPtr += bufferWidth; in does_full_buffer_contain_correct_values()
|
D | TestUtils.cpp | 135 GrColor* srcPtr = srcBuffer; in does_full_buffer_contain_correct_color() local 139 if (srcPtr[i] != dstPtr[i]) { in does_full_buffer_contain_correct_color() 143 srcPtr += width; in does_full_buffer_contain_correct_color()
|
/external/lz4/programs/ |
D | bench.c | 146 const char* srcPtr; member 198 { const char* srcPtr = (const char*)srcBuffer; in BMK_benchMem() local 208 blockTable[nbBlocks].srcPtr = srcPtr; in BMK_benchMem() 213 srcPtr += thisBlockSize; in BMK_benchMem() 260 …ze_t const rSize = (size_t)compP.compressionFunction(blockTable[blockNb].srcPtr, blockTable[blockN… in BMK_benchMem()
|