/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferComputeInstance.cpp | 69 void* const mapPtr = allocation->getHostPtr(); in createDataBuffer() local 72 deMemset(mapPtr, uninitData, (size_t)offset); in createDataBuffer() 74 deMemset((deUint8 *)mapPtr + offset, initData, initDataSize); in createDataBuffer() 75 deMemset((deUint8 *)mapPtr + offset + initDataSize, uninitData, in createDataBuffer() 116 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer() local 119 deMemset(mapPtr, 0x5A, (size_t) offset); in createColorDataBuffer() 121 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer() 122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer() 123 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A, in createColorDataBuffer()
|
D | vktApiComputeInstanceResultBuffer.cpp | 84 void* mapPtr = allocation->getHostPtr(); in createResultBuffer() local 87 deMemcpy(((deUint8 *) mapPtr) + offset, &clearValue, sizeof(float)); in createResultBuffer()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 270 const SkScalar* mapPtr = (const SkScalar*)(const void*)&fOrientation; in patchToMatrix() local 292 matrix->set(SkMatrix::kMScaleX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 293 matrix->set(SkMatrix::kMSkewY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 294 matrix->set(SkMatrix::kMPersp0, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 297 matrix->set(SkMatrix::kMSkewX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 298 matrix->set(SkMatrix::kMScaleY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix() 299 matrix->set(SkMatrix::kMPersp1, SkScalarDotDiv(3, patchPtr, 1, mapPtr+6, 1, dot)); in patchToMatrix() 302 matrix->set(SkMatrix::kMTransX, SkScalarDotDiv(3, patchPtr, 1, mapPtr, 1, dot)); in patchToMatrix() 303 matrix->set(SkMatrix::kMTransY, SkScalarDotDiv(3, patchPtr, 1, mapPtr+3, 1, dot)); in patchToMatrix()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 179 void *mapPtr = NULL; in map() local 183 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map() 185 if(!mapPtr) in map() 195 return mapPtr; in map()
|
D | VertexDataManager.cpp | 282 void *mapPtr = nullptr; in map() local 287 mapPtr = (char*)mVertexBuffer->lock(sw::PRIVATE) + mWritePosition; in map() 293 return mapPtr; in map()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | IndexDataManager.cpp | 197 void *mapPtr = nullptr; in map() local 201 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map() 203 if(!mapPtr) in map() 213 return mapPtr; in map()
|
D | VertexDataManager.cpp | 288 void *mapPtr = nullptr; in map() local 293 mapPtr = (char*)mVertexBuffer->lock(sw::PRIVATE) + mWritePosition; in map() 299 return mapPtr; in map()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 193 void *mapPtr = NULL; in map() local 197 mapPtr = (char*)mIndexBuffer->lock(sw::PUBLIC) + mWritePosition; in map() 199 if(!mapPtr) in map() 209 return mapPtr; in map()
|
D | VertexDataManager.cpp | 297 void *mapPtr = nullptr; in map() local 302 mapPtr = (char*)mVertexBuffer->lock(sw::PRIVATE) + mWritePosition; in map() 308 return mapPtr; in map()
|
/external/icu/icu4c/source/test/intltest/ |
D | caltest.cpp | 3653 const GregoToLunar * mapPtr = gregoToLunar; // in "caltestdata.h" included above in TestChineseCalendarMapping() local 3656 for (; mapPtr->gyr != 0; mapPtr++) { in TestChineseCalendarMapping() 3658 calGregory->set(mapPtr->gyr, mapPtr->gmo - 1, mapPtr->gda, 8, 0); in TestChineseCalendarMapping() 3663 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping() 3673 mapPtr->gyr, mapPtr->gmo, mapPtr->gda, u_errorName(status)); in TestChineseCalendarMapping() 3676 if (yr != mapPtr->cyr || mo != mapPtr->cmo || lp != mapPtr->clp || da != mapPtr->cda) { in TestChineseCalendarMapping() 3678 …mapPtr->gyr, mapPtr->gmo, mapPtr->gda, mapPtr->cyr, mapPtr->cmo, mapPtr->clp, mapPtr->cda, yr, mo,… in TestChineseCalendarMapping() 3683 calChinese->set(UCAL_YEAR, mapPtr->cyr); in TestChineseCalendarMapping() 3684 calChinese->set(UCAL_MONTH, mapPtr->cmo - 1); in TestChineseCalendarMapping() 3685 calChinese->set(UCAL_IS_LEAP_MONTH, mapPtr->clp); in TestChineseCalendarMapping() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fIndirectComputeDispatchTests.cpp | 299 void* mapPtr = DE_NULL; in verifyResultBuffer() local 305 mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, resultBufferSize, GL_MAP_READ_BIT); in verifyResultBuffer() 308 TCU_CHECK(mapPtr); in verifyResultBuffer() 313 const deUint8* const srcPtr = (const deUint8*)mapPtr + cmdNdx*resultBlockSize; in verifyResultBuffer() 329 if (mapPtr) in verifyResultBuffer()
|
D | es31fOpaqueTypeIndexingTests.cpp | 1150 const void* mapPtr = DE_NULL; in iterate() local 1154 mapPtr = gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, m_numCounters*4, GL_MAP_READ_BIT); in iterate() 1156 TCU_CHECK(mapPtr); in iterate() 1157 std::copy((const deUint32*)mapPtr, (const deUint32*)mapPtr + m_numCounters, &counterValues[0]); in iterate() 1162 if (mapPtr) in iterate()
|
D | es31fTessellationGeometryInteractionTests.cpp | 2942 …const void* mapPtr = gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, (int)sizeof(feedbackVal… in iterate() local 2945 if (mapPtr == DE_NULL) in iterate() 2948 deMemcpy(feedbackValues, mapPtr, sizeof(feedbackValues)); in iterate()
|
D | es31fSSBOLayoutCase.cpp | 2638 …const void* mapPtr = gl.mapBufferRange(GL_ATOMIC_COUNTER_BUFFER, 0, acBufferInfo.dataSize, GL_MAP… in execute() local 2643 TCU_CHECK(mapPtr); in execute() 2645 resCount = *(const int*)((const deUint8*)mapPtr + acVarInfo.offset); in execute()
|
/external/skia/include/gpu/ |
D | GrBuffer.h | 77 void* mapPtr() const { return fMapPtr; } in mapPtr() function
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2844 void* mapPtr; in attemptBufferMap() local 2853 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, result.writtenSize, m_mapFlags); in attemptBufferMap() 2857 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, result.writtenSize, m_mapFlags); in attemptBufferMap() 2861 if (!mapPtr) in attemptBufferMap() 2869 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], result.writtenSize); in attemptBufferMap() 3064 void* mapPtr; in attemptBufferMap() local 3073 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, 0, mappedSize, m_mapFlags); in attemptBufferMap() 3077 mapPtr = gl.mapBufferRange(GL_ARRAY_BUFFER, bufferSize / 4, mappedSize, m_mapFlags); in attemptBufferMap() 3081 if (!mapPtr) in attemptBufferMap() 3090 result.duration.writeDuration = medianTimeMemcpy(mapPtr, &m_zeroData[0], result.writtenSize); in attemptBufferMap() [all …]
|
/external/deqp/modules/glshared/ |
D | glsBufferTestUtil.cpp | 397 const deUint8* mapPtr = DE_NULL; in verify() local 401 mapPtr = (const deUint8*)glMapBufferRange(target, offset, numBytes, GL_MAP_READ_BIT); in verify() 403 TCU_CHECK(mapPtr); in verify() 405 isOk = compareByteArrays(m_log, mapPtr, reference+offset, numBytes); in verify()
|
D | glsShaderExecUtil.cpp | 1033 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, inputBufferSize, GL_MAP_WRITE_BIT); in uploadInputBuffer() local 1035 TCU_CHECK(mapPtr); in uploadInputBuffer() 1045 copyToBuffer(varType, layout, numValues, inputPtrs[inputNdx], mapPtr); in uploadInputBuffer() 1068 void* mapPtr = gl.mapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, outputBufferSize, GL_MAP_READ_BIT); in readOutputBuffer() local 1070 TCU_CHECK(mapPtr); in readOutputBuffer() 1080 copyFromBuffer(varType, layout, numValues, mapPtr, outputPtrs[outputNdx]); in readOutputBuffer()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 481 void* mapPtr; in uploadTexDataLinear() local 482 err = GR_VK_CALL(interface, MapMemory(fDevice, alloc.fMemory, offset, size, 0, &mapPtr)); in uploadTexDataLinear() 490 char* dstRow = reinterpret_cast<char*>(mapPtr)+(height - 1)*layout.rowPitch; in uploadTexDataLinear() 497 SkRectMemcpy(mapPtr, static_cast<size_t>(layout.rowPitch), data, rowBytes, trimRowBytes, in uploadTexDataLinear() 972 void* mapPtr; in copy_testing_data() local 978 &mapPtr)); in copy_testing_data() 985 SkRectMemcpy(mapPtr, static_cast<size_t>(dstRowBytes), srcData, srcRowBytes, srcRowBytes, h); in copy_testing_data()
|
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 108 SkASSERT(buf->mapPtr() == fBufferPtr); in validate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 1770 const void* mapPtr = atomicOpBuffer.getHostPtr(); in iterate() local 1771 DE_ASSERT(mapPtr != DE_NULL); in iterate() 1773 std::copy((const deUint32*)mapPtr, (const deUint32*)mapPtr + numCounters, &counterValues[0]); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 1521 void* const mapPtr = bufferMemory->getHostPtr(); in createSourceBuffer() local 1525 deMemcpy((deUint8*)mapPtr + preGuardOffset, &preGuardValue, sizeof(float)); in createSourceBuffer() 1527 deMemcpy((deUint8*)mapPtr + offset, s_colors, sizeof(s_colors)); in createSourceBuffer() 1529 deMemcpy((deUint8*)mapPtr + postGuardOffset, &postGuardValue, sizeof(float)); in createSourceBuffer() 1530 …deMemset((deUint8*)mapPtr + offset + sizeof(s_colors), 0x5A, (size_t)bufferSize - (size_t)offset -… in createSourceBuffer() 1939 void* mapPtr = allocation->getHostPtr(); in createResultBuffer() local 1942 deMemcpy(((deUint8*)mapPtr) + offset, &clearValue, sizeof(float)); in createResultBuffer() 2382 void* mapPtr = allocation->getHostPtr(); in createColorDataBuffer() local 2385 deMemset(mapPtr, 0x5A, (size_t)offset); in createColorDataBuffer() 2386 deMemcpy((deUint8*)mapPtr + offset, value1.getPtr(), sizeof(tcu::Vec4)); in createColorDataBuffer() [all …]
|