Home
last modified time | relevance | path

Searched refs:srcLim (Results 1 – 6 of 6) sorted by relevance

/external/lzma/C/
DBcj2Enc.c105 const Byte *srcLim; in Bcj2Enc_Encode_2() local
107 SizeT num = p->srcLim - src; in Bcj2Enc_Encode_2()
129 srcLim = src + num; in Bcj2Enc_Encode_2()
142 if (++src != srcLim) in Bcj2Enc_Encode_2()
147 if (++src == srcLim) in Bcj2Enc_Encode_2()
157 if (src == srcLim) in Bcj2Enc_Encode_2()
176 if ((SizeT)(p->srcLim - src) >= 4) in Bcj2Enc_Encode_2()
246 PRF(printf("---- ip = %8d tempPos = %8d src = %8d\n", p->ip, p->tempPos, p->srcLim - p->src)); in Bcj2Enc_Encode()
255 const Byte *srcLim = p->srcLim; in Bcj2Enc_Encode() local
259 p->srcLim = p->temp + p->tempPos; in Bcj2Enc_Encode()
[all …]
DBcj2.c124 const Byte *srcLim; in Bcj2Dec_Decode() local
145 srcLim = src + num; in Bcj2Dec_Decode()
158 if (++src != srcLim) in Bcj2Dec_Decode()
163 if (++src == srcLim) in Bcj2Dec_Decode()
173 if (src == srcLim) in Bcj2Dec_Decode()
DBcj2.h99 const Byte *srcLim; member
134 #define Bcj2Enc_Get_InputData_Size(p) ((SizeT)((p)->srcLim - (p)->src) + (p)->tempPos)
/external/lzma/CPP/Common/
DUTFConvert.cpp79 static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const char *srcLim) thro… in Utf8_To_Utf16() argument
87 if (src == srcLim) in Utf8_To_Utf16()
114 if (src == srcLim) in Utf8_To_Utf16()
154 static size_t Utf16_To_Utf8_Calc(const wchar_t *src, const wchar_t *srcLim) in Utf16_To_Utf8_Calc() argument
156 size_t size = srcLim - src; in Utf16_To_Utf8_Calc()
159 if (src == srcLim) in Utf16_To_Utf8_Calc()
173 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8_Calc()
200 static char *Utf16_To_Utf8(char *dest, const wchar_t *src, const wchar_t *srcLim) in Utf16_To_Utf8() argument
204 if (src == srcLim) in Utf16_To_Utf8()
223 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8()
/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp139 enc.srcLim = enc.src; in CodeReal()
197 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
206 if ((size_t)(enc.srcLim - enc.src) < rem) in CodeReal()
209 enc.srcLim -= rem; in CodeReal()
261 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
270 enc.srcLim = _bufs[BCJ2_NUM_STREAMS]; in CodeReal()
284 enc.srcLim = _bufs[BCJ2_NUM_STREAMS] + numBytes_in_ReadBuf; in CodeReal()
/external/lzma/C/Util/7z/
D7zMain.c63 static size_t Utf16_To_Utf8_Calc(const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8_Calc() argument
69 if (src == srcLim) in Utf16_To_Utf8_Calc()
84 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8_Calc()
99 static Byte *Utf16_To_Utf8(Byte *dest, const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8() argument
104 if (src == srcLim) in Utf16_To_Utf8()
123 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8()