Home
last modified time | relevance | path

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

/external/lzma/C/
DBcj2Enc.c106 const Byte *srcLim; in Bcj2Enc_Encode_2() local
108 SizeT num = p->srcLim - src; in Bcj2Enc_Encode_2()
130 srcLim = src + num; in Bcj2Enc_Encode_2()
143 if (++src != srcLim) in Bcj2Enc_Encode_2()
148 if (++src == srcLim) in Bcj2Enc_Encode_2()
158 if (src == srcLim) in Bcj2Enc_Encode_2()
177 if ((SizeT)(p->srcLim - src) >= 4) in Bcj2Enc_Encode_2()
247 PRF(printf("---- ip = %8d tempPos = %8d src = %8d\n", p->ip, p->tempPos, p->srcLim - p->src)); in Bcj2Enc_Encode()
256 const Byte *srcLim = p->srcLim; in Bcj2Enc_Encode() local
260 p->srcLim = p->temp + p->tempPos; in Bcj2Enc_Encode()
[all …]
DBcj2.c123 const Byte *srcLim; in Bcj2Dec_Decode() local
144 srcLim = src + num; in Bcj2Dec_Decode()
157 if (++src != srcLim) in Bcj2Dec_Decode()
162 if (++src == srcLim) in Bcj2Dec_Decode()
172 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/C/Util/7z/
D7zMain.c51 static size_t Utf16_To_Utf8_Calc(const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8_Calc() argument
57 if (src == srcLim) in Utf16_To_Utf8_Calc()
72 if (val >= 0xD800 && val < 0xDC00 && src != srcLim) in Utf16_To_Utf8_Calc()
87 static Byte *Utf16_To_Utf8(Byte *dest, const UInt16 *src, const UInt16 *srcLim) in Utf16_To_Utf8() argument
92 if (src == srcLim) in Utf16_To_Utf8()
111 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()