/external/lzma/CPP/Common/ |
D | UTFConvert.cpp | 77 { 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/ |
D | test_copy_3D_2D_array.cpp | 20 … 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() 105 …destPos[ 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 …]
|
D | test_copy_2D_3D.cpp | 20 … 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() 179 …destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_3D() 180 …destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_3D() [all …]
|
D | test_copy_2D_2D_array.cpp | 20 … 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() 177 …destPos[ 0 ] = ( dstImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( dstI… in test_copy_image_size_2D_2D_array() 178 …destPos[ 1 ] = ( dstImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( dst… in test_copy_image_size_2D_2D_array() 179 …destPos[ 2 ] = ( dstImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( dstImageInfo->… in test_copy_image_size_2D_2D_array() [all …]
|
D | test_copy_1D.cpp | 19 … 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() 82 …destPos[ 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()
|
D | test_copy_2D.cpp | 19 … 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() 94 …destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_2D() 95 …destPos[ 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()
|
D | test_copy_1D_array.cpp | 19 … 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() 86 …destPos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - re… in test_copy_image_size_1D_array() 87 …destPos[ 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()
|
D | test_copy_generic.cpp | 299 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument 395 dst_lod = destPos[1]; in test_copy_image_generic() 399 dst_lod = destPos[2]; in test_copy_image_generic() 403 dst_lod = destPos[3]; in test_copy_image_generic() 457 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ],(int)destPos[ 3 ], in test_copy_image_generic() 463 (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPos[ 2 ], in test_copy_image_generic() 468 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic() 472 …[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ], (int)destPos[ 0 ], (int)destPos[ 1 ], (int)destPo… in test_copy_image_generic() 481 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic()
|
D | test_copy_3D.cpp | 20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
|
D | test_copy_2D_array.cpp | 20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
|
/external/lzma/C/ |
D | Lzma2Enc.c | 165 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/javassist/src/main/javassist/bytecode/ |
D | CodeIterator.java | 1325 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/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3522 const size_t destPos[], const size_t regionSize[]) in copy_image_data() argument 3536 destPos_lod[0] = destPos[0]; in copy_image_data() 3537 destPos_lod[1] = destPos[1]; in copy_image_data() 3538 destPos_lod[2] = destPos[2]; in copy_image_data() 3603 dst_lod = destPos[1]; in copy_image_data() 3611 dst_lod = destPos[2]; in copy_image_data() 3612 destPos_lod[1] = destPos[1]; in copy_image_data() 3624 dst_lod = destPos[3]; in copy_image_data() 3625 destPos_lod[1] = destPos[1]; in copy_image_data() 3626 destPos_lod[2] = destPos[2]; in copy_image_data()
|
D | imageHelpers.h | 182 const size_t destPos[], const size_t regionSize[]);
|
/external/guava/android/guava/src/com/google/common/net/ |
D | InetAddresses.java | 1047 int destPos = numBytes - copyLength; in fromBigInteger() local 1060 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
|
/external/guava/guava/src/com/google/common/net/ |
D | InetAddresses.java | 1047 int destPos = numBytes - copyLength; in fromBigInteger() local 1060 System.arraycopy(addressBytes, srcPos, targetCopyArray, destPos, copyLength); in fromBigInteger()
|
/external/sonic/ |
D | Sonic.java | 64 int destPos, in move() argument 70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; in move()
|