/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 75 const unsigned char* inPtr = static_cast<const unsigned char*>(input); in copyIndices() local 106 memcpy(outPtr, inPtr, numBytes); in copyIndices() 109 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices() 120 memcpy(outPtr, inPtr, bytesPerIndex); in copyIndices() 122 memcpy(outPtr, inPtr + ((tri + 1) * bytesPerIndex), bytesPerIndex + bytesPerIndex); in copyIndices() 125 inPtr += (numIndices + 1) * bytesPerIndex; in copyIndices() 137 memcpy(outPtr, inPtr + ((tri + 1) * bytesPerIndex), bytesPerIndex); in copyIndices() 139 memcpy(outPtr, inPtr + ((tri + 0) * bytesPerIndex), bytesPerIndex); in copyIndices() 141 memcpy(outPtr, inPtr + ((tri + 2) * bytesPerIndex), bytesPerIndex); in copyIndices() 147 memcpy(outPtr, inPtr + (tri * bytesPerIndex), numBytes); in copyIndices() [all …]
|
/third_party/curl/lib/ |
D | sendf.c | 74 char *inPtr, *outPtr; in convert_lineends() local 96 inPtr = outPtr = memchr(startPtr, '\r', size); in convert_lineends() 97 if(inPtr) { in convert_lineends() 99 while(inPtr < (startPtr + size-1)) { in convert_lineends() 101 if(memcmp(inPtr, "\r\n", 2) == 0) { in convert_lineends() 103 inPtr++; in convert_lineends() 104 *outPtr = *inPtr; in convert_lineends() 109 if(*inPtr == '\r') { in convert_lineends() 115 *outPtr = *inPtr; in convert_lineends() 119 inPtr++; in convert_lineends() [all …]
|
/third_party/libsnd/src/ALAC/ |
D | ag_enc.c | 248 int32_t * inPtr = pc ; in dyn_comp() local 276 del = *inPtr++ ; in dyn_comp() 299 inPtr += rowJump ; in dyn_comp() 317 while (c < (uint32_t) numSamples && *inPtr == 0) in dyn_comp() 320 ++inPtr ; in dyn_comp() 326 inPtr += rowJump ; in dyn_comp()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fBufferTestUtil.cpp | 370 …void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8* inPtr) in renderQuadGridReference() argument 383 Vec4 v00 = fetchVtxColor(inPtr, quadNdx*4 + 0); in renderQuadGridReference() 384 Vec4 v10 = fetchVtxColor(inPtr, quadNdx*4 + 1); in renderQuadGridReference() 385 Vec4 v01 = fetchVtxColor(inPtr, quadNdx*4 + 2); in renderQuadGridReference() 386 Vec4 v11 = fetchVtxColor(inPtr, quadNdx*4 + 3); in renderQuadGridReference()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsBufferTestUtil.cpp | 531 …void renderQuadGridReference (tcu::Surface& dst, int numQuads, int rowLength, const deUint8* inPtr) in renderQuadGridReference() argument 544 Vec4 v00 = fetchVtxColor(inPtr, quadNdx*4 + 0); in renderQuadGridReference() 545 Vec4 v10 = fetchVtxColor(inPtr, quadNdx*4 + 1); in renderQuadGridReference() 546 Vec4 v01 = fetchVtxColor(inPtr, quadNdx*4 + 2); in renderQuadGridReference() 547 Vec4 v11 = fetchVtxColor(inPtr, quadNdx*4 + 3); in renderQuadGridReference()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTransformFeedbackTests.cpp | 737 const deUint8* inPtr = inBasePtr + inStride*inNdx + attribute.offset + compNdx*sizeof(deUint32); in compareTransformFeedbackOutput() local 739 deUint32 inVal = *(const deUint32*)inPtr; in compareTransformFeedbackOutput() 752 float inF = *(const float*)inPtr; in compareTransformFeedbackOutput()
|
/third_party/astc-encoder/Source/ |
D | tinyexr.h | 9251 const unsigned char *inPtr, size_t inSize, in CompressPiz() argument 9290 const unsigned char *ptr = inPtr; in CompressPiz() 9365 memcpy(outPtr, inPtr, inSize); in CompressPiz() 9370 static bool DecompressPiz(unsigned char *outPtr, const unsigned char *inPtr, in DecompressPiz() argument 9376 memcpy(outPtr, inPtr, inLen); in DecompressPiz() 9392 const unsigned char *ptr = inPtr; in DecompressPiz() 9423 if (size_t((ptr - inPtr) + length) > inLen) { in DecompressPiz() 9626 const float *inPtr, int width, int num_lines, int num_channels, in CompressZfp() argument 9639 field = zfp_field_2d(reinterpret_cast<void *>(const_cast<float *>(inPtr)), in CompressZfp() 9672 inPtr[c * image_size + ((y + j) * width + (x + i))]; in CompressZfp()
|