Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/vectors/
Dtype_replacer.cpp27 char* destPtr = dest; in doReplace() local
50 strncpy(destPtr, sourcePtr, nJump); in doReplace()
51 destPtr += nJump; in doReplace()
53 strcpy(destPtr, replaceWith1); in doReplace()
54 destPtr += lenReplace1; in doReplace()
64 strncpy(destPtr, sourcePtr, nJump); in doReplace()
65 destPtr += nJump; in doReplace()
67 strcpy(destPtr, replaceWith2); in doReplace()
68 destPtr += lenReplace2; in doReplace()
78 strcpy(destPtr, sourcePtr); in doReplace()
[all …]
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp233 char *destPtr = (char *)imageValues + origin[ 2 ] * imageInfo->slicePitch in fill_region_with_value() local
241 char *rowDestPtr = destPtr; in fill_region_with_value()
251 destPtr += imageInfo->slicePitch; in fill_region_with_value()
429 char *destPtr = (char*)mapped; in test_fill_image_generic() local
475 ((cl_uint*)destPtr)[w] &= 0x3FFFFFFF; in test_fill_image_generic()
479 if (memcmp( sourcePtr, destPtr, scanlineSize ) != 0) in test_fill_image_generic()
485 … if ( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_fill_image_generic()
490 destPtr + pixel_size * where, imageInfo, y, thirdDim); in test_fill_image_generic()
497 destPtr += mappedSlice; in test_fill_image_generic()
499 destPtr += mappedRow; in test_fill_image_generic()
[all …]
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_2D.cpp124 char *destPtr = resultValues; in test_read_image_2D() local
128 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D()
139 uint32_t *d = (uint32_t *)destPtr; in test_read_image_2D()
151 …d_vector_in_image( (char*)imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_2D()
156 …emcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_size( … in test_read_image_2D()
168 destPtr += scanlineSize; in test_read_image_2D()
Dtest_read_1D_array.cpp125 char *destPtr = resultValues; in test_read_image_1D_array() local
129 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D_array()
136 uint32_t *d = (uint32_t *)destPtr; in test_read_image_1D_array()
148 …bug_find_vector_in_image( imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_1D_array()
153 …emcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_size( … in test_read_image_1D_array()
165 destPtr += scanlineSize; in test_read_image_1D_array()
Dtest_read_1D.cpp124 char *destPtr = resultValues; in test_read_image_1D() local
126 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_1D()
133 uint32_t *d = (uint32_t *)destPtr; in test_read_image_1D()
145 …d_vector_in_image( (char*)imageValues + imgValMipLevelOffset, imageInfo, destPtr + offset, get_pix… in test_read_image_1D()
150 …if( memcmp( sourcePtr + returnedOffset * get_pixel_size( imageInfo->format ), destPtr, get_pixel_s… in test_read_image_1D()
Dtest_read_2D_array.cpp128 char *destPtr = resultValues; in test_read_image_2D_array() local
134 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_2D_array()
140 destPtr += scanlineSize; in test_read_image_2D_array()
143 destPtr += pageSize - scanlineSize * height_lod; in test_read_image_2D_array()
Dtest_read_3D.cpp129 char *destPtr = resultValues; in test_read_image_3D() local
135 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_read_image_3D()
145 destPtr += scanlineSize; in test_read_image_3D()
148 destPtr += pageSize - scanlineSize * height_lod; in test_read_image_3D()
/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…
1443 void InputAssemblyInstance::uploadIndexBufferData16 (deUint16* destPtr, const std::vector<deUint32>… in uploadIndexBufferData16() argument
1448 destPtr[i] = (deUint16)indexBufferData[i]; in uploadIndexBufferData16()
1452 void InputAssemblyInstance::uploadIndexBufferData8 (deUint8* destPtr, const std::vector<deUint32>& … in uploadIndexBufferData8() argument
1457 destPtr[i] = (deUint8)indexBufferData[i]; in uploadIndexBufferData8()
DvktPipelineImageUtil.hpp182 virtual void write (deUint8* destPtr) const;
DvktPipelineImageUtil.cpp896 void TestTexture::write (deUint8* destPtr) const in write()
915 deMemcpy(destPtr + levelOffset, compressedTex.getData(), compressedTex.getDataSize()); in write()
931 …tAccess (srcAccess.getFormat(), srcAccess.getSize(), srcAccess.getPitch(), destPtr + levelOffset); in write()
/external/webrtc/common_audio/signal_processing/
Dcopy_set_operations.c56 int16_t* destPtr = dest; in WebRtcSpl_MemCpyReversedOrder() local
61 *destPtr-- = *sourcePtr++; in WebRtcSpl_MemCpyReversedOrder()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_generic.cpp494 char *destPtr = (char*)mapped; in test_copy_image_generic() local
548 if( memcmp( sourcePtr, destPtr, scanlineSize ) != 0 ) in test_copy_image_generic()
554 … if( memcmp( sourcePtr + pixel_size * where, destPtr + pixel_size * where, pixel_size) ) in test_copy_image_generic()
559 destPtr + pixel_size * where, dstImageInfo, y, in test_copy_image_generic()
565 destPtr += mappedSlice; in test_copy_image_generic()
567 destPtr += mappedRow; in test_copy_image_generic()
570 destPtr += mappedSlice - mappedRow * dst_height_lod; in test_copy_image_generic()
/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.cpp400 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in readUsingBuffer() local
401 deMemcpy(data, destPtr, static_cast<size_t>(bufferSize)); in readUsingBuffer()
724 deUint8* destPtr = reinterpret_cast<deUint8*>(stagingResource->getBoundMemory().getHostPtr()); in uploadUsingBuffer() local
725 deMemcpy(destPtr, data, static_cast<size_t>(bufferSize)); in uploadUsingBuffer()
795 deUint8* destPtr = reinterpret_cast<deUint8*>(getBoundMemory().getHostPtr()); in uploadLinear() local
796 destPtr += imageLayout.offset; in uploadLinear()
797 destPtr += offset.z * imageLayout.depthPitch; in uploadLinear()
798 destPtr += offset.y * imageLayout.rowPitch; in uploadLinear()
799 destPtr += offset.x; in uploadLinear()
802 imageLayout.rowPitch, imageLayout.depthPitch, data, destPtr); in uploadLinear()
/external/icu/icu4c/source/common/
Drbbitblb.cpp1049 void **destPtr, **sourcePtr; in setAdd() local
1057 destPtr = destArray.getAlias(); in setAdd()
1058 destLim = destPtr + destOriginalSize; // destArray.getArrayLimit()? in setAdd()
1069 (void) dest->toArray(destPtr); in setAdd()
1074 while (sourcePtr < sourceLim && destPtr < destLim) { in setAdd()
1075 if (*destPtr == *sourcePtr) { in setAdd()
1077 destPtr++; in setAdd()
1081 else if (uprv_memcmp(destPtr, sourcePtr, sizeof(void *)) < 0) { in setAdd()
1082 dest->setElementAt(*destPtr++, di++); in setAdd()
1090 while (destPtr < destLim) { in setAdd()
[all …]
Dutext.cpp750 static void adjustPointer(UText *dest, const void **destPtr, const UText *src) { in adjustPointer() argument
752 char *dptr = (char *)*destPtr; in adjustPointer()
759 *destPtr = ((char *)dest->pExtra) + (dptr - (char *)src->pExtra); in adjustPointer()
763 *destPtr = dUText + (dptr-sUText); in adjustPointer()
/external/skia/src/gpu/d3d/
DGrD3DResourceProvider.cpp273 char* destPtr = static_cast<char*>(slice.fBuffer->map()) + slice.fOffset; in uploadConstantData() local
274 memcpy(destPtr, data, size); in uploadConstantData()
/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.cpp144 void SetTriangleFanIndices(GLuint *destPtr, size_t numTris) in SetTriangleFanIndices() argument
148 destPtr[i * 3 + 0] = 0; in SetTriangleFanIndices()
149 destPtr[i * 3 + 1] = static_cast<GLuint>(i) + 1; in SetTriangleFanIndices()
150 destPtr[i * 3 + 2] = static_cast<GLuint>(i) + 2; in SetTriangleFanIndices()
214 void CopyTriangleFanIndices(const void *indices, GLuint *destPtr, size_t numTris) in CopyTriangleFanIndices() argument
220 destPtr[i * 3 + 0] = static_cast<GLuint>(srcPtr[0]); in CopyTriangleFanIndices()
221 destPtr[i * 3 + 1] = static_cast<GLuint>(srcPtr[i + 1]); in CopyTriangleFanIndices()
222 destPtr[i * 3 + 2] = static_cast<GLuint>(srcPtr[i + 2]); in CopyTriangleFanIndices()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1029 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadImage() local
1040 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), destPtr + layerDat… in uploadImage()
1301 deUint8* destPtr = (deUint8*)bufferAlloc->getHostPtr(); in uploadSparseImage() local
1312 …const tcu::PixelBufferAccess destAccess (access.getFormat(), access.getSize(), destPtr + layerDat… in uploadSparseImage()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp1771 Address destPtr = EnsureSlot(E->getType()).getAddress(); in VisitArrayInitLoopExpr() local
1780 llvm::Value *begin = Builder.CreateInBoundsGEP(destPtr.getPointer(), indices, in VisitArrayInitLoopExpr()
1793 destPtr.getAlignment().alignmentOfArrayElement(elementSize); in VisitArrayInitLoopExpr()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9865 char* destPtr = reinterpret_cast<char*>(address); in NativeCrypto_ENGINE_SSL_read_direct() local
9870 destPtr, length, shc); in NativeCrypto_ENGINE_SSL_read_direct()
9893 int result = SSL_read(ssl, destPtr, length); in NativeCrypto_ENGINE_SSL_read_direct()
9950 ssl, destPtr, length, shc, result); in NativeCrypto_ENGINE_SSL_read_direct()
10028 char* destPtr = reinterpret_cast<char*>(address); in NativeCrypto_ENGINE_SSL_read_BIO_direct() local
10029 if (destPtr == nullptr) { in NativeCrypto_ENGINE_SSL_read_BIO_direct()
10050 int result = BIO_read(bio, destPtr, outputSize); in NativeCrypto_ENGINE_SSL_read_BIO_direct()
10055 ssl, bio, destPtr, outputSize, shc, result); in NativeCrypto_ENGINE_SSL_read_BIO_direct()
10056 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.cpp3607 char *destPtr = (char *)destImageValues in copy_image_data() local
3615 char *rowDestPtr = destPtr; in copy_image_data()
3624 destPtr += dst_slice_pitch_lod; in copy_image_data()