Home
last modified time | relevance | path

Searched refs:destPtr (Results 1 – 24 of 24) sorted by relevance

/external/OpenCL-CTS/test_conformance/vec_step/
Dtype_replacer.cpp27 char * destPtr = dest; in doReplace() local
46 strncpy(destPtr, sourcePtr, nJump); in doReplace()
47 destPtr += nJump; in doReplace()
49 strcpy(destPtr, replaceWith1); in doReplace()
50 destPtr += lenReplace1; in doReplace()
57 strncpy(destPtr, sourcePtr, nJump); in doReplace()
58 destPtr += nJump; in doReplace()
60 strcpy(destPtr, replaceWith2); in doReplace()
61 destPtr += lenReplace2; in doReplace()
68 strcpy(destPtr, sourcePtr); in doReplace()
[all …]
/external/OpenCL-CTS/test_conformance/vec_align/
Dtype_replacer.cpp27 char * destPtr = dest; in doReplace() local
46 strncpy(destPtr, sourcePtr, nJump); in doReplace()
47 destPtr += nJump; in doReplace()
49 strcpy(destPtr, replaceWith1); in doReplace()
50 destPtr += lenReplace1; in doReplace()
57 strncpy(destPtr, sourcePtr, nJump); in doReplace()
58 destPtr += nJump; in doReplace()
60 strcpy(destPtr, replaceWith2); in doReplace()
61 destPtr += lenReplace2; in doReplace()
68 strcpy(destPtr, sourcePtr); in doReplace()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp243 char *destPtr = (char *)imageValues + origin[ 2 ] * imageInfo->slicePitch in fill_region_with_value() local
251 char *rowDestPtr = destPtr; in fill_region_with_value()
261 destPtr += imageInfo->slicePitch; in fill_region_with_value()
439 char *destPtr = (char*)mapped; in test_fill_image_generic() local
485 ((cl_uint*)destPtr)[w] &= 0x3FFFFFFF; in test_fill_image_generic()
489 if (memcmp( sourcePtr, destPtr, scanlineSize ) != 0) in test_fill_image_generic()
497 … if ( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_fill_image_generic()
503 …%2.2x\n", ((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*)(destPtr + pixel_size * wh… in test_fill_image_generic()
506 ….4x\n", ((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushort*)(destPtr + pixel_size * wh… in test_fill_image_generic()
511 …((cl_uchar*)(destPtr + pixel_size * where))[0], ((cl_uchar*)(destPtr + pixel_size * where))[1], ((… in test_fill_image_generic()
[all …]
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_generic.cpp515 char *destPtr = (char*)mapped; in test_copy_image_generic() local
569 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_copy_image_generic()
577 … if( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_copy_image_generic()
583 …%2.2x\n", ((cl_uchar*)(sourcePtr + pixel_size * where))[0], ((cl_uchar*)(destPtr + pixel_size * wh… in test_copy_image_generic()
586 ….4x\n", ((cl_ushort*)(sourcePtr + pixel_size * where))[0], ((cl_ushort*)(destPtr + pixel_size * wh… in test_copy_image_generic()
591 …((cl_uchar*)(destPtr + pixel_size * where))[0], ((cl_uchar*)(destPtr + pixel_size * where))[1], ((… in test_copy_image_generic()
595 …0x%8.8x\n", ((cl_uint*)(sourcePtr + pixel_size * where))[0], ((cl_uint*)(destPtr + pixel_size * wh… in test_copy_image_generic()
600 …((cl_ushort*)(destPtr + pixel_size * where))[0], ((cl_ushort*)(destPtr + pixel_size * where))[1], … in test_copy_image_generic()
604 …16llx\n", ((cl_ulong*)(sourcePtr + pixel_size * where))[0], ((cl_ulong*)(destPtr + pixel_size * wh… in test_copy_image_generic()
609 …((cl_uint*)(destPtr + pixel_size * where))[0], ((cl_uint*)(destPtr + pixel_size * where))[1], ((cl… in test_copy_image_generic()
[all …]
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_2D.cpp128 char *destPtr = resultValues; in test_read_image_2D() local
132 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D()
143 uint32_t *d = (uint32_t *)destPtr; in test_read_image_2D()
155 …d_vector_in_image( (char*)imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_2D()
160 …emcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_size( … in test_read_image_2D()
172 destPtr += scanlineSize; in test_read_image_2D()
Dtest_read_1D_array.cpp129 char *destPtr = resultValues; in test_read_image_1D_array() local
133 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D_array()
140 uint32_t *d = (uint32_t *)destPtr; in test_read_image_1D_array()
152 …bug_find_vector_in_image( imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_1D_array()
157 …emcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_size( … in test_read_image_1D_array()
169 destPtr += scanlineSize; in test_read_image_1D_array()
Dtest_read_1D.cpp128 char *destPtr = resultValues; in test_read_image_1D() local
130 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D()
137 uint32_t *d = (uint32_t *)destPtr; in test_read_image_1D()
149 …d_vector_in_image( (char*)imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_1D()
154 …if( memcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_s… in test_read_image_1D()
Dtest_read_3D.cpp131 char *destPtr = resultValues; in test_read_image_3D() local
137 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_3D()
147 destPtr += scanlineSize; in test_read_image_3D()
150 destPtr += pageSize - scanlineSize * height_lod; in test_read_image_3D()
Dtest_read_2D_array.cpp130 char *destPtr = resultValues; in test_read_image_2D_array() local
136 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D_array()
142 destPtr += scanlineSize; in test_read_image_2D_array()
145 destPtr += pageSize - scanlineSize * height_lod; in test_read_image_2D_array()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp249 …static void writeVertexInputData (deUint8* destPtr, const VkVertexInputBindingDescription&…
250 …static void writeVertexInputValue (deUint8* destPtr, const VertexInputAttributeDescription…
1356 void VertexInputInstance::writeVertexInputData(deUint8* destPtr, const VkVertexInputBindingDescript… in writeVertexInputData() argument
1360 deUint8* destOffsetPtr = ((deUint8 *)destPtr) + bindingOffset; in writeVertexInputData()
1377 void writeVertexInputValueSint (deUint8* destPtr, VkFormat format, int componentNdx, deInt32 value) in writeVertexInputValueSint() argument
1380 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueSint()
1401 void writeVertexInputValueIntPacked(deUint8* destPtr, deUint32& packedFormat, deUint32& componentOf… in writeVertexInputValueIntPacked() argument
1411 *((deUint32*)destPtr) = (deUint32)packedFormat; in writeVertexInputValueIntPacked()
1414 void writeVertexInputValueUint (deUint8* destPtr, VkFormat format, int componentNdx, deUint32 value) in writeVertexInputValueUint() argument
1417 deUint8* destFormatPtr = ((deUint8*)destPtr) + componentSize * componentNdx; in writeVertexInputValueUint()
[all …]
DvktPipelineInputAssemblyTests.cpp154 …void uploadIndexBufferData16 (deUint16* destPtr, const std::vector<deUint32>& indexBufferDa…
155 …void uploadIndexBufferData8 (deUint8* destPtr, const std::vector<deUint32>& indexBufferData…
1436 void InputAssemblyInstance::uploadIndexBufferData16 (deUint16* destPtr, const std::vector<deUint32>… in uploadIndexBufferData16() argument
1441 destPtr[i] = (deUint16)indexBufferData[i]; in uploadIndexBufferData16()
1445 void InputAssemblyInstance::uploadIndexBufferData8 (deUint8* destPtr, const std::vector<deUint32>& … in uploadIndexBufferData8() argument
1450 destPtr[i] = (deUint8)indexBufferData[i]; in uploadIndexBufferData8()
DvktPipelineImageUtil.hpp179 virtual void write (deUint8* destPtr) const;
DvktPipelineImageUtil.cpp882 void TestTexture::write (deUint8* destPtr) const in write()
901 deMemcpy(destPtr + levelOffset, compressedTex.getData(), compressedTex.getDataSize()); in write()
917 …tAccess (srcAccess.getFormat(), srcAccess.getSize(), srcAccess.getPitch(), destPtr + levelOffset); in write()
/external/webrtc/webrtc/common_audio/signal_processing/
Dcopy_set_operations.c56 int16_t* destPtr = dest; in WebRtcSpl_MemCpyReversedOrder() local
61 *destPtr-- = *sourcePtr++; in WebRtcSpl_MemCpyReversedOrder()
/external/angle/src/tests/perf_tests/
DBufferSubData.cpp104 T *destPtr = reinterpret_cast<T *>(data->data()); in GetNormalizedData() local
109 destPtr[dataIndex] = in GetNormalizedData()
122 T *destPtr = reinterpret_cast<T *>(data->data()); in GetIntData() local
126 destPtr[dataIndex] = static_cast<T>(floatData[dataIndex]); in GetIntData()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp378 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in readUsingBuffer() local
379 deMemcpy(data, destPtr, static_cast<size_t>(bufferSize)); in readUsingBuffer()
692 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in uploadUsingBuffer() local
693 deMemcpy(destPtr, data, static_cast<size_t>(bufferSize)); in uploadUsingBuffer()
763 deUint8* destPtr = reinterpret_cast<deUint8*>(getBoundMemory().getHostPtr()); in uploadLinear() local
764 destPtr += imageLayout.offset; in uploadLinear()
765 destPtr += offset.z * imageLayout.depthPitch; in uploadLinear()
766 destPtr += offset.y * imageLayout.rowPitch; in uploadLinear()
767 destPtr += offset.x; in uploadLinear()
770 imageLayout.rowPitch, imageLayout.depthPitch, data, destPtr); in uploadLinear()
/external/icu/icu4c/source/common/
Drbbitblb.cpp983 void **destPtr, **sourcePtr; in setAdd() local
991 destPtr = destArray.getAlias(); in setAdd()
992 destLim = destPtr + destOriginalSize; // destArray.getArrayLimit()? in setAdd()
1003 (void) dest->toArray(destPtr); in setAdd()
1008 while (sourcePtr < sourceLim && destPtr < destLim) { in setAdd()
1009 if (*destPtr == *sourcePtr) { in setAdd()
1011 destPtr++; in setAdd()
1015 else if (uprv_memcmp(destPtr, sourcePtr, sizeof(void *)) < 0) { in setAdd()
1016 dest->setElementAt(*destPtr++, di++); in setAdd()
1024 while (destPtr < destLim) { in setAdd()
[all …]
Dutext.cpp748 static void adjustPointer(UText *dest, const void **destPtr, const UText *src) { in adjustPointer() argument
750 char *dptr = (char *)*destPtr; in adjustPointer()
757 *destPtr = ((char *)dest->pExtra) + (dptr - (char *)src->pExtra); in adjustPointer()
761 *destPtr = dUText + (dptr-sUText); in adjustPointer()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyAssetManager.java925 public static void copyTheme(int destPtr, int sourcePtr) { in copyTheme() argument
926 copyTheme((long) destPtr, (long) sourcePtr); in copyTheme()
930 public static void copyTheme(long destPtr, long sourcePtr) { in copyTheme() argument
931 NativeTheme destNativeTheme = getNativeTheme(destPtr); in copyTheme()
937 protected static void nativeThemeCopy(long destPtr, long sourcePtr) { in nativeThemeCopy() argument
938 copyTheme(destPtr, sourcePtr); in nativeThemeCopy()
DShadowArscAssetManager.java1010 public static void copyTheme(int destPtr, int sourcePtr) { in copyTheme() argument
1011 copyTheme((long) destPtr, (long) sourcePtr); in copyTheme()
1015 public static void copyTheme(long destPtr, long sourcePtr) { in copyTheme() argument
1016 ResTableTheme dest = Registries.NATIVE_THEME_REGISTRY.getNativeObject(destPtr); in copyTheme()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp139 void SetTriangleFanIndices(GLuint *destPtr, size_t numTris) in SetTriangleFanIndices() argument
143 destPtr[i * 3 + 0] = 0; in SetTriangleFanIndices()
144 destPtr[i * 3 + 1] = static_cast<GLuint>(i) + 1; in SetTriangleFanIndices()
145 destPtr[i * 3 + 2] = static_cast<GLuint>(i) + 2; in SetTriangleFanIndices()
209 void CopyTriangleFanIndices(const void *indices, GLuint *destPtr, size_t numTris) in CopyTriangleFanIndices() argument
215 destPtr[i * 3 + 0] = static_cast<GLuint>(srcPtr[0]); in CopyTriangleFanIndices()
216 destPtr[i * 3 + 1] = static_cast<GLuint>(srcPtr[i + 1]); in CopyTriangleFanIndices()
217 destPtr[i * 3 + 2] = static_cast<GLuint>(srcPtr[i + 2]); in CopyTriangleFanIndices()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1013 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadImage() local
1024 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), destPtr + layerDat… in uploadImage()
1285 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadSparseImage() local
1296 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), destPtr + layerDat… in uploadSparseImage()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9478 char* destPtr = reinterpret_cast<char*>(address); in NativeCrypto_ENGINE_SSL_read_direct() local
9483 destPtr, length, shc); in NativeCrypto_ENGINE_SSL_read_direct()
9506 int result = SSL_read(ssl, destPtr, length); in NativeCrypto_ENGINE_SSL_read_direct()
9563 ssl, destPtr, length, shc, result); in NativeCrypto_ENGINE_SSL_read_direct()
9708 char* destPtr = reinterpret_cast<char*>(address); in NativeCrypto_ENGINE_SSL_read_BIO_direct() local
9709 if (destPtr == nullptr) { in NativeCrypto_ENGINE_SSL_read_BIO_direct()
9730 int result = BIO_read(bio, destPtr, outputSize); in NativeCrypto_ENGINE_SSL_read_BIO_direct()
9735 ssl, bio, destPtr, outputSize, shc, result); in NativeCrypto_ENGINE_SSL_read_BIO_direct()
9736 JNI_TRACE_PACKET_DATA(ssl, 'I', destPtr, static_cast<size_t>(result)); in NativeCrypto_ENGINE_SSL_read_BIO_direct()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3532 …char *destPtr = (char *)destImageValues + destPos_lod[ 2 ] * dst_slice_pitch_lod + destPos_lod[ 1 … in copy_image_data() local
3537 char *rowDestPtr = destPtr; in copy_image_data()
3546 destPtr += dst_slice_pitch_lod; in copy_image_data()