Home
last modified time | relevance | path

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

/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/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
51 size_t sourcePos[ 4 ], destPos[ 4 ], regionSize[ 3 ]; in test_copy_image_size_3D_2D_array() local
92 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_3D_2D_array()
101 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
105destPos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->arraySi… in test_copy_image_size_3D_2D_array()
107 destPos[ 3 ] = twoImage_lod; in test_copy_image_size_3D_2D_array()
117 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array()
120 destPos[ 2 ] = 0 /*(size_t)random_in_range( 0, (int)depth_lod - 1, d )*/; in test_copy_image_size_3D_2D_array()
123 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_3D_2D_array()
130 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
50 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_3D() local
94 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = destPos[ 3 ] = 0; in test_copy_image_size_2D_3D()
102 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->depth - 1, d ); in test_copy_image_size_2D_3D()
105 destPos[ 2 ] = (size_t)random_in_range( 0, (int)depth_lod - 1, d ); in test_copy_image_size_2D_3D()
107 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_3D()
120 destPos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_3D()
126 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_3D()
179destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_3D()
180destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_3D()
[all …]
Dtest_copy_1D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D() local
45 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_1D()
53 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
57 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
75 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
82destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D()
86 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
Dtest_copy_2D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
54 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_2D_array() local
97 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = destPos[ 3 ] = 0; in test_copy_image_size_2D_2D_array()
105 destPos[ 2 ] = (size_t)random_in_range( 0, (int)dstImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
109 destPos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_2D_array()
121 destPos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_2D_array()
127 …opy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos, regionSize, d ); in test_copy_image_size_2D_2D_array()
177destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_2D_array()
178destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_2D_array()
179destPos[ 2 ] = ( dstImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( dstImageInfo->… in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_2D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_2D() local
50 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_2D()
58 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
63 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
84 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
94destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_2D()
95destPos[ 1 ] = ( height_lod > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( height_lod - … in test_copy_image_size_2D()
98 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
Dtest_copy_1D_array.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D_array() local
45 destPos[ 0 ] = destPos[ 1 ] = destPos[ 2 ] = 0; in test_copy_image_size_1D_array()
53 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
57 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
75 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
86destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D_array()
87destPos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( ima… in test_copy_image_size_1D_array()
91 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
Dtest_copy_generic.cpp294 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument
390 dst_lod = destPos[1]; in test_copy_image_generic()
394 dst_lod = destPos[2]; in test_copy_image_generic()
398 dst_lod = destPos[3]; in test_copy_image_generic()
452 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ],(int)destPos[ 3 ], in test_copy_image_generic()
458 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ], in test_copy_image_generic()
463 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic()
467 …[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ], (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPo… in test_copy_image_generic()
476 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic()
Dtest_copy_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
Dtest_copy_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
/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/llvm-project/mlir/lib/IR/
DRegion.cpp79 void Region::cloneInto(Region *dest, Region::iterator destPos, in cloneInto() argument
103 dest->getBlocks().insert(destPos, newBlock); in cloneInto()
117 for (iterator it(mapper.lookup(&front())); it != destPos; ++it) in cloneInto()
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java1325 abstract int write(int srcPos, byte[] code, int destPos, byte[] newcode) throws BadBytecode; in write() argument
1352 int write(int srcPos, byte[] code, int destPos, byte[] newcode) { in write() argument
1353 newcode[destPos] = LDC_W; in write()
1354 ByteArray.write16bit(index, newcode, destPos + 1); in write()
/external/guava/guava/src/com/google/common/net/
DInetAddresses.java1017 int destPos = numBytes - copyLength; in fromBigInteger() local
1030 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
/external/guava/android/guava/src/com/google/common/net/
DInetAddresses.java1022 int destPos = numBytes - copyLength; in fromBigInteger() local
1035 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3479 const size_t destPos[], const size_t regionSize[]) in copy_image_data() argument
3493 destPos_lod[0] = destPos[0]; in copy_image_data()
3494 destPos_lod[1] = destPos[1]; in copy_image_data()
3495 destPos_lod[2] = destPos[2]; in copy_image_data()
3560 dst_lod = destPos[1]; in copy_image_data()
3568 dst_lod = destPos[2]; in copy_image_data()
3569 destPos_lod[1] = destPos[1]; in copy_image_data()
3581 dst_lod = destPos[3]; in copy_image_data()
3582 destPos_lod[1] = destPos[1]; in copy_image_data()
3583 destPos_lod[2] = destPos[2]; in copy_image_data()
DimageHelpers.h179 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()
/external/llvm-project/mlir/include/mlir/IR/
DRegion.h215 void cloneInto(Region *dest, Region::iterator destPos,