Home
last modified time | relevance | path

Searched refs:destPos (Results 1 – 14 of 14) sorted by relevance

/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_generic.cpp285 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument
411 dst_lod = destPos[1]; in test_copy_image_generic()
415 dst_lod = destPos[2]; in test_copy_image_generic()
419 dst_lod = destPos[3]; in test_copy_image_generic()
473 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ],(int)destPos[ 3 ], in test_copy_image_generic()
479 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ], in test_copy_image_generic()
484 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic()
488 …[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ], (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPo… in test_copy_image_generic()
497 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic()
648 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_generic() local
[all …]
Dtest_copy_3D_2D_array.cpp28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
59 size_t sourcePos[ 4 ], destPos[ 4 ], regionSize[ 3 ]; in test_copy_image_size_3D_2D_array() local
100 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_3D_2D_array()
109 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
113destPos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->arraySi… in test_copy_image_size_3D_2D_array()
115 destPos[ 3 ] = twoImage_lod; in test_copy_image_size_3D_2D_array()
125 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array()
128 destPos[ 2 ] = 0 /*(size_t)random_in_range( 0, (int)depth_lod - 1, d )*/; in test_copy_image_size_3D_2D_array()
131 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_3D_2D_array()
138 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_3D.cpp28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
58 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_3D() local
102 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = destPos[ 3 ] = 0; in test_copy_image_size_2D_3D()
110 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_2D_3D()
113 destPos[ 2 ] = (size_t)random_in_range( 0, (int)depth_lod - 1, d ); in test_copy_image_size_2D_3D()
115 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_3D()
128 destPos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_3D()
134 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_3D()
187destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_3D()
188destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_3D()
[all …]
Dtest_copy_2D_2D_array.cpp28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
62 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_2D_array() local
105 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = destPos[ 3 ] = 0; in test_copy_image_size_2D_2D_array()
113 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
117 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_2D_array()
129 destPos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_2D_array()
135 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_2D_array()
185destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_2D_array()
186destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_2D_array()
187destPos[ 2 ] = ( dstImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( dstImageInfo->… in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_1D_array.cpp27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D_array() local
53 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_1D_array()
61 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
65 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
83 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
94destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D_array()
95destPos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( ima… in test_copy_image_size_1D_array()
99 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
Dtest_copy_2D.cpp27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_2D() local
58 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_2D()
66 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
71 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
92 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
102destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_2D()
103destPos[ 1 ] = ( height_lod > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( height_lod - … in test_copy_image_size_2D()
106 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
Dtest_copy_1D.cpp27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D() local
53 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_1D()
61 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
65 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
83 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
90destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D()
94 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
Dtest_copy_3D.cpp27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
Dtest_copy_2D_array.cpp27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
/external/lzma/CPP/Common/
DUTFConvert.cpp77 { if (dest) dest[destPos] = (wchar_t)0xFFFD; destPos++; ok = false; continue; }
81 size_t destPos = 0; in Utf8_To_Utf16() local
89 *destLen = destPos; in Utf8_To_Utf16()
97 dest[destPos] = (wchar_t)c; in Utf8_To_Utf16()
98 destPos++; in Utf8_To_Utf16()
131 dest[destPos] = (wchar_t)val; in Utf8_To_Utf16()
132 destPos++; in Utf8_To_Utf16()
141 dest[destPos + 0] = (wchar_t)(0xD800 + (val >> 10)); in Utf8_To_Utf16()
142 dest[destPos + 1] = (wchar_t)(0xDC00 + (val & 0x3FF)); in Utf8_To_Utf16()
144 destPos += 2; in Utf8_To_Utf16()
/external/lzma/C/
DLzma2Enc.c165 size_t destPos = 0; in Lzma2EncInt_EncodeSubblock() local
171 if (packSizeLimit - destPos < u + 3) in Lzma2EncInt_EncodeSubblock()
173 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
174 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
175 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
176 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
178 destPos += u; in Lzma2EncInt_EncodeSubblock()
183 *packSizeRes += destPos; in Lzma2EncInt_EncodeSubblock()
184 if (ISeqOutStream_Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
186 destPos = 0; in Lzma2EncInt_EncodeSubblock()
[all …]
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3431 const size_t sourcePos[], const size_t destPos[], const size_t regionSize[] ) in copy_image_data() argument
3445 destPos_lod[0] = destPos[0]; in copy_image_data()
3446 destPos_lod[1] = destPos[1]; in copy_image_data()
3447 destPos_lod[2] = destPos[2]; in copy_image_data()
3500 dst_lod = destPos[1]; in copy_image_data()
3506 dst_lod = destPos[2]; in copy_image_data()
3507 destPos_lod[1] = destPos[1]; in copy_image_data()
3515 dst_lod = destPos[3]; in copy_image_data()
3516 destPos_lod[1] = destPos[1]; in copy_image_data()
3517 destPos_lod[2] = destPos[2]; in copy_image_data()
DimageHelpers.h142 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[] );
/external/sonic/
DSonic.java64 int destPos, in move() argument
70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; in move()