Home
last modified time | relevance | path

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

/external/lzma/CPP/Common/
DUTFConvert.cpp12 size_t destPos = 0, srcPos = 0; in Utf8_To_Utf16() local
19 *destLen = destPos; in Utf8_To_Utf16()
27 dest[destPos] = (wchar_t)c; in Utf8_To_Utf16()
28 destPos++; in Utf8_To_Utf16()
54 dest[destPos] = (wchar_t)value; in Utf8_To_Utf16()
55 destPos++; in Utf8_To_Utf16()
64 dest[destPos + 0] = (wchar_t)(0xD800 + (value >> 10)); in Utf8_To_Utf16()
65 dest[destPos + 1] = (wchar_t)(0xDC00 + (value & 0x3FF)); in Utf8_To_Utf16()
67 destPos += 2; in Utf8_To_Utf16()
70 *destLen = destPos; in Utf8_To_Utf16()
[all …]
/external/lzma/C/
DLzma2Enc.c108 size_t destPos = 0; in Lzma2EncInt_EncodeSubblock() local
113 if (packSizeLimit - destPos < u + 3) in Lzma2EncInt_EncodeSubblock()
115 …outBuf[destPos++] = (Byte)(p->srcPos == 0 ? LZMA2_CONTROL_COPY_RESET_DIC : LZMA2_CONTROL_COPY_NO_R… in Lzma2EncInt_EncodeSubblock()
116 outBuf[destPos++] = (Byte)((u - 1) >> 8); in Lzma2EncInt_EncodeSubblock()
117 outBuf[destPos++] = (Byte)(u - 1); in Lzma2EncInt_EncodeSubblock()
118 memcpy(outBuf + destPos, LzmaEnc_GetCurBuf(p->enc) - unpackSize, u); in Lzma2EncInt_EncodeSubblock()
120 destPos += u; in Lzma2EncInt_EncodeSubblock()
124 *packSizeRes += destPos; in Lzma2EncInt_EncodeSubblock()
125 if (outStream->Write(outStream, outBuf, destPos) != destPos) in Lzma2EncInt_EncodeSubblock()
127 destPos = 0; in Lzma2EncInt_EncodeSubblock()
[all …]
/external/lzma/C/Util/7z/
D7zMain.c39 size_t destPos = 0, srcPos = 0; in Utf16_To_Utf8() local
46 *destLen = destPos; in Utf16_To_Utf8()
53 dest[destPos] = (char)value; in Utf16_To_Utf8()
54 destPos++; in Utf16_To_Utf8()
71 dest[destPos] = (char)(kUtf8Limits[numAdds - 1] + (value >> (6 * numAdds))); in Utf16_To_Utf8()
72 destPos++; in Utf16_To_Utf8()
77 dest[destPos] = (char)(0x80 + ((value >> (6 * numAdds)) & 0x3F)); in Utf16_To_Utf8()
78 destPos++; in Utf16_To_Utf8()
82 *destLen = destPos; in Utf16_To_Utf8()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DPlatform.java34 Object[] src, int srcPos, Object[] dest, int destPos, int length) { in unsafeArrayCopy() argument
36 dest[destPos + i] = src[srcPos + i]; in unsafeArrayCopy()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DPlatform.java66 Object[] src, int srcPos, Object[] dest, int destPos, int length) { in unsafeArrayCopy() argument
67 System.arraycopy(src, srcPos, dest, destPos, length); in unsafeArrayCopy()
/external/guava/guava/src/com/google/common/collect/
DPlatform.java52 Object[] src, int srcPos, Object[] dest, int destPos, int length) { in unsafeArrayCopy() argument
53 System.arraycopy(src, srcPos, dest, destPos, length); in unsafeArrayCopy()
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java1302 abstract int write(int srcPos, byte[] code, int destPos, byte[] newcode); in write() argument
1327 int write(int srcPos, byte[] code, int destPos, byte[] newcode) { in write() argument
1328 newcode[destPos] = LDC_W; in write()
1329 ByteArray.write16bit(index, newcode, destPos + 1); in write()